/* ============================================================
   NEXLY ADVISORY — Design System
   Aesthetic: Luxury Financial Advisory / Private Banking
   Typography: Cormorant Garamond (display) + Outfit (body)
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --midnight: #0c1220;
  --navy: #1a2438;
  --navy-light: #243044;
  --navy-lighter: #2d3b52;
  --gold: #c9a96e;
  --gold-light: #e8c87a;
  --gold-pale: #f0ddb8;
  --gold-dark: #a8894e;
  --ivory: #f5f0e8;
  --cream: #faf8f5;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-body: #4a4a4a;
  --text-muted: #7a7a7a;
  --text-light: rgba(255, 255, 255, 0.92);
  --text-light-muted: rgba(255, 255, 255, 0.65);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Outfit', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 8rem);
  --container-max: 1200px;
  --container-wide: 1400px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.4s var(--ease-out);
  --transition-slow: 0.7s var(--ease-out);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 4px 24px rgba(201, 169, 110, 0.2);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--section-padding) 0;
}

.section--dark {
  background-color: var(--midnight);
  color: var(--text-light);
}

.section--navy {
  background-color: var(--navy);
  color: var(--text-light);
}

.section--ivory {
  background-color: var(--ivory);
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.heading-display {
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.heading-1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  text-wrap: balance;
}

.heading-2 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
  text-wrap: balance;
}

.heading-3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 500;
}

.heading-4 {
  font-size: 1.25rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0;
}

.text-lg {
  font-size: 1.1875rem;
  line-height: 1.7;
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

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

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

.text-light-muted {
  color: var(--text-light-muted);
}

.text-center {
  text-align: center;
}

/* Label / Eyebrow */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

/* Gold divider */
.divider-gold {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
  border: none;
  margin: 1.5rem 0;
}

.divider-gold--center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--midnight);
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(201, 169, 110, 0.35);
}

.btn--primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 10px rgba(201, 169, 110, 0.2);
  transition-duration: 0.1s;
}

.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 110, 0.06);
}

.btn--outline:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

.btn--outline-dark {
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn--outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--outline-dark:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

.btn--ghost {
  color: var(--gold);
  padding: 0.5rem 0;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.btn--ghost::after {
  content: '\2192';
  transition: transform var(--transition-fast);
}

.btn--ghost:hover::after {
  transform: translateX(4px);
}

/* --- Focus-Visible States --- */
a:focus-visible,
.btn:focus-visible,
.nav__toggle:focus-visible,
.nav__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.form-input:focus-visible,
.form-textarea:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.2);
  outline: none;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition-base);
}

.nav.scrolled {
  background: rgba(12, 18, 32, 0.92);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

/* backdrop-filter on ::before prevents it creating a containing block
   for position:fixed children (nav__mobile). Direct backdrop-filter on a
   parent breaks position:fixed in iOS Safari / Chrome. */
.nav.scrolled::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav__logo img {
  height: 44px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  padding: 0.25rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link--active {
  color: var(--white);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__cta {
  padding: 0.625rem 1.5rem;
  font-size: 0.75rem;
}

/* Mobile menu */
.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  position: relative;
}









.nav__toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s ease;
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav__mobile {

  display: none;
  position: fixed;
  inset: 0;
  background: #0c1220;
  backdrop-filter: blur(20px);
  z-index: 10001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-light);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.nav__mobile a:hover {
  opacity: 1;
  color: var(--gold);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--midnight);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201, 169, 110, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(26, 36, 56, 0.8) 0%, transparent 60%),
    linear-gradient(180deg, var(--midnight) 0%, #111a2e 50%, var(--midnight) 100%);
}

/* Subtle grid pattern */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 169, 110, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 110, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Floating orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

.hero__orb--1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.15), transparent 70%);
  top: 10%;
  right: 10%;
  animation-delay: -5s;
}

.hero__orb--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.08), transparent 70%);
  bottom: 20%;
  left: 5%;
  animation-delay: -10s;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: calc(var(--section-padding) + 4rem) 0 var(--section-padding);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(201, 169, 110, 0.1);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero__title {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__subtitle {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--text-light-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}

.hero__scroll-text {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--navy);
  border-top: 1px solid rgba(201, 169, 110, 0.1);
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
  padding: 3rem 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats-bar__item {
  position: relative;
}

.stats-bar__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: rgba(201, 169, 110, 0.15);
}

