/* ============================================================
   ELMONT WEALTH — Design System
   Inspired by JPMorgan AM × Pentagram editorial rigour
   ============================================================ */

/* SF Pro system font — no external import needed */

/* ── Token Layer ── */
:root {
  /* Core palette */
  --bg:          #070b16;
  --accent:      #0092f9;
  --cream:       #f8f8f6;

  /* Surfaces */
  --s1:          #0d1220;
  --s2:          #111827;
  --s3:          #1c2840;

  /* Text hierarchy */
  --t1:          #f8f8f6;
  --t2:          rgba(248,248,246,0.68);
  --t3:          rgba(248,248,246,0.42);
  --t4:          rgba(248,248,246,0.20);

  /* Accent variants */
  --a-dim:       rgba(0,146,249,0.10);
  --a-mid:       rgba(0,146,249,0.22);
  --a-solid:     #0092f9;

  /* Rules / borders */
  --rule:        rgba(248,248,246,0.08);
  --rule-2:      rgba(248,248,246,0.15);
  --rule-accent: rgba(0,146,249,0.35);

  /* Semantic */
  --green:       #5cb87a;
  --red:         #d9615e;
  --amber:       #d4a843;

  /* Structure */
  --nav-h:       112px;
  --nav-top-h:   40px;
  --max-w:       1340px;
  --pad-h:       120px;
  --pad-h-sm:    72px;
  --col:         48px;

  /* Shape — pill for buttons only */
  --pill:        100px;
  --r0:          0px;
}

/* ── Light theme overrides for public pages ── */
body:not(.dash-body) {
  --bg:     #ffffff;
  --t1:     #070b16;
  --t2:     rgba(7,11,22,0.65);
  --t3:     rgba(7,11,22,0.45);
  --t4:     rgba(7,11,22,0.28);
  --s1:     #f5f5f5;
  --s2:     #ebebeb;
  --s3:     #e4e4e4;
  --rule:   rgba(7,11,22,0.08);
  --rule-2: rgba(7,11,22,0.14);
}
body:not(.dash-body) .form-input {
  background: #f8f8f8;
  color: #070b16;
}
body:not(.dash-body) .form-input::placeholder { color: rgba(7,11,22,0.35); }

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
@keyframes ew-fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ew-spin { to { transform: rotate(360deg); } }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  background: #ffffff;
  color: #070b16;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  animation: ew-fadein 0.45s ease both;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ── Type Scale — SF Pro ── */
.display {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(52px, 6.5vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.02em;
}

h1, .h1 {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(38px, 4.8vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3, .h3 {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h4, .h4 {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
}

.eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--t3);
}

/* ── Layout ── */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--col);
}

.section      { padding: var(--pad-h)    0; }
.section-sm   { padding: var(--pad-h-sm) 0; }
.section-xs   { padding: 48px 0; }
.ruled        { border-top: 1px solid var(--rule); }

/* ── Navigation — Two-level (JPMorgan pattern) ── */

