/* ============================================================
   CRESCENDO MARKETS LLC — DESIGN SYSTEM
   Dark luxury, institutional, Wall Street authority
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --navy:        #0B1628;
  --navy-mid:    #112040;
  --navy-light:  #1A2F55;
  --gold:        #C9A84C;
  --gold-light:  #E2C47A;
  --gold-dim:    #8A6E2F;
  --white:       #F5F3EE;
  --white-dim:   #B8B4AC;
  --white-faint: #6B6860;
  --border:      rgba(201,168,76,0.18);
  --border-soft: rgba(245,243,238,0.08);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', sans-serif;

  --max-w: 1280px;
  --section-pad: 120px 40px;
  --radius: 2px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── UTILITY ────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.gold { color: var(--gold); }
.section-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 24px;
}
.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 24px 0;
}
.divider-center { margin: 24px auto; }

/* ── NAVIGATION ─────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), border-bottom var(--transition);
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(11,22,40,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.nav-logo img {
  height: 54px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  padding: 10px 24px;
  transition: background var(--transition), color var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold); color: var(--navy) !important; }

.nav-login {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 20px;
  background: transparent;
  transition: all 0.3s;
  text-decoration: none;
  margin-right: 12px;
}
.nav-login::after { display: none !important; }
.nav-login:hover {
  color: white;
  border-color: rgba(255,255,255,0.7);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

/* ── HERO ────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  animation: kenBurns 20s ease-out forwards;
  z-index: 0;
}
@keyframes kenBurns {
  0%   { transform: scale(1);    transform-origin: center center; }
  100% { transform: scale(1.08); transform-origin: center center; }
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(11,22,40,0.92) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(201,168,76,0.04) 0%, transparent 60%),
    linear-gradient(135deg, rgba(11,22,40,0.85) 0%, rgba(13,30,58,0.80) 50%, rgba(11,22,40,0.85) 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.hero-line-left {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 40px 100px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  max-width: 820px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s 0.5s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--white-dim);
  max-width: 540px;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.7s forwards;
}
.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.9s forwards;
}
.btn-primary {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  padding: 16px 40px;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  display: inline-block;
}
.btn-primary:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-secondary {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
  padding: 16px 40px;
  border: 1px solid var(--border-soft);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
  display: inline-block;
}
.btn-secondary:hover {
  border-color: var(--white-dim);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-credentials {
  position: absolute;
  bottom: 48px;
  left: 40px;
  right: 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s forwards;
}
.hero-cred-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-cred-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.hero-cred-text {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-faint);
}
.hero-cred-sep {
  width: 1px; height: 32px;
  background: var(--border-soft);
}
.hero-scroll-indicator {
  position: absolute;
  right: 48px;
  bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}
.hero-scroll-indicator span {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-faint);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s 2s infinite;
}

/* ── CREDENTIAL BAR ─────────────────────────────────────── */
#cred-bar {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 40px;
}
.cred-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.cred-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cred-icon {
  width: 28px; height: 28px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cred-icon svg { width: 13px; height: 13px; fill: var(--gold); }
.cred-text-wrap { display: flex; flex-direction: column; gap: 1px; }
.cred-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-faint);
}
.cred-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
}
.cred-sep { width: 1px; height: 40px; background: var(--border-soft); }

/* ── SECTION STANDARDS ──────────────────────────────────── */
.section { padding: var(--section-pad); }
.section-dark { background: var(--navy); }
.section-mid { background: var(--navy-mid); }
.section-header { margin-bottom: 72px; }
.section-header-center { text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
}
.section-title em { font-style: italic; color: var(--gold-light); }
.section-body {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--white-dim);
  max-width: 580px;
}

