/* Handala Hub — site styles (one dark world, matching Timeline + Map) */
:root {
  --green: #285c55; --deep: #1f4a44; --darkest: #163632;
  --cream: #fffbea; --sand: #f3ecd2; --red: #e3312e; --ink: #141414;
  --muted: rgba(255,251,234,0.74); --glass: rgba(255,251,234,0.05); --glass-2: rgba(255,251,234,0.08);
  --line: rgba(255,251,234,0.12);
  --gutter: clamp(16px, 4vw, 56px); --max: 1240px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Poppins", system-ui, -apple-system, sans-serif; font-weight: 300; color: var(--cream); background: var(--darkest); line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--green); color: var(--cream); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 14px; min-height: 58px; }
.logo { width: 38px; height: 38px; border-radius: 50%; background: var(--deep); outline: 2px dotted var(--cream); outline-offset: 2px; display: grid; place-items: center; flex: none; overflow: hidden; }
.logo img { width: 38%; height: auto; transform: translateY(4%); }
.hdr .name { font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap; }
.hdr nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.hdr nav a { text-decoration: none; font-size: 0.9rem; white-space: nowrap; border-bottom: 1.5px solid transparent; padding: 2px 0; }
.hdr nav a:hover, .hdr nav a[aria-current] { border-bottom-color: currentColor; }
.menu-btn, .mnav { display: none; }
@media (max-width: 960px) {
  .hdr nav { display: none; }
  .hdr .wrap { gap: 12px; }
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; font: 500 0.88rem/1 "Poppins", system-ui, sans-serif; color: var(--cream);
    background: var(--glass-2); border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px 10px 16px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .menu-btn:active { background: rgba(255,251,234,0.14); }
  .mb-i { position: relative; width: 16px; height: 10px; }
  .mb-i::before, .mb-i::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .25s ease, top .25s ease; }
  .mb-i::before { top: 0; } .mb-i::after { top: 8.5px; }
  .menu-open .mb-i::before { top: 4.25px; transform: rotate(45deg); }
  .menu-open .mb-i::after { top: 4.25px; transform: rotate(-45deg); }

  .mnav { display: flex; flex-direction: column; position: fixed; inset: 58px 0 0; z-index: 49; overflow-y: auto; overscroll-behavior: contain;
    background: radial-gradient(120% 60% at 100% 0%, rgba(40,92,85,0.55), transparent 60%), var(--darkest);
    padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom));
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s; }
  .mnav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .22s ease, transform .22s ease; }
  .menu-open, .menu-open body { overflow: hidden; }
  .mn-list { display: flex; flex-direction: column; }
  .mn-list a { display: flex; align-items: center; gap: 16px; text-decoration: none; padding: 15px 2px; border-bottom: 1px solid var(--line); -webkit-tap-highlight-color: transparent;
    opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
  .mnav.open .mn-list a { opacity: 1; transform: none; transition-delay: calc(var(--i) * 35ms + 60ms); }
  .mn-list a:active { background: var(--glass); }
  .mn-n { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; color: rgba(255,251,234,0.45); width: 20px; flex: none; }
  .mn-t { flex: 1; font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
  .mn-t small { display: block; font-size: 0.8rem; font-weight: 300; color: var(--muted); margin-top: 3px; }
  .mn-go { font-size: 1.05rem; color: rgba(255,251,234,0.5); white-space: nowrap; }
  .mn-list a[aria-current] .mn-n, .mn-list a[aria-current] .mn-go { color: var(--red); }
  .mn-list a[aria-current] .mn-go { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
  .mn-foot { margin-top: auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); }
}
@media (max-width: 960px) and (prefers-reduced-motion: reduce) {
  .mnav, .mn-list a, .mb-i::before, .mb-i::after { transition: none !important; transform: none !important; }
}

/* ---------- Shared bits ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 0.95rem;
  padding: 11px 20px; border-radius: 6px; border: 0; cursor: pointer; font-family: inherit; line-height: 1.3; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #c92724; }
.btn-ink { background: var(--cream); color: var(--darkest); }
.btn-line { border: 1.5px solid rgba(255,251,234,0.5); background: transparent; color: inherit; }
.btn-line:hover { border-color: var(--cream); background: var(--glass); }
.tatreez { height: 14px; margin: 0 auto; max-width: var(--max); opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M7 1 L13 7 L7 13 L1 7Z' fill='%23e3312e'/%3E%3Cpath d='M7 5 L9 7 L7 9 L5 7Z' fill='%23fffbea'/%3E%3Cpath d='M21 4 L24 7 L21 10 L18 7Z' fill='%23fffbea'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 500; }
.eyebrow.red, .red-text { color: var(--red); }
.src { font-size: 0.78rem; color: var(--muted); }
.src a { text-decoration: underline; text-underline-offset: 2px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.sec-head h2 { font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 6px 0 0; line-height: 1.1; letter-spacing: -0.015em; }
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: 10px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.page-top { padding: clamp(56px, 9vw, 120px) 0 clamp(30px, 4vw, 50px); }
.page-top h1 { font-weight: 600; font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 12px 0 18px; line-height: 1.05; letter-spacing: -0.025em; }
.page-top p { max-width: 38em; margin: 0; color: var(--muted); font-size: 1.08rem; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(160px); background: var(--cream); color: var(--darkest); padding: 12px 20px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; transition: transform .25s ease; z-index: 99; }
.toast.show { transform: translateX(-50%) translateY(0); }

/* A photo that fades into the page, like the map */
.photo-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.photo-fade { position: absolute; inset: 0; pointer-events: none; }

/* ---------- Home ---------- */
.hero { position: relative; overflow: hidden; background: var(--deep); min-height: min(78vh, 720px); display: flex; align-items: center; }
.hero .photo-bg { filter: grayscale(1) contrast(1.05); opacity: 0.4; mix-blend-mode: luminosity; }
.hero .photo-fade { background:
  linear-gradient(180deg, rgba(22,54,50,0.35) 0%, rgba(22,54,50,0) 30%, rgba(22,54,50,0.3) 70%, var(--darkest) 100%),
  linear-gradient(90deg, rgba(22,54,50,0.95) 0%, rgba(22,54,50,0.75) 40%, rgba(22,54,50,0.15) 75%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero .inner { max-width: 44em; }
.hero p.lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.8; margin: 18px 0 0; color: rgba(255,251,234,0.92); }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.numbers { padding: clamp(56px, 8vw, 100px) 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 26px 22px; display: flex; flex-direction: column; gap: 6px; }
.stat .n { font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; letter-spacing: -0.02em; }
.stat.red .n { color: var(--red); }
.stat .l { font-weight: 500; }
.stat .src { margin-top: auto; padding-top: 10px; }

.crisis { padding: clamp(56px, 8vw, 100px) 0; border-top: 1px solid var(--line); }
.crisis .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.tag-title { display: inline-block; margin: 0 0 0.9em; background: var(--red); color: #fff; font-weight: 500; line-height: 1.12; font-size: clamp(1.9rem, 3.8vw, 3rem); padding: 0 0.15em; letter-spacing: -0.015em; }
.crisis p { margin: 0 0 1.4em; max-width: 46ch; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.85; color: var(--muted); }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 400; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform 0.2s ease; }
.acc details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.acc details[open] summary { color: var(--red); }
.acc .acc-body { padding: 0 0 22px; font-size: 0.98rem; line-height: 1.8; color: var(--muted); }
.acc .acc-body p { margin: 0; max-width: none; font-size: inherit; }

.paths { padding: clamp(56px, 8vw, 100px) 0; border-top: 1px solid var(--line); }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.path { padding: 30px 26px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; min-height: 250px; transition: background .25s ease, border-color .25s ease; }
.path:hover { background: var(--glass-2); border-color: rgba(255,251,234,0.25); }
.path .num { font-weight: 600; font-size: 0.85rem; color: #fff; background: var(--red); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.path h3 { font-size: 1.3rem; font-weight: 600; margin: 8px 0 0; line-height: 1.2; }
.path p { margin: 0; color: var(--muted); }
.path .go { margin-top: auto; font-weight: 500; }

.rail-sec { padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 6vw, 70px); border-top: 1px solid var(--line); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 23%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 20px; margin: 0 calc(-1 * var(--gutter)); -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(255,251,234,0.25) transparent; }
.rail a { scroll-snap-align: start; text-decoration: none; }
.rail img, .card img, .more img { aspect-ratio: 4/3; width: 100%; object-fit: cover; border-radius: 8px; background: var(--deep); filter: saturate(0.85) brightness(0.92); transition: filter .3s ease; }
.rail a:hover img, .card:hover img, .more a:hover img { filter: none; }
.k { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin: 14px 0 4px; }
.rail h3 { margin: 0; font-size: 1.05rem; font-weight: 500; line-height: 1.35; }
.min { font-size: 0.85rem; color: var(--muted); }

.share-box { padding: 0 0 clamp(56px, 8vw, 100px); }
.share-box .box { border-left: 5px solid var(--red); padding: clamp(28px, 4.5vw, 52px); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: center; }
.share-box h2 { font-weight: 600; font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.1; margin: 0 0 10px; letter-spacing: -0.02em; }
.share-box p { margin: 0; color: var(--muted); }
.share-box .btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Learn ---------- */
.learn { padding: clamp(20px, 3vw, 40px) 0 clamp(64px, 8vw, 110px); }
.learn .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(36px, 4vw, 52px) clamp(18px, 2vw, 28px); }
.card { display: flex; flex-direction: column; text-decoration: none; }
.card h2 { font-size: 1.05rem; font-weight: 500; line-height: 1.4; margin: 0 0 6px; }

/* ---------- Article ---------- */
.a-hero { position: relative; overflow: hidden; min-height: min(72vh, 680px); display: flex; align-items: flex-end; background: var(--deep); }
.a-hero .photo-bg { opacity: 0.6; }
.a-hero .photo-fade { background:
  linear-gradient(180deg, rgba(22,54,50,0.55) 0%, rgba(22,54,50,0.1) 35%, rgba(22,54,50,0.75) 75%, var(--darkest) 100%); }
.a-hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 40px; padding-bottom: clamp(24px, 4vw, 48px); }
.a-hero .back { font-size: 0.92rem; text-decoration: none; border-bottom: 1px solid currentColor; display: inline-block; margin-bottom: 22px; opacity: 0.9; }
.a-hero h1 { margin: 10px 0 0; font-weight: 600; font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1.1; letter-spacing: -0.02em; text-shadow: 0 2px 24px rgba(0,0,0,0.25); }
.a-hero .byline { margin: 14px 0 0; font-size: 0.95rem; color: var(--muted); }
.a-body { padding: clamp(28px, 4vw, 48px) 0 clamp(64px, 8vw, 110px); }
.a-body p, .a-body li { font-size: clamp(1.02rem, 1.25vw, 1.12rem); line-height: 1.9; color: rgba(255,251,234,0.86); }
.a-body p { margin: 0 0 1.3em; }
.a-body h2 { font-weight: 600; color: var(--cream); font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 1.9em 0 0.6em; line-height: 1.25; letter-spacing: -0.01em; }
.a-body h2::before { content: ""; display: block; width: 36px; height: 3px; background: var(--red); margin-bottom: 14px; }
.a-body h2:first-child { margin-top: 0; }
.a-body ul { padding-left: 1.2em; margin: 0 0 1.5em; }
.a-body li { margin-bottom: 0.8em; }
.a-body li::marker { color: var(--red); }
.a-body strong { font-weight: 600; color: var(--cream); }
.a-body blockquote { margin: 2em 0 0; padding: 0 0 0 20px; border-left: 4px solid var(--red); font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 500; color: var(--cream); }
.donut { display: flex; align-items: center; gap: 28px; margin: 2em 0 2.2em; padding: 24px; background: var(--glass); border: 1px solid var(--line); border-radius: 10px; flex-wrap: wrap; }
.donut svg { width: 150px; height: 150px; flex: none; }
.donut .legend { display: grid; gap: 8px; font-size: 0.95rem; }
.donut .legend span { display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; border-radius: 3px; }
.donut .cap { flex-basis: 100%; margin: 0; font-weight: 500; }
.more { border-top: 1px solid var(--line); margin-top: 3em; padding-top: 2em; }
.more h3 { font-weight: 600; margin: 0 0 18px; font-size: 1.1rem; }
.more .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.more a { text-decoration: none; }
.more span { display: block; font-size: 0.92rem; font-weight: 500; margin-top: 8px; line-height: 1.35; }

