/* ==========================================================================
   StopThePersecution.org — Design System V2
   Brand: red handprint mark · Manrope (display) + Inter (body)
   ========================================================================== */

:root {
  /* Brand palette — derived from the official logo */
  --red-primary:   #A00000;
  --red-accent:    #C1121F;
  --red-deep:      #740000;
  --charcoal:      #202020;
  --charcoal-2:    #2B2B2B;
  --text:          #2B2B2B;
  --text-soft:     #63605E;
  --bg:            #FAFAFA;
  --bg-light:      #F3F3F3;
  --bg-card:       #FFFFFF;
  --line:          #E7E3E1;
  --white:         #FFFFFF;

  /* Type */
  --font-display: "Manrope", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
}

h1, h2, h3, h4, .font-display { font-family: var(--font-display); }

/* ---------- Eyebrow labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--red-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow--light { color: #F2B8B8; }
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: currentColor;
  display: inline-block;
  flex-shrink: 0;
}
/* Brand lockup ("of Ahmadi Muslims") reuses the eyebrow style but drops the
   leading dot, which otherwise reads as stray punctuation next to "of". */
.eyebrow--nodot::before { display: none; }

/* ==========================================================================
   BRAND MOTIF — the real handprint
   The hand shape used throughout (icons, watermarks, loader, hero
   silhouette) is extracted directly from the official logo artwork at
   assets/images/hand-icon.png — not hand-drawn — so it is guaranteed
   anatomically correct (5 digits) rather than an approximated SVG path.
   Ambient section backgrounds use a separate, literal fingerprint-ridge
   line pattern (concentric arcs) rather than a tiled hand shape, which
   would read as busy/decorative rather than documentary.
   ========================================================================== */

.hand-texture {
  position: relative;
  isolation: isolate;
}
.hand-texture::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    repeating-radial-gradient(circle at 20% 30%, rgba(160,0,0,0.5) 0px, rgba(160,0,0,0.5) 1px, transparent 1.5px, transparent 6px),
    repeating-radial-gradient(circle at 80% 75%, rgba(160,0,0,0.4) 0px, rgba(160,0,0,0.4) 1px, transparent 1.5px, transparent 7px);
}
.hand-texture--dark::before { opacity: 0.05; filter: brightness(2.4); }

.fingerprint-lines {
  background-image: repeating-radial-gradient(circle at 82% 18%, rgba(160,0,0,0.09) 0px, rgba(160,0,0,0.09) 1px, transparent 1px, transparent 9px);
}
.fingerprint-lines--light {
  background-image: repeating-radial-gradient(circle at 82% 18%, rgba(255,255,255,0.10) 0px, rgba(255,255,255,0.10) 1px, transparent 1px, transparent 9px);
}

.hand-divider {
  display: block;
  width: 100%;
  height: 40px;
  line-height: 0;
}
.hand-divider svg { width: 100%; height: 100%; display: block; }

/* Small inline hand icon/watermark — masked from the real logo artwork,
   so it always renders as a correct hand regardless of size or color. */
.hand-mark {
  display: inline-block;
  width: 1em; height: 1em;
  background: currentColor;
  -webkit-mask-image: url("../assets/images/hand-icon.png");
  mask-image: url("../assets/images/hand-icon.png");
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}

/* Large, faint single hand silhouette — for hero/section backdrops.
   Deliberately NOT tiled (a repeated hand pattern reads as decorative
   clip-art); one large, soft mark reinforces the identity without
   competing with the editorial tone of the content. */