/* Top utility bar */
.nav-top {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-top-h);
  background: #070b16;
  z-index: 901;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-top-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--col);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-top-links {
  display: flex;
  align-items: stretch;
}
.nav-top-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 400;
  color: #f7f7f7;
  padding: 0 14px;
  height: var(--nav-top-h);
  transition: color 0.18s;
  cursor: pointer;
  white-space: nowrap;
}
.nav-top-btn:hover { color: #ffffff; }
.nav-top-btn i { font-size: 8px; opacity: 0.6; transition: transform 0.2s; }
.nav-top-btn.open i { transform: rotate(180deg); }

.nav-top-wrap {
  position: relative;
}
.nav-top-drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #0a0f1e;
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--accent);
  min-width: 220px;
  z-index: 9999;
  display: none;
  padding: 8px 0;
}
.nav-top-wrap.open .nav-top-drop-menu { display: block; }
.nav-top-drop-item {
  display: block;
  padding: 10px 18px;
  font-size: 12.5px;
  color: rgba(247,247,247,0.7);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-top-drop-item:hover { color: #ffffff; background: rgba(0,146,249,0.08); }
.nav-top-drop-label {
  display: block;
  padding: 8px 18px 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
}

.nav-top-right {
  display: flex;
  align-items: stretch;
}
.nav-top-action {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 400;
  color: #f7f7f7;
  padding: 0 16px;
  height: var(--nav-top-h);
  border-left: 1px solid rgba(255,255,255,0.06);
  transition: color 0.18s;
  white-space: nowrap;
}
.nav-top-action:hover { color: #ffffff; }
.nav-top-action .ext-icon {
  font-size: 9px;
  opacity: 0.55;
}

/* Main navigation bar */
.nav {
  position: fixed;
  top: var(--nav-top-h);
  left: 0; right: 0;
  height: 72px;
  background: #ffffff;
  border-bottom: 1px solid rgba(7,11,22,0.10);
  z-index: 900;
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s ease;
}
.nav.filled {
  box-shadow: 0 2px 20px rgba(7,11,22,0.08);
}

.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--col);
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
}
.nav-logo-img {
  height: 22px;
  width: auto;
  display: block;
}
.nav-logo-name {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--t1);
}
.nav-logo-sub {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  padding: 6px 14px;
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(7,11,22,0.60);
  position: relative;
  transition: color 0.18s;
  white-space: nowrap;
}
.nav-link:hover { color: #070b16; }
.nav-link.active { color: #070b16; }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 14px; right: 14px;
  height: 2px;
  background: var(--accent);
}

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -8px;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid rgba(7,11,22,0.10);
  box-shadow: 0 8px 32px rgba(7,11,22,0.10);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-drop:hover .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.drop-item {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(7,11,22,0.65);
  border-left: 2px solid transparent;
  transition: all 0.15s;
}
.drop-item:hover {
  color: #070b16;
  border-left-color: var(--accent);
  background: rgba(0,146,249,0.05);
  padding-left: 18px;
}

/* Nav right — search icon only */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(7,11,22,0.50);
  font-size: 15px;
  transition: color 0.18s;
  border-radius: 50%;
}
.nav-search-btn:hover { color: #070b16; background: rgba(7,11,22,0.04); }

/* Mobile toggle */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #070b16;
  transition: 0.2s;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--pill);
  padding: 11px 26px;
  transition: all 0.22s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
}
.btn-primary:hover {
  background: #0080d9;
  border-color: #0080d9;
  color: #ffffff;
}

/* For dark backgrounds */
.btn-outline {
  background: transparent;
  border: 1px solid rgba(247,247,247,0.28);
  color: #f7f7f7;
}
.btn-outline:hover {
  border-color: rgba(247,247,247,0.65);
  color: #ffffff;
}

/* For light backgrounds */
.btn-outline-dark {
  background: transparent;
  border: 1px solid rgba(7,11,22,0.32);
  color: #070b16;
}
.btn-outline-dark:hover {
  border-color: #070b16;
  color: #070b16;
  background: rgba(7,11,22,0.04);
}

.btn-cream {
  background: var(--cream);
  color: var(--bg);
  border: 1px solid var(--cream);
}
.btn-cream:hover {
  background: transparent;
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--accent);
  padding: 0;
  border-radius: 0;
  font-size: 13.5px;
  letter-spacing: 0.02em;
}
.btn-ghost:hover { color: var(--cream); }
.btn-ghost .arrow { transition: transform 0.2s; display: inline-block; margin-left: 4px; }
.btn-ghost:hover .arrow { transform: translateX(4px); }

.btn-sm { padding: 8px 20px; font-size: 12.5px; }
.btn-lg { padding: 14px 36px; font-size: 14px; }

/* ── Hero ── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 0;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }

/* Gradient overlay — dark at top+bottom, shows image in center */
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(7,11,22,0.90) 0%,
      rgba(7,11,22,0.20) 35%,
      rgba(7,11,22,0.20) 60%,
      rgba(7,11,22,0.95) 100%
    );
}

.hero-body {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 120px) 0 80px;
}