/* ---------- Myth vs Fact ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.chip { font: inherit; font-size: 0.9rem; padding: 8px 16px; border-radius: 999px; border: 1.5px solid rgba(255,251,234,0.35); background: transparent; color: var(--cream); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--cream); color: var(--darkest); border-color: var(--cream); font-weight: 500; }
.board { padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 6vw, 80px); }
.myths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.myth { perspective: 1400px; min-height: 340px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.myth .inner { position: relative; width: 100%; height: 100%; min-height: 340px; transition: transform .6s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; -webkit-transform-style: preserve-3d; }
.myth.flipped .inner { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; border-radius: 10px; padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 1px solid var(--line); }
.face.front { background: #1b413c; }
.myth:hover .face.front { background: #1f4843; }
.face .tag { align-self: flex-start; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; padding: 5px 11px; border-radius: 999px; }
.face.front .tag { background: var(--cream); color: var(--darkest); }
.face.front .q { font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; margin: 0; }
.face.front .tap { margin-top: auto; font-size: 0.88rem; font-weight: 500; color: var(--red); }
.face.back { background: var(--green); color: var(--cream); transform: rotateY(180deg); overflow-y: auto; }
.face.back .tag { background: var(--red); color: #fff; }
.face.back p { margin: 0; font-size: 0.98rem; line-height: 1.65; }
.face.back .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; }
.copy { font: inherit; font-size: 0.8rem; font-weight: 500; background: var(--cream); color: var(--darkest); border: 0; border-radius: 999px; padding: 7px 13px; cursor: pointer; flex: none; }
.myth[hidden] { display: none; }

/* ---------- Timeline ---------- */
.progress { position: fixed; left: 0; top: 0; height: 4px; background: var(--red); width: 0; z-index: 60; }
.tl-intro { padding: clamp(56px, 9vw, 120px) 0 clamp(30px, 4vw, 50px); }
.tl-intro h1 { font-weight: 600; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; margin: 12px 0 18px; letter-spacing: -0.025em; }
.tl-intro p { max-width: 38em; color: var(--muted); font-size: 1.08rem; margin: 0; }
.eras { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.eras a { font-size: 0.85rem; text-decoration: none; padding: 7px 14px; border-radius: 999px; border: 1.5px solid rgba(255,251,234,0.35); }
.eras a:hover { background: var(--cream); color: var(--darkest); }
.tl { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 5vw, 80px); padding-bottom: 120px; }
.year-col { position: sticky; top: 72px; align-self: start; height: calc(100vh - 120px); display: flex; flex-direction: column; justify-content: center; }
.big-year { font-weight: 600; font-size: clamp(5rem, 13vw, 11rem); line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.era-label { margin-top: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; color: var(--red); }
.events { position: relative; padding-left: 30px; }
.events::before { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: rgba(255,251,234,0.18); }
.ev { position: relative; padding: 32px 0 56px; opacity: 0.35; transition: opacity .35s ease, transform .35s ease; transform: translateY(10px); scroll-margin-top: 140px; }
.ev.on { opacity: 1; transform: none; }
.ev::before { content: ""; position: absolute; left: -30px; top: 40px; width: 14px; height: 14px; border-radius: 50%; background: var(--darkest); border: 2px solid var(--cream); }
.ev.on::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 6px rgba(227,49,46,0.25); }
.ev .when { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; color: var(--red); text-transform: uppercase; }
.ev h2 { font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.15; margin: 6px 0 12px; letter-spacing: -0.01em; }
.ev p { margin: 0 0 12px; opacity: 0.9; line-height: 1.75; }
.ev strong { font-weight: 600; }
.figs { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 12px; }
.fig { display: inline-flex; gap: 10px; align-items: baseline; background: var(--green); border-radius: 8px; padding: 12px 16px; }
.fig b { font-weight: 600; font-size: 1.6rem; }
.fig span { font-size: 0.9rem; opacity: 0.85; }
.ev a.more-link { display: table; margin-top: 4px; font-size: 0.9rem; font-weight: 500; }
.tl-end { background: var(--green); color: var(--cream); border-radius: 10px; border-left: 6px solid var(--red); padding: 34px 30px; margin-top: 20px; }
.tl-end h2 { margin: 0 0 10px; font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; }
.tl-end .btn { margin-top: 14px; }

