/* ==========================================================================
   OKPOYA & SONS NIG. COMPANY LIMITED — RC 1109331
   Human Resources Sourcing Solutions — "People. Processes. Performance."
   Design system: "The Shield" — Red / Charcoal / Paper, serif headlines,
   mono data labels. Supports light + dark mode via [data-theme].
   ========================================================================== */

:root {
  /* Color — brand red / charcoal, matching the company shield mark */
  --navy-deep:   #19191b;
  --navy:        #2b2b2f;
  --navy-soft:   #3d3d42;
  --gold:        #a61c1c;
  --gold-light:  #d9584f;
  --gold-dim:    #7c1616;
  --paper:       #f7f5f2;
  --paper-dim:   #efeae4;
  --ink:         #1c1c1e;
  --ink-soft:    #55565c;
  --line:        #ddd7d0;
  --line-on-navy: rgba(214, 90, 79, 0.35);
  --white:       #ffffff;
  --surface:     #ffffff;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Layout */
  --container: 1160px;
  --radius: 2px;
  --shadow-card: 0 1px 2px rgba(20, 20, 20, 0.05), 0 8px 24px rgba(20, 20, 20, 0.07);
  --shadow-lift: 0 12px 32px rgba(20, 20, 20, 0.16);

  color-scheme: light;
}

:root[data-theme="dark"] {
  --paper:       #131315;
  --paper-dim:   #1b1b1e;
  --ink:         #ececea;
  --ink-soft:    #b6b5b1;
  --line:        #333336;
  --surface:     #1e1e21;
  --navy-deep:   #0b0b0c;
  --navy:        #1c1c1f;
  --navy-soft:   #29292d;
  --shadow-card: 0 1px 2px rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.35);
  --shadow-lift: 0 12px 32px rgba(0,0,0,0.5);
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body, .feature-card, .form-card, .value-cell, .site-header, .cta-banner, .page-hero, .hero, .site-footer,
.eyebrow, .btn, .field input, .field select, .field textarea {
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* ---- Theme toggle ------------------------------------------------------- */

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-on-navy);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.theme-toggle:hover { border-color: var(--gold-light); transform: translateY(-1px); }
.theme-toggle svg { display: block; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--gold-light); color: var(--navy-deep); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Typography ---------------------------------------------------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold-dim);
  display: inline-block;
}

.eyebrow.on-dark { color: var(--gold-light); }
.eyebrow.on-dark::before { background: var(--gold-light); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-deep);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.4vw, 3.85rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }

h1 em, h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-dim);
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 50ch;
  line-height: 1.7;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Buttons --------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color .18s ease;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow-lift); }

.btn-outline-light {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-1px); }

.btn-outline-navy {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }

.btn-ghost {
  color: var(--navy);
  padding-left: 0;
  padding-right: 0;
  gap: 8px;
}
.btn-ghost svg { transition: transform 0.18s ease; }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ---- Navbar ------------------------------------------------------------ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(15, 35, 71, 0.96);
  backdrop-filter: blur(8px);
  padding: 14px 0;
  box-shadow: 0 4px 24px rgba(15,35,71,0.18);
  border-color: var(--line-on-navy);
}

.site-header .nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name strong {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--white);
  letter-spacing: 0.01em;
}

.brand-name span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  position: relative;
  padding: 4px 0;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links a.active { color: var(--white); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

/* The Staff Portal link is duplicated inside .nav-links so it still appears
   in the mobile slide-out menu; hide that copy on wider screens where the
   .nav-actions Staff Portal button already shows, to avoid showing it twice. */
.nav-links a.btn-sm { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-on-navy);
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border-radius: var(--radius);
}

/* ---- Hero ------------------------------------------------------------ */

.hero {
  position: relative;
  color: var(--white);
  padding: 168px 0 0;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center 25%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(15,15,17,0.88) 0%, rgba(20,20,23,0.62) 32%, rgba(24,20,20,0.32) 60%, rgba(30,20,20,0.22) 100%);
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    repeating-linear-gradient(90deg, rgba(201,168,76,0.05) 0px, rgba(201,168,76,0.05) 1px, transparent 1px, transparent 120px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 90px;
}