/* ── ABOUT SECTION ──────────────────────────────────────── */
#about-intro {
  padding: var(--section-pad);
  background: var(--navy);
}
.about-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.about-left {}
.about-right {}
.about-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 56px;
}
.about-stat {
  background: var(--navy-mid);
  border: 1px solid var(--border-soft);
  padding: 32px 28px;
  transition: border-color var(--transition);
}
.about-stat:hover { border-color: var(--border); }
.about-stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.about-stat-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-faint);
}
.about-right-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.about-pillar {
  border-left: 1px solid var(--border);
  padding-left: 28px;
  transition: border-color var(--transition);
}
.about-pillar:hover { border-color: var(--gold); }
.about-pillar-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}
.about-pillar p {
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.8;
}

/* ── SERVICES ───────────────────────────────────────────── */
#services {
  padding: var(--section-pad);
  background: var(--navy-mid);
}
.services-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
}
.service-card {
  background: var(--navy);
  border: 1px solid var(--border-soft);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { border-color: var(--border); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(201,168,76,0.12);
  line-height: 1;
  margin-bottom: 24px;
  transition: color var(--transition);
}
.service-card:hover .service-num { color: rgba(201,168,76,0.2); }
.service-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}
.service-body {
  font-size: 0.82rem;
  line-height: 1.85;
  color: var(--white-dim);
}
.service-card-full {
  grid-column: span 3;
  background: var(--navy-light);
  border: 1px solid var(--border);
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.service-card-full::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
}
.service-full-header { grid-column: 1; }
.service-full-body {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.service-sub-item {}
.service-sub-title {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.service-sub-body {
  font-size: 0.8rem;
  color: var(--white-dim);
  line-height: 1.8;
}

/* ── TRANSACTIONS ───────────────────────────────────────── */
.transactions-inner { max-width: var(--max-w); margin: 0 auto; }

/* Featured Tombstones Section */
.featured-tombstones {
  padding: 80px 0;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.featured-tombstones .section-label {
  margin-bottom: 12px;
}
.featured-tombstones .section-intro {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 48px;
  max-width: 560px;
}

/* Tombstone Cards */
.tombstone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tombstone {
  border: 1px solid var(--gold);
  background: var(--navy);
  padding: 32px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.tombstone:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.12);
}
.tombstone-firm {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.tombstone-role {
  font-size: 0.7rem;
  color: var(--white-faint);
  margin-bottom: 20px;
}
.tombstone-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 20px;
  opacity: 0.4;
}
.tombstone-company {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}
.tombstone-amount {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 8px;
}
.tombstone-meta {
  font-size: 0.68rem;
  color: var(--white-faint);
  letter-spacing: 0.03em;
}

/* Transaction Experience Section */
.tx-categories {
  padding: 80px 0;
}
.tx-categories .section-label {
  margin-bottom: 8px;
}
.tx-categories h2 {
  margin-bottom: 56px;
}

/* Transaction Category & Deal Grid */
.tx-category {
  margin-bottom: 64px;
}
.tx-category:last-child {
  margin-bottom: 0;
}
.tx-category-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.tx-cat-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.tx-cat-line {
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}
.tx-deal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
}
.tx-deal-cell {
  background: var(--navy);
  border: 1px solid var(--border-soft);
  padding: 20px 16px;
  transition: border-color var(--transition), background var(--transition);
}
.tx-deal-cell:hover {
  border-color: var(--gold);
  background: var(--navy-mid);
}
.tx-deal-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 4px;
}
.tx-deal-role {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--gold);
}

/* Tombstone grid responsive */
@media (max-width: 1024px) {
  .tombstone-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .tombstone-grid {
    grid-template-columns: 1fr;
  }
}

/* Deal grid responsive */
@media (max-width: 1200px) {
  .tx-deal-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .tx-deal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .tx-deal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Transaction Disclaimer */
.tx-disclaimer {
  padding: 36px 40px;
  border: 1px solid var(--border-soft);
  background: var(--navy-mid);
}
.tx-disclaimer p {
  font-size: 0.75rem;
  color: var(--white-faint);
  line-height: 1.8;
}

/* ── GLOBAL PRESENCE ────────────────────────────────────── */
#presence {
  padding: var(--section-pad);
  background: var(--navy-mid);
}
.presence-inner { max-width: var(--max-w); margin: 0 auto; }
.presence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
}
.presence-card {
  position: relative;
  overflow: hidden;
  height: 360px;
  cursor: default;
}
.presence-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  filter: grayscale(60%) brightness(0.4);
}
.presence-card:hover .presence-card-bg {
  transform: scale(1.05);
  filter: grayscale(30%) brightness(0.5);
}
.presence-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,22,40,0.95) 0%, rgba(11,22,40,0.2) 100%);
}
.presence-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px;
}
.presence-city {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.presence-detail {
  font-size: 0.75rem;
  color: var(--white-dim);
  line-height: 1.7;
}
.presence-card-top {
  position: absolute;
  top: 32px; left: 40px;
}
.presence-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}
.presence-hq-badge {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 3px 10px;
}

