:root {
  --navy-deep: #0c1524;
  --navy-mid: #152238;
  --navy-soft: #1e2f4a;
  --gold: #c9a962;
  --gold-light: #e2c98a;
  --gold-dark: #a68b4a;
  --cream: #f7f4ee;
  --cream-dark: #ebe6dc;
  --text-muted-custom: #5c6573;
  --header-height: 5rem;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  color: var(--navy-deep);
  background-color: var(--cream);
  line-height: 1.65;
  padding-top: var(--header-height);
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1100;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 0.25rem;
}

/* Header */
.site-header {
  background: rgba(12, 21, 36, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 169, 98, 0.15);
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--gold);
  border-radius: 50%;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0.35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}

.brand-llc {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  transition: color var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--gold-light);
}

.navbar-nav .nav-link.active {
  color: var(--gold);
}

/* Buttons */
.btn-gold {
  --bs-btn-color: var(--navy-deep);
  --bs-btn-bg: linear-gradient(135deg, var(--gold-light), var(--gold));
  --bs-btn-border-color: var(--gold);
  --bs-btn-hover-color: var(--navy-deep);
  --bs-btn-hover-bg: var(--gold-light);
  --bs-btn-hover-border-color: var(--gold-light);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 1px solid var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-gold:hover,
.btn-gold:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 169, 98, 0.35);
}

.btn-outline-light {
  border-width: 1.5px;
}

.btn-outline-navy {
  color: var(--navy-deep);
  border: 1.5px solid var(--navy-mid);
  font-weight: 600;
}

.btn-outline-navy:hover {
  background: var(--navy-deep);
  color: #fff;
  border-color: var(--navy-deep);
}

/* Sections */
.section-pad {
  padding: 5.5rem 0;
}

.bg-cream {
  background-color: var(--cream);
}

.text-navy {
  color: var(--navy-deep) !important;
}

.text-gold {
  color: var(--gold) !important;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--navy-deep);
  letter-spacing: 0.01em;
}

.title-rule {
  width: 3.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 1rem;
}

/* Hero */
.hero {
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(201, 169, 98, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(30, 47, 74, 0.8), transparent),
    linear-gradient(160deg, var(--navy-mid) 0%, var(--navy-deep) 55%, #080e18 100%);
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
}

.phone-link {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: none;
  margin-left: 0.35rem;
}

.phone-link:hover {
  color: #fff;
  text-decoration: underline;
}

.phone-link-dark {
  color: var(--navy-deep);
  font-weight: 600;
  text-decoration: none;
}

.phone-link-dark:hover {
  color: var(--gold-dark);
}

.hero-card {
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: 0.5rem;
  background: rgba(21, 34, 56, 0.65);
  backdrop-filter: blur(8px);
  padding: 2px;
}

.hero-card-inner {
  padding: 2rem 2.25rem;
  border-radius: calc(0.5rem - 2px);
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.stat-value {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

/* Capabilities */
#capabilities {
  background: linear-gradient(180deg, var(--navy-mid), var(--navy-deep));
}

.cap-lead {
  max-width: 32rem;
}

.cap-card {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  background: rgba(12, 21, 36, 0.5);
  transition: border-color var(--transition), transform var(--transition);
}

.cap-card:hover {
  border-color: rgba(201, 169, 98, 0.4);
  transform: translateY(-4px);
}

.cap-icon {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* Trust */
.trust-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.trust-list li:last-child {
  border-bottom: none;
}

.trust-list strong {
  display: block;
  margin-bottom: 0.35rem;
}

.trust-list span {
  color: var(--text-muted-custom);
  font-size: 0.95rem;
}

.about-pill {
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  height: 100%;
}

.signal-card {
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: 0.5rem;
  padding: 2rem 1rem;
}

.signal-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--navy-mid);
  margin-bottom: 0.5rem;
}

/* Integration CTA */
.section-integration {
  background: var(--navy-soft);
  border-top: 1px solid rgba(201, 169, 98, 0.2);
  border-bottom: 1px solid rgba(201, 169, 98, 0.2);
}

.section-integration .section-title,
.section-integration .title-rule {
  color: #fff;
}

.integration-steps {
  padding-left: 1.25rem;
}

.integration-steps li {
  margin-bottom: 0.65rem;
}

.cta-panel {
  background: #fff;
  border-radius: 0.5rem;
  padding: 2.5rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

/* Contact */
.contact-block {
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
}

.link-navy {
  color: var(--navy-mid);
  font-weight: 600;
  text-decoration: none;
}

.link-navy:hover {
  color: var(--gold-dark);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: 0.5rem;
  padding: 2rem;
}

.contact-form .form-control,
.contact-form .form-select {
  border-color: var(--cream-dark);
  padding: 0.65rem 0.85rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(201, 169, 98, 0.25);
}

.form-status {
  color: var(--text-muted-custom);
}

.form-status.success {
  color: #1a5c3a;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #fff;
}

.footer-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.site-footer a {
  color: var(--gold-light);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

@media (max-width: 991.98px) {
  .section-pad {
    padding: 4rem 0;
  }

  .hero .min-vh-100 {
    min-height: auto !important;
  }
}
