/* ── Boomerant / ABJSE — Abuja Stock Exchange ── */
:root {
  --bg: #0a0806;
  --paper: #14100c;
  --ink: #e6ddcc;
  --ink-dim: #8a7f6e;
  --rule: #221c16;
  --accent: #c9a84c;
  --accent-dim: #a08030;
  --accent-glow: rgba(201, 168, 76, 0.06);
  --accent-glow-strong: rgba(201, 168, 76, 0.14);
  --measure: 72ch;
  --gutter: clamp(1.5rem, 4vw, 3.5rem);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #efe9dc;
    --paper: #faf6ee;
    --ink: #1a1612;
    --ink-dim: #6b6358;
    --rule: #d4c9b8;
    --accent: #8a6e2b;
    --accent-dim: #b89840;
    --accent-glow: rgba(138, 110, 43, 0.06);
    --accent-glow-strong: rgba(138, 110, 43, 0.12);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4, .display, .section-label, blockquote {
  font-family: "Iowan Old Style", "Charter", "Georgia", "Times New Roman", serif;
}
h1, .display {
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}
h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h3 {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}
p { margin: 0 0 1em; max-width: var(--measure); }
.lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 58ch;
}
.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
}
.section-label::after {
  content: "";
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
  margin-top: 0.5rem;
  opacity: 0.5;
}
.muted { color: var(--ink-dim); }
a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--accent-dim); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Header / Nav ── */
.site-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: "Iowan Old Style", "Charter", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.logo span { color: var(--accent); }
nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
nav a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  transition: color 0.2s;
  position: relative;
}
nav a:hover { color: var(--ink); }
nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}
nav a:hover::after { width: 100%; }

/* ── Hero ── */
.hero {
  padding: 5rem 0 3.5rem;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 600px;
  height: 100%;
  background: radial-gradient(ellipse at 50% 0%, var(--accent-glow-strong) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero .display {
  max-width: 20ch;
}
.hero .lead {
  margin-top: 1.5rem;
  max-width: 56ch;
}
.hero-meta {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--ink-dim);
}
.hero-meta span { display: flex; align-items: center; gap: 0.5rem; }
.hero-meta .num {
  font-family: "Iowan Old Style", "Charter", Georgia, serif;
  font-size: 1.15rem;
  color: var(--accent);
  font-weight: 500;
}

/* ── Section ── */
.section {
  padding: 4rem 0;
  border-top: 1px solid var(--rule);
}

/* ── Service Grid ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  margin-top: 2rem;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.service-card {
  background: var(--paper);
  padding: 2rem;
  transition: background 0.3s;
  position: relative;
}
.service-card:hover {
  background: var(--bg);
}
.service-card .icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
  color: var(--accent);
  opacity: 0.8;
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--ink-dim);
  margin-bottom: 0;
  line-height: 1.55;
}

/* ── Stats Bar ── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  margin: 2rem 0;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.stat {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--paper);
}
.stat .num {
  font-family: "Iowan Old Style", "Charter", Georgia, serif;
  font-size: 2.6rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.stat .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
}

/* ── Quote ── */
blockquote {
  margin: 2.5rem 0;
  padding: 2rem 2.5rem 2rem 3rem;
  border-left: 3px solid var(--accent);
  background: var(--paper);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: var(--measure);
  font-style: italic;
}
blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-style: normal;
  color: var(--ink-dim);
  letter-spacing: 0.03em;
}

/* ── Drop Cap ── */
.dropcap::first-letter {
  font-family: "Iowan Old Style", "Charter", Georgia, serif;
  font-size: 4em;
  float: left;
  line-height: 0.8;
  margin-right: 0.4rem;
  margin-top: 0.1rem;
  color: var(--accent);
  font-weight: 400;
}

/* ── Contact ── */
.contact-form {
  display: grid;
  gap: 1.25rem;
  max-width: 480px;
  margin-top: 2rem;
}
.contact-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
}
.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  outline: none;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button {
  justify-self: start;
  font-family: inherit;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.85rem 2.2rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  font-weight: 600;
}
.contact-form button:hover { opacity: 0.85; }
.form-status { font-size: 0.9rem; margin-top: 0.5rem; }

/* ── Footer ── */
.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--ink-dim);
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--ink-dim); }
.footer-links a:hover { color: var(--ink); }
.attribution { font-size: 0.75rem; opacity: 0.6; }
.attribution a { color: var(--ink-dim); }

/* ── Responsive ── */
@media (max-width: 700px) {
  .site-header .container { flex-wrap: wrap; gap: 0.75rem; }
  nav { gap: 1.25rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero-meta { flex-wrap: wrap; gap: 1.25rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .site-footer .container { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
