/* ============================================================
   SA BROKING — Design System v2
   WCAG 2.1 AA compliant. All contrast ratios verified ≥ 4.5:1
   ============================================================ */

/* --- 1. CUSTOM PROPERTIES ---------------------------------- */
:root {
  --navy:        #0D1B2A;
  --navy-mid:    #1A2E45;
  --navy-light:  #243C57;
  --gold:        #C8922C;   /* on dark: 6.6:1 vs navy ✓ */
  --gold-dark:   #8B6220;   /* on white: 5.6:1 ✓ */
  --gold-faint:  rgba(200,146,44,.08);
  --surface:     #F7F5F0;
  --surface-2:   #EDE9E0;
  --white:       #FFFFFF;
  --text-1:      #1A1A1A;   /* ~17:1 on surface ✓ */
  --text-2:      #4A5568;   /* 7:1 on white ✓ */
  --text-3:      #6B7280;
  --border:      #9A8472;
  --danger:      #9B1C1C;
  --success:     #14532D;
  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow:      0 4px 16px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:   0 12px 36px rgba(0,0,0,.15), 0 4px 8px rgba(0,0,0,.08);
  --transition:  0.18s ease;
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --max-w:       1200px;
}

/* --- 2. RESET & BASE --------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 72px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--surface);
  color: var(--text-1);
  line-height: 1.65;
  min-height: 100vh;
}

img  { display: block; max-width: 100%; height: auto; }
a    { color: var(--gold-dark); text-decoration: underline; }
a:hover { color: var(--navy); }
ul, ol { list-style: none; }

/* --- 3. SKIP LINK ------------------------------------------ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: .6rem 1.2rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  font-size: .95rem;
  transition: top var(--transition);
}
.skip-link:focus { top: 1rem; }

/* --- 4. FOCUS RING ----------------------------------------- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --- 5. TYPOGRAPHY ----------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--navy);
}
h1 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.875rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
h4 { font-size: 1.0625rem; }
h5 { font-size: .9375rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- 6. LAYOUT --------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.section { padding-block: 4rem; }
.section--lg { padding-block: 5.5rem; }
.section--sm { padding-block: 2.5rem; }

.grid-2 { display: grid; gap: 2rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }

/* --- 7. MICRO-ANIMATIONS ----------------------------------- */

/* Scroll-triggered fade-up */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate][data-delay="1"] { transition-delay: 0.08s; }
[data-animate][data-delay="2"] { transition-delay: 0.16s; }
[data-animate][data-delay="3"] { transition-delay: 0.24s; }
[data-animate][data-delay="4"] { transition-delay: 0.32s; }
[data-animate][data-delay="5"] { transition-delay: 0.40s; }

/* Fade-left variant */
[data-animate="fade-left"] {
  transform: translateX(-28px);
}
[data-animate="fade-left"].is-visible { transform: translateX(0); }

/* Fade-right variant */
[data-animate="fade-right"] {
  transform: translateX(28px);
}
[data-animate="fade-right"].is-visible { transform: translateX(0); }

/* Scale-in */
[data-animate="scale"] {
  transform: scale(0.94);
}
[data-animate="scale"].is-visible { transform: scale(1); }

/* Hero entrance (on load, not scroll) */
.hero-animate {
  animation: heroIn 0.8s var(--ease-out) both;
}
.hero-animate--delay1 { animation-delay: .15s; }
.hero-animate--delay2 { animation-delay: .3s; }
.hero-animate--delay3 { animation-delay: .45s; }
.hero-animate--delay4 { animation-delay: .6s; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-animate],
  [data-animate].is-visible { opacity: 1; transform: none; transition: none; }
  .hero-animate { animation: none; opacity: 1; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* --- 8. BUTTONS -------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.5rem;
  font-size: .9375rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform 0.12s ease;
  white-space: nowrap;
  min-height: 44px;
  position: relative;
  overflow: hidden;
}