.stats-bar__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.stats-bar__label {
  font-size: 0.8125rem;
  color: var(--text-light-muted);
  letter-spacing: 0.02em;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  transition: all var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card--dark {
  background: var(--navy-light);
  border-color: rgba(255, 255, 255, 0.06);
}

.card--dark:hover {
  border-color: rgba(201, 169, 110, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card--glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card--glass:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 169, 110, 0.15);
}

.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.2), rgba(201, 169, 110, 0.1));
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.card__icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__title {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card__text {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
}

.card--dark .card__text {
  color: var(--text-light-muted);
}

/* Numbered card */
.card__number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* --- Section Headers --- */
.section-header {
  max-width: 640px;
  margin-bottom: 3.5rem;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  margin-top: 1rem;
  color: var(--text-body);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.section--dark .section-header p,
.section--navy .section-header p {
  color: var(--text-light-muted);
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: var(--midnight);
  padding: calc(var(--section-padding) + 5rem) 0 var(--section-padding);
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(201, 169, 110, 0.04) 0%, transparent 70%),
    linear-gradient(180deg, var(--midnight) 0%, var(--navy) 100%);
}

.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 169, 110, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 110, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero__title {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-light-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-light-muted);
  margin-bottom: 2rem;
}

.page-hero__breadcrumb a {
  color: var(--text-light-muted);
  transition: color var(--transition-fast);
}

.page-hero__breadcrumb a:hover {
  color: var(--gold);
}

.page-hero__breadcrumb span {
  color: var(--gold);
}

