/* ===== DESIGN TOKENS — Lead-Lag Media ===== */
/* Art direction: Authoritative financial media. Deep navy + gold accent.
   Clean, modern, institutional feel — Playfair Display headings for authority,
   DM Sans body for readability. */

:root {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;
}

/* ===== LIGHT MODE ===== */
:root, [data-theme="light"] {
  --color-bg: #fafafa;
  --color-surface: #ffffff;
  --color-surface-2: #f5f5f5;
  --color-surface-offset: #f0f0f0;
  --color-divider: #e5e5e5;
  --color-border: #d4d4d4;

  --color-text: #0a0f1e;
  --color-text-muted: #5a6178;
  --color-text-faint: #9ca3af;
  --color-text-inverse: #ffffff;

  /* Primary — Deep Navy */
  --color-primary: #0b1d3a;
  --color-primary-hover: #162d52;
  --color-primary-active: #0a1628;

  /* Accent — Rich Gold */
  --color-accent: #c9973b;
  --color-accent-hover: #b8872e;
  --color-accent-active: #a07324;

  /* Semantic */
  --color-success: #16a34a;
  --color-error: #dc2626;

  /* Hero gradient */
  --hero-gradient: linear-gradient(135deg, #0b1d3a 0%, #162d52 40%, #1a3560 100%);

  --shadow-sm: 0 1px 2px rgba(10,15,30,0.06);
  --shadow-md: 0 4px 12px rgba(10,15,30,0.08);
  --shadow-lg: 0 12px 32px rgba(10,15,30,0.12);
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
  --color-bg: #0a0f1e;
  --color-surface: #111827;
  --color-surface-2: #1a2236;
  --color-surface-offset: #151c2e;
  --color-divider: #1e2942;
  --color-border: #2a3654;

  --color-text: #e5e7eb;
  --color-text-muted: #9ca3af;
  --color-text-faint: #6b7280;
  --color-text-inverse: #0a0f1e;

  --color-primary: #c9973b;
  --color-primary-hover: #d9a94f;
  --color-primary-active: #b8872e;

  --color-accent: #c9973b;
  --color-accent-hover: #d9a94f;
  --color-accent-active: #b8872e;

  --color-success: #22c55e;
  --color-error: #ef4444;

  --hero-gradient: linear-gradient(135deg, #0a0f1e 0%, #111827 40%, #162d52 100%);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0a0f1e;
    --color-surface: #111827;
    --color-surface-2: #1a2236;
    --color-surface-offset: #151c2e;
    --color-divider: #1e2942;
    --color-border: #2a3654;
    --color-text: #e5e7eb;
    --color-text-muted: #9ca3af;
    --color-text-faint: #6b7280;
    --color-text-inverse: #0a0f1e;
    --color-primary: #c9973b;
    --color-primary-hover: #d9a94f;
    --color-primary-active: #b8872e;
    --color-accent: #c9973b;
    --color-accent-hover: #d9a94f;
    --color-accent-active: #b8872e;
    --color-success: #22c55e;
    --color-error: #ef4444;
    --hero-gradient: linear-gradient(135deg, #0a0f1e 0%, #111827 40%, #162d52 100%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
  }
}

/* ===== GLOBAL STYLES ===== */
h1, h2, h3 { font-family: var(--font-display); }
h1 { font-size: var(--text-2xl); font-weight: 700; }
h2 { font-size: var(--text-xl); font-weight: 700; }
h3 { font-size: var(--text-lg); font-weight: 600; }

a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); }

/* ===== NAVIGATION ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.nav--scrolled { box-shadow: var(--shadow-sm); }
.nav__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { display: flex; align-items: center; gap: var(--space-2); text-decoration: none; color: var(--color-text); }
.nav__logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.nav__logo-text { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.2; }
.nav__logo-text span { color: var(--color-accent); }
.nav__logo-img { height: 27px; width: auto; flex-shrink: 0; }
[data-theme="light"] .nav__logo-img { filter: brightness(0) saturate(100%); }
[data-theme="dark"] .nav__logo-img { filter: none; }
/* Footer logo follows theme - dark in light mode, white in dark mode */

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}
.nav__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--transition-interactive);
}
.nav__links a:hover { color: var(--color-text); }
.nav__links a.active { color: var(--color-text); font-weight: 600; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--transition-interactive), transform var(--transition-interactive);
}
.nav__cta:hover { background: var(--color-accent-hover); color: #fff; transform: translateY(-1px); }

/* Mobile nav */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-bg);
  z-index: 99;
  padding: var(--space-16) var(--space-6);
  flex-direction: column;
  gap: var(--space-6);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: var(--text-lg);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
}
.nav__mobile-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-size: 28px;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta-desktop { display: none; }
  .nav__toggle { display: flex; }
}