.hand-silhouette {
  background-image: url("../assets/images/hand-icon.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* Large statement-piece watermark behind the homepage headline (Option C).
   Deliberately sized here in plain CSS rather than via Tailwind's
   arbitrary-value w-[]/h-[] utilities: this is a key visual-identity
   element, and it should render correctly even in the rare case Tailwind's
   CDN script fails to load for a visitor. */
.hero-hand-watermark {
  width: 580px;
  height: 580px;
  opacity: 0.06;
}
@media (min-width: 768px) {
  .hero-hand-watermark { width: 820px; height: 820px; }
}

.hand-loader { width: 44px; height: 44px; display: inline-block; position: relative; }
.hand-loader .hand-mark {
  width: 100%; height: 100%;
  color: var(--red-accent);
  animation: hand-pulse 1.1s var(--ease-out) infinite;
  transform-origin: 50% 65%;
}
@keyframes hand-pulse {
  0%   { opacity: 0.25; transform: scale(0.86) rotate(-2deg); }
  50%  { opacity: 1;    transform: scale(1) rotate(0deg); }
  100% { opacity: 0.25; transform: scale(0.86) rotate(2deg); }
}

.geo-divider { position: relative; height: 1px; background: var(--line); }
.geo-divider::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 22px; height: 22px;
  border: 1.5px solid var(--red-accent);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: var(--bg);
}
.geo-divider::before {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 8px; height: 8px;
  background: var(--red-accent);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* ---------- Evidence / documentary styling ---------- */
/* Small red monospace tag used to frame statistics and case data as
   verified evidence rather than generic marketing numbers. */
.evidence-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.evidence-label::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--red-accent);
  display: inline-block;
}
.evidence-label--light { color: #F2B8B8; }
.evidence-label--light::before { background: #F2B8B8; }

/* Stat/case cards get a left evidence rail instead of a decorative top bar */
.evidence-card {
  border-left: 3px solid var(--red-accent);
  background: var(--bg-card);
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  position: relative;
}
.evidence-card .stat-number { font-family: var(--font-mono); }

/* Incident/case-file cards: a red vertical line reveals on hover, like a
   marked-up document rather than a decorative hover effect */
.case-file {
  position: relative;
  border-left: 3px solid transparent;
  transition: border-color 200ms var(--ease-out), background-color 200ms var(--ease-out);
}
.case-file:hover { border-left-color: var(--red-accent); background: #FBF8F7; }
.case-ref {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--text-soft);
}

/* ---------- Home campaign slider ---------- */
/* Opening campaign uses a product/editorial feature-card: no text over a photo,
   restrained crop, clear action and a photo with a deliberate frame. Other slides retain artwork. */
.campaign-feature-shell { position: relative; }
.campaign-slider { position: relative; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; max-height: 560px; background: var(--charcoal); isolation: isolate; }
.campaign-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 650ms var(--ease-out); pointer-events: none; }
.campaign-slide.is-active { opacity: 1; pointer-events: auto; }
.campaign-slide a, .campaign-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.campaign-slider--editorial { aspect-ratio: auto; height: clamp(430px, 38vw, 520px); max-height: none; overflow: visible; background: transparent; }
.campaign-slider--editorial .campaign-slide { overflow: hidden; }
.campaign-feature-card { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); height: 100%; width: 100%; background: #fffdfa; border: 1px solid var(--line); box-shadow: 0 24px 65px -42px rgba(32,32,32,.42); }
.campaign-feature-copy { align-self: center; padding: clamp(2rem, 4.3vw, 4.2rem); color: var(--charcoal); }
.campaign-feature-title { color: var(--charcoal) !important; font-size: clamp(2rem, 3.3vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.04em; margin: 0 0 1.2rem; max-width: 12ch; }
.campaign-feature-description { color: #4d4947; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.75; margin: 0 0 1.7rem; max-width: 34rem; }
.campaign-feature-cta { display: inline-flex; width: auto; min-width: 0; gap: .7rem; padding: .9rem 1.3rem; box-shadow: 0 10px 22px -14px rgba(160,0,0,.6); }
.campaign-feature-note { color: var(--text-soft); font-size: .78rem; margin: 1.25rem 0 0; }
.campaign-feature-image-wrap { position: relative; overflow: hidden; background: #ede8e1; margin: 1.1rem; min-width: 0; }
.campaign-feature-image-wrap img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; background: #ede8e1; }
.campaign-photo-caption { position: absolute; left: .8rem; bottom: .8rem; max-width: calc(100% - 1.6rem); background: rgba(255,253,250,.94); color: var(--charcoal); padding: .55rem .75rem; font-size: .72rem; font-weight: 700; line-height: 1.3; }
.campaign-slider-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.94); color: var(--charcoal); border: 1px solid rgba(32,32,32,.15); box-shadow: 0 8px 24px -12px rgba(0,0,0,.5); transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms var(--ease-out); z-index: 3; }
.campaign-slider-nav:hover { background: var(--red-primary); border-color: var(--red-accent); color: var(--white); }
.campaign-slider-nav:focus-visible { outline: 3px solid var(--red-accent); outline-offset: 2px; }
.campaign-slider-prev { left: .85rem; }
.campaign-slider-next { right: .85rem; }
.campaign-slider-dots { position: absolute; bottom: .85rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 4; padding: .5rem .7rem; background: rgba(255,253,250,.9); border: 1px solid rgba(32,32,32,.08); }
.campaign-slider-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: rgba(0,0,0,.24); transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out); }
.campaign-slider-dot.is-active { background: var(--red-accent); transform: scale(1.25); }
@media (max-width: 767px) {
  .campaign-feature-shell { padding-top: .5rem; padding-bottom: .5rem; }
  /* Keep every carousel slide at exactly the same height on mobile.
     The active slide fades in place; it never enters normal document flow. */
  .campaign-slider--editorial {
    height: 390px;
    min-height: 390px;
    max-height: 390px;
    overflow: hidden;
    aspect-ratio: auto;
    background: #fffdfa;
  }
  .campaign-feature-shell > .max-w-7xl { padding-left: 0; padding-right: 0; }
  .campaign-slider--editorial .campaign-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .campaign-feature-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(104px, 34%);
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: .8rem .65rem 2.8rem;
    gap: .45rem;
    background: #fffdfa;
  }
  .campaign-feature-copy {
    min-width: 0;
    min-height: 0;
    padding: .5rem .35rem;
    align-self: center;
  }
  .campaign-feature-eyebrow {
    font-size: clamp(.68rem, 2.9vw, .78rem);
    line-height: 1.25;
    letter-spacing: .075em;
    margin-bottom: .65rem !important;
  }
  .campaign-feature-title {
    font-size: clamp(1.28rem, 5.1vw, 1.72rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    max-width: 12ch;
    margin: 0 0 .65rem;
  }
  .campaign-feature-description {
    font-size: clamp(.73rem, 2.8vw, .83rem);
    line-height: 1.38;
    margin: 0 0 .8rem;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .campaign-feature-badge {
    display: inline-block;
    padding: .16rem .34rem;
    margin-right: .2rem;
    font-size: .72em;
    letter-spacing: .08em;
    white-space: nowrap;
  }
  .campaign-feature-cta {
    display: inline-flex;
    max-width: 100%;
    padding: .62rem .7rem;
    gap: .35rem;
    font-size: .76rem;
    line-height: 1.2;
    white-space: normal;
  }
  .campaign-feature-note { display: none; }
  .campaign-feature-image-wrap {
    align-self: center;
    justify-self: stretch;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
    background: #ede8e1;
  }
  .campaign-feature-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  .campaign-photo-caption { display: none; }
  /* Non-feature slides use the same fixed viewport, not content-driven height. */
  .campaign-slide:not(.campaign-slide--poc) a,
  .campaign-slide:not(.campaign-slide--poc) img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #fffdfa;
  }
  /* Keep controls clear of copy and image. */
  .campaign-slider-nav {
    top: auto;
    bottom: .42rem;
    transform: none;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,.97);
  }
  .campaign-slider-prev { left: .55rem; }
  .campaign-slider-next { right: .55rem; }
  .campaign-slider-dots { bottom: .35rem; gap: .45rem; padding: .42rem .55rem; }
}
@media (max-width: 390px) {
  .campaign-slider--editorial {
    height: 380px;
    min-height: 380px;
    max-height: 380px;
  }
  .campaign-feature-card {
    grid-template-columns: minmax(0, 1fr) minmax(96px, 33%);
    padding-left: .45rem;
    padding-right: .45rem;
  }
  .campaign-feature-copy { padding-left: .25rem; padding-right: .25rem; }
  .campaign-feature-title { font-size: clamp(1.22rem, 5.15vw, 1.55rem); }
}