/* --- CTA Section --- */
.cta-section {
  background: var(--midnight);
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section__title {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section__text {
  color: var(--text-light-muted);
  font-size: 1.0625rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-section__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--midnight);
  color: var(--text-light);
  border-top: 1px solid rgba(201, 169, 110, 0.08);
}

.footer__top {
  padding: 4rem 0 3rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer__brand p {
  color: var(--text-light-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-top: 1.25rem;
  max-width: 320px;
}

.footer__logo img {
  height: 32px;
  width: auto;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer__links li {
  margin-bottom: 0.75rem;
}

.footer__links a {
  font-size: 0.9375rem;
  color: var(--text-light-muted);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  color: var(--text-light-muted);
}

.footer__contact-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 4px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-light-muted);
}

.footer__legal {
  display: flex;
  gap: 2rem;
}

.footer__legal a {
  font-size: 0.8125rem;
  color: var(--text-light-muted);
  transition: color var(--transition-fast);
}

.footer__legal a:hover {
  color: var(--gold);
}

/* --- Form Styles --- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--text-dark);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

/* Dark form variants */
.form-input--dark,
.form-textarea--dark {
  background: var(--navy-light);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.form-input--dark:focus,
.form-textarea--dark:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

/* --- Process / Timeline --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--gold);
  border: 1px solid rgba(201, 169, 110, 0.2);
  background: var(--navy);
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  transition: all var(--transition-base);
}

.process-step:hover .process-step__number {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.08);
}

.process-step__title {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.process-step__text {
  font-size: 0.8125rem;
  color: var(--text-light-muted);
  line-height: 1.6;
}

/* --- Animations --- */
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -20px); }
  66% { transform: translate(-15px, 15px); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  30% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Fade in from left/right */
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Fallback: ensure content is visible if JS fails or observer doesn't fire */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- Feature List --- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-list__icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-list__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* --- Two Column Layout --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

/* --- Resource Card --- */
.resource-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.resource-card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 169, 110, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.resource-card__title {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.resource-card__text {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}

.card--dark .resource-card__text {
  color: var(--text-light-muted);
}

/* --- Engagement Models --- */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.engagement-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all var(--transition-base);
}

.engagement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.engagement-card__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 169, 110, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.engagement-card__title {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.engagement-card__text {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* --- Insight Card --- */
.insight-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.insight-card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 169, 110, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.insight-card__title {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.insight-card__text {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}

.insight-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 500;
  transition: gap var(--transition-fast);
}

.insight-card__link:hover {
  gap: 0.75rem;
}

/* Featured insight */
.insight-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 3rem;
  margin-bottom: 3rem;
}

.insight-featured__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 169, 110, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.insight-featured__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.insight-featured__text {
  font-size: 1rem;
  color: var(--text-light-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* --- Comparison Table --- */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.comparison__col {
  padding: 2.5rem;
  border-radius: var(--radius-md);
}

.comparison__col--muted {
  background: var(--cream);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.comparison__col--highlight {
  background: var(--navy);
  color: var(--text-light);
  border: 1px solid rgba(201, 169, 110, 0.15);
}

.comparison__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.comparison__col--muted .comparison__heading {
  color: var(--text-muted);
}

.comparison__col--highlight .comparison__heading {
  color: var(--gold);
}

.comparison__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.comparison__item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.comparison__col--muted .comparison__item svg {
  stroke: var(--text-muted);
}

.comparison__col--highlight .comparison__item svg {
  stroke: var(--gold);
}

.comparison__col--muted .comparison__item {
  color: var(--text-body);
}

.comparison__col--highlight .comparison__item {
  color: var(--text-light-muted);
}

/* Responsive engagement/insight */
@media (max-width: 768px) {
  .engagement-grid,
  .insight-featured,
  .comparison {
    grid-template-columns: 1fr;
  }

  .insight-featured {
    padding: 2rem;
  }
}

/* --- Contact Info --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(201, 169, 110, 0.08);
  color: var(--gold);
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.contact-info__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-info__value {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.contact-info__value a {
  color: var(--text-dark);
  transition: color var(--transition-fast);
}

.contact-info__value a:hover {
  color: var(--gold);
}

/* --- Utilities --- */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.pt-0 { padding-top: 0; }

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

  .process-grid {
    gap: 0.75rem;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .split {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: clamp(3rem, 6vw, 5rem);
  }

  .container {
    padding: 0 1.25rem;
  }

  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero__content {
    padding: calc(var(--section-padding) + 3rem) 0 var(--section-padding);
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stats-bar__item:nth-child(2)::after {
    display: none;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .split--reverse {
    direction: ltr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid::before {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero__scroll {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .cta-section__actions {
    flex-direction: column;
    align-items: center;
  }

  .page-hero {
    padding: calc(var(--section-padding) + 4rem) 0 3rem;
  }
}

@media (max-width: 480px) {
  .stats-bar__grid {
    grid-template-columns: 1fr;
  }

  .stats-bar__item::after {
    display: none;
  }

  .hero__badge {
    font-size: 0.6875rem;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  .hero__orb,
  .hero__badge-dot,
  .hero__scroll-line {
    animation: none;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .card,
  .nav,
  .nav__link::after,
  .process-step__number {
    transition: none;
  }
}

/* --- Print --- */
@media print {
  .nav,
  .hero__bg,
  .hero__scroll,
  .hero__orb,
  .cta-section__bg,
  .page-hero__bg,
  .footer {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  .section--dark,
  .section--navy,
  .hero,
  .cta-section,
  .page-hero {
    background: #fff !important;
    color: #000 !important;
  }

  .card--glass,
  .card--dark {
    background: #fff !important;
    border: 1px solid #ccc !important;
    color: #000 !important;
  }

  .card__text,
  .section-header p,
  .hero__subtitle,
  .page-hero__subtitle {
    color: #333 !important;
  }

  .eyebrow,
  .gold,
  .card__number {
    color: #666 !important;
  }

  a { color: #000 !important; }
  .btn { border: 1px solid #000 !important; background: none !important; color: #000 !important; }
}

/* --- Noise Texture Overlay --- */
.noise-overlay {
  position: relative;
}

.noise-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  z-index: 1;
}

/* --- Section Glow Divider --- */
.section-glow {
  position: relative;
}

.section-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(201,169,110,0.18) 30%, rgba(201,169,110,0.3) 50%, rgba(201,169,110,0.18) 70%, transparent 95%);
  pointer-events: none;
}

/* --- Spotlight Card Border --- */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(201,169,110,0.18),
    transparent 40%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.spotlight-card:hover::before {
  opacity: 1;
}

/* --- Insight Card (replaces inline styles) --- */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.insight-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--midnight);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.insight-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color var(--transition-fast);
}

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

/* --- CTA Button Glow --- */
.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(201,169,110,0.3), rgba(201,169,110,0.1), rgba(201,169,110,0.3));
  z-index: -1;
  filter: blur(18px);
  opacity: 0;
  transition: opacity 0.4s;
}

.btn-glow:hover::after {
  opacity: 1;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10002;
  padding: 0.75rem 1.5rem;
  background: var(--gold);
  color: var(--midnight);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

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

/* === Mobile footer fixes (2026-03-06) === */
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  
  .footer__grid > div {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  
  .footer__grid > div:last-child {
    border-bottom: none;
  }
  
  .footer__brand p {
    max-width: 100%;
  }
}

/* Mobile nav: ensure fully opaque + above everything */
.nav__mobile.open {
  z-index: 10000 !important;
  background: #0c1220 !important;
}

/* === Nav toggle mobile fix (2026-03-06) === */
.nav__toggle {
  position: relative;
  z-index: 1001;
  padding: 12px;
  margin: -12px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
