/* AFADA hub — navy (North America) with Aghem Daily News red accents. */
:root {
  --navy: #14284b; --navy-2: #0d1b33; --sky: #e8eef8; --red: #D0101B; --gold: #c9a227;
  --ink: #111; --ink-2: #353535; --muted: #6b6b6b; --rule: #e1e5ec; --paper: #fff;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 28px); }
.skip { position: absolute; left: -999px; top: 8px; background: #000; color: #fff; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.muted { color: var(--muted); }

.hubbar { background: #0b0b0b; color: #cfcfcf; font-size: 13px; }
.hubbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 12px; }
.hubbar a { text-decoration: none; }
.hubbar a:hover { color: #fff; text-decoration: underline; }
.hubbar__back { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; }
.hubbar__note a { color: #fff; }

.head { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); }
.head__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { background: var(--navy); color: #fff; font-weight: 900; letter-spacing: .06em; font-size: 18px; padding: 8px 10px; border-radius: 4px; border-bottom: 4px solid var(--red); }
.brand__name { font-size: 13px; line-height: 1.25; color: var(--ink-2); }
.brand__name b { color: var(--navy); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 4px; }
.nav a:hover { background: var(--sky); }
.nav__cta { background: var(--red); color: #fff; }
.nav__cta:hover { background: #a50c15 !important; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

.hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(208,16,27,.25), transparent 60%), linear-gradient(135deg, var(--navy-2), var(--navy) 60%, #1f3a6b); color: #fff; padding: clamp(48px, 8vw, 96px) 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 800; color: var(--gold); margin: 0 0 12px; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 18px; max-width: 18ch; }
.hero__lead { font-size: clamp(17px, 2vw, 20px); color: #dfe7f5; max-width: 62ch; margin: 0 0 28px; }
.facts { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 760px; }
.facts li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 6px; padding: 12px 14px; }
.facts b { display: block; font-size: 19px; }
.facts span { font-size: 13px; color: #c6d2e8; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; background: var(--red); color: #fff; font-weight: 800; padding: 12px 20px; border-radius: 4px; }
.btn:hover { background: #a50c15; }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sky); }

.section { padding: clamp(44px, 6vw, 72px) 0; }
.section--tint { background: #f5f7fb; }
.section--dark { background: var(--navy); color: #e3eaf7; }
.title { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.015em; margin: 0 0 22px; display: flex; align-items: center; gap: 12px; color: var(--navy); }
.title::before { content: ""; width: 10px; height: 28px; background: var(--red); flex: none; }
.title--light { color: #fff; }
.title--sm { font-size: 20px; }
.title--sm::before { height: 20px; }
.title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.more { color: var(--red); font-weight: 700; text-decoration: none; }
.more:hover { text-decoration: underline; }
.intro { font-size: 18px; color: var(--ink-2); margin: -8px 0 22px; }
.cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.prose { font: 18px/1.7 var(--serif); color: #1d1d1d; }
.prose p { margin: 0 0 1em; }
.ref { font: 700 12px var(--sans); color: var(--red); text-decoration: none; vertical-align: super; margin-left: 2px; }
.ref:hover { text-decoration: underline; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 22px; }
.card h3 { margin: 6px 0 8px; font-size: 19px; color: var(--navy); }
.card p { margin: 0 0 8px; color: var(--ink-2); }
.card__icon { font-size: 28px; }
.card--map { border-top: 4px solid var(--red); }
.card--video { display: block; text-decoration: none; background: linear-gradient(135deg, #0d1b33, #24406f); color: #fff; border: 0; min-height: 200px; position: relative; }
.card--video h3 { color: #fff; margin-top: 70px; }
.card--video .muted { color: #b9c6dd; }
.play { position: absolute; top: 22px; left: 22px; width: 54px; height: 54px; border-radius: 50%; background: var(--red); }
.play::after { content: ""; position: absolute; left: 21px; top: 16px; border-left: 16px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.card--video:hover .play { background: #a50c15; }
.card--note { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #e3eaf7; }
.card--note h3 { color: #fff; }
.card--note p { color: #cfd9ec; }
.link { color: #fff; font-weight: 700; }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--navy); }
.timeline li { position: relative; padding: 0 0 26px 24px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px #f5f7fb; }
.timeline__date { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.timeline h3 { margin: 4px 0 6px; font-size: 20px; color: var(--navy); }
.timeline p { margin: 0; color: var(--ink-2); max-width: 75ch; }

.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.story { display: block; text-decoration: none; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; background: #fff; }
.story:hover h3 { text-decoration: underline; }
.story__img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy), #2d4c80); }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__body { padding: 14px 16px 16px; }
.story h3 { font-size: 17px; line-height: 1.3; margin: 0 0 6px; color: var(--ink); }
.story time { font-size: 13px; color: var(--muted); }
.news__empty { grid-column: 1 / -1; background: #f5f7fb; border: 1px dashed #c5cfdf; border-radius: 8px; padding: 28px; text-align: center; }
.news__empty a { color: var(--red); font-weight: 700; }

.sources { padding-top: 32px; }
.sources ol { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 14.5px; }
.sources li { margin-bottom: 6px; }
.sources a { color: var(--navy); }

.foot { background: #0b0b0b; color: #bdbdbd; font-size: 14px; padding: 26px 0; }
.foot__in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot p { margin: 0; }
.foot b { color: #fff; }
.foot a { color: #fff; }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--rule); padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; }
  .cols { grid-template-columns: 1fr; }
  .grid, .news { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid, .news { grid-template-columns: 1fr; }
  .brand__name { display: none; }
  .hubbar__note { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- v2: hero photo, leadership, chapters, convention feature, gallery ---------- */
.hero__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero__photo { margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35); border: 4px solid rgba(255,255,255,.12); position: relative; }
.hero__photo img { width: 100%; aspect-ratio: 1.12; object-fit: cover; }
.hero__photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.hero .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.leader { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 22px; max-width: 860px; }
.leader__photo { width: 220px; height: 260px; object-fit: cover; object-position: top; border-radius: 8px; border-bottom: 5px solid var(--red); }
.leader__role { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.leader h3 { font-size: 26px; margin: 4px 0 10px; color: var(--navy); }
.leader p { margin: 0 0 10px; color: var(--ink-2); }

.chapters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.chapter { background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--navy); border-radius: 8px; padding: 18px 16px; }
.chapter h3 { margin: 6px 0 4px; font-size: 18px; color: var(--navy); }
.chapter p { margin: 0; color: var(--muted); font-size: 14px; }
.chapter__tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--navy); padding: 2px 8px; border-radius: 999px; }
.chapter--mother { border-top-color: var(--red); }
.chapter--mother .chapter__tag { background: var(--red); }

.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card--current { border: 2px solid var(--red); position: relative; }
.card__badge { position: absolute; top: -11px; left: 16px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px; align-items: center; background: #f5f7fb; border-radius: 12px; padding: 24px; margin-bottom: 18px; }
.eyebrow--dark { color: var(--red); }
.feature h3 { font-size: 28px; margin: 4px 0 4px; color: var(--navy); letter-spacing: -.01em; }
.feature__dates { font-weight: 800; color: var(--ink-2); margin: 0 0 12px; }
.feature p { color: var(--ink-2); }
.feature__photo { margin: 0; }
.feature__photo img { width: 100%; border-radius: 8px; }
.feature__photo figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 34px; }
.gallery a { position: relative; display: block; border-radius: 8px; overflow: hidden; text-decoration: none; background: #ddd; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; color: #fff; font-size: 12.5px; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.75)); }

.subhead { font-size: 20px; color: var(--navy); margin: 0 0 12px; }
.years { list-style: none; padding: 0; margin: 0 0 10px; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; }
.years li { border: 1px solid var(--rule); border-radius: 8px; padding: 10px 8px; text-align: center; position: relative; background: #fff; }
.years b { display: block; font-size: 17px; color: var(--navy); }
.years span { font-size: 13px; color: var(--ink-2); }
.years a { color: var(--red); font-weight: 700; text-decoration: none; }
.years small { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #1a1a1a; font-size: 10px; font-weight: 800; padding: 1px 7px; border-radius: 999px; text-transform: uppercase; }
.years__now { border: 2px solid var(--red) !important; }
.years__next { border-style: dashed !important; }
.small { font-size: 13.5px; }

@media (max-width: 1000px) {
  .hero__in { grid-template-columns: 1fr; }
  .chapters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .years { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .leader { grid-template-columns: 1fr; text-align: left; }
  .leader__photo { width: 100%; height: 320px; }
  .chapters { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr; }
  .years { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero .facts { grid-template-columns: 1fr 1fr; }
}

.hero__photo img, .feature__photo img { height: auto; }