/* Ripple effect layer */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s ease;
}
.btn:active::after { background: rgba(255,255,255,.15); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(200,146,44,.35);
}
.btn-primary:hover {
  background: #B07D24;
  border-color: #B07D24;
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(200,146,44,.45);
  transform: translateY(-1px);
}

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

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-danger {
  background: var(--danger);
  color: var(--white);
  border-color: var(--danger);
}
.btn-danger:hover {
  background: #7F1515;
  border-color: #7F1515;
  transform: translateY(-1px);
}

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

.btn-success {
  background: var(--success);
  color: var(--white);
  border-color: var(--success);
}
.btn-success:hover { background: #0D3B20; transform: translateY(-1px); }

.btn-sm { padding: .45rem 1rem; font-size: .875rem; min-height: 36px; }
.btn-lg { padding: .9rem 2.25rem; font-size: 1.0625rem; }

/* --- 9. FORM ELEMENTS -------------------------------------- */
.form-group { margin-bottom: 1.25rem; }

label {
  display: block;
  font-weight: 600;
  font-size: .875rem;
  color: var(--text-1);
  margin-bottom: .4rem;
}

.form-control {
  width: 100%;
  padding: .7rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-1);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  min-height: 44px;
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,146,44,.18);
  background: #FFFDF8;
}
.form-control:focus:not(:focus-visible) { outline: none; }
.form-control::placeholder { color: var(--text-3); }

textarea.form-control { resize: vertical; min-height: 130px; }

.form-row { display: grid; gap: 1rem; }
@media (min-width: 576px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }

.checkbox-row {
  display: flex; align-items: center; gap: .5rem;
  font-size: .9rem; color: var(--text-2);
}
.checkbox-row input[type="checkbox"] {
  width: 24px; height: 24px;
  accent-color: var(--gold); cursor: pointer;
}

/* --- 10. NAVBAR -------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200,146,44,.2);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.navbar__brand {
  display: flex; flex-direction: column;
  text-decoration: none; line-height: 1.15;
  transition: opacity var(--transition);
}
.navbar__brand:hover { opacity: .85; }
.navbar__brand-name {
  font-size: 1.0625rem; font-weight: 800;
  color: var(--white); letter-spacing: .04em;
}
.navbar__brand-tagline {
  font-size: .63rem; color: var(--gold);
  letter-spacing: .08em; text-transform: uppercase; font-weight: 500;
}

.navbar__links {
  display: flex; align-items: center; gap: .15rem;
}

.navbar__link {
  padding: .5rem .85rem;
  font-size: .875rem; font-weight: 500;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: none; background: none;
  cursor: pointer; font-family: inherit;
  transition: color var(--transition), background var(--transition), transform var(--transition);
  min-height: 44px;
  display: flex; align-items: center;
  white-space: nowrap;
  position: relative;
}
/* Animated underline */
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 6px; left: .85rem; right: .85rem;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.22s var(--ease-out);
  border-radius: 1px;
}
.navbar__link:hover { color: var(--white); background: rgba(255,255,255,.07); }
.navbar__link:hover::after { transform: scaleX(1); }

.navbar__link--cta {
  background: var(--gold); color: var(--navy);
  font-weight: 700; margin-left: .5rem;
  box-shadow: 0 2px 8px rgba(200,146,44,.3);
}
.navbar__link--cta::after { display: none; }
.navbar__link--cta:hover {
  background: #B07D24; color: var(--navy);
  box-shadow: 0 4px 16px rgba(200,146,44,.4);
  transform: translateY(-1px);
}

