/* Haut-Nkam NY — static site stylesheet (navy & gold, after the original "Business" Drupal theme) */
:root {
  --navy: #0c426f;
  --navy-2: #19609b;
  --navy-3: #235c8b;
  --gold: #e09b0f;
  --gold-2: #c4850a;
  --teal: #008080;
  --ink: #2b2f33;
  --muted: #666;
  --line: #dde3e9;
  --bg: #f4f6f8;
  --card: #fff;
  --radius: 6px;
  --shadow: 0 2px 10px rgba(12, 66, 111, .08);
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font: 16px/1.6 var(--font); color: var(--ink);
  background: #e9edf1 url(bg-6.png) repeat;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-decoration: none; }
a:hover, a:focus { color: var(--gold-2); text-decoration: underline; }
h1, h2, h3 { color: var(--navy); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 2rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 16px; }
.page { max-width: 1240px; margin: 0 auto; background: #fff; box-shadow: 0 0 30px rgba(0,0,0,.12); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.btn {
  display: inline-block; background: var(--navy-2); color: #fff; padding: 10px 20px; border-radius: var(--radius);
  font-weight: 600; border: 2px solid transparent; cursor: pointer; font-size: 1rem; line-height: 1.2;
}
.btn:hover, .btn:focus { background: var(--navy); color: #fff; text-decoration: none; }
.btn-donate { background: var(--gold); }
.btn-donate:hover, .btn-donate:focus { background: var(--gold-2); }
.btn-outline { background: transparent; color: var(--navy-2); border-color: var(--navy-2); }
.btn-outline:hover { color: #fff; }
.more { font-weight: 600; }
.more::after { content: " →"; }
.center { text-align: center; margin-top: 24px; }
.note { font-size: .875rem; color: var(--muted); }
.lead { font-size: 1.15rem; color: #444; }

/* ---------- header */
.site-header { background: #fff; border-top: 4px solid var(--gold); position: relative; z-index: 20; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--navy); }
.brand:hover { text-decoration: none; color: var(--navy); }
.brand img { width: 90px; height: 90px; }
.brand strong { display: block; font-size: 1.9rem; letter-spacing: .02em; line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: .95rem; }
.head-tools { display: flex; align-items: center; gap: 18px; }
.flags { display: flex; gap: 6px; }
.flags img { width: 34px; height: auto; border: 1px solid var(--line); }
.langs { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lang { padding: 4px 10px; font-size: .85rem; font-weight: 700; color: var(--navy-2); }
.lang.on { background: var(--navy-2); color: #fff; }
.nav-toggle { display: none; }

.main-nav { background: var(--navy); }
.menu, .menu ul { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; flex-wrap: wrap; }
.menu > li { position: relative; }
.menu a { display: block; color: #fff; padding: 14px 18px; font-weight: 600; text-transform: uppercase; font-size: .9rem; letter-spacing: .03em; }
.menu a:hover, .menu a:focus, .menu > li.active > a { background: var(--navy-2); color: #fff; text-decoration: none; }
.menu > li.active > a { box-shadow: inset 0 -3px 0 var(--gold); }
.menu li.has-sub > a::after { content: " ▾"; font-size: .75em; opacity: .8; }
.menu .sub { position: absolute; left: 0; top: 100%; min-width: 230px; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.15);
  border-top: 3px solid var(--gold); display: none; }
.menu .sub a { color: var(--navy); text-transform: none; font-weight: 500; padding: 10px 16px; border-bottom: 1px solid #eef1f4; }
.menu .sub a:hover, .menu .sub a:focus { background: #f2f6fa; color: var(--navy-2); }
.menu .sub li { position: relative; }
.menu .sub .sub { left: 100%; top: -3px; }
.menu .sub li.has-sub > a::after { content: " ▸"; }
.menu li:hover > .sub, .menu li:focus-within > .sub { display: block; }
.sub-toggle { display: none; }

.crumbs { background: var(--bg); border-bottom: 1px solid var(--line); font-size: .875rem; padding: 10px 0; color: var(--muted); }
.crumbs i { font-style: normal; margin: 0 8px; }

/* ---------- home */
.slideshow { position: relative; overflow: hidden; background: var(--navy); aspect-ratio: 16 / 6; min-height: 280px; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s; }
.slide.on { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 40px 48px;
  background: linear-gradient(transparent, rgba(6, 30, 52, .85)); color: #fff;
}
.slide h2 { color: #fff; font-size: 2.2rem; margin-bottom: .3em; text-shadow: 0 2px 6px rgba(0,0,0,.4); }
.slide p { font-size: 1.1rem; max-width: 640px; }
.sl-prev, .sl-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border: 0;
  border-radius: 50%; background: rgba(255,255,255,.85); color: var(--navy); font-size: 28px; line-height: 1; cursor: pointer; }
.sl-prev { left: 14px; } .sl-next { right: 14px; }
.sl-dots { position: absolute; right: 24px; bottom: 18px; z-index: 3; display: flex; gap: 8px; }
.sl-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.sl-dots button.on { background: var(--gold); border-color: var(--gold); }

.highlight { background: var(--gold); color: #fff; padding: 20px 0; }
.highlight .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.highlight p { margin: 0; font-size: 1.15rem; flex: 1 1 400px; }
.highlight .btn { background: var(--navy); }
.highlight .btn-donate { background: #fff; color: var(--gold-2); }
.hl-btns { display: flex; gap: 10px; }

.section { padding: 48px 0; }
.section.alt { background: var(--bg); }
.sec-title { text-align: center; font-size: 1.8rem; margin-bottom: 28px; position: relative; padding-bottom: 14px; }
.sec-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 60px; height: 3px; background: var(--gold); transform: translateX(-50%); }
.sec-title.light { color: #fff; }
.intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.intro .sec-title { text-align: left; }
.intro .sec-title::after { left: 0; transform: none; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e8edf2; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.15rem; }
.card-body h3 a { color: var(--navy); }
.card-body p { color: var(--muted); font-size: .95rem; flex: 1; }

.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.panel h2 { font-size: 1.3rem; border-bottom: 2px solid var(--line); padding-bottom: 8px; position: relative; }
.panel h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 50px; height: 2px; background: var(--gold); }
.panel h3 { font-size: 1.05rem; margin-top: 12px; }
.panel-img img { max-height: 200px; margin: 0 auto 12px; }
.pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { display: block; padding: 5px 12px; border: 1px solid var(--navy-2); border-radius: 20px; font-size: .9rem; }
.pills a:hover { background: var(--navy-2); color: #fff; text-decoration: none; }
.video-thumb { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(224, 155, 15, .92); }
.play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.avatars { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: center; }
.avatars img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0 auto 6px; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); }
.avatars span { font-size: .85rem; color: var(--ink); display: block; line-height: 1.3; }

.testimonials { background: var(--navy) linear-gradient(135deg, var(--navy), var(--navy-2)); }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.quote { margin: 0; background: rgba(255,255,255,.08); border-left: 4px solid var(--gold); padding: 22px 24px; color: #fff; border-radius: var(--radius); }
.quote p { font-size: 1.05rem; font-style: italic; }
.quote footer { display: flex; align-items: center; gap: 12px; }
.quote img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote cite { font-style: normal; font-weight: 700; }
.quote.big { background: var(--bg); color: var(--ink); }

.partners { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.partners a { display: block; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.partners img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(30%); transition: filter .3s; }
.partners a:hover img { filter: none; }
.stream { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; }
.stream img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 4px; }

.donate-box { background: var(--bg); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 20px 22px; }
.donate-form h3 { margin-bottom: 12px; }
.amounts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.amounts label { border: 1px solid var(--navy-2); border-radius: var(--radius); padding: 6px 12px; cursor: pointer; font-weight: 600; color: var(--navy-2); background: #fff; }
.amounts label:has(input:checked) { background: var(--navy-2); color: #fff; }
.amounts input { margin: 0 4px 0 0; }
.donate-form .other { display: block; margin-bottom: 14px; }
.donate-form .other input { width: 110px; padding: 6px 8px; border: 1px solid #bbb; border-radius: 4px; font-size: 1rem; }
.donate-form .note { margin: 10px 0 0; }
.node .donate-form { max-width: 460px; background: var(--bg); padding: 20px 22px; border-radius: var(--radius); border-top: 4px solid var(--gold); margin-top: 20px; }

/* ---------- inner pages */
.content-wrap { padding-top: 36px; padding-bottom: 56px; }
.node { max-width: 860px; }
.node .meta { color: var(--muted); font-size: .9rem; margin-top: -8px; }
.lead-img { margin: 0 0 24px; }
.lead-img img { border-radius: var(--radius); max-height: 520px; width: auto; }
.body { font-size: 1.05rem; }
.sub-title { font-size: 1.35rem; margin-top: 32px; }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 4px; }
.video { position: relative; aspect-ratio: 16 / 9; margin-bottom: 24px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.comment { border-left: 3px solid var(--line); padding: 4px 0 4px 14px; margin-bottom: 12px; }
.members { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.member { display: flex; gap: 16px; background: var(--bg); border-radius: var(--radius); padding: 16px; scroll-margin-top: 20px; }
.member:target { outline: 2px solid var(--gold); }
.member img, .member .initials { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.member .initials { background: var(--navy-2); color: #fff; font-size: 2.4rem; display: flex; align-items: center; justify-content: center; }
.member h3 { margin-bottom: 2px; font-size: 1.15rem; }
.member .role { color: var(--gold-2); font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.member p { font-size: .95rem; margin-bottom: .5em; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.contact-form label { display: block; margin-bottom: 12px; font-weight: 600; font-size: .95rem; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 10px; border: 1px solid #bbb; border-radius: 4px; font: inherit; }
.map { width: 100%; height: 100%; min-height: 420px; border: 0; border-radius: var(--radius); }

/* ---------- footer */
.site-footer { background: #0a2f4f; color: #c9d6e2; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer h2 { color: #fff; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .05em; border-bottom: 2px solid var(--gold); display: inline-block; padding-bottom: 4px; }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 40px; padding-bottom: 32px; }
.site-footer address { font-style: normal; line-height: 1.8; }
.links { list-style: none; padding: 0; margin: 0; line-height: 2; }
.map-mini { width: 100%; height: 190px; border: 0; border-radius: var(--radius); }
.copy { background: #072540; padding: 14px 0; font-size: .85rem; }
.copy .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.copy p { margin: 0; }

/* ---------- lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 50px 60px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 44px; cursor: pointer; line-height: 1; padding: 8px 14px; }
.lb-close { top: 8px; right: 12px; } .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); } .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: #ddd; margin: 0; }

/* ---------- responsive */
@media (max-width: 991px) {
  .grid-3, .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .stream { grid-template-columns: repeat(5, 1fr); }
  .flags { display: none; }
  .head-tools .btn-donate { display: none; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 54px; height: 48px; background: var(--navy); border: 0; border-radius: var(--radius); cursor: pointer; padding: 0 14px; }
  .nav-toggle span { display: block; height: 3px; background: #fff; border-radius: 2px; }
  .nav-toggle b { position: absolute; left: -9999px; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .menu { flex-direction: column; }
  .menu li { position: relative; border-top: 1px solid rgba(255,255,255,.1); }
  .menu a { padding: 13px 56px 13px 16px; }
  .menu li.has-sub > a::after { content: none; }
  .menu .sub, .menu .sub .sub { position: static; box-shadow: none; border: 0; background: rgba(0,0,0,.18); display: none; }
  .menu li:hover > .sub, .menu li:focus-within > .sub { display: none; }
  .menu li.open > .sub { display: block; }
  .menu .sub a { color: #fff; border: 0; padding-left: 32px; }
  .menu .sub .sub a { padding-left: 48px; }
  .menu .sub a:hover { background: var(--navy-2); color: #fff; }
  .sub-toggle { display: block; position: absolute; right: 0; top: 0; width: 52px; height: 48px; background: transparent; border: 0; color: #fff; cursor: pointer; }
  .sub-toggle::before { content: "+"; font-size: 24px; }
  li.open > .sub-toggle::before { content: "−"; }
}
@media (max-width: 767px) {
  h1 { font-size: 1.6rem; }
  .brand img { width: 60px; height: 60px; }
  .brand strong { font-size: 1.35rem; }
  .brand small { font-size: .8rem; }
  .head-tools { margin-left: auto; }
  .grid-3, .cols-3, .intro, .quotes, .members, .contact-grid, .foot-grid { grid-template-columns: 1fr; }
  .slideshow { aspect-ratio: 4 / 3; }
  .slide figcaption { padding: 40px 18px 40px; }
  .slide h2 { font-size: 1.5rem; }
  .slide p { font-size: 1rem; }
  .sl-prev, .sl-next { display: none; }
  .stream { grid-template-columns: repeat(3, 1fr); }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .member { flex-direction: column; align-items: flex-start; }
  .lightbox { padding: 50px 10px; }
  .copy .container { flex-direction: column; }
}
@media (max-width: 480px) {
  .brand small { display: none; }
  .langs { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