.hero-slide-caption {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  background: rgba(15,15,17,0.55);
  border: 1px solid var(--line-on-navy);
  padding: 8px 16px;
  border-radius: 999px;
  margin: 0 auto 22px;
  max-width: max-content;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-slide-caption.show { opacity: 1; }

.hero-dots {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--line-on-navy);
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-dot.active {
  background: var(--gold-light);
  transform: scale(1.25);
}

.hero h1 { color: var(--white); margin-bottom: 22px; }

.hero .lead {
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-seal {
  justify-self: end;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid var(--line-on-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-seal::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid var(--line-on-navy);
  border-radius: 50%;
}

.hero-seal-inner {
  text-align: center;
  font-family: var(--font-display);
}

.hero-seal-inner .yr {
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  color: var(--gold-light);
  display: block;
  margin-bottom: 10px;
}

.hero-seal-inner .mono {
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.hero-seal-inner .sub {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-top: 10px;
  display: block;
}

/* Ledger stat strip — signature element */

.ledger-strip {
  position: relative;
  border-top: 1px solid var(--line-on-navy);
  background: rgba(0,0,0,0.14);
}

.ledger-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ledger-stat {
  padding: 28px 28px;
  border-left: 1px solid var(--line-on-navy);
}

.ledger-stat:first-child { border-left: none; padding-left: 0; }

.ledger-stat .num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--gold);
  font-weight: 600;
  display: block;
}

.ledger-stat .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-top: 6px;
  display: block;
}

/* ---- Sections --------------------------------------------------------- */

section { padding: 110px 0; }

.section-alt { background: var(--paper-dim); }

.hr-gold {
  border: none;
  height: 1px;
  background: var(--line);
}

/* ---- Split / about preview -------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split.reverse .split-art { order: 2; }

.split-art {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--navy-deep);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 32px;
}

.split-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(201,168,76,0.22), transparent 55%),
    linear-gradient(155deg, var(--navy-deep), var(--navy) 70%);
}

/* Photo variant — real photograph instead of the plain gradient block */
.split-art.has-photo {
  background-size: cover;
  background-position: center;
}

.split-art.has-photo::before {
  background:
    linear-gradient(0deg, rgba(10,10,12,0.9) 0%, rgba(10,10,12,0.15) 45%, rgba(10,10,12,0.1) 100%),
    radial-gradient(circle at 75% 15%, rgba(166,28,28,0.18), transparent 55%);
}

.split-art .corner {
  position: absolute;
  width: 34px; height: 34px;
  border: 1.5px solid var(--gold);
}
.split-art .corner.tl { top: 22px; left: 22px; border-right: none; border-bottom: none; }
.split-art .corner.br { bottom: 22px; right: 22px; border-left: none; border-top: none; }

.split-art-caption {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  border-top: 1px solid var(--line-on-navy);
  padding-top: 14px;
}

.split-body p { color: var(--ink-soft); margin-bottom: 18px; }

.check-list { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink);
}

.check-list svg { flex-shrink: 0; margin-top: 3px; color: var(--gold-dim); }

/* ---- Ledger divisions (signature, services grid) ----------------------- */

.ledger-entries { border-top: 1px solid var(--line); }

.ledger-entry {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 36px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
  transition: background 0.25s ease;
}

.ledger-entry:hover { background: rgba(201,168,76,0.05); }

.ledger-entry .entry-no {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold-dim);
  letter-spacing: 0.05em;
  padding-top: 6px;
}

.entry-body { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; }

.entry-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.entry-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}

.entry-title h3 { margin: 0; }

.entry-desc p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 10px; }

.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: var(--paper-dim);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 20px;
}

/* ---- Cards (why choose us / values) ------------------------------------ */

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

.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 34px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color .2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--gold-dim);
}

.feature-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-dim);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 18px;
}

.feature-card h4 { margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: 14.5px; }

/* ---- CTA banner --------------------------------------------------------- */

.cta-banner {
  background: var(--navy-deep);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 30%, rgba(201,168,76,0.16), transparent 55%);
}