.hero-rule {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 24px;
}

.hero h1 { color: var(--cream); max-width: 820px; }
.hero h1 em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: 17px;
  color: var(--t2);
  max-width: 540px;
  margin: 24px 0 40px;
  font-weight: 300;
  line-height: 1.7;
}

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

/* Scroll indicator */
.hero-scroll-line {
  position: absolute;
  bottom: 0;
  left: var(--col);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  z-index: 2;
}

/* ── Stat strip ── */
.stat-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--s1);
}
.stat-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 40px var(--col);
  border-right: 1px solid var(--rule);
  position: relative;
}
.stat-item:last-child { border-right: none; }
/* stat-item accent bar removed */

.stat-num {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}
.stat-num sup { font-size: 0.42em; vertical-align: super; letter-spacing: 0; }
.stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--t3);
}

/* ── Section anatomy ── */
.section-eyebrow { margin-bottom: 20px; }
.section-title { margin-bottom: 20px; }
.section-lead {
  font-size: 17px;
  color: var(--t2);
  font-weight: 300;
  line-height: 1.75;
  max-width: 580px;
}

/* ── Two-col layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--col);
  align-items: center;
}
.two-col.gap-lg { gap: 80px; }

/* ── Image block (hard-edge) ── */
.img-block {
  background: #000;
  overflow: hidden;
  position: relative;
}
.img-block img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-block::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248,248,246,0.15);
  pointer-events: none;
}

/* Accent bar on image block */
.img-block-accent {
  position: absolute;
  top: 0; left: 0;
  width: 2px;
  height: 80px;
  background: var(--accent);
}

/* ── Card system ── */
.card {
  background: var(--s1);
  border: 1px solid var(--rule);
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--rule-2); }

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.35s ease;
}
.card:hover::before { width: 100%; }

.card-num {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 20px;
}

.card h4 {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
}

.card p {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.75;
}

/* ── Grid systems ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; }
.grid-3-gap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* Services tile grid — bordered */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.tile {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 44px 36px;
  background: var(--bg);
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.tile:hover { background: var(--s1); }
.tile::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px;
  height: 0;
  background: var(--accent);
  transition: height 0.35s;
}
.tile:hover::after { height: 100%; }

.tile-num {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}
.tile h3 {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 14px;
}
.tile p { font-size: 14px; color: var(--t2); line-height: 1.72; }
.tile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  transition: gap 0.2s;
}
.tile-link:hover { gap: 10px; }

/* ── Horizontal rule divider ── */
.hr { height: 1px; background: var(--rule); margin: 0; border: none; }
.hr-accent { height: 1px; background: var(--accent); }

/* ── Pull quote / statement ── */
.statement {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.35;
  color: var(--cream);
  padding-left: 28px;
  border-left: 2px solid var(--accent);
}