/* Theme toggle */
.theme-toggle {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: var(--space-1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.theme-toggle:hover { color: var(--color-text); }

/* ===== HERO ===== */
.hero {
  background: var(--hero-gradient);
  color: #ffffff;
  padding: clamp(var(--space-16), 10vw, var(--space-32)) var(--space-4);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(201,151,59,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: rgba(201,151,59,0.15);
  border: 1px solid rgba(201,151,59,0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}
.hero h1 {
  font-size: var(--text-3xl);
  color: #ffffff;
  max-width: 14ch;
  margin-bottom: var(--space-6);
  line-height: 1.05;
}
.hero h1 em {
  color: var(--color-accent);
  font-style: normal;
}
.hero__subtitle {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.75);
  max-width: 52ch;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-interactive);
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--color-accent);
  color: #fff;
}
.btn--primary:hover { background: var(--color-accent-hover); color: #fff; transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn--outline:hover { border-color: rgba(255,255,255,0.6); color: #fff; background: rgba(255,255,255,0.05); }
.btn--dark {
  background: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
}
.btn--dark:hover { background: var(--color-primary-hover); color: #fff; }
.btn--accent-outline {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}
.btn--accent-outline:hover { background: var(--color-accent); color: #fff; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
  padding: var(--space-8) var(--space-4);
}
.stats-bar__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}
.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent);
  display: block;
}
.stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
}

/* ===== SECTION STYLES ===== */
.section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-4);
}
.section--alt { background: var(--color-surface-2); }
.section__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}
.section__header {
  text-align: center;
  max-width: 48ch;
  margin: 0 auto var(--space-12);
}
.section__label {
  font-size: var(--text-xs);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.section__header h2 { margin-bottom: var(--space-4); }
.section__header p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

/* ===== CARD GRID ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: var(--space-6);
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,151,59,0.1);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  color: var(--color-accent);
}
.card h3 { margin-bottom: var(--space-3); }
.card p { color: var(--color-text-muted); font-size: var(--text-sm); }

/* ===== TWO COLUMN LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

@media (max-width: 768px) {
  .two-col, .two-col--reverse { grid-template-columns: 1fr; }
}

.two-col__content h2 { margin-bottom: var(--space-4); }
.two-col__content p { color: var(--color-text-muted); margin-bottom: var(--space-6); }
.two-col__visual {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Feature list inside content sections */
.feature-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background: var(--color-accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
  gap: var(--space-6);
}
.testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
}
.testimonial__quote {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  font-style: italic;
}
.testimonial__quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-accent);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-2);
}
.testimonial__author { font-weight: 600; font-size: var(--text-sm); }
.testimonial__role { color: var(--color-text-muted); font-size: var(--text-xs); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--hero-gradient);
  color: #ffffff;
  padding: clamp(var(--space-12), 8vw, var(--space-20)) var(--space-4);
  text-align: center;
}
.cta-section__inner {
  max-width: var(--content-default);
  margin: 0 auto;
}
.cta-section h2 { color: #ffffff; margin-bottom: var(--space-4); }
.cta-section p { color: rgba(255,255,255,0.75); margin: 0 auto var(--space-8); max-width: 52ch; }
.cta-section .btn--primary { font-size: var(--text-base); padding: var(--space-4) var(--space-8); }

/* ===== PAGE HERO (interior pages) ===== */
.page-hero {
  background: var(--hero-gradient);
  color: #ffffff;
  padding: clamp(var(--space-12), 8vw, var(--space-20)) var(--space-4);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(201,151,59,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__inner {
  max-width: var(--content-default);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: var(--text-2xl);
  color: #ffffff;
  margin-bottom: var(--space-4);
}
.page-hero p {
  color: rgba(255,255,255,0.75);
  max-width: 52ch;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding: var(--space-12) var(--space-4) var(--space-8);
}
.footer__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}
.footer__brand p { color: var(--color-text-muted); font-size: var(--text-sm); margin-top: var(--space-3); max-width: 32ch; }
.footer__col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }
.footer__col a { color: var(--color-text-muted); font-size: var(--text-sm); text-decoration: none; }
.footer__col a:hover { color: var(--color-text); }

.footer__bottom {
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer__bottom p { color: var(--color-text-faint); font-size: var(--text-xs); }
.footer__social { display: flex; gap: var(--space-4); }
.footer__social a { color: var(--color-text-muted); transition: color var(--transition-interactive); }
.footer__social a:hover { color: var(--color-accent); }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ===== ABOUT PAGE ===== */
.about-intro {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-10);
  align-items: start;
}
.about-intro__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-intro__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-intro__bio h2 { margin-bottom: var(--space-4); }
.about-intro__bio p { color: var(--color-text-muted); margin-bottom: var(--space-4); }
.about-intro__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.credential-badge {
  display: inline-flex;
  padding: var(--space-1) var(--space-3);
  background: rgba(201,151,59,0.1);
  border: 1px solid rgba(201,151,59,0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .about-intro { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .about-intro__photo { max-width: 220px; }
  .about-intro__credentials { justify-content: center; }
}

/* ===== BLOG INDEX ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: var(--space-6);
}
.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
  text-decoration: none;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--color-text); }
.blog-card__img {
  aspect-ratio: 16/9;
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
  font-size: var(--text-xs);
  overflow: hidden;
}
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: var(--space-5); flex: 1; display: flex; flex-direction: column; }
.blog-card__tag {
  font-size: var(--text-xs);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.blog-card__title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-2); line-height: 1.3; }
.blog-card__excerpt { color: var(--color-text-muted); font-size: var(--text-sm); flex: 1; }
.blog-card__meta { margin-top: var(--space-4); font-size: var(--text-xs); color: var(--color-text-faint); }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
}
.contact-info { display: flex; flex-direction: column; gap: var(--space-6); }
.contact-item { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-item__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,151,59,0.1);
  border-radius: var(--radius-md);
  color: var(--color-accent);
}
.contact-item h3 { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--space-1); }
.contact-item p { color: var(--color-text-muted); font-size: var(--text-sm); }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-1);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: var(--text-sm);
  transition: border-color var(--transition-interactive);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  outline: none;
}
.form-group textarea { min-height: 120px; resize: vertical; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }

/* Scroll animations — progressive enhancement */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: var(--space-6);
  counter-reset: step;
}
.process-step {
  counter-increment: step;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
}
.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-4);
}
.process-step h3 { margin-bottom: var(--space-2); font-size: var(--text-base); }
.process-step p { color: var(--color-text-muted); font-size: var(--text-sm); }