.cta-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-row h2 { color: var(--white); max-width: 480px; margin-bottom: 8px; }
.cta-row p { color: rgba(255,255,255,0.7); }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- Timeline (about page) ---------------------------------------------- */

.timeline { position: relative; padding-left: 0; }
.timeline-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-row .yr {
  font-family: var(--font-mono);
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
}
.timeline-row h4 { margin-bottom: 6px; }
.timeline-row p { color: var(--ink-soft); font-size: 14.5px; }

/* ---- Page hero (interior pages) ----------------------------------------- */

.page-hero {
  background:
    linear-gradient(100deg, rgba(15,15,17,0.9) 0%, rgba(20,20,23,0.7) 35%, rgba(24,20,20,0.4) 65%, rgba(30,20,20,0.28) 100%),
    url('../assets/img/production-line.jpg') center 30% / cover no-repeat;
  color: var(--white);
  padding: 168px 0 70px;
  position: relative;
}

.page-hero h1 { color: var(--white); }
.page-hero .lead { color: rgba(255,255,255,0.75); }

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-top: 18px;
  text-transform: uppercase;
}
.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---- Footer -------------------------------------------------------------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line-on-navy);
}

.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 32ch; color: rgba(255,255,255,0.55); }

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: var(--gold-light); }

.footer-col address { font-style: normal; font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.65); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---- Contact page -------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}

.contact-info-card {
  background: var(--navy-deep);
  color: var(--white);
  padding: 44px 36px;
  border-radius: var(--radius);
  height: fit-content;
}

.contact-info-card h3 { color: var(--white); margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255,255,255,0.65); font-size: 14.5px; margin-bottom: 32px; }

.contact-line {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-on-navy);
}
.contact-line:first-of-type { border-top: none; }
.contact-line .ic { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-line strong { display: block; font-size: 13px; color: var(--gold-light); font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px;}
.contact-line span, .contact-line a { font-size: 14.5px; color: rgba(255,255,255,0.85); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 44px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.field textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 14px;
}

.form-success {
  display: none;
  background: var(--paper-dim);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--navy);
}
.form-success.show { display: block; }

.map-strip {
  margin-top: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-strip iframe { width: 100%; height: 360px; border: 0; display: block; filter: grayscale(0.3) contrast(1.05); }

/* ---- Values grid (about) -------------------------------------------------- */

.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value-cell { background: var(--surface); padding: 38px; }
.value-cell .num { font-family: var(--font-mono); color: var(--gold-dim); font-size: 12px; letter-spacing: .1em; }
.value-cell h4 { margin: 14px 0 10px; }
.value-cell p { color: var(--ink-soft); font-size: 14.5px; }

/* ---- Leadership (about) ---------------------------------------------------- */

.leader-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.leader-card { text-align: center; }
.leader-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  border: 1px solid var(--gold-dim);
}
.leader-card h4 { margin-bottom: 4px; }
.leader-card .role { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-dim); display:block; margin-bottom: 10px;}
.leader-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ---- Reveal-on-scroll ----------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---- Mobile -------------------------------------------------------------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-seal { justify-self: center; width: 220px; height: 220px; }
  .ledger-strip .container { grid-template-columns: repeat(2, 1fr); }
  .ledger-stat:nth-child(3) { border-left: none; }
  .ledger-stat:nth-child(odd) { border-left: none; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split-art { order: -1 !important; max-width: 420px; margin: 0 auto; }
  .card-grid, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .entry-body { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .leader-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px;
    background: var(--navy-deep); flex-direction: column; padding: 100px 32px 40px; gap: 26px;
    transition: right 0.3s ease; align-items: flex-start; box-shadow: -20px 0 50px rgba(0,0,0,0.3); }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-outline-light { display: none; }
  .nav-links a.btn-sm { display: inline-flex; }
  .ledger-strip .container { grid-template-columns: 1fr 1fr; }
  .ledger-stat { padding: 22px 16px; }
  section { padding: 70px 0; }
  .hero { padding-top: 130px; }
  .page-hero { padding-top: 130px; }
  .card-grid, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; align-items: flex-start; }
  .ledger-entry { grid-template-columns: 1fr; gap: 10px; }
  .entry-no { padding-top: 0; }
}