/* ── Testimonial ── */
.testimonial {
  padding: 40px;
  border: 1px solid var(--rule);
  background: var(--s1);
}
.testimonial-text {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.6;
  margin-bottom: 28px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.t-initial {
  width: 40px;
  height: 40px;
  background: var(--a-dim);
  border: 1px solid var(--rule-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  color: var(--accent);
}
.t-name { font-size: 14px; font-weight: 500; }
.t-title { font-size: 12px; color: var(--t3); margin-top: 2px; }

/* ── Insight / article cards ── */
.article-card {
  border-top: 1px solid var(--rule);
  padding: 28px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  transition: 0.15s;
}
.article-card:hover { border-top-color: var(--accent); }
.article-cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.article-title {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 8px;
}
.article-sub { font-size: 13.5px; color: var(--t2); line-height: 1.65; }
.article-date { font-size: 11px; color: var(--t3); white-space: nowrap; margin-top: 4px; }

/* ── CTA band ── */
.cta-band {
  background: var(--s1);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 100px 0;
  text-align: center;
}
.cta-band h2 {
  max-width: 680px;
  margin: 0 auto 18px;
}
.cta-band p {
  font-size: 16px;
  color: var(--t2);
  max-width: 480px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.75;
}
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── Footer ── */
.footer {
  background: #070b16;
  border-top: 1px solid rgba(255,255,255,0.06);
  --rule:   rgba(255,255,255,0.08);
  --rule-2: rgba(255,255,255,0.12);
  --t3:     rgba(247,247,247,0.50);
  --t4:     rgba(247,247,247,0.28);
  --bg:     rgba(255,255,255,0.04);
}

.footer-top {
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: 280px repeat(4, 1fr);
  gap: var(--col);
  border-bottom: 1px solid var(--rule);
}

.footer-brand p {
  font-size: 13.5px;
  color: #f7f7f7;
  line-height: 1.75;
  margin: 18px 0 24px;
}

.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 34px;
  height: 34px;
  border: 1px solid var(--rule-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--t3);
  transition: 0.2s;
}
.footer-social:hover { color: var(--accent); border-color: var(--rule-accent); }

.footer-col-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  font-size: 13.5px;
  color: #f7f7f7;
  transition: color 0.15s;
}
.footer-col a:hover { color: #ffffff; }

.footer-contact {
  margin-top: 20px;
  padding: 14px;
  border: 1px solid var(--rule);
  background: var(--bg);
}
.footer-contact .label { margin-bottom: 6px; display: block; }
.footer-contact a { font-size: 13px; color: var(--accent); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a { font-size: 11.5px; color: rgba(247,247,247,0.55); transition: color 0.15s; }
.footer-legal a:hover { color: #f7f7f7; }
.footer-copy { font-size: 11.5px; color: rgba(247,247,247,0.55); }

.footer-disclaimer {
  border-top: 1px solid var(--rule);
  padding: 20px 0;
  font-size: 11px;
  color: rgba(247,247,247,0.55);
  line-height: 1.75;
}
.footer-disclaimer a { color: var(--t3); text-decoration: underline; text-underline-offset: 2px; }

/* ── Forms ── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  background: var(--s1);
  border: 1px solid var(--rule-2);
  border-radius: 0;
  padding: 13px 16px;
  font-size: 14.5px;
  color: var(--cream);
  outline: none;
  transition: border-color 0.2s;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
}
.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--t4); }
textarea.form-input { resize: vertical; min-height: 110px; }
select.form-input { appearance: none; cursor: pointer; }

/* ── Alert ── */
.alert {
  padding: 13px 18px;
  border-left: 2px solid;
  font-size: 13.5px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: rgba(92,184,122,0.08); border-color: var(--green); color: var(--green); }
.alert-error   { background: rgba(217,97,94,0.08);  border-color: var(--red);   color: var(--red);   }
.alert-info    { background: var(--a-dim); border-color: var(--accent); color: var(--accent); }

/* ── Accordion ── */
.accordion-item { border-bottom: 1px solid var(--rule); }
.accordion-item:first-child { border-top: 1px solid var(--rule); }

.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--cream);
  text-align: left;
  gap: 20px;
  transition: color 0.15s;
}
.accordion-btn:hover { color: var(--accent); }

.accordion-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 1px solid var(--rule-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  transition: transform 0.25s;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }

.accordion-body {
  display: none;
  padding: 0 0 22px;
  font-size: 14.5px;
  color: var(--t2);
  line-height: 1.78;
}
.accordion-item.open .accordion-body { display: block; }

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 72px;
  border-bottom: 1px solid var(--rule);
  background: var(--s1);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,146,249,0.03));
  pointer-events: none;
}
.page-hero .eyebrow { margin-bottom: 16px; display: block; }
.page-hero h1 { max-width: 700px; margin-bottom: 20px; }
.page-hero p { font-size: 17px; color: var(--t2); max-width: 560px; font-weight: 300; line-height: 1.75; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--t4);
  margin-bottom: 28px;
}
.breadcrumb a:hover { color: var(--t2); }
.breadcrumb span { color: var(--accent); }

