:root {
  --bg: #07101c;
  --bg-soft: #0c1726;
  --panel: rgba(13, 24, 40, 0.82);
  --panel-strong: #0f1c2e;
  --line: rgba(199, 163, 95, 0.18);
  --line-strong: rgba(199, 163, 95, 0.34);
  --text: #e8edf4;
  --muted: #a9b4c5;
  --gold: #c7a35f;
  --gold-strong: #e5c07b;
  --shadow: 0 24px 80px rgba(0,0,0,0.34);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(199,163,95,0.08), transparent 28%),
    linear-gradient(180deg, #06101b 0%, #081220 36%, #050b14 100%);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5, 12, 20, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-mark strong {
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  font-weight: 700;
}

.brand-mark span {
  color: var(--muted);
  font-size: 0.73rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold-strong);
  font-size: 0.92rem;
}

.nav-cta:hover {
  background: rgba(199,163,95,0.08);
}

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 10px 12px;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 9, 17, 0.92) 0%, rgba(4, 9, 17, 0.8) 40%, rgba(4, 9, 17, 0.65) 62%, rgba(4, 9, 17, 0.84) 100%),
    linear-gradient(180deg, rgba(4,9,17,0.2), rgba(4,9,17,0.75));
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero.png');
  background-size: cover;
  background-position: center;
  filter: saturate(1) contrast(1.04);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.72fr);
  gap: 46px;
  align-items: end;
  padding: 84px 0 68px;
}

.eyebrow {
  color: var(--gold-strong);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  margin-bottom: 18px;
}

.hero h1,
.page-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  max-width: 800px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  max-width: 840px;
}

.lead {
  max-width: 720px;
  font-size: 1.08rem;
  color: #d2d9e4;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn {
  background: linear-gradient(180deg, #dfc185 0%, #c7a35f 100%);
  color: #09111d;
  box-shadow: 0 18px 34px rgba(199,163,95,0.18);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--text);
  background: rgba(255,255,255,0.03);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.07);
}

.hero-card,
.panel,
.deal-card,
.stat-card,
.capability-card,
.contact-card,
.leadership-card {
  background: linear-gradient(180deg, rgba(13,24,40,0.92) 0%, rgba(10,18,31,0.94) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-card {
  padding: 28px;
  align-self: stretch;
}

.hero-card h3,
.section-heading h2,
.card-title,
.contact-card h3,
.leadership-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

.hero-card h3 {
  font-size: 1.55rem;
  margin: 0 0 10px;
}

.hero-card p {
  color: var(--muted);
  margin: 0 0 18px;
}

.hero-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #d7deea;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 14px;
}

.hero-list span:last-child {
  color: var(--gold-strong);
}

/* New homepage hero card enhancements */
.hero-card-intro {
  margin: 0 0 20px;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 36ch;
}

.hero-card-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-card-divider {
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 20px 0;
}

.hero-card .metric-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-card .metric-row:last-child {
  border-bottom: none;
}

.hero-card .metric-row span:first-child {
  color: #d8b36a;
  font-weight: 600;
  min-width: 120px;
}

.hero-card .metric-row span:last-child {
  color: rgba(255,255,255,0.88);
  text-align: right;
  line-height: 1.5;
}

.hero-card-note {
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  font-size: 0.96rem;
}

main section,
.page-hero,
.footer-wrap {
  padding: 92px 0;
}

.page-hero {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent),
    radial-gradient(circle at top right, rgba(199,163,95,0.12), transparent 26%);
}

.page-hero.compact {
  padding: 72px 0 54px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-heading p {
  color: var(--muted);
  max-width: 760px;
  margin: 0;
}

.grid-3,
.grid-4,
.metrics,
.leadership-grid,
.contact-grid,
.deals-grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.leadership-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.deals-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card,
.capability-card,
.deal-card,
.contact-card,
.leadership-card,
.panel {
  padding: 28px;
}

.stat-card small,
.kicker {
  color: var(--gold-strong);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.stat-card h3,
.metric-number {
  margin: 10px 0 8px;
  font-size: 2.1rem;
  line-height: 1;
}

.stat-card p,
.capability-card p,
.deal-card p,
.panel p,
.contact-card p,
.leadership-card p,
.copy p,
.copy li {
  color: var(--muted);
}

.capability-card h3,
.deal-card h3,
.contact-card h3,
.leadership-card h3 {
  margin: 12px 0 10px;
  font-size: 1.35rem;
}

.capability-card ul,
.panel ul,
.copy ul {
  padding-left: 18px;
  margin: 12px 0 0;
  color: var(--muted);
}

.capability-card li,
.panel li,
.copy li {
  margin: 8px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 26px;
  align-items: start;
}

.split + .split {
  margin-top: 22px;
}

.copy h3,
.panel h3 {
  font-size: 1.5rem;
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
}

.copy p {
  margin: 0 0 16px;
}

.panel .metric-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.panel .metric-row:first-of-type {
  margin-top: 16px;
}

.panel .metric-row span:last-child {
  color: var(--gold-strong);
}

.band {
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.filter-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--muted);
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(199,163,95,0.08);
}

.deal-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
}

.deal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.deal-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 12px 0 16px;
  font-size: 14px;
  color: #cfd6e4;
}

.deal-metrics strong {
  color: #ffffff;
}

.progress-container {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
  margin: 6px 0 8px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #d4a94f, #f1d38a);
  border-radius: 999px;
}

.progress-text {
  margin: 0 0 18px;
  font-size: 12px;
  color: #9aa4b2;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.05);
  color: #d0d7e3;
}

.chip.gold {
  background: rgba(199,163,95,0.12);
  color: var(--gold-strong);
}

.deal-card .snapshot {
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
}

.deal-card .snapshot strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.deal-card .deal-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.notice {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(199,163,95,0.08);
  border: 1px solid rgba(199,163,95,0.18);
  color: #e6dbc4;
}

.footer-wrap {
  padding-top: 48px;
  padding-bottom: 48px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: start;
}

.footer p,
.footer a {
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split,
  .contact-grid,
  .footer,
  .leadership-grid,
  .deals-grid,
  .grid-3,
  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid > :first-child,
  .split > :first-child,
  .contact-grid > :first-child,
  .footer > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 20px;
    left: 20px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(10,18,31,0.98);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .grid-3,
  .grid-4,
  .metrics,
  .leadership-grid,
  .contact-grid,
  .deals-grid,
  .split,
  .footer {
    grid-template-columns: 1fr;
  }

  main section,
  .page-hero,
  .footer-wrap {
    padding: 72px 0;
  }

  .hero-grid {
    padding-top: 72px;
  }

  .brand-mark span {
    display: none;
  }

  .hero-card .metric-row,
  .panel .metric-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-card .metric-row span:last-child,
  .panel .metric-row span:last-child {
    text-align: left;
  }
}