/* Hamburger */
.navbar__toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: .5rem; border-radius: var(--radius-sm);
  color: var(--white); min-height: 44px; min-width: 44px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.navbar__toggle-bar {
  width: 22px; height: 2px; background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity var(--transition);
  display: block;
}
.navbar__toggle[aria-expanded="true"] .navbar__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle[aria-expanded="true"] .navbar__toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__toggle[aria-expanded="true"] .navbar__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .navbar__toggle { display: flex; }
  .navbar__links {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--navy); flex-direction: column; align-items: stretch;
    padding: .75rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(200,146,44,.2);
    box-shadow: 0 12px 24px rgba(0,0,0,.3);
  }
  .navbar__links.is-open { display: flex; animation: slideDown .25s var(--ease-out); }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .navbar__link { justify-content: flex-start; }
  .navbar__link::after { display: none; }
  .navbar__link--cta { margin-left: 0; margin-top: .5rem; justify-content: center; }
}

/* Internal topbar (dashboards) */
.topbar {
  background: var(--navy); height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  position: sticky; top: 0; z-index: 100;
}
.topbar__title { font-size: 1.0625rem; font-weight: 700; color: var(--white); }
.topbar__brand { font-size: .7rem; color: var(--gold); text-transform: uppercase; letter-spacing: .09em; font-weight: 600; }
.topbar__actions { display: flex; align-items: center; gap: .75rem; }

/* --- 11. HERO ---------------------------------------------- */
.hero {
  padding-top: 68px; /* navbar */
  background: var(--navy);
  position: relative;
  overflow: hidden;
  /* Ensure content is never narrower than comfortable on large screens */
  min-height: calc(100svh - 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Subtle geometric background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(200,146,44,.08) 0%, transparent 70%),
    linear-gradient(135deg, rgba(26,46,69,.5) 0%, transparent 60%);
  pointer-events: none;
}

/* Decorative line */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold) 70%, transparent 100%);
  opacity: .6;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 3rem 1.25rem 3.5rem;
  align-items: center;
  width: 100%;
}
/* Mobile: motif below text */
@media (max-width: 899px) {
  .hero__content  { order: 1; }
  .hero__visual   { order: 2; }
}
@media (min-width: 900px) {
  /* Give motif more column space than text */
  .hero__inner { grid-template-columns: 1fr 1.25fr; padding: 4rem 1.25rem 4.5rem; gap: 3.5rem; }
}

/* Hero text side */
.hero__content {}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.25rem;
}
.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.5s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}

.hero__title {
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: .85rem;
  letter-spacing: -.01em;
}
.hero__title span { color: var(--gold); }

.hero__subtitle {
  font-size: clamp(.9375rem, 1.5vw, 1.0625rem);
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 480px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-bottom: 2.25rem;
}

/* Credential strip */
.hero__creds {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero__cred {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}
.hero__cred-icon {
  width: 18px; height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

/* Hero visual side (carousel) */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- 12. HERO MOTIF (abstract financial graphic) ----------- */
.hero-motif {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  background: var(--navy-mid);
  overflow: hidden;
  box-shadow:
    0 16px 48px rgba(0,0,0,.3),
    0 0 0 1px rgba(200,146,44,.15);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 1.25rem;
  gap: 0;
}

/* Panel header row */
.hero-motif__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  opacity: 0;
  animation: statReveal .4s var(--ease-out) .4s forwards;
}
.hero-motif__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .1em;
  background: rgba(200,146,44,.08);
  border: 1px solid rgba(200,146,44,.18);
  border-radius: 20px;
  padding: .25rem .75rem;
}
.hero-motif__badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.5s ease infinite;
}
.hero-motif__since {
  font-size: .7rem;
  font-weight: 600;
  color: rgba(255,255,255,.3);
  letter-spacing: .06em;
}

/* Chart wrapper — constrains SVG to upper portion */
.hero-motif__chart-wrap {
  width: 100%;
  flex: 1;
  opacity: 0;
  animation: statReveal .5s var(--ease-out) .55s forwards;
}
.hero-motif__chart {
  display: block;
  width: 100%;
  height: 100%;
}