/* ---------- Take action ---------- */
.actions { padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 6vw, 80px); }
.act-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.act-card { padding: 30px 28px; }
.act-card .num { font-weight: 600; font-size: 0.85rem; color: #fff; background: var(--red); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.act-card h2 { font-size: 1.25rem; font-weight: 600; margin: 16px 0 8px; line-height: 1.25; }
.act-card p { margin: 0; color: var(--muted); }

/* ---------- Who is Handala ---------- */
.anat { padding: clamp(20px, 3vw, 40px) 0 0; }
.anat .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.anat .fig-box { background: radial-gradient(circle at 50% 45%, #2a6159 0%, var(--deep) 60%, var(--darkest) 100%); border: 1px solid var(--line); border-radius: 10px; padding: clamp(24px, 4vw, 44px); display: grid; place-items: center; }
.anat .pin-wrap { position: relative; width: min(260px, 60vw); }
.anat .pin-wrap img { width: 100%; height: auto; }
.pin { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: var(--red); color: #fff; font-size: 0.8rem; font-weight: 600; display: grid; place-items: center; border: 2px solid var(--cream); box-shadow: 0 0 0 5px rgba(227,49,46,0.22); }
.anat ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: a; }
.anat li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.anat li::before { counter-increment: a; content: counter(a); width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-size: 0.8rem; font-weight: 600; display: grid; place-items: center; }
.anat li b { display: block; font-weight: 600; }
.anat li span { color: var(--muted); }
.anat h2 { font-weight: 600; font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 0 0 22px; line-height: 1.2; }

/* ---------- Latest news ---------- */
.n-top { padding: clamp(48px, 8vw, 100px) 0 clamp(20px, 3vw, 32px); }
.n-top .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.n-top h1 { font-weight: 600; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; margin: 12px 0 14px; letter-spacing: -0.025em; }
.n-top p { max-width: 36em; color: var(--muted); font-size: 1.05rem; margin: 0; }
.nw-updated { margin-top: 12px !important; font-size: 0.85rem !important; color: rgba(255,251,234,0.55) !important; min-height: 1.4em; }
.njump { display: flex; gap: 8px; flex-wrap: wrap; }
.nj { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 500; text-decoration: none; padding: 7px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--glass); }
.nj:hover { background: var(--glass-2); }
.nj i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.news { padding-bottom: clamp(48px, 7vw, 90px); }
.nsec { padding-top: clamp(28px, 4vw, 44px); scroll-margin-top: 70px; }
.nsec-h { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.nsec-h > div { flex: 1; min-width: 0; }
.nico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; color: var(--c);
  background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.nico svg { width: 20px; height: 20px; }
.nsec-h h2 { font-weight: 600; font-size: 1.3rem; margin: 0; line-height: 1.2; }
.nsub { margin: 2px 0 0; font-size: 0.82rem; color: rgba(255,251,234,0.55); min-height: 1.2em; }
.ncyc { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; flex: none; -webkit-tap-highlight-color: transparent; }
.ncyc:hover { color: var(--cream); background: var(--glass); }
.ncyc svg { width: 18px; height: 18px; }
.ncyc.spin svg { animation: ncspin .5s ease; }
@keyframes ncspin { from { transform: rotate(-180deg); } }
.nbody { display: grid; grid-template-columns: 1.05fr 1fr; gap: 16px; align-items: stretch; }
.nbody.swap > * { animation: nswap .45s ease; }
@keyframes nswap { from { opacity: 0; transform: translateY(6px); } }
.nf { position: relative; display: flex; align-items: flex-end; min-height: 400px; border-radius: 12px; overflow: hidden; text-decoration: none; isolation: isolate;
  background: radial-gradient(120% 90% at 80% 10%, color-mix(in srgb, var(--c) 22%, var(--green)), var(--deep) 55%, var(--darkest)); border: 1px solid var(--line); }
.nf-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.nf:hover .nf-img { transform: scale(1.03); }
.nf::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22,54,50,0) 25%, rgba(22,54,50,0.55) 55%, rgba(16,40,37,0.96) 100%); }
.nf-ico { position: absolute; right: 24px; top: 24px; width: 120px; height: 120px; color: var(--c); opacity: 0.22; display: none; }
.nf-ico svg { width: 100%; height: 100%; }
.nf.noimg .nf-ico { display: block; }
.nf-txt { padding: 26px 24px 24px; }
.nf-meta { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,251,234,0.8); margin-bottom: 8px; }
.nf h3 { font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.22; margin: 0; letter-spacing: -0.01em; }
.nf p { margin: 10px 0 0; color: rgba(255,251,234,0.82); font-size: 0.9rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nl { display: flex; flex-direction: column; padding: 4px 16px; border-radius: 12px; }
.ni { display: flex; gap: 14px; align-items: center; padding: 13px 0; text-decoration: none; border-bottom: 1px solid var(--line); flex: 1; min-width: 0; }
.ni:last-child { border-bottom: 0; }
.ni > div { min-width: 0; }
.ni:hover h4 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.nt { position: relative; width: 64px; height: 52px; border-radius: 8px; overflow: hidden; flex: none; display: grid; place-items: center; color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); }
.nt svg { width: 20px; height: 20px; }
.nt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ni h4 { font-weight: 500; font-size: 0.93rem; line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nmeta { display: block; font-size: 0.76rem; color: rgba(255,251,234,0.5); margin-top: 4px; }
.nf.skel { animation: shimmer 1.4s ease-in-out infinite alternate; }
.ni.skel i { display: block; height: 11px; border-radius: 6px; background: var(--glass-2); width: 180px; max-width: 100%; margin: 4px 0; animation: shimmer 1.4s ease-in-out infinite alternate; }
.ni.skel i + i { width: 90px; }
@keyframes shimmer { to { opacity: 0.45; } }
.nw-err { padding: 24px; display: grid; gap: 8px; margin-top: 30px; }
.nw-err span { color: var(--muted); }
.nw-err div { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; }
.nw-err a { font-weight: 500; }
.srcs { padding: clamp(56px, 8vw, 100px) 0; border-top: 1px solid var(--line); }
.src-head { max-width: 44em; margin-bottom: 30px; }
.src-head h2 { font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 8px 0 12px; line-height: 1.1; letter-spacing: -0.015em; }
.src-head p { color: var(--muted); margin: 0; }
.src-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.src-card { display: grid; gap: 6px; align-content: start; padding: 20px; text-decoration: none; transition: background .2s ease; }
.src-card:hover { background: var(--glass-2); }
.src-card b { font-weight: 600; }
.src-card span { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
@media (max-width: 1000px) { .src-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .nbody { grid-template-columns: 1fr; }
  .nf { min-height: 340px; }
}
@media (max-width: 640px) {
  .n-top .wrap { display: block; }
  .njump { margin-top: 20px; }
  .nf { min-height: 300px; }
  .nf-txt { padding: 20px 18px 18px; }
  .nl { padding: 2px 14px; }
  .nsec-h { gap: 12px; } .nsec-h h2 { font-size: 1.12rem; } .nico { width: 36px; height: 36px; }
  .nt { width: 58px; height: 48px; }
  .src-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .nf.skel, .ni.skel i, .nbody.swap > *, .ncyc.spin svg { animation: none; } .nf-img { transition: none; } }

/* ---------- Footer ---------- */
.ftr { background: var(--darkest); color: var(--cream); padding: 40px 0; font-size: 0.9rem; border-top: 1px solid var(--line); }
.ftr .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; opacity: 0.85; }
.ftr nav { display: flex; gap: 18px; flex-wrap: wrap; }
.ftr a { text-decoration: none; }

/* ---------- Scroll fade-ins ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .learn .grid { grid-template-columns: repeat(2, 1fr); }
  .myths { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .crisis .wrap { grid-template-columns: 1fr; }
  .path-grid { grid-template-columns: 1fr; }
  .path { min-height: 0; }
  .rail { grid-auto-columns: 78%; }
  .share-box .box { grid-template-columns: 1fr; }
  .share-box .btns { justify-content: flex-start; }
  .act-grid { grid-template-columns: 1fr; }
  .hero .photo-fade { background: linear-gradient(180deg, rgba(22,54,50,0.6) 0%, rgba(22,54,50,0.82) 50%, var(--darkest) 100%); }
}
@media (max-width: 820px) {
  .tl { grid-template-columns: 1fr; }
  .year-col { top: 58px; height: auto; z-index: 5; background: var(--darkest); padding: 10px 0 12px; flex-direction: row; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--line); }
  .big-year { font-size: 3rem; }
  .era-label { margin: 0; font-size: 0.75rem; }
  .anat .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .myths { grid-template-columns: 1fr; }
  .myth, .myth .inner { min-height: 320px; }
  .learn .grid { grid-template-columns: 1fr; }
  .more .row { grid-template-columns: 1fr 1fr; }
  .more .row a:nth-child(3) { display: none; }
  .a-hero { min-height: 62vh; }
}
@media (prefers-reduced-motion: reduce) {
  .myth .inner, .ev { transition: none; }
  .ev { transform: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- Map ---------- */
.mapstory, .hstory { position: relative; display: grid; }
.map-col, .h-stage, .mapstory > .stops, .hstory > .stops { grid-area: 1 / 1; }
.map-col, .h-stage { align-self: start; }
.mapstory > .stops, .hstory > .stops { width: 100%; justify-self: center; }
.map-col { position: sticky; top: 58px; height: calc(100vh - 58px); height: calc(100svh - 58px); z-index: 0; }
#map { position: absolute; inset: 0; background: #21504a; }
.map-fade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, var(--darkest) 0%, rgba(22,54,50,0) 14%, rgba(22,54,50,0) 86%, var(--darkest) 100%),
    linear-gradient(90deg, rgba(22,54,50,0.92) 0%, rgba(22,54,50,0.55) 30%, rgba(22,54,50,0) 52%); }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--cream); opacity: .7; font-weight: 500; }