/* Take Action: keep Jinnah's portrait respectful and secondary to the petition text. */
.petition-jinnah-image {
  display: block;
  width: 132px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: top center;
  border: 1px solid var(--line);
  background: #f2eee7;
}
@media (max-width: 639px) {
  .petition-jinnah-image { width: 112px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-display);

  font-weight: 700; font-size: 0.92rem;
  padding: 0.9rem 1.7rem;
  border-radius: 3px;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
  position: relative;
}
.btn:focus-visible { outline: 3px solid var(--red-accent); outline-offset: 2px; }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }
.btn-primary { background: var(--red-accent); color: var(--white); box-shadow: 0 10px 24px -10px rgba(193,18,31,0.55); }
.btn-primary:hover { background: var(--red-primary); box-shadow: 0 14px 28px -10px rgba(193,18,31,0.65); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid currentColor; color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-1px); }
.btn-outline-dark { border: 1.5px solid var(--charcoal); color: var(--charcoal); }
.btn-outline-dark:hover { background: var(--charcoal); color: var(--white); }
.btn-ghost-red { color: var(--red-accent); }
.btn-ghost-red:hover { background: rgba(160,0,0,0.06); }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: box-shadow 220ms var(--ease-out), transform 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.card:hover { box-shadow: 0 20px 40px -18px rgba(32,32,32,0.22); transform: translateY(-3px); border-color: #EFD9D9; }

.card-premium {
  background: var(--bg-card);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.card-premium::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red-primary), var(--red-accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform 320ms var(--ease-out);
}
.card-premium:hover::before { transform: scaleX(1); }

.tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
}
.tag-severity-high { background: #FBE4E4; color: var(--red-deep); }
.tag-country { background: var(--bg-light); color: var(--charcoal-2); }
.tag-accent { background: #FBEAEA; color: var(--red-accent); }

/* ---------- Nav ---------- */
.nav-link { position: relative; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--red-accent); transition: width 220ms var(--ease-out);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { width: 100%; }

/* Shared desktop navigation: intentionally compact to keep Contact separate from Take Action. */
.brand-lockup { flex: 0 0 auto; gap: .65rem; }
.brand-lockup-text { display: block; white-space: nowrap; }
.brand-name-text { font-size: clamp(.9rem, 1.08vw, 1.14rem); }
.site-primary-nav {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
    margin: 0 clamp(1.5rem, 2.5vw, 3rem);
    gap: clamp(1rem, 1.5vw, 1.8rem);
    white-space: nowrap;
}
.header-action { flex: 0 0 auto; }
.site-primary-nav > a, .site-primary-nav .nav-dropdown-trigger { font-size: .84rem; }
.nav-dropdown-trigger { border: 0; background: transparent; cursor: pointer; padding: .2rem 0; }
.nav-dropdown-panel { position: absolute; left: 0; top: 100%; width: 15.5rem; padding: .4rem 0; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 42px -20px rgba(0,0,0,.3); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease; z-index: 60; }
.nav-dropdown:hover > .nav-dropdown-panel, .nav-dropdown:focus-within > .nav-dropdown-panel, .nav-dropdown.is-open > .nav-dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-dropdown-trigger svg { transition: transform 160ms ease; }
/* Use the accessible mobile menu at common laptop widths so Contact and the
   Take Action control never compete for the same horizontal space. */
@media (min-width: 1024px) and (max-width: 1279px) {
  #site-header .site-primary-nav,
  #site-header .header-action {
    display: none;
  }

  #site-header #menu-toggle {
    display: block;
  }

  #site-header #mobile-menu:not(.hidden) {
    display: block;
  }
}

/* Compact desktop navigation: keep all links visible without overlap */
@media (min-width: 1280px) and (max-width: 1535px) {
  #site-header .brand-lockup {
    gap: .45rem;
  }

  #site-header .brand-mark {
    width: 36px;
    height: 36px;
  }

  #site-header .brand-name-text {
    font-size: .88rem;
  }

  #site-header .site-primary-nav {
    gap: clamp(.9rem, 1.1vw, 1.25rem) !important;
    margin-inline: clamp(1rem, 1.5vw, 1.75rem);
    justify-content: space-evenly;
}

  #site-header .site-primary-nav > a,
  #site-header .site-primary-nav > div > button {
    font-size: .75rem;
  }

  #site-header .header-action .btn {
    padding: .7rem .85rem;
    font-size: .8rem;
    white-space: nowrap;
  }
}

/* Mobile navigation */
@media (max-width: 1023px) {
  #site-header .site-primary-nav,
  #site-header .header-action {
    display: none;
  }

  #site-header #menu-toggle {
    display: block;
  }

  #site-header #mobile-menu:not(.hidden) {
    display: block;
  }
}

/* Campaign landing page layout — explicit CSS keeps mobile rendering stable
   even when the Tailwind utility bundle is not rebuilt on a content-only edit. */
.campaign-hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 2.5rem;
  align-items: center;
}
.campaign-portrait-card {
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.20);
}
.campaign-main-title { font-size: clamp(2.2rem, 10vw, 5.4rem); line-height: .95; }
.campaign-portrait-image {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}
.campaign-laws-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.campaign-laws-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red-accent);
  padding: 1.25rem;
}
.jinnah-subtitle { letter-spacing: .12em; }
.jinnah-quote-panel { background: rgba(243,243,243,.78); }
.jinnah-quote-mark { color: rgba(32,32,32,.45); font-size: 4.5rem; }
.jinnah-quote-text { color: rgba(32,32,32,.82); font-size: clamp(1.1rem, 2.1vw, 1.5rem); font-weight: 800; font-style: italic; text-transform: uppercase; line-height: 1.55; letter-spacing: .025em; }
.jinnah-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.jinnah-portrait-wrap { max-width: 230px; }
.jinnah-portrait { max-height: 300px; }
@media (min-width: 640px) {
  .campaign-portrait-card { max-width: 300px; }
  .campaign-main-title { font-size: clamp(3rem, 7vw, 5rem); }
  .campaign-portrait-image { max-height: none; }
  .campaign-laws-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .jinnah-portrait-wrap { max-width: 280px; }
  .jinnah-portrait { max-height: 360px; }
}
@media (min-width: 1024px) {
  .campaign-hero-layout { grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 2.5rem; }
  .campaign-portrait-card { max-width: 300px; }
  .campaign-portrait-image { max-height: none; }
  .campaign-laws-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  .jinnah-content-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr); gap: 2.5rem; }
  .jinnah-portrait-wrap { max-width: none; }
  .jinnah-portrait { max-height: 440px; }
}

.mp-address-field { grid-column: 1 / -1; min-width: 0; }

/* ---------- Stat / KPI cards ---------- */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.75rem;
  position: relative;
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--red-accent);
  line-height: 1;
}