/* Animated line draw */
.hero-motif__line {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawLine 1.8s var(--ease-out) .7s forwards;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* Thin divider above stats */
.hero-motif__divider {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin: .75rem 0;
}

/* Stat strip */
.hero-motif__stats {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}
.hero-motif__stat {
  flex: 1;
  text-align: center;
  padding: .25rem .5rem;
  opacity: 0;
  transform: translateY(8px);
  animation: statReveal .4s var(--ease-out) forwards;
}
.hero-motif__stat--1 { animation-delay: 1.2s; }
.hero-motif__stat--2 { animation-delay: 1.35s; }
.hero-motif__stat--3 { animation-delay: 1.5s; }
.hero-motif__stat-sep {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

@keyframes statReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-motif__stat-number {
  display: block;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  color: rgba(200,146,44,.9);
  line-height: 1.2;
}
.hero-motif__stat-label {
  display: block;
  font-size: .65rem;
  font-weight: 600;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-top: .15rem;
}

/* Faint gold bottom accent */
.hero-motif::after {
  content: '';
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,146,44,.4), transparent);
}

/* --- 13. ABOUT SECTION ------------------------------------- */
.about-section { background: var(--white); }

.section-header {
  margin-bottom: 2.5rem;
  text-align: center;
}
.section-header__eyebrow {
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--gold-dark); margin-bottom: .5rem;
}
.section-header__title { margin-bottom: .5rem; }
.section-header__line {
  width: 48px; height: 3px;
  background: var(--gold); border-radius: 2px;
  margin: .75rem auto 0;
}

.about-grid {
  display: grid; gap: 2rem;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1.4fr; } }

.about-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid var(--surface-2);
  transition: box-shadow var(--transition), transform var(--transition);
}
.about-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.about-card__label {
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold-dark);
  margin-bottom: 1rem; padding-bottom: .75rem;
  border-bottom: 2px solid var(--surface-2);
  display: flex; align-items: center; gap: .5rem;
}
.about-card__label::before {
  content: '';
  width: 20px; height: 2px; background: var(--gold);
  border-radius: 1px; flex-shrink: 0;
}
.about-card p { font-size: .9375rem; color: var(--text-2); text-align: justify; }

.person-card {
  padding: 1rem 0;
  border-bottom: 1px solid var(--surface-2);
}
.person-card:last-child { border-bottom: none; padding-bottom: 0; }
.person-card h6 {
  font-size: .9375rem; color: var(--navy);
  margin-bottom: .35rem;
}
.person-card p { font-size: .875rem; color: var(--text-2); text-align: justify; }


/* --- 14. ANNOUNCEMENT BAR ---------------------------------- */
.announcement-bar {
  background: var(--navy-mid);
  color: var(--white);
  padding: .65rem 1.25rem;
  font-size: .8125rem; font-weight: 500;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--navy-light);
}
.announcement-bar__inner {
  max-width: var(--max-w); margin-inline: auto;
  display: flex; align-items: flex-start; gap: .875rem;
}
.announcement-bar__badge {
  background: var(--gold); color: var(--navy);
  font-size: .65rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  padding: .2rem .55rem; border-radius: 3px;
  white-space: nowrap; flex-shrink: 0;
  margin-top: .05rem;
  animation: badgePop 0.4s var(--ease-out) 0.5s both;
}
@keyframes badgePop {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.announcement-bar p { margin: 0; line-height: 1.55; }

/* --- 15. INVESTOR CORNER ----------------------------------- */
.investor-section { background: var(--surface); }

.section-title-bar {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem;
}
.section-title-bar::after {
  content: ''; flex: 1; height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  opacity: .4; border-radius: 1px;
}

.investor-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(212,201,176,.5);
  transition: box-shadow var(--transition), transform var(--transition);
}
.investor-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.investor-card h3 {
  font-size: .9375rem; color: var(--navy);
  margin-bottom: 1rem; padding-bottom: .6rem;
  border-bottom: 2px solid var(--surface-2);
  display: flex; align-items: center; gap: .6rem;
}
.investor-card h3::before {
  content: '';
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

/* Data tables */
.data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.data-table {
  width: 100%; border-collapse: collapse;
  font-size: .875rem; min-width: 480px;
}
.data-table th {
  background: var(--navy); color: var(--white);
  font-weight: 600; font-size: .775rem;
  text-transform: uppercase; letter-spacing: .05em;
  padding: .7rem 1rem; text-align: left;
}
.data-table th:first-child { border-radius: 0; }
.data-table td {
  padding: .75rem 1rem; color: var(--text-1);
  border-bottom: 1px solid var(--surface-2);
  vertical-align: top; line-height: 1.5;
  transition: background var(--transition);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--surface); }