.stops { position: relative; z-index: 2; pointer-events: none; max-width: var(--max); margin: 0 auto; padding: 10vh var(--gutter) 40vh; }
.stop { pointer-events: auto; width: min(440px, 100%); min-height: 85vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.35; transition: opacity .4s ease; }
.stop > * { position: relative; }
.stop .card-in { background: rgba(22,54,50,0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 10px; padding: 26px 26px 22px; }
.stop.on, .stop[data-i="-1"] { opacity: 1; }
.stop .when { font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; color: var(--red); text-transform: uppercase; }
.stop h2 { font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; margin: 6px 0 14px; }
.stop .ar { font-weight: 400; opacity: 0.7; margin-left: 6px; }
.stop p { margin: 0 0 12px; opacity: 0.92; line-height: 1.75; }
.stop a.more-link { display: table; margin-top: 4px; font-size: 0.9rem; font-weight: 500; }
.stop .btn { align-self: flex-start; margin-top: 10px; }
.mk { all: unset; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.mk .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--cream); border: 2px solid var(--darkest); box-shadow: 0 0 0 3px rgba(255,251,234,0.15); transition: transform .25s ease, background .25s ease; }
.mk .lbl { font: 500 12px/1 "Poppins", sans-serif; color: var(--cream); background: rgba(22,54,50,0.8); padding: 4px 7px; border-radius: 4px; white-space: nowrap; }
.mk.on .dot { background: var(--red); transform: scale(1.5); box-shadow: 0 0 0 6px rgba(227,49,46,0.25); }
.mk.on .lbl { background: var(--red); color: #fff; font-size: 14px; }
.mk.on { z-index: 5; }
.maplibregl-ctrl-group { background: rgba(22,54,50,0.8) !important; box-shadow: none !important; border: 1px solid rgba(255,251,234,0.15); }
.maplibregl-ctrl-group button + button { border-top-color: rgba(255,251,234,0.15) !important; }
.maplibregl-ctrl-icon { filter: invert(1) brightness(1.6); }
.maplibregl-ctrl-attrib, .maplibregl-ctrl-attrib.maplibregl-compact { background: rgba(22,54,50,0.75) !important; color: rgba(255,251,234,0.7); }
.maplibregl-ctrl-attrib a { color: rgba(255,251,234,0.8) !important; }
.maplibregl-ctrl-attrib-button { filter: invert(1); }
@media (max-width: 820px) {
  .map-col { top: 58px; height: calc(100vh - 58px); height: calc(100svh - 58px); }
  .map-fade { background: linear-gradient(180deg, var(--darkest) 0%, rgba(22,54,50,0) 10%, rgba(22,54,50,0) 45%, rgba(22,54,50,0.85) 75%, var(--darkest) 100%); }
  .stops { padding: 40vh var(--gutter) 30vh; }
  .stop { min-height: 80vh; justify-content: flex-end; padding-bottom: 4vh; }
  .stop .card-in { padding: 20px 18px 16px; }
  .mk .lbl { font-size: 11px; }
  .mapstory.overview .mk:not(.on) .lbl { display: none; }
}

/* ---------- Who is Handala: zoom story ---------- */
.h-stage { position: sticky; top: 58px; height: calc(100vh - 58px); height: calc(100svh - 58px); overflow: hidden; z-index: 0;
  background: radial-gradient(circle at 66% 50%, #2b635b 0%, var(--deep) 32%, var(--darkest) 72%); }
.h-rays { position: absolute; left: 66%; top: 50%; width: 150vmax; height: 150vmax; transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, rgba(255,251,234,0.045) 0 5deg, transparent 5deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 45%); mask-image: radial-gradient(circle, #000 0%, transparent 45%); }
.h-anchor { position: absolute; left: 66%; top: 52%; height: 92%; aspect-ratio: 51.4 / 117.68; transform: translate(-50%, -50%); }
.h-fig { position: absolute; inset: 0; --s: 1; transform-origin: 50% 50%; transition: transform 1.6s cubic-bezier(.25,.8,.25,1); will-change: transform; }
.h-fig img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 40px rgba(255,251,234,0.10)); }
.h-pin { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--red); border: 2px solid var(--cream);
  transform: translate(-50%, -50%) scale(calc(1 / var(--s))); opacity: 0; transition: opacity .25s ease; box-shadow: 0 0 0 0 rgba(227,49,46,0.6); }
.h-pin.on { opacity: 1; transition: opacity .5s ease 1s; animation: pulse 1.8s ease-out infinite 1.4s; }
@keyframes pulse { to { box-shadow: 0 0 0 18px rgba(227,49,46,0); } }
.h-fade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, var(--darkest) 0%, rgba(22,54,50,0) 12%, rgba(22,54,50,0) 88%, var(--darkest) 100%),
    linear-gradient(90deg, rgba(22,54,50,0.85) 0%, rgba(22,54,50,0.4) 30%, rgba(22,54,50,0) 50%); }
.hstory .stop.on { opacity: 1; }
@media (max-width: 820px) {
  .h-stage { top: 58px; height: calc(100vh - 58px); height: calc(100svh - 58px); }
  .h-anchor, .h-rays { left: 50%; top: 50%; }
  .h-anchor { height: 88%; }
  .h-fade { background: linear-gradient(180deg, var(--darkest) 0%, rgba(22,54,50,0) 7%, rgba(22,54,50,0) 80%, var(--darkest) 100%); }
}
@media (prefers-reduced-motion: reduce) { .h-fig { transition: none; } .h-pin.on { animation: none; } }