/* ── CONTACT ────────────────────────────────────────────── */
#contact {
  padding: var(--section-pad);
  background: var(--navy);
}
.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.contact-info { display: flex; flex-direction: column; gap: 40px; }
.contact-info-block {}
.contact-info-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.contact-info-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.5;
}
.contact-info-sub {
  font-size: 0.8rem;
  color: var(--white-dim);
  margin-top: 4px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-faint);
}
.form-input,
.form-textarea,
.form-select {
  background: var(--navy-mid);
  border: 1px solid var(--border-soft);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  padding: 14px 18px;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
  border-radius: var(--radius);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus { border-color: var(--gold); }
.form-input::placeholder,
.form-textarea::placeholder { color: var(--white-faint); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-disclaimer {
  font-size: 0.7rem;
  color: var(--white-faint);
  line-height: 1.6;
}
.form-submit {
  align-self: flex-start;
}

/* ── FOOTER ─────────────────────────────────────────────── */
#footer {
  background: #070F1C;
  border-top: 1px solid var(--border);
  padding: 72px 40px 40px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 40px;
}
.footer-brand {}
.footer-logo { height: 52px; width: auto; margin-bottom: 20px; }
.footer-tagline {
  font-size: 0.8rem;
  color: var(--white-faint);
  line-height: 1.8;
  max-width: 280px;
  margin-bottom: 28px;
}
.footer-reg-badges { display: flex; flex-direction: column; gap: 8px; }
.footer-badge {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-badge::before {
  content: '';
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.footer-nav-col {}
.footer-nav-title {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 20px;
}
.footer-nav-col a {
  display: block;
  font-size: 0.8rem;
  color: var(--white-faint);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-nav-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-legal {
  font-size: 0.7rem;
  color: var(--white-faint);
  line-height: 1.7;
  max-width: 700px;
}
.footer-copy {
  font-size: 0.7rem;
  color: var(--white-faint);
  white-space: nowrap;
}
.footer-finra-link {
  color: var(--gold);
  transition: opacity var(--transition);
}
.footer-finra-link:hover { opacity: 0.7; }

/* ── PAGE HERO (inner pages) ────────────────────────────── */
.page-hero {
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding: 120px 40px 60px;
  position: relative;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,32,64,0.5) 0%, transparent 100%);
}
.page-hero-content { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; width: 100%; }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
}

/* ── TEAM ────────────────────────────────────────────────── */
.team-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.team-card {
  background: var(--navy-mid);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: border-color var(--transition);
}
.team-card:hover { border-color: var(--border); }
.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.team-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.team-photo-initials {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold-dim);
}
.team-photo-label {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-faint);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter var(--transition);
}
.team-card:hover .team-photo img { filter: grayscale(0%); }
.team-info {
  padding: 24px 28px 28px;
  border-top: 1px solid var(--border-soft);
}
.team-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}
.team-title {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.team-bio {
  font-size: 0.78rem;
  color: var(--white-dim);
  line-height: 1.8;
}

/* ── SENIOR TEAM CARDS ──────────────────────────────────── */
.senior-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.senior-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.senior-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.senior-card-number {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  z-index: 2;
  opacity: 0.6;
}
.senior-photo {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #ffffff;
  position: relative;
}
.senior-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  mix-blend-mode: multiply;
  transition: transform 0.3s ease;
}
.senior-card:hover .senior-photo img {
  transform: scale(1.04);
}
.senior-info {
  padding: 24px;
}
.senior-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}
.senior-title {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.senior-crd {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.team-email {
  display: block;
  font-size: 0.72rem;
  color: var(--gold);
  opacity: 0.8;
  letter-spacing: 0.05em;
  text-decoration: none;
  margin-bottom: 16px;
  transition: opacity 0.3s ease;
}
.team-email:hover {
  opacity: 1;
  text-decoration: underline;
}
.senior-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 16px;
}
.senior-bio {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}
.senior-bio:last-child {
  margin-bottom: 0;
}

/* ── SUPPORTING TEAM ───────────────────────────────────── */
.supporting-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.supporting-entry {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}
.supporting-entry:hover {
  background: rgba(201,168,76,0.05);
}
.supporting-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.supporting-title {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── ABOUT PAGE ─────────────────────────────────────────── */
.about-mission {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.mission-pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--white);
  border-left: 2px solid var(--gold);
  padding-left: 32px;
}
.mission-pull-quote em { font-style: italic; color: var(--gold-light); }
.about-body-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-body-text p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--white-dim);
}
.reg-block {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.reg-item {
  background: var(--navy-light);
  border: 1px solid var(--border-soft);
  padding: 36px 32px;
  transition: border-color var(--transition);
}
.reg-item:hover { border-color: var(--border); }
.reg-item-label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.reg-item-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
}