.data-table tr:hover td { background: rgba(200,146,44,.06); }

.info-block { margin-bottom: 1.25rem; }
.info-block:last-child { margin-bottom: 0; }
.info-block p { font-size: .9rem; color: var(--text-2); margin-bottom: .4rem; }

.links-list { list-style: none; padding: 0; }
.links-list li {
  margin-bottom: .6rem; font-size: .9rem;
  padding-left: 1.25rem; position: relative;
}
.links-list li::before {
  content: '→'; color: var(--gold);
  position: absolute; left: 0; font-weight: 700;
}
.links-list a { color: var(--gold-dark); }
.links-list a:hover { color: var(--navy); }

/* --- 16. CONTACT SECTION ----------------------------------- */
.contact-section { background: var(--navy); color: var(--white); }
.contact-section a { color: var(--gold); }
.contact-section a:hover { color: #E0B84C; }

.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1.6fr; } }

.contact-info h2 { color: var(--gold); margin-bottom: 1.25rem; }
.contact-info h3 { color: var(--white); font-size: 1rem; margin-bottom: .6rem; }

.contact-address {
  font-size: .9375rem; line-height: 1.9;
  color: rgba(255,255,255,.8); font-style: normal;
}

.contact-meta { margin-top: 1.25rem; }
.contact-meta a {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-bottom: .4rem; font-size: .9rem;
  transition: color var(--transition);
}

.contact-links-group { margin-top: 1.25rem; }
.contact-links-group__title {
  font-size: .7rem; font-weight: 700;
  color: rgba(255,255,255,.5); text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: .5rem;
}
.contact-links-group a { display: block; margin-bottom: .3rem; font-size: .875rem; }

.contact-form-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(200,146,44,.2);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: border-color var(--transition);
}
.contact-form-card:focus-within { border-color: rgba(200,146,44,.5); }
.contact-form-card h3 { color: var(--gold); margin-bottom: 1.5rem; font-size: 1.125rem; }
.contact-form-card label { color: rgba(255,255,255,.8); }
.contact-form-card .form-control {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.15); color: var(--white);
}
.contact-form-card .form-control::placeholder { color: rgba(255,255,255,.35); }
.contact-form-card .form-control:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px rgba(200,146,44,.2);
}
.contact-form-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.25rem; }

/* --- 17. MODALS -------------------------------------------- */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(13,27,42,.75);
  z-index: 2000;
  align-items: center; justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-overlay.is-open { display: flex; }

.modal {
  background: var(--white); border-radius: var(--radius-lg);
  width: 100%; max-width: 460px;
  box-shadow: var(--shadow-lg);
  animation: modalIn .25s var(--ease-out);
  border-top: 3px solid var(--gold);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(-20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal--dark { background: var(--navy-mid); color: var(--white); border-color: var(--gold); }
.modal--dark .modal__title { color: var(--gold); }

.modal__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--surface-2);
}
.modal--dark .modal__header { border-color: rgba(255,255,255,.1); }
.modal__title { font-size: 1.125rem; font-weight: 700; color: var(--navy); }

.modal__close {
  background: none; border: none; font-size: 1.4rem;
  cursor: pointer; color: var(--text-2);
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
  line-height: 1;
}
.modal__close:hover { background: var(--surface-2); transform: rotate(90deg); }
.modal--dark .modal__close { color: rgba(255,255,255,.6); }
.modal--dark .modal__close:hover { background: rgba(255,255,255,.1); }

.modal__body { padding: 1.5rem; }