/* ── Team card ── */
.team-card { overflow: hidden; }
.team-photo { background: #000; aspect-ratio: 3/4; position: relative; }
.team-info { padding: 20px 0; border-top: 2px solid var(--rule); }
.team-info:hover { border-top-color: var(--accent); }
.team-role { font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.team-name { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif; font-size: 20px; font-weight: 400; margin-bottom: 8px; }
.team-bio { font-size: 13px; color: var(--t3); line-height: 1.65; }

/* ── Approach steps ── */
.step-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.step-row:first-child { border-top: 1px solid var(--rule); }
.step-n {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 40px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
}
.step-body h4 {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
  margin-top: 6px;
}
.step-body p { font-size: 14px; color: var(--t2); line-height: 1.72; }

/* ── Badge / tag ── */
.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--rule-accent);
  color: var(--accent);
  background: var(--a-dim);
}

/* ── Utilities ── */
.text-accent { color: var(--accent); }
.text-cream  { color: var(--cream); }
.text-muted  { color: var(--t3); }
.text-center { text-align: center; }
.italic { font-style: italic; }
.flex { display: flex; align-items: center; }
.gap-sm { gap: 12px; }
.gap-md { gap: 20px; }
.gap-lg { gap: 32px; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.hidden { display: none !important; }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Divider line with label ── */
.section-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}
.section-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* ── no-scroll ── */
.no-scroll { overflow: hidden; }

/* Always hidden — only revealed inside .nav-actions.open on mobile */
.nav-mobile-cta { display: none; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  :root { --col: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-3-gap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --pad-h: 80px; --pad-h-sm: 52px; --col: 24px; }
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .two-col, .two-col.gap-lg { grid-template-columns: 1fr; }
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .tile-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-3-gap, .grid-4 { grid-template-columns: 1fr; }

  /* Mobile nav open state */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: #070b16;
    border-top: 1px solid rgba(248,248,246,0.08);
    padding: 32px 24px 180px;
    gap: 0;
    overflow-y: auto;
    z-index: 800;
  }

  /* Nav links — larger, spaced, left-aligned */
  .nav-links.open .nav-link {
    color: rgba(248,248,246,0.75);
    font-size: 18px;
    font-weight: 300;
    letter-spacing: -0.01em;
    padding: 17px 0;
    border-bottom: 1px solid rgba(248,248,246,0.07);
    text-align: left;
  }
  .nav-links.open .nav-link:hover { color: #f8f8f6; }
  .nav-links.open .nav-link.active { color: var(--accent); }
  .nav-links.open .nav-link.active::after { display: none; }

  /* Dropdown items flat inside mobile menu */
  .nav-links.open .nav-drop-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: none;
    border: none;
    padding: 4px 0 12px 0;
    min-width: 0;
  }
  .nav-links.open .drop-item {
    color: rgba(248,248,246,0.38);
    font-size: 14px;
    font-weight: 300;
    padding: 8px 0;
    border-left: none;
    border-bottom: none;
    display: block;
  }
  .nav-links.open .drop-item:hover {
    color: rgba(248,248,246,0.70);
    background: none;
    border-left: none;
    padding-left: 0;
  }

  /* Bottom portal CTA — hidden by default, shown in open nav-actions */
  .nav-mobile-cta { display: none; }

  /* Nav actions bottom strip with portal CTA */
  .nav-actions.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #070b16;
    border-top: 1px solid rgba(248,248,246,0.08);
    padding: 20px 24px 28px;
    z-index: 801;
  }
  .nav-actions.open .nav-mobile-cta {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 14px;
  }
  .nav-mobile-tagline {
    display: flex;
    flex-direction: column;
    font-size: 22px;
    font-weight: 300;
    color: rgba(248,248,246,0.90);
    line-height: 1.25;
    letter-spacing: -0.02em;
  }
  .nav-mobile-tagline span:last-child {
    color: rgba(248,248,246,0.45);
  }
  .nav-mobile-portal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: gap 0.2s;
  }
  .nav-mobile-portal:hover { gap: 12px; }
  .nav-mobile-portal i { font-size: 11px; }

  /* Hamburger → X animation when open */
  .nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 600px) {
  .stat-strip-inner { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