/* ── SERVICES PAGE ──────────────────────────────────────── */
.services-list { max-width: var(--max-w); margin: 0 auto; }
.service-detail {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 72px 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: start;
}
.service-detail:first-child { padding-top: 0; }
.service-detail:last-child { border-bottom: none; }
.service-detail-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(201,168,76,0.1);
  line-height: 1;
  margin-bottom: 16px;
}
.service-detail-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
}
.service-detail-content { display: flex; flex-direction: column; gap: 20px; }
.service-detail-content p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--white-dim);
}
.service-detail-bullets { display: flex; flex-direction: column; gap: 10px; }
.service-bullet {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--white-dim);
}
.service-bullet::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ── LEGAL PAGE ─────────────────────────────────────────── */
.legal-content {
  max-width: 840px;
  margin: 0 auto;
}
.legal-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border-soft);
}
.legal-section:last-child { border-bottom: none; }
.legal-section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 20px;
}
.legal-section p,
.legal-section li {
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--white-dim);
  margin-bottom: 12px;
}
.legal-section ul { padding-left: 20px; }
.legal-section li { list-style: disc; }

/* ── ACCOUNT APPLICATION ───────────────────────────────── */
.app-container {
  max-width: 780px;
  margin: 0 auto;
}

/* Form card wrapper */
.app-card {
  background: #0d1e35;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 2px;
  padding: 48px 48px 40px;
}

/* Progress indicator (inside card) */
.app-progress-inside {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin-bottom: 48px;
  padding: 0 8px;
}
.app-progress-line {
  position: absolute;
  top: 18px;
  left: 48px;
  right: 48px;
  height: 2px;
  background: var(--border-soft);
  z-index: 0;
}
.app-progress-line-fill {
  height: 100%;
  width: 0;
  background: var(--gold);
  transition: width 0.5s ease;
}
.app-progress-dots {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 1;
}
.app-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  transition: opacity 0.3s;
}
.app-dot.active,
.app-dot.completed { opacity: 1; }
.app-dot-circle {
  width: 36px;
  height: 36px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white-faint);
  background: #0d1e35;
  transition: all 0.3s;
}
.app-dot.active .app-dot-circle {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}
.app-dot.completed .app-dot-circle {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}
.app-dot.completed .app-dot-circle span { display: none; }
.app-dot.completed .app-dot-circle::after {
  content: '\2713';
  font-size: 0.8rem;
  font-weight: 700;
}
.app-dot-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-faint);
}
.app-dot.active .app-dot-label { color: var(--gold); }
.app-dot.completed .app-dot-label { color: var(--white-dim); }