/* ---------- Timeline ---------- */
.timeline-line { background: linear-gradient(to bottom, var(--red-accent), var(--charcoal)); width: 2px; }
.timeline-dot {
  width: 14px; height: 14px;
  border: 3px solid var(--red-accent);
  background: var(--bg); border-radius: 999px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--charcoal); color: #fff; padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--red-accent); outline-offset: 2px;
}

#mobile-menu { transition: max-height 260ms var(--ease-out), opacity 220ms var(--ease-out); }
#cookie-banner { transition: transform 320ms var(--ease-out); }

/* ---------- Quote blocks ---------- */
.quote-mark {
  font-family: var(--font-display);
  font-size: 4.5rem; line-height: 1; color: var(--red-accent); opacity: 0.45;
}

.hairline-top { border-top: 1px solid var(--line); }

/* ==========================================================================
   VISUAL RICHNESS LAYER — gradients, mesh glows, section dividers
   Adds depth and texture across the site without relying on motion.
   ========================================================================== */

/* Soft radial gradient "mesh" glow — layered brand-color blobs used behind
   dark hero/CTA sections for warmth and depth beyond a flat fill. */
.mesh-glow { position: relative; isolation: isolate; }
.mesh-glow::after {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(650px circle at 12% 18%, rgba(193,18,31,0.22), transparent 60%),
    radial-gradient(550px circle at 88% 78%, rgba(160,0,0,0.16), transparent 55%),
    radial-gradient(420px circle at 55% 5%, rgba(230,184,96,0.10), transparent 60%);
}
/* Lighter version for cream-background sections — barely-there warmth */
.mesh-glow-light { position: relative; isolation: isolate; }
.mesh-glow-light::after {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(550px circle at 8% 12%, rgba(193,18,31,0.06), transparent 60%),
    radial-gradient(650px circle at 92% 92%, rgba(32,32,32,0.045), transparent 55%);
}

/* Gradient wash for primary CTA sections instead of a flat fill */
.gradient-red { background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-deep) 100%); }
.gradient-charcoal { background: linear-gradient(160deg, var(--charcoal) 0%, #0f0f0f 100%); }

/* Section divider — a soft fingerprint-inspired curve with a small accent
   mark, used to break up long stacks of flat-colored sections. Two
   variants: light-on-dark and dark-on-light, matching the section it sits
   between (pass the *upper* section's color as fromColor). */
.curve-divider { display: block; width: 100%; line-height: 0; position: relative; z-index: 1; }
.curve-divider svg { width: 100%; height: 64px; display: block; }

/* Cards stay clean and editorial — no decorative watermark. Identity comes
   through the top gradient rail and, on case-file cards, the hover rail. */
.card-premium { position: relative; overflow: hidden; }
.card-premium > * { position: relative; z-index: 1; }

/* Gradient buttons — replace flat fills with a subtle diagonal blend */
.btn-primary { background: linear-gradient(135deg, var(--red-accent) 0%, var(--red-primary) 100%); }
.btn-primary:hover { background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-deep) 100%); }

/* Stat cards get the same faint corner mark + a top gradient hairline */
.stat-card { position: relative; overflow: hidden; }
.stat-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red-primary), var(--red-accent), var(--red-primary));
  background-size: 200% 100%;
}

/* Richer photo-placeholder treatment: soft gradient wash instead of flat grey */
.dashboard-placeholder, .aspect-\[16\/10\].bg-creamdeep, .aspect-\[16\/9\].bg-creamdeep {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(193,18,31,0.05), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(32,32,32,0.04), transparent 55%);
}

::selection { background: var(--red-accent); color: var(--white); }


/* ---------- Reveal-on-scroll utility (paired with js/motion.js) ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); }
[data-reveal].is-visible {
  opacity: 1; transform: translateY(0);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
[data-reveal="fade"] { transform: none; }
[data-reveal-delay="1"].is-visible { transition-delay: 90ms; }
[data-reveal-delay="2"].is-visible { transition-delay: 180ms; }
[data-reveal-delay="3"].is-visible { transition-delay: 270ms; }
[data-reveal-delay="4"].is-visible { transition-delay: 360ms; }
[data-reveal-delay="5"].is-visible { transition-delay: 450ms; }

/* ---------- Animated counter ---------- */
[data-counter] { font-variant-numeric: tabular-nums; }

/* ---------- World map dots (CSS-only animated pulse markers) ---------- */
.map-pin { position: absolute; width: 10px; height: 10px; }
.map-pin::before, .map-pin::after {
  content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--red-accent);
}
.map-pin::before { animation: pin-ping 2.2s cubic-bezier(0,0,0.2,1) infinite; opacity: 0.6; }
@keyframes pin-ping {
  0% { transform: scale(1); opacity: 0.55; }
  75%, 100% { transform: scale(3.2); opacity: 0; }
}

/* ---------- Dashboard embed frame ---------- */
.dashboard-frame-wrap {
  position: relative;
  border: 1px solid var(--line);
  background: var(--bg-card);
  width: 100%;
  aspect-ratio: 600 / 373.5; /* matches the report's native canvas ratio from Power BI's embed code, so it fills the frame instead of shrinking to fit */
  min-height: 420px;
}
@media (min-width: 768px) {
  .dashboard-frame-wrap { min-height: 620px; }
}
.dashboard-frame-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.dashboard-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  min-height: 480px; text-align: center; padding: 2rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(160,0,0,0.05), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(160,0,0,0.05), transparent 45%);
}

/* Logo lockup */
.brand-mark {
  width: 42px; height: 42px; object-fit: contain; flex-shrink: 0;
}

/* Utility: subtle grain overlay for hero depth */
.grain-overlay { position: relative; }
.grain-overlay::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none; opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   EXHIBITION GALLERY & LIGHTBOX
   ========================================================================== */

.exhibition-thumb {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: var(--charcoal);
  border: 1px solid var(--line);
}
.exhibition-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 300ms var(--ease-out);
  display: block;
}
.exhibition-thumb:hover img { transform: scale(1.04); }
.exhibition-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 40%);
  opacity: 0; transition: opacity 200ms var(--ease-out);
}
.exhibition-thumb:hover::after { opacity: 1; }
.exhibition-thumb-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0.75rem;
  color: white; font-family: var(--font-mono); font-size: 0.68rem;
  opacity: 0; transform: translateY(6px);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.exhibition-thumb:hover .exhibition-thumb-label { opacity: 1; transform: translateY(0); }

