
  /* ─── TOKENS ─── */
  :root {
    --river:     #315D7D;
    --river-lt:  #4A7EA0;
    --dust:      #D6C7B3;
    --dust-lt:   #EDE5D8;
    --reed:      #6F826A;
    --stone:     #8B8F8C;
    --charcoal:  #1F2328;
    --offwhite:  #F7F5F2;
    --ink:       #2C2C2C;
    --fade:      rgba(31,35,40,0.06);

    --serif: 'Playfair Display', Georgia, serif;
    --sans:  'Inter', system-ui, sans-serif;
    --arabic:'Noto Naskh Arabic', 'Noto Sans Arabic', serif;
    --hero-arabic: 'Amiri', 'Noto Naskh Arabic', serif;

    --radius: 2px;
    --max: 1160px;
    --section-gap: 120px;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--offwhite);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ─── LANGUAGE TOGGLE ─── */
  .lang-bar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--charcoal);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 32px; height: 44px;
    font-size: 12px; letter-spacing: 0.08em;
  }
  .lang-bar .site-id {
    color: var(--dust); font-family: var(--serif); font-style: italic; font-size: 13px;
  }
  .lang-btns { display: flex; gap: 4px; }
  .lang-btn {
    background: none; border: 1px solid transparent;
    color: var(--stone); padding: 4px 12px; cursor: pointer;
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    border-radius: var(--radius); transition: all 0.2s;
    font-family: var(--sans);
  }
  .lang-btn.active, .lang-btn:hover {
    border-color: var(--dust); color: var(--dust);
  }

  /* ─── NAV ─── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 999;
    background: rgba(247,245,242,0.96); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dust);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 32px; height: 60px;
  }
  .nav-logo {
    font-family: var(--serif); font-size: 18px; font-weight: 700;
    color: var(--charcoal); text-decoration: none; letter-spacing: -0.02em;
  }
  .nav-logo span { color: var(--river); }
  .nav-links { display: flex; gap: 28px; list-style: none; }
  .nav-links a {
    font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--stone); text-decoration: none; transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--charcoal); }
  .nav-cta {
    background: var(--river); color: white !important;
    padding: 8px 20px; border-radius: var(--radius);
    font-size: 12px !important; letter-spacing: 0.1em !important;
    text-transform: uppercase; text-decoration: none;
    transition: background 0.2s;
  }
  .nav-cta:hover { background: var(--river-lt) !important; }

  /* ─── HERO ─── */
  #hero {
    min-height: 100vh; padding-top: 60px;
    position: relative; display: flex; flex-direction: column;
    justify-content: flex-end; align-items: flex-start;
    background: var(--charcoal);
    overflow: hidden;
  }
  .hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(
      160deg,
      #0d1b2a 0%,
      #1a2f42 30%,
      #223344 60%,
      #1a1a18 100%
    );
  }
  /* River texture overlay */
  .hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
      repeating-linear-gradient(
        90deg,
        transparent 0px, transparent 120px,
        rgba(49,93,125,0.06) 120px, rgba(49,93,125,0.06) 121px
      ),
      repeating-linear-gradient(
        0deg,
        transparent 0px, transparent 80px,
        rgba(49,93,125,0.04) 80px, rgba(49,93,125,0.04) 81px
      );
  }
  .hero-pexels-img {
    position: absolute; inset: 0; z-index: 1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.22;
    filter: sepia(40%) saturate(80%);
  }
  .hero-content {
    position: relative; z-index: 2;
    padding: 0 64px 80px;
    max-width: 900px;
    width: 100%;
  }
  .hero-lang {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    margin-bottom: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(214, 199, 179, 0.18);
    backdrop-filter: blur(14px);
    box-shadow:
      0 12px 40px rgba(0, 0, 0, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  .hero-lang-btn {
    appearance: none;
    border: none;
    background: transparent;
    color: rgba(214, 199, 179, 0.72);
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition:
      color 0.25s ease,
      background 0.25s ease,
      box-shadow 0.25s ease,
      transform 0.25s ease;
  }
  .hero-lang-btn:hover {
    color: var(--dust-lt);
    background: rgba(255, 255, 255, 0.05);
  }
  .hero-lang-btn.active {
    color: white;
    background: linear-gradient(135deg, var(--river) 0%, var(--river-lt) 100%);
    box-shadow: 0 8px 24px rgba(49, 93, 125, 0.45);
    transform: translateY(-1px);
  }
  .hero-lang-btn[data-lang="ar"],
  .hero-lang-btn[data-lang="ku"] {
    font-family: var(--hero-arabic);
    letter-spacing: 0.02em;
    text-transform: none;
    font-size: 14px;
  }
  .hero-eyebrow {
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--dust); margin-bottom: 20px; opacity: 0.8;
    display: flex; align-items: center; gap: 12px;
  }
  .hero-eyebrow::before {
    content: ''; display: block; width: 32px; height: 1px; background: var(--dust); opacity: 0.5;
  }
  .hero-title {
    font-family: var(--serif); font-size: clamp(52px, 8vw, 96px);
    font-weight: 900; line-height: 0.95; letter-spacing: -0.02em;
    color: white; margin-bottom: 8px;
  }
  .hero-title .river-word { color: var(--river-lt); }
  body.lang-ar .hero-title,
  body.lang-ku .hero-title {
    font-family: var(--hero-arabic);
    font-size: clamp(44px, 7vw, 84px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0;
  }
  body.lang-ar .hero-subtitle,
  body.lang-ku .hero-subtitle {
    font-family: var(--hero-arabic);
    font-size: clamp(17px, 2.4vw, 24px);
    font-weight: 400;
    font-style: normal;
    line-height: 1.9;
  }
  body.lang-ar .hero-sentence,
  body.lang-ku .hero-sentence {
    font-family: var(--hero-arabic);
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 400;
    font-style: normal;
    line-height: 1.85;
    letter-spacing: 0;
  }
  body.lang-ar .hero-eyebrow,
  body.lang-ku .hero-eyebrow {
    font-family: var(--hero-arabic);
    letter-spacing: 0.06em;
    text-transform: none;
    font-size: 12px;
  }
  body.lang-ar .hero-actions a,
  body.lang-ku .hero-actions a {
    font-family: var(--hero-arabic);
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
    font-weight: 400;
  }
  body.lang-en .hero-content [data-en].hero-lang-in,
  body.lang-ar .hero-content [data-ar].hero-lang-in,
  body.lang-ku .hero-content [data-ku].hero-lang-in {
    animation: heroLangIn 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }
  @keyframes heroLangIn {
    from { opacity: 0; transform: translateY(10px); filter: blur(4px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
  }
  .hero-subtitle {
    font-family: var(--serif); font-size: clamp(14px, 2vw, 18px);
    color: var(--dust); font-weight: 400; font-style: italic;
    margin-bottom: 40px; opacity: 0.9; max-width: 540px; line-height: 1.6;
  }
  .hero-sentence {
    font-size: 13px; letter-spacing: 0.04em; color: var(--stone);
    border-left: 2px solid var(--river); padding-left: 16px;
    margin-bottom: 48px; font-style: italic; max-width: 500px;
  }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 26px;
    border-radius: 999px;
    white-space: nowrap;
    line-height: 1.25;
  }
  body.lang-en .hero-actions .btn-primary,
  body.lang-en .hero-actions .btn-outline {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .btn-primary {
    background: var(--river); color: white;
    padding: 14px 32px; border-radius: var(--radius);
    font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
    text-decoration: none; transition: all 0.2s; border: none; cursor: pointer;
    font-family: var(--sans);
  }
  .btn-primary:hover { background: var(--river-lt); transform: translateY(-1px); }
  .btn-outline {
    background: transparent; color: var(--dust);
    border: 1px solid rgba(214,199,179,0.4);
    padding: 14px 32px; border-radius: var(--radius);
    font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
    text-decoration: none; transition: all 0.2s; cursor: pointer;
    font-family: var(--sans);
  }
  .btn-outline:hover { border-color: var(--dust); background: rgba(214,199,179,0.05); }

  /* Scroll indicator */
  .hero-scroll {
    position: absolute; bottom: 32px; right: 64px; z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--stone);
  }
  .hero-scroll .scroll-line {
    width: 1px; height: 40px; background: linear-gradient(to bottom, var(--stone), transparent);
    animation: scrollDrop 2s ease infinite;
  }
  @keyframes scrollDrop {
    0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
  }

  /* ─── DOWNSTREAM BRIDGE ─── */
  #downstream-bridge {
    background: var(--charcoal); color: var(--dust);
    padding: 60px 64px;
    border-top: 1px solid rgba(49,93,125,0.3);
    display: flex; align-items: center; gap: 48px;
  }
  .bridge-label {
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--stone); white-space: nowrap; writing-mode: vertical-rl;
    transform: rotate(180deg);
  }
  .bridge-text {
    font-family: var(--serif); font-size: clamp(18px, 2.5vw, 26px);
    line-height: 1.5; font-style: italic;
  }
  .bridge-text strong { color: white; font-style: normal; }
  .bridge-link {
    margin-left: auto; flex-shrink: 0;
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--river-lt); text-decoration: none; border-bottom: 1px solid var(--river-lt);
    padding-bottom: 2px; white-space: nowrap;
  }
  .bridge-link:hover { color: var(--dust-lt); border-color: var(--dust-lt); }

  /* ─── SECTION WRAPPER ─── */
  section { padding: var(--section-gap) 64px; }
  .container { max-width: var(--max); margin: 0 auto; }
  .section-eyebrow {
    font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--stone); margin-bottom: 16px;
    display: flex; align-items: center; gap: 12px;
  }
  .section-eyebrow::after {
    content: ''; flex: 1; height: 1px; background: var(--dust); max-width: 60px;
  }
  .section-title {
    font-family: var(--serif); font-size: clamp(32px, 4vw, 52px);
    font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
    color: var(--charcoal); margin-bottom: 20px;
  }
  .section-lead {
    font-size: 17px; color: var(--stone); line-height: 1.75;
    max-width: 560px; margin-bottom: 60px;
  }

  /* ─── SECTION 1: WHAT IS KHASA — TIMELINE ─── */
  #khasa {
    background: var(--offwhite);
  }
  .timeline {
    position: relative; padding-left: 32px;
  }
  .timeline::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 1px; background: var(--dust);
  }
  .tl-item {
    position: relative; margin-bottom: 56px; cursor: pointer;
  }
  .tl-dot {
    position: absolute; left: -39px; top: 6px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--dust); border: 2px solid var(--offwhite);
    transition: all 0.3s;
  }
  .tl-item.active .tl-dot, .tl-item:hover .tl-dot {
    background: var(--river); transform: scale(1.3);
  }
  .tl-year {
    font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--river); margin-bottom: 6px; font-weight: 600;
  }
  .tl-heading {
    font-family: var(--serif); font-size: 22px; font-weight: 700;
    color: var(--charcoal); margin-bottom: 10px;
  }
  .tl-body {
    font-size: 15px; color: var(--stone); line-height: 1.7; max-width: 560px;
  }
  .tl-stat {
    display: inline-block; background: var(--dust-lt); color: var(--river);
    font-size: 11px; letter-spacing: 0.08em; padding: 4px 10px;
    border-radius: var(--radius); margin-top: 10px; font-weight: 600;
  }

  /* ─── SECTION 2: RIVER IN MEMORY ─── */
  #memory {
    background: var(--charcoal);
    color: var(--dust);
  }
  #memory .section-title { color: white; }
  #memory .section-lead { color: var(--stone); }
  #memory .section-eyebrow { color: var(--stone); }
  #memory .section-eyebrow::after { background: rgba(214,199,179,0.2); }

  .memory-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  }
  .memory-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(214,199,179,0.08);
    padding: 32px; cursor: pointer; transition: all 0.3s; position: relative;
    overflow: hidden;
  }
  .memory-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px; background: var(--river); transform: scaleX(0);
    transition: transform 0.3s; transform-origin: left;
  }
  .memory-card:hover::before { transform: scaleX(1); }
  .memory-card:hover { background: rgba(255,255,255,0.06); }
  .memory-area {
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--river-lt); margin-bottom: 16px;
  }
  .memory-quote {
    font-family: var(--serif); font-size: 16px; font-style: italic;
    color: var(--dust); line-height: 1.6; margin-bottom: 20px;
  }
  .memory-quote::before { content: '"'; font-size: 24px; color: var(--river-lt); vertical-align: -4px; }
  .memory-meta {
    font-size: 12px; color: var(--stone);
    display: flex; align-items: center; gap: 8px;
  }
  .memory-meta .dot { width: 3px; height: 3px; background: var(--stone); border-radius: 50%; }
  .memory-audio-btn {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; letter-spacing: 0.1em; color: var(--river-lt);
    text-transform: uppercase; margin-top: 16px; cursor: pointer;
    background: none; border: none; padding: 0; font-family: var(--sans);
    transition: color 0.2s;
  }
  .memory-audio-btn:hover { color: var(--dust-lt); }
  .audio-icon {
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid var(--river); display: flex; align-items: center; justify-content: center;
  }
  .memory-add-cta {
    margin-top: 32px; padding: 28px 32px;
    border: 1px dashed rgba(214,199,179,0.2); text-align: center;
    cursor: pointer; transition: all 0.3s;
    display: block; text-decoration: none; color: inherit;
  }
  .memory-add-cta:hover { border-color: rgba(214,199,179,0.4); background: rgba(255,255,255,0.02); }
  .memory-add-cta p { font-family: var(--serif); font-size: 16px; font-style: italic; color: var(--stone); }
  .memory-add-cta span { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--river-lt); }

  /* ─── SECTION 3: IMAGES ─── */
  #images {
    background: var(--offwhite);
  }
  .photo-archive-toolbar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(214, 199, 179, 0.45);
  }
  .photo-archive-count {
    font-family: var(--serif);
    font-size: 15px;
    font-style: italic;
    color: var(--charcoal);
  }
  .photo-archive-hint {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--stone);
  }
  .photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
  }
  .photo-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/5;
    background: var(--dust-lt);
    border: none;
    padding: 0;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(31, 35, 40, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .photo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(31, 35, 40, 0.12);
  }
  .photo-item:focus-visible {
    outline: 2px solid var(--river);
    outline-offset: 3px;
  }
  .photo-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s, filter 0.3s;
    filter: sepia(12%) saturate(92%);
  }
  .photo-item:hover img { transform: scale(1.04); filter: sepia(0%) saturate(108%); }
  .photo-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(31,35,40,0.82) 0%, transparent 52%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 16px; opacity: 0; transition: opacity 0.3s;
    pointer-events: none;
  }
  .photo-item:hover .photo-overlay,
  .photo-item:focus-visible .photo-overlay { opacity: 1; }
  .photo-overlay .loc { font-size: 11px; letter-spacing: 0.08em; color: var(--dust); }
  .photo-overlay .yr  { font-size: 11px; color: rgba(214, 199, 179, 0.72); margin-top: 4px; }
  .photo-index {
    position: absolute;
    top: 12px;
    left: 12px;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(31, 35, 40, 0.55);
    color: white;
    font-size: 11px;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
  }
  .before-after {
    margin-top: 56px;
  }
  .ba-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
  }
  .ba-heading {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--charcoal);
  }
  .ba-hint {
    font-size: 12px;
    color: var(--stone);
    letter-spacing: 0.04em;
  }
  .ba-stage {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 380px;
    box-shadow: 0 16px 40px rgba(31, 35, 40, 0.08);
  }
  .ba-label {
    position: absolute; top: 16px; z-index: 10; font-size: 10px;
    letter-spacing: 0.12em; text-transform: uppercase;
    background: rgba(31,35,40,0.62); color: white;
    padding: 6px 12px; border-radius: 999px;
    backdrop-filter: blur(8px);
  }
  .ba-before-label { left: 16px; }
  .ba-after-label  { right: 16px; }
  .ba-before, .ba-after {
    position: absolute; top: 0; height: 100%; overflow: hidden;
  }
  .ba-before { left: 0; width: 50%; border-right: 2px solid white; }
  .ba-after  { left: 50%; right: 0; }
  .ba-before img, .ba-after img {
    width: 100%; height: 380px; object-fit: cover;
    filter: sepia(18%) saturate(84%);
  }
  .ba-divider {
    position: absolute; top: 0; bottom: 0; left: 50%;
    width: 2px; background: white; z-index: 5; cursor: ew-resize;
    transform: translateX(-50%);
  }
  .ba-divider::after {
    content: '↔'; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 36px; height: 36px; background: white; color: var(--charcoal);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 14px; box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  }
  .photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .photo-lightbox.open { display: flex; }
  .photo-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 18, 22, 0.88);
    backdrop-filter: blur(10px);
  }
  .photo-lightbox-panel {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .photo-lightbox-figure {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    background: var(--charcoal);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  }
  .photo-lightbox-img {
    display: block;
    width: 100%;
    max-height: min(68vh, 720px);
    object-fit: contain;
    background: #111;
  }
  .photo-lightbox-caption {
    padding: 14px 18px;
    font-size: 13px;
    color: var(--dust);
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .photo-lightbox-counter {
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(214, 199, 179, 0.72);
  }
  .photo-lightbox-close,
  .photo-lightbox-nav {
    position: absolute;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    backdrop-filter: blur(10px);
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .photo-lightbox-close:hover,
  .photo-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.16);
  }
  .photo-lightbox-close {
    top: -8px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    font-size: 24px;
    line-height: 1;
  }
  .photo-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    font-size: 28px;
    line-height: 1;
  }
  .photo-lightbox-prev { left: -56px; }
  .photo-lightbox-next { right: -56px; }
  .photo-lightbox-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 8px;
    scrollbar-width: thin;
  }
  .photo-lightbox-thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    opacity: 0.62;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }
  .photo-lightbox-thumb:hover { opacity: 0.9; transform: translateY(-2px); }
  .photo-lightbox-thumb.active {
    opacity: 1;
    border-color: var(--dust);
  }
  .photo-lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .btn-soft {
    border-radius: 999px;
    padding: 13px 28px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  #images .section-cta {
    margin-top: 48px;
    text-align: center;
  }

  /* ─── SECTION 4: MAP ─── */
  #map-section {
    background: var(--dust-lt); padding: var(--section-gap) 0;
  }
  #map-section .container { padding: 0 64px; }
  .map-shell {
    margin-top: 40px;
    border: 1px solid var(--dust);
    overflow: hidden;
    position: relative;
  }
  .map-iframe {
    width: 100%; height: 520px; display: block; border: none;
    background: var(--charcoal);
    filter: sepia(15%) saturate(85%);
  }
  .map-legend {
    background: white; padding: 20px 24px;
    display: flex; gap: 24px; flex-wrap: wrap;
    border-top: 1px solid var(--dust);
  }
  .map-legend-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--stone);
  }
  .legend-dot { width: 10px; height: 10px; border-radius: 50%; }

  /* ─── SECTION 5: SCIENCE ─── */
  #science {
    background: var(--offwhite);
  }
  .science-lead-quote {
    font-family: var(--serif); font-size: 20px; font-style: italic;
    color: var(--river); border-left: 3px solid var(--river);
    padding-left: 24px; margin-bottom: 60px; max-width: 600px; line-height: 1.6;
  }
  .science-cards {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  }
  .science-card {
    background: white; border: 1px solid var(--dust);
    padding: 36px 32px;
    position: relative; overflow: hidden;
    transition: box-shadow 0.3s;
  }
  .science-card:hover { box-shadow: 0 8px 32px rgba(49,93,125,0.10); }
  .science-card-accent {
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
  }
  .sci-ph   { background: var(--river); }
  .sci-tds  { background: var(--reed); }
  .sci-turb { background: var(--dust); }
  .sci-param {
    font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--stone); margin-bottom: 12px;
  }
  .sci-value {
    font-family: var(--serif); font-size: 52px; font-weight: 900;
    line-height: 1; color: var(--charcoal); margin-bottom: 4px;
  }
  .sci-unit { font-size: 16px; color: var(--stone); font-weight: 400; }
  .sci-label {
    font-size: 13px; font-weight: 600; color: var(--charcoal); margin-bottom: 12px;
  }
  .sci-meaning {
    font-size: 14px; color: var(--stone); line-height: 1.65;
  }
  .sci-meter {
    margin-top: 20px; height: 4px; background: var(--dust-lt); border-radius: 2px;
    overflow: hidden;
  }
  .sci-meter-fill {
    height: 100%; border-radius: 2px; transition: width 1s ease;
  }
  .sci-safe { background: var(--reed); }
  .sci-warn { background: #c59a3a; }
  .sci-bad  { background: #8B4444; }
  .sci-status {
    margin-top: 8px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
    font-weight: 600;
  }
  .science-context {
    margin-top: 48px; background: var(--dust-lt); padding: 32px 36px;
    border-left: 3px solid var(--dust);
  }
  .science-context p {
    font-size: 14px; color: var(--stone); line-height: 1.75; max-width: 700px;
  }
  .science-context strong { color: var(--charcoal); }

  /* ─── SECTION 6: CONTRIBUTE ─── */
  #contribute {
    background: var(--river); color: white;
  }
  #contribute .section-eyebrow { color: rgba(255,255,255,0.5); }
  #contribute .section-eyebrow::after { background: rgba(255,255,255,0.2); }
  #contribute .section-title { color: white; }
  #contribute .section-lead { color: rgba(255,255,255,0.75); }
  .contribute-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  }
  .contribute-card {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
    padding: 40px 36px; transition: all 0.3s; cursor: pointer;
  }
  .contribute-card:hover {
    background: rgba(255,255,255,0.14); transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
  }
  .contribute-link {
    text-decoration: none;
    color: inherit;
    display: block;
  }
  .contribute-icon {
    width: 48px; height: 48px; margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.25); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
  }
  .contribute-card h3 {
    font-family: var(--serif); font-size: 22px; font-weight: 700;
    color: white; margin-bottom: 12px;
  }
  .contribute-card p {
    font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 24px;
  }
  .contribute-action {
    font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--dust-lt); display: flex; align-items: center; gap: 8px;
  }
  .contribute-action::after { content: '→'; }

  /* ─── MODAL ─── */
  .modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(31,35,40,0.85); backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
  }
  .modal-overlay.open { opacity: 1; pointer-events: all; }
  .modal {
    background: var(--offwhite); max-width: 600px; width: 90%;
    padding: 48px; position: relative; max-height: 85vh; overflow-y: auto;
    transform: translateY(20px); transition: transform 0.3s;
  }
  .modal-overlay.open .modal { transform: translateY(0); }
  .modal-close {
    position: absolute; top: 16px; right: 16px;
    background: none; border: none; cursor: pointer; font-size: 18px; color: var(--stone);
  }
  .modal-close:hover { color: var(--charcoal); }
  .modal h2 {
    font-family: var(--serif); font-size: 28px; font-weight: 700;
    color: var(--charcoal); margin-bottom: 8px;
  }
  .modal .modal-sub {
    font-size: 14px; color: var(--stone); margin-bottom: 32px; line-height: 1.6;
  }
  .form-group { margin-bottom: 20px; }
  .form-group label {
    display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--stone); margin-bottom: 8px; font-weight: 600;
  }
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%; padding: 12px 14px;
    border: 1px solid var(--dust); background: white;
    font-size: 14px; font-family: var(--sans); color: var(--charcoal);
    border-radius: var(--radius); outline: none; transition: border-color 0.2s;
    line-height: 1.6;
  }
  .form-group input:focus,
  .form-group textarea:focus { border-color: var(--river); }
  .form-group textarea { resize: vertical; min-height: 100px; }
  .form-consent {
    font-size: 12px; color: var(--stone); margin-bottom: 24px; line-height: 1.6;
    display: flex; gap: 10px; align-items: flex-start;
  }
  .form-consent input[type=checkbox] { margin-top: 2px; flex-shrink: 0; accent-color: var(--river); }
  .upload-zone {
    border: 1px dashed var(--dust); padding: 28px; text-align: center;
    cursor: pointer; transition: all 0.2s; border-radius: var(--radius);
  }
  .upload-zone:hover { border-color: var(--river); background: rgba(49,93,125,0.02); }
  .upload-zone p { font-size: 14px; color: var(--stone); }
  .upload-zone span { font-size: 12px; color: var(--river); text-decoration: underline; }

  /* ─── FOOTER ─── */
  footer {
    background: var(--charcoal); padding: 60px 64px 32px;
  }
  .footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
    max-width: var(--max); margin: 0 auto 48px;
    padding-bottom: 48px; border-bottom: 1px solid rgba(214,199,179,0.1);
  }
  .footer-brand .footer-logo {
    font-family: var(--serif); font-size: 22px; font-weight: 700;
    color: white; margin-bottom: 12px;
  }
  .footer-brand .footer-logo span { color: var(--river-lt); }
  .footer-brand p { font-size: 13px; color: var(--stone); line-height: 1.7; max-width: 280px; }
  .footer-col h4 {
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--stone); margin-bottom: 16px;
  }
  .footer-col a {
    display: block; font-size: 13px; color: rgba(214,199,179,0.6);
    text-decoration: none; margin-bottom: 10px; transition: color 0.2s;
  }
  .footer-col a:hover { color: var(--dust); }
  .footer-bottom {
    max-width: var(--max); margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; color: var(--stone);
  }
  .footer-partner { font-style: italic; font-size: 11px; }

  /* ─── RTL SUPPORT ─── */
  body.rtl {
    font-family: var(--arabic);
    direction: rtl; text-align: right;
  }
  body.lang-ar #hero,
  body.lang-ku #hero { align-items: flex-end; }
  body.lang-ar .hero-content,
  body.lang-ku .hero-content {
    text-align: right;
    direction: rtl;
  }
  body.lang-ar .hero-lang,
  body.lang-ku .hero-lang { flex-direction: row-reverse; }
  body.lang-ar .hero-actions,
  body.lang-ku .hero-actions { justify-content: flex-end; }
  body.lang-ar .hero-scroll,
  body.lang-ku .hero-scroll { right: auto; left: 64px; }
  body.lang-ar .hero-eyebrow::before,
  body.lang-ku .hero-eyebrow::before { display: none; }
  body.lang-ar .hero-eyebrow::after,
  body.lang-ku .hero-eyebrow::after {
    content: ''; display: block; width: 32px; height: 1px; background: var(--dust); opacity: 0.5;
  }
  body.lang-ar .hero-sentence,
  body.lang-ku .hero-sentence {
    border-left: none;
    border-right: 2px solid var(--river);
    padding-left: 0;
    padding-right: 16px;
  }
  body.rtl .section-eyebrow { flex-direction: row-reverse; }
  body.rtl .section-eyebrow::after { display: none; }
  body.rtl .section-eyebrow::before {
    content: ''; flex: 1; height: 1px; background: var(--dust); max-width: 60px;
  }
  body.rtl .hero-sentence { border-left: none; border-right: 2px solid var(--river); padding-left: 0; padding-right: 16px; }
  body.rtl .tl-item { padding-left: 0; padding-right: 32px; }
  body.rtl .timeline { padding-left: 0; padding-right: 32px; }
  body.rtl .timeline::before { left: auto; right: 0; }
  body.rtl .tl-dot { left: auto; right: -39px; }

  /* ─── LANGUAGE LAYERS (hero only) ─── */
  .hero-content [data-en],
  .hero-content [data-ar],
  .hero-content [data-ku],
  .hero-scroll [data-en],
  .hero-scroll [data-ar],
  .hero-scroll [data-ku] {
    display: none !important;
  }
  body.lang-en .hero-content > [data-en],
  body.lang-en .hero-content > h1[data-en],
  body.lang-en .hero-content p [data-en],
  body.lang-ar .hero-content > [data-ar],
  body.lang-ar .hero-content > h1[data-ar],
  body.lang-ar .hero-content p [data-ar],
  body.lang-ku .hero-content > [data-ku],
  body.lang-ku .hero-content > h1[data-ku],
  body.lang-ku .hero-content p [data-ku] {
    display: block !important;
  }
  body.lang-en .hero-content .hero-actions [data-en],
  body.lang-ar .hero-content .hero-actions [data-ar],
  body.lang-ku .hero-content .hero-actions [data-ku],
  body.lang-en .hero-scroll [data-en],
  body.lang-ar .hero-scroll [data-ar],
  body.lang-ku .hero-scroll [data-ku] {
    display: inline !important;
  }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 900px) {
    section { padding: 80px 24px; }
    nav { padding: 0 24px; }
    .hero-content { padding: 0 24px 60px; }
    .hero-lang-btn { padding: 9px 14px; font-size: 10px; }
    .hero-lang-btn[data-lang="ar"],
    .hero-lang-btn[data-lang="ku"] { font-size: 12px; }
    body.lang-ar .hero-scroll,
    body.lang-ku .hero-scroll { left: 24px; }
    .memory-grid, .science-cards, .contribute-grid { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .photo-archive-toolbar { flex-direction: column; align-items: flex-start; }
    .photo-lightbox { padding: 12px; }
    .photo-lightbox-prev { left: 8px; }
    .photo-lightbox-next { right: 8px; }
    .photo-lightbox-close { top: 8px; right: 8px; }
    .footer-grid { grid-template-columns: 1fr; }
    #downstream-bridge { flex-direction: column; padding: 48px 24px; }
    .bridge-label { writing-mode: horizontal-tb; transform: none; }
    .bridge-link { margin-left: 0; }
    .nav-links { display: none; }
  }

  /* ─── REVEAL ANIMATION ─── */
  .reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* ─── CENTERED PAGES ─── */
  .centered-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 104px 24px 48px;
  }
  .centered-card {
    max-width: 560px;
    text-align: center;
  }
  .centered-eyebrow {
    font-family: var(--serif);
    font-size: 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--river);
    margin-bottom: 16px;
  }
  .centered-title {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 40px);
    color: var(--charcoal);
    margin-bottom: 16px;
  }
  .centered-message {
    color: var(--stone);
    line-height: 1.75;
    margin-bottom: 32px;
  }

  /* ─── UTILITIES ─── */
  .section-lead a {
    color: var(--river);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .section-cta .btn-primary { display: inline-flex; align-items: center; gap: 8px; }
  .whatsapp-link {
    margin-left: auto;
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .whatsapp-panel {
    margin-top: 48px;
    padding: 28px 32px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  .whatsapp-icon { font-size: 24px; }
  .whatsapp-label {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 4px;
  }
  .whatsapp-text {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin: 0;
  }
  .btn-full { width: 100%; }
  .upload-zone-large { padding: 48px; }
  .upload-icon { font-size: 36px; margin-bottom: 12px; }