/* ===== FIXES: Sarah's formatting feedback ===== */

/* Card boxes: vertically center content */
.card-grid { align-items: stretch; }
.card { display: flex; flex-direction: column; }
.card p { flex: 1; }

/* Stat cards: center text vertically */
.card[style*="text-align: center"] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Footer: improve text contrast */
.footer__col a { color: var(--color-text); }
.footer__col h4 { color: var(--color-text); }
.footer__brand p { color: var(--color-text); }
.footer__bottom p { color: var(--color-text-muted); }

/* Mobile: fix two-col cramped layout */
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: var(--space-8); }
  .two-col--reverse { direction: ltr; }
  .two-col--reverse .two-col__content { order: 1; }
  .two-col--reverse .two-col__visual { order: 2; }
  .feature-list li { display: block; }
  .feature-list li strong { display: block; margin-bottom: var(--space-1); }
}

/* CRITICAL NAV FIX */
body .nav,html .nav,.nav{background:#0b1d3a !important;backdrop-filter:blur(16px) !important}
body .nav .nav__links a,html .nav .nav__links a,.nav .nav__links a,.nav__links a{color:#fff !important;opacity:.8 !important}
body .nav .nav__links a:hover,.nav .nav__links a:hover,.nav__links a:hover{color:#fff !important;opacity:1 !important}
body .nav .nav__links a.active,.nav .nav__links a.active,.nav__links a.active{color:#fff !important;opacity:1 !important;font-weight:600 !important}
body .nav .nav__logo-img,.nav .nav__logo-img,.nav__logo-img{filter:none !important}
.nav__toggle span{background:#fff !important}

.ekit-template-content-header{background:#0b1d3a !important}
.ekit-template-content-header .elementor-section{background:#0b1d3a !important}
.ekit-menu-nav-link{color:rgba(255,255,255,0.75) !important}
.ekit-menu-nav-link:hover{color:#fff !important}
.ekit-menu-nav-link.active,.current-menu-item .ekit-menu-nav-link{color:#fff !important}
.elementskit-navbar-nav .nav-item a{color:rgba(255,255,255,0.75) !important}
.elementskit-navbar-nav .nav-item a:hover,.elementskit-navbar-nav .current-menu-item a{color:#fff !important}
.elementskit-menu-hamburger-icon{background-color:#fff !important}