#exhibition-lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,10,10,0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  overscroll-behavior: contain;
}
#exhibition-lightbox.hidden { display: none; }
#exhibition-lightbox figure {
  max-width: min(92vw, 720px);
  max-height: 88vh;
  display: flex; flex-direction: column; align-items: center;
  width: 100%;
}
/* Viewport that traps scroll/zoom gestures so they never reach the page
   behind — wheel/pinch is handled in JS (script.js) and translated into
   an in-place image zoom + pan, rather than the browser's native page
   zoom (which was escaping to scroll the page behind the lightbox). */
#lightbox-viewport {
  width: 100%;
  max-height: 74vh;
  aspect-ratio: auto;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: none;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  cursor: zoom-in;
}
#lightbox-viewport.is-zoomed { cursor: grab; align-items: flex-start; justify-content: flex-start; }
#lightbox-viewport.is-panning { cursor: grabbing; }
#lightbox-image {
  max-width: 100%; max-height: 74vh;
  object-fit: contain;
  display: block;
  transform-origin: 0 0;
  transition: transform 60ms linear;
  user-select: none;
  -webkit-user-drag: none;
}
#lightbox-zoom-hint {
  color: rgba(255,255,255,0.4);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  margin-top: 0.6rem;
}
#lightbox-caption {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  margin-top: 1rem;
  text-align: center;
  max-width: 640px;
}
#lightbox-counter {
  color: rgba(255,255,255,0.45);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  margin-top: 0.4rem;
  letter-spacing: 0.08em;
}
.lightbox-nav-btn {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); color: white;
  border-radius: 999px;
  transition: background-color 150ms var(--ease-out);
}
.lightbox-nav-btn:hover { background: rgba(255,255,255,0.18); }
#lightbox-prev { left: 1rem; }
#lightbox-next { right: 1rem; }
#lightbox-close {
  position: fixed; top: 1.25rem; right: 1.25rem;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); color: white;
  border-radius: 999px;
  transition: background-color 150ms var(--ease-out);
}
#lightbox-close:hover { background: rgba(255,255,255,0.18); }
@media (max-width: 640px) {
  .lightbox-nav-btn { width: 40px; height: 40px; }
}

/* ==========================================================================
   EXHIBITION WALKTHROUGH — immersive cinematic gallery
   Desktop (lg+): horizontal scroll-jacked "walk along the wall" experience,
   driven by GSAP ScrollTrigger (see js/script.js). Mobile: graceful vertical
   fallback — no pin/horizontal-scroll, since scroll-jacking fights native
   touch scrolling and is bad UX on phones. Same markup serves both; CSS
   media queries + a JS matchMedia gate decide which behaviour applies.
   ========================================================================== */

.exhibition-entrance {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: var(--charcoal);
}
.exhibition-entrance-content { position: relative; z-index: 2; text-align: center; }

/* Wayfinder — fixed floor-plan style progress indicator, desktop only */
.wayfinder {
  position: fixed; right: 1.75rem; top: 50%; transform: translateY(-50%);
  z-index: 40;
  display: none;
  flex-direction: column; gap: 0.9rem;
  padding: 1rem 0.65rem;
}
@media (min-width: 1024px) { .wayfinder { display: flex; } }
.wayfinder-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.62rem; color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 200ms var(--ease-out);
}
.wayfinder-dot {
  width: 8px; height: 8px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: all 220ms var(--ease-out);
  flex-shrink: 0;
}
.wayfinder-item.is-active { color: var(--red-accent); }
.wayfinder-item.is-active .wayfinder-dot {
  background: var(--red-accent); border-color: var(--red-accent);
  transform: scale(1.3);
}
.wayfinder-label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  opacity: 0; transition: all 220ms var(--ease-out);
}
.wayfinder-item.is-active .wayfinder-label,
.wayfinder-item:hover .wayfinder-label { max-width: 140px; opacity: 1; }

/* Wall walkthrough section (pinned + horizontally scrolled on desktop) */
.wall-walk-section {
  position: relative;
  background: var(--charcoal);
  overflow: hidden;
}
.wall-walk-section.theme-light { background: var(--bg-light); }

.wall-walk-pin {
  height: 100vh;
  padding-top: 5.5rem; /* clears the sticky 80px header so panel tops are never hidden behind it */
  padding-bottom: 1.5rem;
  display: flex;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

/* Wall label — stays put while panels move past it (desktop) */
.wall-walk-label {
  position: relative; z-index: 3;
  flex-shrink: 0;
  width: min(30vw, 380px);
  padding: 0 2.5rem 0 clamp(1.5rem, 5vw, 4rem);
}
.wall-walk-label .wall-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--red-accent);
  display: block;
  margin-bottom: 1rem;
}
.wall-walk-label h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}
.theme-light .wall-walk-label h2,
.theme-light .wall-walk-label p { color: var(--charcoal); }
.wall-walk-section:not(.theme-light) .wall-walk-label h2,
.wall-walk-section:not(.theme-light) .wall-walk-label p { color: var(--bg); }
.wall-walk-label p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.72;
  max-width: 30ch;
}

/* Horizontal track of panels */
.wall-walk-track {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-right: 10vw;
  will-change: transform;
}
.wall-walk-panel {
  position: relative;
  flex-shrink: 0;
  width: min(62vw, 460px);
  cursor: pointer;
  opacity: 0.4;
  transform: scale(0.9);
  transition: box-shadow 200ms var(--ease-out);
}
.wall-walk-panel img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 3 / 4; object-fit: cover;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.wall-walk-panel-index {
  position: absolute; top: 0.85rem; left: 0.85rem;
  font-family: var(--font-mono); font-size: 0.65rem;
  color: white; background: rgba(0,0,0,0.55);
  padding: 0.25rem 0.55rem;
  letter-spacing: 0.05em;
}
.wall-walk-panel-title {
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  opacity: 0.8;
}
.theme-light .wall-walk-panel-title { color: var(--charcoal); }
.wall-walk-section:not(.theme-light) .wall-walk-panel-title { color: var(--bg); }

/* Corner-turn transition between walls */
.wall-corner {
  min-height: 46vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.wall-corner-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 10vw, 7rem);
  color: rgba(255,255,255,0.08);
  line-height: 1;
}
.wall-corner-caption {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* Mobile / reduced-motion fallback: normal vertical flow, no pin */
@media (max-width: 1023px) {
  .wall-walk-pin { height: auto; display: block; padding: 4rem 0; }
  .wall-walk-label { width: 100%; padding: 0 1.25rem 2rem; }
  .wall-walk-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1.25rem;
    transform: none !important;
  }
  .wall-walk-panel { width: 100%; opacity: 1; transform: none; }
  .wall-corner { min-height: 22vh; }
}
@media (prefers-reduced-motion: reduce) {
  .wall-walk-panel { opacity: 1; transform: none; }
}