/* Step panels */
.app-step-panel {
  display: none;
  animation: fadeUp 0.4s ease forwards;
}
.app-step-panel.active { display: block; }
.app-panel-header { margin-bottom: 40px; }
.app-panel-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
}
.app-panel-title em { font-style: italic; color: var(--gold-light); }
.app-section-heading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}

/* Select wrapper */
.form-select-wrapper {
  position: relative;
  width: 100%;
}
.form-select-wrapper::after {
  content: '\25BC';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #C9A84C;
  font-size: 0.6rem;
  pointer-events: none;
}
.form-select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
select option {
  background: #0d1e35;
  color: white;
  padding: 8px;
}

/* Signature canvas */
#signatureCanvas {
  width: 100%;
  height: 160px;
  display: block;
  cursor: crosshair;
  touch-action: none;
}

/* Form fields */
.app-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.app-form-row-4 {
  grid-template-columns: 2fr 1fr 1fr 2fr;
}
.app-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}
.app-field:only-child { margin-bottom: 20px; }
.app-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.app-req { color: var(--gold); }
.app-input,
.app-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
  min-height: 44px;
}
.app-input:focus,
.app-select:focus {
  border-color: rgba(201,168,76,0.6);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.app-input::placeholder { color: var(--white-faint); }
.app-input-error {
  border-color: #e74c3c !important;
}
.app-error {
  font-size: 0.7rem;
  color: #e74c3c;
  display: none;
  margin-top: 2px;
}
.app-select {
  padding-right: 40px;
}
textarea.app-input {
  resize: vertical;
  min-height: 60px;
}
.app-helper-text {
  font-size: 0.78rem;
  color: var(--white-dim);
  margin-bottom: 16px;
}

/* Phone group */
.app-phone-group {
  display: flex;
  gap: 0;
}
.app-phone-code {
  width: 110px;
  min-width: 110px;
  border-radius: 2px 0 0 2px;
  border-right: none;
  padding-right: 28px;
  font-size: 0.78rem;
}
.app-phone-number {
  flex: 1;
  border-radius: 0 2px 2px 0;
}

/* Toggle buttons */
.app-toggle-group {
  display: flex;
  gap: 0;
}
.app-toggle {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 28px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--white-faint);
  cursor: pointer;
  transition: all 0.3s;
  min-height: 44px;
}
.app-toggle:first-child { border-radius: 2px 0 0 2px; }
.app-toggle:last-child { border-radius: 0 2px 2px 0; border-left: none; }
.app-toggle.active {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
  color: var(--gold);
}
.app-toggle:last-child.active { border-left: 1px solid var(--gold); }

/* Checkboxes */
.app-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.app-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.6;
  cursor: pointer;
  min-height: 44px;
  align-items: center;
}
.app-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.app-checkbox-mark {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  background: rgba(255,255,255,0.05);
}
.app-checkbox-label input:checked + .app-checkbox-mark {
  background: var(--gold);
  border-color: var(--gold);
}
.app-checkbox-label input:checked + .app-checkbox-mark::after {
  content: '\2713';
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
}

/* Disclosures */
.app-disclosure {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-soft);
}
.app-disclosure-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.app-disclosure-question p {
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.6;
  flex: 1;
}
.app-disclosure-explain {
  margin-top: 16px;
}

/* Form CRS box */
.app-crs-box {
  border: 1px solid var(--gold);
  padding: 24px;
  border-radius: 2px;
  background: rgba(201,168,76,0.05);
}
.app-crs-box p {
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.8;
}

/* Upload zone */
.app-upload-zone {
  border: 2px dashed var(--gold);
  border-radius: 2px;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  background: rgba(201,168,76,0.03);
}
.app-upload-zone:hover,
.app-upload-zone.dragover {
  background: rgba(201,168,76,0.08);
  border-color: var(--gold-light);
}
.app-upload-icon {
  color: var(--gold);
  margin-bottom: 16px;
}
.app-upload-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}
.app-upload-sub {
  font-size: 0.72rem;
  color: var(--white-faint);
  line-height: 1.6;
}
.app-upload-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.app-upload-preview img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--border);
}
.app-upload-filename {
  font-size: 0.8rem;
  color: var(--white-dim);
}