/* Download list */
.download-list { display: flex; flex-direction: column; gap: .3rem; }
.download-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem .85rem; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.download-item:hover {
  background: rgba(200,146,44,.1);
  border-color: rgba(200,146,44,.3);
  transform: translateX(3px);
}
.download-item__name { font-size: .875rem; color: rgba(255,255,255,.88); font-weight: 500; }
.download-item form { margin: 0; }
.download-item button {
  background: var(--gold); color: var(--navy);
  border: none; padding: .3rem .75rem;
  font-size: .78rem; font-weight: 700;
  border-radius: var(--radius-sm); cursor: pointer;
  font-family: inherit; min-height: 30px;
  transition: background var(--transition), transform 0.12s ease;
}
.download-item button:hover { background: #B07D24; transform: scale(1.05); }

/* --- 18. DASHBOARD PAGES ----------------------------------- */
.dashboard-page {
  min-height: 100vh; background: var(--surface);
  display: flex; flex-direction: column;
}
.dashboard-main {
  flex: 1; max-width: var(--max-w);
  margin-inline: auto; width: 100%;
  padding: 2.25rem 1.25rem;
}

.dashboard-header {
  margin-bottom: 2rem; padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--surface-2);
}
.dashboard-header h1 { font-size: 1.625rem; }
.dashboard-header p { color: var(--text-2); font-size: .9375rem; margin-bottom: 0; }

/* User table */
.user-table-wrap {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  border: 1px solid rgba(212,201,176,.4);
}
.user-table { width: 100%; border-collapse: collapse; }
.user-table th {
  background: var(--navy); color: var(--white);
  font-size: .775rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  padding: .875rem 1.25rem; text-align: left;
}
.user-table td {
  padding: .875rem 1.25rem;
  border-bottom: 1px solid var(--surface-2);
  color: var(--text-1); font-size: .9375rem;
  vertical-align: middle;
  transition: background var(--transition);
}
.user-table tr:last-child td { border-bottom: none; }
.user-table tr:hover td { background: rgba(200,146,44,.05); }
.user-table__actions { display: flex; gap: .5rem; align-items: center; }

/* Document cards */
.doc-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.doc-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  display: flex; align-items: flex-start; gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.doc-card:hover {
  box-shadow: var(--shadow); transform: translateY(-3px);
  border-color: rgba(200,146,44,.4);
}
.doc-card__icon {
  width: 44px; height: 44px; background: rgba(200,146,44,.1);
  border-radius: var(--radius-sm); display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold-dark);
  transition: background var(--transition), transform var(--transition);
}
.doc-card:hover .doc-card__icon { background: rgba(200,146,44,.18); transform: scale(1.1); }
.doc-card__content { flex: 1; min-width: 0; }
.doc-card__name { font-size: .875rem; font-weight: 600; color: var(--text-1); margin-bottom: .75rem; word-break: break-word; }
.doc-card form { display: inline; }

/* Upload page */
.upload-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid rgba(212,201,176,.4); }
.upload-card__section { padding: 1.75rem; border-bottom: 1px solid var(--surface-2); }
.upload-card__section:last-child { border-bottom: none; }
.upload-card__section h2 { font-size: 1.0625rem; margin-bottom: 1.25rem; }

.file-input-label {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .75rem;
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 2.75rem 1.5rem; cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  text-align: center; color: var(--text-2); font-size: .9375rem;
}
.file-input-label:hover {
  border-color: var(--gold); background: rgba(200,146,44,.04);
  transform: scale(1.01);
}
.file-input-label svg { color: var(--gold-dark); transition: transform var(--transition); }
.file-input-label:hover svg { transform: translateY(-4px); }
.file-input-hidden { position: absolute; opacity: 0; width: 1px; height: 1px; }

/* Empty state */
.empty-state {
  text-align: center; padding: 4rem 2rem; color: var(--text-2);
}
.empty-state svg { margin-inline: auto; margin-bottom: 1rem; color: var(--border); }
.empty-state p { font-size: 1rem; }