/* ---------- Print / "Download as PDF" ----------
   Article pages (incident, news, report) print as a clean document: no
   navigation, footer, cookie banner or buttons, dark banner turned white. */
@media print {
  #site-header, footer, #cookie-banner, [data-print], .btn,
  .campaign-slider, .hand-silhouette, .hand-texture::before, .hand-texture::after { display: none !important; }
  body, section { background: #fff !important; color: #111 !important; }
  section { padding-top: 1rem !important; padding-bottom: 1rem !important; }
  section a { color: #111 !important; text-decoration: none; }
  h1 { color: #000 !important; font-size: 22pt !important; }
  .text-cream, .text-cream\/70, .text-cream\/80 { color: #444 !important; }
  .eyebrow { color: #A00000 !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  img { max-width: 100% !important; page-break-inside: avoid; }
  p { orphans: 3; widows: 3; }
  @page { margin: 18mm; }
}


/* ---------- Interactive, continuous evidence carousel (homepage) ---------- */
.quotes-section { overflow: hidden; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 5rem 0; }
.quote-carousel { width: 100%; }
.quote-carousel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: -1.5rem 0 1rem; }
.quote-marquee-help { font-size: .78rem; line-height: 1.5; color: var(--text-soft); margin: 0; }
.quote-carousel-controls { display: flex; gap: .5rem; flex: 0 0 auto; }
.quote-carousel-button { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--charcoal); font-size: 1.25rem; line-height: 1; box-shadow: 0 5px 18px -13px rgba(0,0,0,.4); transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.quote-carousel-button:hover { background: var(--red-primary); border-color: var(--red-primary); color: #fff; }
.quote-carousel-button:focus-visible { outline: 3px solid var(--red-accent); outline-offset: 3px; }
.quote-marquee { width: 100%; overflow-x: auto; overflow-y: hidden; outline-offset: 5px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; cursor: grab; }
.quote-marquee::-webkit-scrollbar { display: none; }
.quote-marquee:active { cursor: grabbing; }
.quote-marquee:focus-visible { outline: 3px solid var(--red-accent); }
.quote-marquee-track { display: flex; align-items: stretch; width: max-content; transform: none; animation: none; will-change: scroll-position; }
.quote-marquee-group { display: flex; align-items: stretch; gap: 1.15rem; flex: 0 0 auto; padding-right: 1.15rem; }
.quote-marquee-card { display: flex; flex: 0 0 clamp(300px, 29vw, 365px); width: clamp(300px, 29vw, 365px); margin: 0; }
.quote-marquee-card .quote-card { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; width: 100%; padding: 1.35rem; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 32px -25px rgba(0,0,0,.35); }
.quote-card-top { display: grid; grid-template-columns: 66px minmax(0,1fr); gap: .9rem; align-items: center; }
.quote-photo { display: block; width: 66px; height: 78px; object-fit: cover; border: 1px solid var(--line); background: var(--white); }
.quote-photo--logo { object-fit: contain; padding: 5px; }
.quote-mono { display: flex; align-items: center; justify-content: center; background: var(--bg-light); }
.quote-mono span { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: .04em; color: var(--red-accent); }
.quote-group { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-soft); margin: 0 0 .3rem; }
.quote-rule { display: block; width: 30px; height: 3px; background: var(--red-accent); margin: .45rem 0 .45rem; }
.quote-name { display: inline; font-weight: 700; color: var(--charcoal); font-size: .84rem; margin-right: .35rem; }
.quote-tag { display: inline-block; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .04em; color: var(--red-accent); border: 1px solid rgba(193,18,31,.35); border-radius: 999px; padding: .1rem .4rem; vertical-align: 1px; }
.quote-text { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; line-height: 1.48; color: var(--charcoal); }
.quote-text--plain { font-family: var(--font-body); font-size: .94rem; line-height: 1.58; }
.quote-cap { display: block; margin-top: auto; padding-top: .4rem; }
.quote-role { display: block; margin-top: .35rem; font-size: .73rem; line-height: 1.45; color: var(--text-soft); }
.quote-role a { color: var(--red-accent); text-decoration: underline; }
@media (max-width: 767px) {
  .quotes-section { padding: 3.5rem 0; }
  .quote-carousel-toolbar { margin-top: -1rem; align-items: flex-end; }
  .quote-marquee-card { flex-basis: min(82vw, 340px); width: min(82vw, 340px); }
  .quote-marquee-group { gap: .8rem; padding-right: .8rem; }
  .quote-marquee-track { animation: none; transform: none; }
  .quote-marquee-card .quote-card { padding: 1.1rem; }
  .quote-carousel-button { width: 38px; height: 38px; }
}
@media (max-width: 420px) {
  .quote-carousel-toolbar { align-items: center; }
  .quote-marquee-help { max-width: 210px; font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .quote-marquee { scroll-behavior: auto; }
}
/* ---------- Exhibition: 3D walk-through (desktop) ----------
   Gives the pinned gallery real depth: perspective on the stage, panels
   transformed in 3D by js/script.js, and a soft vignette so the edges of
   the "room" fall away into shadow. */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .wall-walk-pin { perspective: 1300px; perspective-origin: 50% 46%; }
  .wall-walk-track { transform-style: preserve-3d; }
  .wall-walk-panel { transform-style: preserve-3d; backface-visibility: hidden; will-change: transform, opacity; }
  .wall-walk-panel img { box-shadow: 0 45px 70px -25px rgba(0,0,0,0.65); }
  .wall-walk-section:not(.theme-light) .wall-walk-pin::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
    background: radial-gradient(ellipse 75% 65% at 50% 48%, transparent 45%, rgba(0,0,0,0.55) 100%);
  }
}




/* Homepage documentary photograph: use the supplied image directly, not an embedded PDF viewer. */
.police-photo-feature { margin: 0 auto; padding: clamp(.75rem, 2vw, 1.25rem); background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px -35px rgba(0,0,0,.4); }
.police-photo-feature img { display: block; width: 100%; max-height: 620px; object-fit: contain; background: #f1eee9; }
.police-photo-feature figcaption { color: var(--text); font-size: .92rem; line-height: 1.6; padding: .9rem .2rem .15rem; }
.police-photo-credit { display: block; color: var(--text-soft); font-size: .76rem; margin-top: .25rem; }


/* Campaign and navigation polish — desktop spacing, case readability and shared fingerprint motif. */
@media (min-width: 1536px) {
  #site-header .site-primary-nav {
    gap: clamp(1.1rem, 1.35vw, 1.6rem);
    justify-content: space-evenly;
  }

  #site-header .header-action .btn {
    white-space: nowrap;
  }
}

.campaign-hero-fingerprint,
.campaign-release-callout {
  background-color: var(--red-primary);
  background-image: repeating-radial-gradient(
    ellipse at 16% 54%,
    rgba(255,255,255,.095) 0px,
    rgba(255,255,255,.095) 1px,
    transparent 1.5px,
    transparent 9px
  );
}

.campaign-case-copy {
  display: grid;
  gap: 2.5rem;
}
.campaign-case-copy h3 {
  margin-bottom: .9rem !important;
  line-height: 1.25;
}
.campaign-case-copy p {
  line-height: 1.8;
}
.campaign-release-callout {
  padding: 1.6rem;
  border: 1px solid rgba(255,255,255,.2);
}
@media (min-width: 640px) {
  .campaign-release-callout { padding: 2rem; }
}
@media (min-width: 1024px) {
  .campaign-case-copy { gap: 2.8rem; }
}

/* Campaign landing-page hierarchy and legibility refinements */
.campaign-hero-eyebrow { font-size: clamp(.95rem, 1.7vw, 1.15rem); letter-spacing: .13em; line-height: 1.5; }
.campaign-campaign-tag { display: inline-block; margin-left: .65rem; padding: .22rem .55rem; border: 1px solid rgba(255,255,255,.85); color: #fff; font-size: .72em; font-weight: 800; letter-spacing: .16em; vertical-align: .08em; }
.campaign-main-title { font-size: clamp(2.65rem, 10.5vw, 5.8rem); line-height: .95; }
.campaign-portrait-card { max-width: 300px; }
.campaign-portrait-image { max-height: none; }
.campaign-release-callout, .campaign-release-callout h3, .campaign-release-callout p { color: #fff !important; }
.campaign-take-action { background-image: repeating-radial-gradient(ellipse at 16% 54%, rgba(255,255,255,.10) 0px, rgba(255,255,255,.10) 1px, transparent 1.5px, transparent 9px); }
@media (min-width: 640px) {
  .campaign-portrait-card { max-width: 300px; }
  .campaign-portrait-image { max-height: none; }
  .campaign-main-title { font-size: clamp(3.4rem, 7.2vw, 5.8rem); }
}
@media (min-width: 1024px) {
  .campaign-hero-layout { grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 3rem; }
  .campaign-portrait-card { max-width: 300px; }
  .campaign-portrait-image { max-height: none; }
  .campaign-main-title { font-size: clamp(5rem, 6vw, 6.5rem); }
}
/* Homepage campaign label and highlighted campaign badge */
.campaign-feature-eyebrow {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 900;
    letter-spacing: .13em;
}

.campaign-feature-badge {
    display: inline-block;
    background: var(--red-primary);
    color: #fff;
    padding: .3rem .65rem;
    margin-right: .45rem;
    font-size: .75em;
    font-weight: 900;
    letter-spacing: .12em;
    vertical-align: middle;
}
@media (max-width: 639px) {
  .campaign-hero-layout { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .campaign-portrait-card { max-width: 300px; }
  .campaign-portrait-image { width: 100%; height: auto; max-height: none; aspect-ratio: 16 / 9; object-fit: contain; }
}
@media (min-width: 640px) {
  .campaign-portrait-image { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
}

/* External reports: portrait first-page previews, like the original report archive. */
.external-report-card { min-width: 0; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.external-report-cover { display: block; position: relative; width: 100%; aspect-ratio: 7 / 10; overflow: hidden; background: #e9e5dc; isolation: isolate; }
.external-report-cover-image { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center top; background: #eeeae2; transition: transform 350ms ease; }
.external-report-cover:hover .external-report-cover-image { transform: scale(1.025); }
.external-report-cover::after { content: ""; position: absolute; z-index: 1; inset: 42% 0 0; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.82) 100%); pointer-events: none; }
.external-report-cover-copy { position: absolute; z-index: 2; left: .85rem; right: .85rem; bottom: .85rem; color: #fff; text-align: center; text-shadow: 0 1px 3px rgba(0,0,0,.55); }
.external-report-cover-title { display: block; font-size: clamp(.78rem, 1.2vw, 1rem); line-height: 1.25; font-weight: 800; }
.external-report-cover-label { display: inline-flex; align-items: center; gap: .35rem; margin-top: .55rem; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.88); }
.external-report-cover-placeholder { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .75rem; width: 100%; height: 100%; padding: 1.25rem; color: #6b625a; background: linear-gradient(145deg, #f3f0e9, #ded9d0); text-align: center; }
.external-report-cover-placeholder strong { font-family: var(--font-display); font-size: 1rem; line-height: 1.25; }
@media (max-width: 420px) {
  .external-report-cover-copy { left: .55rem; right: .55rem; bottom: .6rem; }
  .external-report-cover-title { font-size: .72rem; }
  .external-report-cover-label { font-size: .55rem; }
}
/* Campaign hero: laptop and mobile layout refinements */

.campaign-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: center;
}

.campaign-portrait-card {
    max-width: 260px;
    width: 100%;
    margin-inline: auto;
}

/* Larger laptop and desktop screens */
@media (min-width: 1024px) {
    .campaign-hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
        gap: clamp(2rem, 3vw, 3rem);
    }

    .campaign-portrait-card {
        max-width: 280px;
    }
}

/* Tablet screens */
@media (min-width: 768px) and (max-width: 1023px) {
    .campaign-hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(200px, 230px);
        gap: 1.5rem;
    }

    .campaign-portrait-card {
        max-width: 230px;
    }

    .campaign-main-title {
        font-size: clamp(2.6rem, 5vw, 3.4rem);
    }
}

/* Mobile screens */
@media (max-width: 767px) {
    .campaign-hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .campaign-portrait-card {
        max-width: 250px;
    }

    .campaign-hero-eyebrow {
        font-size: clamp(.60rem, 2.4vw, .76rem);
        letter-spacing: .035em;
        line-height: 1.25;
        white-space: nowrap;
    }

    .campaign-campaign-tag {
        margin-left: .25rem;
        padding: .14rem .35rem;
        font-size: .62em;
        letter-spacing: .07em;
        white-space: nowrap;
    }
}
/* About page: Caliph paragraph and photograph responsive order */

.about-caliph-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem;
}

.about-caliph-copy {
    order: 1;
    min-width: 0;
}

.about-caliph-photo {
    order: 2;
    min-width: 0;
}

/* Desktop: photograph left, paragraph right */
@media (min-width: 640px) {
    .about-caliph-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
        align-items: start;
        gap: 2rem;
    }

    .about-caliph-photo {
        grid-column: 1;
        grid-row: 1;
    }

    .about-caliph-copy {
        grid-column: 2;
        grid-row: 1;
    }
}

/* STP MOBILE PORTRAIT SLIDES - managed update */
.campaign-mobile-copy,
.campaign-feature-title--mobile,
.campaign-feature-mobile-description { display: none; }

@media (max-width: 767px) {
  .campaign-slider--editorial {
    height: clamp(540px, 145vw, 580px);
    max-height: none;
    aspect-ratio: auto;
    overflow: hidden;
    background: #780008;
  }
  .campaign-slider--editorial .campaign-slide { height: 100%; overflow: hidden; }

  /* Slide 1: portrait campaign poster using the real Mubarak Sani photograph. */
  .campaign-slide--poc .campaign-feature-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) 34%;
    height: 100%;
    border: 0;
    background: #99000a;
    color: #fff;
    box-shadow: none;
    overflow: hidden;
  }
  .campaign-slide--poc .campaign-feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .26;
    pointer-events: none;
    background: repeating-radial-gradient(ellipse at 28% 55%, transparent 0 11px, rgba(255,255,255,.15) 12px 13px, transparent 14px 23px);
  }
  .campaign-slide--poc .campaign-feature-copy {
    position: relative;
    z-index: 1;
    align-self: center;
    padding: 1.2rem 1.25rem .45rem;
    color: #fff;
  }
  .campaign-slide--poc .campaign-feature-eyebrow {
    color: #fff;
    font-size: .76rem;
    line-height: 1.3;
    letter-spacing: .07em;
    margin-bottom: .65rem;
  }
  .campaign-feature-title--desktop { display: none !important; }
  .campaign-feature-title--mobile {
    display: block !important;
    color: #fff !important;
    font-size: clamp(2.05rem, 9vw, 2.65rem);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.045em;
    max-width: 10ch;
    margin: 0 0 .75rem;
  }
  .campaign-slide--poc .campaign-feature-description { display: none; }
  .campaign-feature-mobile-description {
    display: block !important;
    color: rgba(255,255,255,.96);
    font-size: .94rem;
    line-height: 1.38;
    margin: 0 0 .9rem;
    max-width: 34ch;
  }
  .campaign-feature-mobile-description .campaign-feature-badge {
    display: inline-block;
    margin-right: .3rem;
    padding: .14rem .42rem;
    border: 1px solid rgba(255,255,255,.85);
    color: #fff;
    font-size: .72em;
    letter-spacing: .09em;
    font-weight: 900;
    vertical-align: .08em;
  }
  .campaign-slide--poc .campaign-feature-cta {
    display: inline-flex;
    padding: .68rem 1rem;
    background: #fff;
    color: #99000a;
    font-size: .88rem;
    font-weight: 800;
    box-shadow: none;
  }
  .campaign-slide--poc .campaign-feature-note { display: none; }
  .campaign-slide--poc .campaign-feature-image-wrap {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 0;
    margin: .2rem 1rem 2.25rem;
    overflow: hidden;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.25);
  }
  .campaign-slide--poc .campaign-feature-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    background: transparent;
  }
  .campaign-slide--poc .campaign-photo-caption {
    left: .45rem;
    bottom: .45rem;
    font-size: .68rem;
  }

  /* Slides 2-4: all use the same portrait canvas and live, accessible text. */
  .campaign-slide--mobile-art .campaign-image-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #3a0709;
  }
  .campaign-slide--mobile-art .campaign-slide-picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }
  .campaign-slide--mobile-art .campaign-slide-picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .campaign-mobile-copy {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: .55rem;
    padding: 1.35rem 1.25rem 3.15rem;
    color: #fff;
    background: linear-gradient(180deg, rgba(20,0,0,0) 0%, rgba(30,0,0,.72) 24%, rgba(76,0,5,.97) 100%);
  }
  .campaign-mobile-kicker {
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: .68rem;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .campaign-mobile-heading {
    margin: 0;
    max-width: 17ch;
    color: #fff;
    font-size: clamp(1.65rem, 7.2vw, 2.15rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -.035em;
  }
  .campaign-mobile-statement {
    margin: 0;
    max-width: 34ch;
    color: rgba(255,255,255,.94);
    font-size: .9rem;
    line-height: 1.4;
  }
  .campaign-mobile-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    align-self: flex-start;
    margin-top: .15rem;
    padding: .58rem .85rem;
    background: #fff;
    color: #99000a;
    font-size: .8rem;
    font-weight: 900;
  }
  /* The Stop the Persecution art has its text area in the middle; position live copy there. */
  .campaign-slide--mobile-2 .campaign-mobile-copy {
    top: 33%;
    bottom: 27%;
    justify-content: center;
    padding: .8rem 1.2rem;
    background: rgba(143,0,8,.96);
    text-align: left;
  }
  .campaign-slider-nav { width: 34px; height: 34px; top: 48%; }
  .campaign-slider-prev { left: .35rem; }
  .campaign-slider-next { right: .35rem; }
  .campaign-slider-dots { bottom: .4rem; }
}
/* Campaign slider navigation: lower, subtle arrows */
.campaign-slider-nav {
  top: auto !important;
  bottom: .85rem !important;
  transform: none !important;
  opacity: .62;
  background: rgba(255,255,255,.68);
  border-color: rgba(32,32,32,.12);
}

.campaign-slider-nav:hover,
.campaign-slider-nav:focus-visible {
  opacity: 1;
  background: rgba(255,255,255,.95);
}

@media (max-width: 767px) {
  .campaign-slider-nav {
    bottom: .45rem !important;
    opacity: .7;
  }
}