/* ==========================================================================
   Urhobo Social Club Lagos — Shared Stylesheet
   Direction B: Modern Cultural (terracotta + ochre + green + cream)
   Token names preserved for backwards-compatibility; values promoted.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700;9..144,800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Greens — Direction B anchor */
  --green-900: #061d15;
  --green-800: #0d4435;
  --green-700: #11583f;
  --green-600: #1a6e52;

  /* Accents — formerly gold, now ochre (kept --gold-* names for code stability) */
  --gold-500: #d99a3f;   /* ochre — primary accent, eyebrows, button fills */
  --gold-400: #e8b466;   /* lighter ochre — highlights, dark-bg accents */
  --gold-100: #f9eed4;   /* warm pale — soft callouts, note backgrounds */

  /* New Direction B tokens (available for use in new components) */
  --terracotta: #b3542f;
  --terracotta-dark: #923f1f;
  --ochre: var(--gold-500);
  --ochre-light: var(--gold-400);
  --cream: #f3ead8;
  --oxblood: #7a1f1a;

  /* The donate CTA — was red, now oxblood */
  --red: #7a1f1a;
  --red-dark: #5a1612;

  /* Ink, slate, line — re-tuned to Direction B charcoal + warm slate */
  --ink: #1f1d1a;
  --slate: #5a5448;
  --line: #e2d8be;

  /* Surfaces — Direction B is cream-primary */
  --bg: #f3ead8;          /* primary cream surface */
  --bg-soft: #ede0c4;     /* slightly darker cream for soft sections */
  --bg-tint: #e6d4ad;     /* deeper cream tint */
  --white: #fffefb;       /* warm white — for cards and forms on cream */

  /* Shadows — tinted with charcoal not green, to read warmer */
  --shadow-sm: 0 1px 3px rgba(31, 29, 26, .08), 0 1px 2px rgba(31, 29, 26, .06);
  --shadow-md: 0 10px 30px rgba(31, 29, 26, .10);
  --shadow-lg: 0 24px 60px rgba(31, 29, 26, .16);

  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1160px;

  /* Typography — Direction B */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--green-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-500); }

h1, h2, h3, h4 { line-height: 1.2; color: var(--green-900); font-weight: 700; font-family: var(--display); letter-spacing: .005em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 76px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--green-900); color: #d9e6e0; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

/* Compact variant — for content-heavy sections that need less vertical chrome.
   Tightens padding, section-head margins, and card padding; shrinks h2 modestly
   while keeping the ornamental gold rule intact. */
.section--compact { padding: 38px 0; }
.section--compact .section-head { margin: 0 auto 22px; }
.section--compact .section-head h2 { padding-bottom: 14px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.section--compact .section-head p { margin-top: 8px; font-size: .98rem; }
.section--compact .card { padding: 20px; }
.section--compact .card__icon { width: 42px; height: 42px; margin-bottom: 10px; border-radius: 10px; }

/* Compact variant for .prose blocks (split-column content like the Barovbe
   in-memoriam section, plus prose blocks on about/membership/objectives/
   urhobo-house). Tightens the heavy default .prose rhythm. */
.section--compact .prose p { margin-bottom: 10px; }
.section--compact .prose h2 { margin: 16px 0 8px; }
.section--compact .prose h3 { margin: 14px 0 6px; }
.section--compact .prose ul { margin: 0 0 10px 22px; }
.section--compact .prose li { margin-bottom: 5px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-500);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--gold-400); }