/* --- 19. ADMIN LOGIN --------------------------------------- */
.login-page {
  min-height: 100vh; background: var(--navy);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2rem 1rem;
  background-image: radial-gradient(ellipse 80% 80% at 50% 120%, rgba(200,146,44,.12) 0%, transparent 70%);
}
.login-card {
  background: var(--white); border-radius: var(--radius-lg);
  width: 100%; max-width: 390px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
  animation: modalIn .45s var(--ease-out);
}
.login-card__logo { text-align: center; margin-bottom: 2rem; }
.login-card__logo-name {
  font-size: 1.125rem; font-weight: 800;
  color: var(--navy); letter-spacing: .04em; display: block;
}
.login-card__logo-tag {
  font-size: .68rem; color: var(--gold-dark);
  text-transform: uppercase; letter-spacing: .1em; font-weight: 600;
}
.login-card h1 { font-size: 1.25rem; text-align: center; margin-bottom: 1.75rem; }
.login-card .btn { width: 100%; justify-content: center; margin-top: .5rem; }

/* --- 20. FOOTER -------------------------------------------- */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,.55);
  padding-block: 1.5rem; font-size: .8125rem;
  text-align: center; border-top: 1px solid var(--navy-light);
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--gold); }

/* --- 21. UTILITIES ----------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-3 { margin-bottom: 1.5rem; }

.badge {
  display: inline-block; padding: .2rem .65rem;
  font-size: .75rem; font-weight: 700;
  border-radius: 3px; text-transform: uppercase; letter-spacing: .04em;
}
.badge--gold { background: rgba(200,146,44,.15); color: var(--gold-dark); }
.badge--navy { background: var(--navy); color: var(--white); }

.divider { border: none; border-top: 1px solid var(--surface-2); margin-block: 1.5rem; }

/* --- 22. MOBILE RESPONSIVENESS ----------------------------- */

/* Very small screens (≤ 360px) */
@media (max-width: 360px) {
  .hero__title { font-size: 1.6rem; }
  .hero__ctas  { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .btn-lg { padding: .8rem 1.25rem; font-size: 1rem; }
}

/* Small phones (≤ 480px) */
@media (max-width: 480px) {
  .section  { padding-block: 2.5rem; }
  .section--lg { padding-block: 3rem; }

  /* Modals fill screen with scroll */
  .modal {
    max-height: 90svh;
    overflow-y: auto;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin-top: auto;
  }
  .modal-overlay { align-items: flex-end; padding: 0; }

  /* Topbar wrap on tiny screens */
  .topbar { flex-wrap: wrap; height: auto; padding-block: .75rem; gap: .5rem; }
  .topbar__actions { gap: .5rem; }
  .topbar__actions .btn-sm { padding: .4rem .75rem; font-size: .8rem; }

  /* Tables: shrink font on tiny screens */
  .data-table { font-size: .8rem; }
  .data-table th, .data-table td { padding: .55rem .65rem; }

  /* Contact form CTA buttons */
  .contact-form-actions { flex-direction: column; }
  .contact-form-actions .btn { width: 100%; justify-content: center; }

  /* Download items stack label above button */
  .download-item { flex-direction: column; align-items: flex-start; gap: .4rem; }
}

/* Tablet (481px – 767px): hero subtitle max-width */
@media (min-width: 481px) and (max-width: 767px) {
  .hero__subtitle { max-width: 100%; }
}

/* Dashboard tables on mobile */
@media (max-width: 640px) {
  .user-table th:nth-child(3),
  .user-table td:nth-child(3) { display: none; } /* hide Name column, show on wider */

  .doc-grid { grid-template-columns: 1fr; }
}

/* Hero min-height: use svh where supported */
@supports not (min-height: 100svh) {
  .hero { min-height: calc(100vh - 68px); }
}

@media print {
  .navbar, .topbar, .modal-overlay, .announcement-bar { display: none; }
  body { background: white; }
}