/* Navigation buttons */
.app-nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
}

/* Review section */
.app-review-section {
  margin-bottom: 32px;
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  overflow: hidden;
}
.app-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-soft);
}
.app-review-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
}
.app-review-edit {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: none;
  border: 1px solid var(--gold);
  padding: 6px 16px;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 2px;
}
.app-review-edit:hover {
  background: var(--gold);
  color: var(--navy);
}
.app-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
}
.app-review-item {
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-review-item:nth-child(odd) {
  border-right: 1px solid var(--border-soft);
}
.app-review-label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.app-review-value {
  font-size: 0.82rem;
  color: var(--white-dim);
}

/* Signature */
.app-signature-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.app-certification-text {
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 28px;
}
.app-sig-canvas-wrap {
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: rgba(11,22,40,0.8);
  overflow: hidden;
}
.app-sig-canvas-wrap canvas {
  display: block;
  width: 100%;
  cursor: crosshair;
}
.app-sig-instruction {
  text-align: center;
  font-size: 0.68rem;
  color: var(--white-faint);
  padding: 8px;
  border-top: 1px solid var(--border-soft);
  letter-spacing: 0.05em;
}
.app-sig-clear {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-faint);
  background: none;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  padding: 4px 0;
  transition: color 0.3s;
}
.app-sig-clear:hover { color: var(--white); }

/* Success state */
.app-success {
  text-align: center;
  padding: 80px 40px;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 2px;
}
.app-success-icon {
  margin-bottom: 32px;
}
.app-success-message {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.8;
  max-width: 520px;
  margin: 24px auto 16px;
}
.app-success-ref {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* Conditional fields */
.app-conditional {
  padding: 0 0 8px;
}

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── MOBILE MENU ────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--navy);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--white);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu-close {
  position: absolute;
  top: 28px; right: 40px;
  font-size: 2rem;
  color: var(--white-dim);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-full { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .tx-deal-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  :root { --section-pad: 80px 24px; }
  .container { padding: 0 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .contact-inner { grid-template-columns: 1fr; gap: 56px; }
  .presence-grid { grid-template-columns: 1fr; }
  .presence-card { height: 280px; }
  .about-mission { grid-template-columns: 1fr; gap: 40px; }
  .reg-block { grid-template-columns: repeat(2, 1fr); }
  .service-detail { grid-template-columns: 1fr; gap: 32px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .senior-team-grid { grid-template-columns: repeat(2, 1fr); }
  .tombstone-grid { grid-template-columns: repeat(2, 1fr); }
  .tx-deal-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-credentials { flex-wrap: wrap; gap: 20px; }
  .hero-scroll-indicator { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card-full { grid-column: span 1; }
  .service-card-full .service-full-body { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .about-stat-grid { grid-template-columns: 1fr 1fr; }
  .reg-block { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .tombstone-grid { grid-template-columns: 1fr; }
  .tx-deal-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  #navbar { padding: 0 24px; }
  .hero-content { padding: 120px 24px 80px; }
  .app-form-row,
  .app-form-row-4 { grid-template-columns: 1fr; }
  .app-card { padding: 32px 24px; }
  .app-dot-label { display: none; }
  .app-progress-line { left: 28px; right: 28px; }
  .app-review-grid { grid-template-columns: 1fr; }
  .app-review-item:nth-child(odd) { border-right: none; }
  .app-disclosure-question { flex-direction: column; align-items: flex-start; gap: 12px; }
  .app-nav-buttons { flex-direction: column-reverse; gap: 12px; }
  .app-nav-buttons .btn-secondary,
  .app-nav-buttons .btn-primary { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .senior-team-grid { grid-template-columns: 1fr; }
  .supporting-team-grid { grid-template-columns: 1fr; }
  .about-stat-grid { grid-template-columns: 1fr; }
  .reg-block { grid-template-columns: 1fr; }
  .hero-credentials { display: none; }
}