.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-head p { color: var(--slate); margin-top: 14px; font-size: 1.06rem; }
.section--dark .section-head p { color: #b9cdc4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; cursor: pointer;
  border: 2px solid transparent; transition: all .2s ease;
}
.btn--primary { background: var(--gold-500); color: var(--green-900); }
.btn--primary:hover { background: var(--gold-400); color: var(--green-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--green { background: var(--green-800); color: #fff; }
.btn--green:hover { background: var(--green-700); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn--outline:hover { background: var(--green-800); color: #fff; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
/* Logo-red accent for the header call-to-action across the site */
.nav-cta .btn--primary { background: var(--red); color: #fff; }
.nav-cta .btn--primary:hover { background: var(--red-dark); color: #fff; }
/* Members Login — tactile 3D push-button (raised gold/ochre pill) */
.btn--3d {
  background: var(--gold-500); color: var(--green-900); border-color: transparent;
  box-shadow: 0 4px 0 #a86d1f; /* darker ochre = raised edge */
  transition: transform .06s ease, box-shadow .06s ease, background .2s ease;
}
.btn--3d:hover { background: var(--gold-400); color: var(--green-900); transform: translateY(-1px); box-shadow: 0 5px 0 #a86d1f; }
.btn--3d:active { transform: translateY(4px); box-shadow: 0 0 0 #a86d1f; }
/* In the header, .nav-links a forces color:var(--ink) + a tint hover bg; re-assert the gold pill (same pattern as .nav-cta .btn--primary above) */
.nav-cta .btn--3d { color: var(--green-900); }
.nav-cta .btn--3d:hover { background: var(--gold-400); color: var(--green-900); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  border-top: 4px solid;
  border-image: linear-gradient(90deg, var(--red) 0 33%, var(--gold-500) 33% 66%, var(--green-700) 66% 100%) 1;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand__mark {
  width: 52px; height: 52px; flex-shrink: 0;
  background: url("../images/logo.png") center / contain no-repeat;
  /* hide the fallback "USCL" text once the logo image is in place */
  font-size: 0; color: transparent;
  border: 0; border-radius: 0;
}
/* Footer sits on dark green: give the logo a tidy white badge */
.site-footer .brand__mark {
  background-color: #fff;
  background-size: 80%;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.brand { flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__text strong { font-size: 1.02rem; color: var(--green-900); letter-spacing: .01em; white-space: nowrap; }
.brand__text span { font-size: .72rem; color: var(--slate); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  position: relative;
  display: block; padding: 10px 16px; border-radius: 999px;
  color: var(--ink); font-weight: 600; font-size: .9rem;
  letter-spacing: .01em; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .15s ease;
}
/* Magic-UI-style animated gradient border ("border beam"): a green->ochre ring
   masked to the pill edge, revealed and slowly rotated on hover + the current
   page. Pure CSS via @property; falls back to a plain pill where unsupported,
   and holds still under reduced-motion. Stays within the USCL palette. */
@property --uscl-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes uscl-border-spin { to { --uscl-angle: 360deg; } }
.nav-links a::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--uscl-angle), var(--green-700), var(--gold-500), var(--green-600), var(--gold-400), var(--green-700));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.nav-links a:hover, .nav-links a:focus-visible {
  background: var(--gold-100); color: var(--green-900);
  transform: translateY(-1px); box-shadow: var(--shadow-sm);
}
.nav-links a:active { transform: translateY(0); box-shadow: none; }
.nav-links a.active {
  background: var(--green-800); color: #fff;
  box-shadow: var(--shadow-sm);
}
.nav-links a.active:hover, .nav-links a.active:focus-visible {
  background: var(--green-900); color: #fff;
}
.nav-links a:hover::before, .nav-links a:focus-visible::before, .nav-links a.active::before {
  opacity: 1; animation: uscl-border-spin 3.5s linear infinite;
}
.nav-links a:focus-visible { outline: 2px solid var(--green-700); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .nav-links a { transition: background-color .2s ease, color .2s ease; }
  .nav-links a:hover, .nav-links a:focus-visible { transform: none; }
  .nav-links a:hover::before, .nav-links a:focus-visible::before, .nav-links a.active::before { animation: none; }
}
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 9px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--green-900); margin: 5px auto; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background:
    linear-gradient(rgba(6,29,21,.82), rgba(6,29,21,.92)),
    radial-gradient(1200px 500px at 80% -10%, rgba(217,154,63,.24), transparent),
    linear-gradient(135deg, var(--green-900), var(--green-700));
  overflow: hidden;
}
.hero__inner { padding: 45px 0 49px; max-width: 720px; margin: 0 auto; text-align: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(217,154,63,.16); border: 1px solid rgba(217,154,63,.4);
  color: var(--gold-400); padding: 7px 16px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(0.95rem, 1.4vw, 1.1rem); margin-bottom: 10px; line-height: 1.3; letter-spacing: .02em; font-weight: 700; }
.hero h1 .accent { color: var(--gold-400); }
.hero p { font-size: .85rem; color: #eddfc4; max-width: 520px; margin: 0 auto 22px; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Heritage-line ribbon (under the hero) ---------- */
.heritage-line {
  background: var(--green-800);
  border-top: 1px solid rgba(217, 154, 63, .28);
  border-bottom: 1px solid rgba(217, 154, 63, .28);
  padding: 22px 0;
  text-align: center;
}
.heritage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 154, 63, .16);
  border: 1px solid rgba(217, 154, 63, .4);
  color: var(--gold-400);
  padding: 7px 18px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
}

/* ---------- Stats strip (re-usable, designed for light surfaces) ---------- */
.stats-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.stat-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.stat { text-align: center; min-width: 120px; }
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  color: var(--terracotta);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat span {
  display: inline-block;
  margin-top: 8px;
  font-size: .78rem;
  color: var(--slate);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ---------- Page banner (interior pages) ---------- */
.page-banner {
  color: #fff; padding: 64px 0 56px;
  background:
    linear-gradient(rgba(6,29,21,.86), rgba(13,68,53,.92)),
    linear-gradient(135deg, var(--green-900), var(--green-700));
}
.page-banner h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-banner p { color: #e2d5b8; margin-top: 12px; max-width: 680px; }
.crumbs { font-size: .85rem; color: var(--gold-400); margin-bottom: 14px; letter-spacing: .03em; }
.crumbs a { color: var(--gold-400); }
.crumbs a:hover { color: #fff; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 50px; height: 50px; border-radius: 12px; margin-bottom: 16px;
  background: var(--bg-tint); color: var(--green-700);
  display: grid; place-items: center; font-size: 1.4rem;
  border: 1px solid var(--line);
}
.card h3 { font-size: 1.15rem; margin-bottom: 9px; }
.card p { color: var(--slate); font-size: .98rem; }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.split p { color: var(--slate); margin-bottom: 14px; }
.split .eyebrow { margin-bottom: 10px; }

/* prose */
.prose { max-width: 820px; }
.prose p { margin-bottom: 18px; color: #36433d; font-size: 1.05rem; }
.prose h2 { font-size: 1.6rem; margin: 36px 0 14px; }
.prose h3 { font-size: 1.22rem; margin: 28px 0 10px; color: var(--green-800); }
.prose ul { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; color: #36433d; }

/* feature list with check marks */
.ticks { list-style: none; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 13px; color: #36433d; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-800); color: var(--gold-400);
  display: grid; place-items: center; font-size: .72rem; font-weight: 700;
}

/* ---------- Tables (leadership / lists) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
table.exco { width: 100%; border-collapse: collapse; background: #fff; min-width: 480px; }
table.exco thead th {
  background: var(--green-800); color: #fff; text-align: left;
  padding: 14px 18px; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 600;
}
table.exco td { padding: 14px 18px; border-top: 1px solid var(--line); font-size: .98rem; }
table.exco tbody tr:nth-child(even) { background: var(--bg-soft); }
table.exco td:first-child { font-weight: 600; color: var(--green-800); }

/* numbered presidents list */
.roll { list-style: none; counter-reset: roll; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.roll li {
  counter-increment: roll; position: relative; padding: 14px 16px 14px 56px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-weight: 500; box-shadow: var(--shadow-sm);
}
.roll li::before {
  content: counter(roll); position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-tint); color: var(--green-800); border: 1px solid var(--line);
  display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}
.roll li.current { border-color: var(--gold-500); background: var(--gold-100); }
.roll li.current::before { background: var(--gold-500); color: var(--green-900); border-color: var(--gold-500); }
.badge-current { display: inline-block; margin-left: 6px; font-size: .68rem; background: var(--green-800); color: #fff; padding: 2px 9px; border-radius: 999px; letter-spacing: .04em; vertical-align: middle; }

/* member chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 20px; font-weight: 500; box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--gold-500);
}

/* agenda steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -16px; left: 22px; width: 38px; height: 38px;
  background: var(--green-800); color: var(--gold-400); border-radius: 10px;
  display: grid; place-items: center; font-weight: 800; box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 1.05rem; margin: 12px 0 7px; }
.step p { color: var(--slate); font-size: .94rem; }

/* image figure */
figure.media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
figure.media img { width: 100%; height: 100%; object-fit: cover; }
figure.media figcaption { padding: 12px 16px; font-size: .85rem; color: var(--slate); background: #fff; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: #fff; border-radius: var(--radius); padding: 48px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(217,154,63,.32), transparent 70%); border-radius: 50%;
}
.cta-band h2 { color: #fff; font-size: 1.7rem; margin-bottom: 8px; }
.cta-band p { color: #e2d5b8; max-width: 540px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--green-900); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px;
  font-family: inherit; font-size: .98rem; background: var(--bg-soft); transition: border .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(26,110,82,.18); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--slate); margin-top: 6px; }

/* contact details list */
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-list .ico {
  width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
  background: var(--bg-tint); color: var(--green-700); display: grid; place-items: center; font-size: 1.2rem;
  border: 1px solid var(--line);
}
.contact-list strong { display: block; color: var(--green-900); }
.contact-list span, .contact-list a { color: var(--slate); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #d4c8a6; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; margin-bottom: 16px; text-transform: uppercase; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #d4c8a6; font-size: .95rem; }
.site-footer a:hover { color: var(--gold-400); }
.footer-brand p { font-size: .95rem; margin-top: 14px; max-width: 320px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #a89875; }

/* utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; }
.lead { font-size: 1.12rem; color: var(--slate); }

/* ==========================================================================
   Traditional / cultural accents
   ========================================================================== */

/* Ornamental gold divider under centred section headings */
.section-head h2 { position: relative; padding-bottom: 22px; }
.section-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 92px; height: 14px;
  background:
    radial-gradient(circle, var(--red) 0 4px, transparent 5px) center / 14px 14px no-repeat,
    linear-gradient(var(--gold-500), var(--gold-500)) left center / 34px 2px no-repeat,
    linear-gradient(var(--gold-500), var(--gold-500)) right center / 34px 2px no-repeat;
  opacity: .95;
}
.section--dark .section-head h2::after,
.hero .section-head h2::after {
  background:
    radial-gradient(circle, var(--gold-400) 0 4px, transparent 5px) center / 14px 14px no-repeat,
    linear-gradient(var(--gold-400), var(--gold-400)) left center / 34px 2px no-repeat,
    linear-gradient(var(--gold-400), var(--gold-400)) right center / 34px 2px no-repeat;
}

/* Reusable standalone ornament (e.g. inside prose / feature columns) */
.ornament { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--gold-500); }
.ornament::before, .ornament::after { content: ""; height: 2px; width: 46px; background: currentColor; opacity: .65; }
.ornament span { font-size: 1.1rem; line-height: 1; }

/* Subtle Urhobo-inspired diamond lattice for hero & footer */
.hero, .site-footer { position: relative; }
.hero::before, .site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M22 4 L40 22 L22 40 L4 22 Z' fill='none' stroke='%23d99a3f' stroke-width='1'/%3E%3Ccircle cx='22' cy='22' r='2' fill='%23d99a3f'/%3E%3C/svg%3E");
  background-size: 44px 44px;
  opacity: .08;
}
.hero__inner, .hero .container, .site-footer .container { position: relative; z-index: 1; }

/* Decorative tricolour top rule on the footer (logo colours) */
.site-footer { border-top: 4px solid; border-image: linear-gradient(90deg, var(--red) 0 33%, var(--gold-500) 33% 66%, var(--green-700) 66% 100%) 1; }

/* Page-banner heading flourish */
.page-banner h1 { position: relative; }

/* Urhobo House concept banner (full-bleed rendering) */
.house-banner { background: var(--bg); line-height: 0; }
.house-banner svg { display: block; width: 100%; height: auto; }
.house-banner figure { margin: 0; }
.house-banner__media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--green-900);
}
.house-banner__media img:not(.house-banner__logo) {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  /* Cap height so the full image + caption fits within one viewport below the sticky header + page hero. */
  max-height: calc(100vh - 290px);
  margin: 0 auto;
}
.house-banner__logo {
  position: absolute;
  top: 19%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(28px, 4%, 60px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.45));
  z-index: 2;
}
.house-banner figcaption {
  line-height: 1.5; text-align: center; font-style: italic;
  font-size: .86rem; color: #dfe7e2; background: var(--green-900);
  padding: 11px 16px; border-top: 3px solid var(--gold-500);
}

/* Compact hero variant — halves vertical footprint, for interior pages */
.hero--compact .hero__inner { padding: 10px 0 14px; max-width: 720px; }
.hero--compact .hero__badge { margin-bottom: 4px; padding: 4px 12px; font-size: .72rem; }
.hero--compact h1 { margin-bottom: 2px; font-size: clamp(0.95rem, 1.3vw, 1.05rem); line-height: 1.2; }
.hero--compact p { margin-bottom: 8px; font-size: .76rem; line-height: 1.4; max-width: 640px; margin-left: auto; margin-right: auto;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero--compact .hero__actions { gap: 10px; }
.hero--compact .btn { padding: 7px 16px; font-size: .78rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split--reverse .split__media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column;
    align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px; box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding-top: 0; padding-bottom: 0;
    overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  /* Cap the open menu to the viewport (below the ~76px header) and let it scroll
     internally, so an expanded Membership submenu can never push items past a fixed
     pixel height and get clipped. dvh tracks mobile browser chrome; vh is the fallback. */
  .nav-links.open {
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px);
    overflow-y: auto; padding-top: 10px; padding-bottom: 18px;
  }
  .nav-links a { padding: 13px 16px; border-radius: 10px; font-size: .98rem; transform: none; }
  .nav-links a::before { display: none; } /* skip the animated border ring in the stacked menu */
  .nav-links a:hover, .nav-links a:focus-visible { background: var(--gold-100); color: var(--green-900); transform: none; box-shadow: none; }
  .nav-links a.active { background: var(--green-800); color: #fff; box-shadow: none; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .roll { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 26px; }
  .section { padding: 56px 0; }
  .section--compact { padding: 28px 0; }
  .hero__inner { padding: 45px 0 49px; }
}

/* ==========================================================================
   Membership dropdown (nav) — accessible disclosure menu
   ========================================================================== */
.nav-dropdown { position: relative; }
.nav-dropdown__toggle {
  display: inline-flex; align-items: center; gap: 5px;
  font: inherit; cursor: pointer;
  padding: 10px 16px; border: 1.5px solid transparent; border-radius: 999px;
  background: transparent; color: var(--ink); font-weight: 600; font-size: .9rem;
  letter-spacing: .01em; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.nav-dropdown__toggle:hover, .nav-dropdown__toggle:focus-visible,
.nav-dropdown.open .nav-dropdown__toggle {
  background: var(--gold-100); color: var(--green-900);
  transform: translateY(-1px); box-shadow: var(--shadow-sm);
}
.nav-dropdown__toggle.active { background: var(--green-800); color: #fff; box-shadow: var(--shadow-sm); }
.nav-dropdown__toggle:focus-visible { outline: 2px solid var(--green-700); outline-offset: 2px; }
.nav-dropdown__caret { transition: transform .25s ease; }
.nav-dropdown.open .nav-dropdown__caret { transform: rotate(180deg); }

.nav-dropdown__panel {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 60;
  min-width: 232px; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
/* invisible hover bridge so the panel doesn't close while the pointer travels to it */
.nav-dropdown__panel::before { content: ""; position: absolute; bottom: 100%; left: 0; right: 0; height: 12px; }
.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown.open .nav-dropdown__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown__group-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-500); padding: 8px 12px 4px;
}
.nav-dropdown__item {
  display: block; padding: 9px 12px; border-radius: 9px;
  color: var(--ink); font-size: .92rem; font-weight: 500; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}
.nav-dropdown__item:hover, .nav-dropdown__item:focus-visible { background: var(--gold-100); color: var(--green-900); }
.nav-dropdown__item--accent { color: var(--green-700); font-weight: 600; }
.nav-dropdown__item--accent:hover, .nav-dropdown__item--accent:focus-visible { background: var(--green-800); color: #fff; }
.nav-dropdown__divider { display: block; height: 1px; background: var(--line); margin: 6px 4px; }

/* ==========================================================================
   Members Profile cards — photo-forward, Magic-UI border beam on hover
   (reuses --uscl-angle / uscl-border-spin defined in the nav section)
   ========================================================================== */
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.profile-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.profile-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.profile-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.6px;
  background: conic-gradient(from var(--uscl-angle), var(--green-700), var(--gold-500), var(--green-600), var(--gold-400), var(--green-700));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.profile-card:hover::after { opacity: 1; animation: uscl-border-spin 4s linear infinite; }
.profile-card__photo {
  position: relative; display: block; width: 100%; margin: 0; padding: 0; border: 0;
  aspect-ratio: 3 / 4; background: var(--bg-tint); overflow: hidden; cursor: pointer;
}
/* contain = the full photo is always shown, never cropped/cut off */
.profile-card__photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.profile-card__photo::after {
  content: "View profile"; position: absolute; inset: auto 0 0 0; padding: 9px;
  text-align: center; font-size: .76rem; font-weight: 600; letter-spacing: .04em; color: #fff;
  background: linear-gradient(transparent, rgba(6, 29, 21, .82));
  opacity: 0; transition: opacity .25s ease;
}
.profile-card__photo:hover::after, .profile-card__photo:focus-visible::after { opacity: 1; }
.profile-card__photo:focus-visible { outline: 2px solid var(--green-700); outline-offset: -3px; }
.profile-card__body { padding: 22px 24px 26px; }
.profile-card__body h3 { font-size: 1.25rem; margin-bottom: 2px; }
.profile-card__role {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-500); margin-bottom: 12px;
}
.profile-card__bio { color: var(--slate); font-size: .96rem; line-height: 1.62; }
.profile-card__tag {
  display: inline-block; margin-top: 16px; padding: 5px 13px; border-radius: 999px;
  background: var(--gold-100); color: var(--green-800);
  font-size: .76rem; font-weight: 600; letter-spacing: .02em;
}
.profile-note { margin-top: 32px; text-align: center; color: var(--slate); font-size: .9rem; font-style: italic; }

@media (max-width: 900px) {
  .profile-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown__toggle { width: 100%; justify-content: space-between; padding: 13px 14px; }
  .nav-dropdown__panel {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; padding: 0 0 0 10px; min-width: 0;
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav-dropdown:hover .nav-dropdown__panel { max-height: 0; }
  .nav-dropdown.open .nav-dropdown__panel { max-height: 360px; }
  .nav-dropdown__panel::before { display: none; }
}
@media (max-width: 560px) {
  .profile-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-card:hover::after { animation: none; }
  .nav-dropdown__panel, .nav-dropdown__caret { transition: none; }
}

/* ==========================================================================
   Full-profile modal (members-profile.html) — native <dialog>
   ========================================================================== */
.profile-modal {
  width: min(680px, 92vw); max-width: 92vw; border: 0; border-radius: var(--radius);
  padding: 0; overflow: hidden; background: var(--white); color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.profile-modal::backdrop { background: rgba(6, 29, 21, .62); backdrop-filter: blur(3px); }
.profile-modal__inner { position: relative; }
.profile-modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: var(--green-900);
  font-size: 1.7rem; line-height: 1; display: grid; place-items: center;
  transition: background-color .2s ease;
}
.profile-modal__close:hover { background: #fff; }
.profile-modal__photo { background: var(--green-900); text-align: center; }
.profile-modal__photo img { display: block; width: auto; max-width: 100%; height: auto; max-height: 54vh; margin: 0 auto; object-fit: contain; }
.profile-modal__body { padding: 24px 30px 32px; }
.profile-modal__body h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin-bottom: 4px; }
.profile-modal__role {
  display: inline-block; color: var(--gold-500); font-weight: 700; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px;
}
.profile-modal__bio { color: var(--slate); font-size: 1.02rem; line-height: 1.7; }
.profile-modal__bio p { margin-bottom: 14px; }
.profile-modal__bio p:last-child { margin-bottom: 0; }
.profile-card__full { display: none; }
