:root {
  --navy: #0A2540;
  --navy-2: #0F2E4C;
  --navy-3: #16324E;
  --navy-line: #1B3A57;
  --gold-1: #E8C766;
  --gold-2: #C9932F;
  --gold-3: #96650F;
  --gold-deep: #B8860B;
  --cream: #FAF9F7;
  --cream-2: #FAF6EC;
  --border-warm: #EFEAE0;
  --text-body: #2E3D4C;
  --text-muted: #6E7F92;
  --gold-gradient: linear-gradient(120deg, var(--gold-1), var(--gold-2) 70%, var(--gold-deep));
  --gold-gradient-2: linear-gradient(120deg, var(--gold-3), var(--gold-1) 55%, var(--gold-deep));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  font-family: 'Gabarito', sans-serif;
  color: var(--navy);
}

a { color: inherit; text-decoration: none; }
input, textarea, select, button { font-family: inherit; }

/* Justified body copy site-wide. Centered blocks justify too, with the last line centered. */
p { text-align: justify; hyphens: auto; }
.pull-quote p, .insights-note p, .section-head p, .why-header p, .services-heading p, .cta-band p { text-align-last: center; }
.hero:not(.hero-page) p { text-align: left; }

img { max-width: 100%; }

/* ---------- Page-load overlay ---------- */
/* Full-screen brand moment shown on initial load, hidden once the page is ready.
   Mechanism ported from option-2-the-vault's loader; restyled in the site's navy/gold language. */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-mark {
  position: relative;
  width: 96px;
  height: 96px;
}
.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--navy-line);
  border-top-color: var(--gold-1);
  animation: loader-spin 1.1s cubic-bezier(0.6, 0.1, 0.3, 0.9) infinite;
  will-change: transform;
}
.loader-ticks {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(232, 199, 102, 0.4) 0deg 1.6deg, transparent 1.6deg 30deg);
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%);
  mask: radial-gradient(circle, transparent 58%, #000 60%);
  animation: loader-spin 4.5s linear infinite reverse;
  will-change: transform;
}
.loader-logo {
  position: absolute;
  inset: 24px;
  width: 48px;
  height: 48px;
  object-fit: contain;
}
@keyframes loader-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .loader-ring, .loader-ticks { animation: none; }
  .page-loader { transition: opacity 0.2s linear, visibility 0.2s linear; }
}

/* ---------- Header + nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 rgba(10, 37, 64, 0.06);
  margin: 0 auto;
  max-width: 100%;
  border-radius: 0;
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glass/blur effect once the header overlaps scrolled page content */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 24px rgba(10, 37, 64, 0.12);
}

/* Shrink-to-pill morph further down the page: header narrows, floats off the
   top edge, and rounds into a pill — mechanism from jansenharris.com's header,
   adapted (LEGAVAULT's nav has ~8 items + dropdowns vs. their 4, so the pill
   stays wide rather than shrinking to logo-only width). */
.site-header.is-pill {
  top: 14px;
  max-width: min(1180px, calc(100% - 48px));
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.18);
}
.site-header.is-pill .main-nav {
  padding: 8px 28px;
  gap: 20px;
}
.site-header.is-pill .tagline {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
}
.site-header.is-pill .nav-links { gap: 22px; }
.site-header.is-pill .brand-logo { width: 30px; height: 30px; }
.site-header.is-pill .brand-name { font-size: 17px; }
.site-header.is-pill .brand-wrap { gap: 0; }
.site-header.is-pill .nav-links > a:not(.cta),
.site-header.is-pill .nav-services > a { padding: 18px 0; }
.site-header.is-pill .nav-links > a.cta { padding: 8px 18px; }

.main-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px 40px;
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), gap 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-wrap { display: flex; flex-direction: column; gap: 3px; transition: gap 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 42px; height: 42px; display: block; }

.brand-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy) 42%, var(--gold-1) 50%, var(--navy) 58%, var(--navy) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brand-shimmer 6s linear infinite;
}

@keyframes brand-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -20% 0; }
}

.tagline {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  max-height: 16px;
  margin-top: 3px;
  transition: opacity 0.3s ease, max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .brand-name { animation: none; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  justify-self: end;
  transition: gap 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links > a,
.nav-services > a {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  padding: 30px 0;
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}
.nav-links > a.active,
.nav-services > a.active { color: var(--gold-3); border-bottom-color: var(--gold-2); }

/* Underline sweep on hover — grows in from the left, mechanism referenced
   from jansenharris.com's nav links (they animate a background-image trick;
   this uses a scaleX pseudo-element instead so it can coexist with the
   existing border-bottom active-state indicator without doubling up). */
.nav-links > a:not(.cta)::after,
.nav-services > a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links > a:not(.cta):hover::after,
.nav-links > a:not(.cta):focus-visible::after,
.nav-services > a:hover::after,
.nav-services > a:focus-visible::after {
  transform: scaleX(1);
}
.nav-links > a.active::after,
.nav-services > a.active::after { display: none; }

/* Active-page dot, echoing jansenharris.com's small color dot beside the
   current nav item. */
.nav-links > a.active::before,
.nav-services > a.active::before {
  content: '';
  position: absolute;
  left: -13px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-2);
  transform: translateY(-50%);
}

.nav-links > a.cta {
  font-weight: 700;
  color: #fff;
  background: var(--gold-gradient-2);
  padding: 10px 22px;
  border-radius: 3px;
}

.nav-right { display: flex; align-items: center; gap: 20px; justify-self: end; }

.nav-services { position: relative; }
.services-dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(10, 37, 64, 0.16);
  padding: 12px;
  width: 320px;
  border-top: 3px solid var(--gold-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.nav-services:hover .services-dropdown,
.nav-services:focus-within .services-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.services-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  border-radius: 3px;
}
.services-dropdown a:hover { background: var(--cream-2); color: var(--gold-3); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.mobile-toggle span { width: 26px; height: 2px; background: var(--navy); display: block; }

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #EDEDED;
  padding: 16px 24px 28px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 16px; font-weight: 600; color: var(--navy); padding: 12px 0; }
.mobile-menu a.cta { color: var(--gold-3); font-weight: 700; }

@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .mobile-toggle { display: flex !important; }
  .main-nav { grid-template-columns: auto auto; }
}

@media (max-width: 600px) {
  .tagline { display: none; }
  .main-nav { padding: 12px 20px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-page {
  min-height: auto;
  padding: 88px 40px 56px;
  display: block;
}
.hero-bg {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  animation: kenburns 24s ease-in-out infinite alternate;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.5) 0%, rgba(10, 37, 64, 0.88) 100%);
}
.hero-scrim-page { background: linear-gradient(180deg, rgba(10, 37, 64, 0.75), rgba(10, 37, 64, 0.9)); }
.hero-inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 0 40px; width: 100%; }
.hero-page .hero-inner { padding: 0; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 1.04;
  font-weight: 800;
  margin: 0 0 24px;
  background: linear-gradient(100deg, #96650F, #E8C766 45%, #C9932F 65%, #E8C766);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 900px;
  animation: shimmer 7s ease-in-out infinite alternate;
}
.hero-page h1 { font-size: clamp(34px, 4.6vw, 54px); color: #fff; background: none; -webkit-text-fill-color: initial; margin: 0 0 16px; }

.hero p { font-size: clamp(17px, 2vw, 22px); color: #E7ECF2; max-width: 560px; margin: 0 0 40px; line-height: 1.6; }
.hero-page p { font-size: 17px; color: #AEBBC9; max-width: 640px; margin: 0; }

.btn-gold {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold-gradient);
  background-size: 200% auto;
  background-position: 0% 50%;
  padding: 16px 34px;
  border-radius: 3px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.5s ease;
  will-change: transform;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(201, 147, 47, 0.32); background-position: 100% 50%; }
.btn-gold:active { transform: translateY(-1px) scale(0.97); box-shadow: 0 4px 12px rgba(201, 147, 47, 0.25); }

.btn-navy {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
  padding: 16px 34px;
  border-radius: 3px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}
.btn-navy:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(10, 37, 64, 0.35); }
.btn-navy:active { transform: translateY(-1px) scale(0.97); box-shadow: 0 4px 12px rgba(10, 37, 64, 0.3); }

@keyframes kenburns { 0% { transform: scale(1.0); } 100% { transform: scale(1.09); } }
@keyframes shimmer { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }

/* ---------- Hero lights (subtle "life" on the building) ---------- */
.hero-lights { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-light {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold-1);
  box-shadow: 0 0 6px 2px rgba(232, 199, 102, 0.55);
  opacity: 0.15;
  animation: hero-light-pulse 5.5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes hero-light-pulse {
  0%, 100% { opacity: 0.12; box-shadow: 0 0 4px 1px rgba(232, 199, 102, 0.35); }
  50% { opacity: 0.85; box-shadow: 0 0 10px 3px rgba(232, 199, 102, 0.7); }
}

/* ---------- Hero logo watermark ---------- */
.hero-logo-watermark {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -6%;
  width: min(48vw, 620px);
  transform: translateY(-50%);
  opacity: 0.05;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero-logo-watermark { width: 70vw; right: -20%; opacity: 0.04; }
}

/* ---------- Custom cursor (desktop only) ---------- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-2);
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: difference;
  transition: width 0.25s ease, height 0.25s ease, opacity 0.3s ease;
  will-change: transform;
}
.cursor-dot.on { opacity: 0.8; }
.cursor-dot.grow { width: 34px; height: 34px; opacity: 0.35; }
@media (pointer: coarse) { .cursor-dot { display: none; } }

/* ---------- Reduced motion: disable decorative animation ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
  .hero h1 { animation: none; background-position: 0% 50%; }
  .hero-light { animation: none; opacity: 0.5; }
  .btn-gold, .btn-navy, .btn-outline, .btn-submit { transition: none; }
  .cursor-dot { display: none !important; }
}

/* ---------- Challenge / narrative band ---------- */
.challenge {
  background: #fff;
  padding: 96px 40px;
}
.challenge-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.challenge-inner { text-align: justify; hyphens: auto; }
.challenge-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 24px 48px rgba(10, 37, 64, 0.16);
}
.challenge h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; margin: 0 0 24px; }
.challenge p { font-size: 17px; line-height: 1.8; color: var(--text-body); margin: 0 0 18px; }
.challenge .problem-line {
  font-size: 19px;
  font-weight: 600;
  color: rgba(10, 37, 64, 0.32);
  border-left: 3px solid var(--gold-2);
  padding-left: 20px;
  text-align: justify;
  margin: 32px auto 0;
  max-width: 720px;
  transition: color 0.7s ease;
}
.challenge .problem-line.lit { color: var(--navy); }

@media (max-width: 900px) {
  .challenge-grid { grid-template-columns: 1fr; }
  .challenge-media { order: -1; }
}

/* ---------- Intro band (finance-strip) ---------- */
.intro-band { position: relative; overflow: hidden; background: var(--gold-gradient); padding: 88px 40px; }
.intro-band-media { position: absolute; inset: 0; z-index: 0; }
.intro-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  mix-blend-mode: multiply;
  transform: scale(1.08);
  transition: transform 1.4s ease;
}
.intro-band-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(10, 37, 64, 0.16);
  border-radius: 12px;
  padding: 48px 52px;
}
.intro-band-bar {
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: var(--navy);
  margin: 0 auto 22px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s;
}
.intro-band.is-visible .intro-band-bar { transform: scaleX(1); }
.intro-band.is-visible .intro-band-media img { transform: scale(1); }
.intro-band p {
  text-align: center;
  text-align-last: center;
  hyphens: manual;
  text-wrap: balance;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.5;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease 0.3s, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s;
}
.intro-band.is-visible p { opacity: 1; transform: translateY(0); }

@media (max-width: 600px) {
  .intro-band { padding: 64px 20px; }
  .intro-band-inner { padding: 36px 24px; }
}

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .challenge .problem-line { transition: none; }
  .intro-band-bar,
  .intro-band p,
  .intro-band-media img { opacity: 1; transform: none; transition: none; }
}

/* ---------- Three pillars ---------- */
.pillars { position: relative; overflow: hidden; background: var(--navy); padding: 96px 40px; }
.pillars-media { position: absolute; inset: 0; z-index: 0; }
.pillars-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.1; }
.pillars-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--navy) 0%, rgba(10, 37, 64, 0.85) 100%);
}
.pillars-grid { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pillar-card {
  background: var(--navy-2);
  border-top: 3px solid var(--gold-2);
  border-radius: 4px;
  padding: 40px 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25); }
.pillar-card h3 { font-size: 22px; font-weight: 700; color: #fff; margin: 0 0 14px; }
.pillar-card p { font-size: 15.5px; color: #AEBBC9; line-height: 1.7; margin: 0; }

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

/* ---------- Services alternating ---------- */
.services-section { padding: 96px 40px 40px; }
.services-heading { max-width: 1240px; margin: 0 auto 56px; text-align: center; }
.services-heading h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin: 0; }
.services-list { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; gap: 88px; }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.service-row .img-wrap { overflow: hidden; border-radius: 6px; }
.service-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 0.5s ease; }
.service-row .img-wrap:hover img { transform: scale(1.05); }
.service-row h3 { font-size: 28px; font-weight: 800; margin: 0 0 16px; }
.service-row p { font-size: 16px; line-height: 1.75; color: #3D4C5C; margin: 0 0 24px; }
.service-row.reverse .img-wrap { order: 2; }
.service-row.reverse .text-wrap { order: 1; }

.btn-outline {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-3);
  border: 1.5px solid var(--gold-2);
  padding: 11px 24px;
  border-radius: 3px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}
.btn-outline:hover { background: var(--gold-3); color: #fff; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(150, 101, 15, 0.22); }
.btn-outline:active { transform: translateY(-1px) scale(0.97); box-shadow: 0 4px 10px rgba(150, 101, 15, 0.2); }

@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr !important; }
  .service-row .img-wrap, .service-row .text-wrap { order: initial !important; }
}

/* ---------- Value props (highlighted section) ---------- */
.value-section {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, var(--cream-2) 50%, #fff 100%);
  padding: 100px 40px;
  border-top: 1px solid rgba(201, 147, 47, 0.28);
  border-bottom: 1px solid rgba(201, 147, 47, 0.28);
  overflow: hidden;
}
.value-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 50% 0%, rgba(201, 147, 47, 0.10), transparent 70%);
  pointer-events: none;
}
.value-section .eyebrow {
  position: relative;
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin: 0 0 14px;
}
.value-section h2 { position: relative; font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; text-align: center; margin: 0 0 56px; }
.value-grid { position: relative; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.value-card {
  background: #fff;
  border-radius: 5px;
  padding: 28px 22px;
  border: 1px solid var(--border-warm);
  box-shadow: 0 2px 10px rgba(10, 37, 64, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.6s ease, transform 0.6s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(201, 147, 47, 0.16); }
.value-card .bar { width: 34px; height: 4px; background: var(--gold-gradient); border-radius: 2px; margin-bottom: 18px; }
.value-card h4 { font-size: 16.5px; font-weight: 700; margin: 0 0 10px; }
.value-card p { font-size: 14px; color: #5A6B7C; line-height: 1.6; margin: 0; }

.value-grid[data-reveal] .value-card { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.value-grid[data-reveal].is-visible .value-card { opacity: 1; transform: translateY(0); }
.value-grid[data-reveal].is-visible .value-card:nth-child(1) { transition-delay: 0.05s; }
.value-grid[data-reveal].is-visible .value-card:nth-child(2) { transition-delay: 0.14s; }
.value-grid[data-reveal].is-visible .value-card:nth-child(3) { transition-delay: 0.23s; }
.value-grid[data-reveal].is-visible .value-card:nth-child(4) { transition-delay: 0.32s; }
.value-grid[data-reveal].is-visible .value-card:nth-child(5) { transition-delay: 0.41s; }

@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .value-grid[data-reveal] .value-card,
  .value-grid[data-reveal].is-visible .value-card {
    opacity: 1; transform: none; transition: none; transition-delay: 0s;
  }
}

/* ---------- Why LEGAVAULT? (dark, home) ---------- */
.why-section { background: var(--navy); padding: 96px 40px; }
.why-inner { max-width: 1080px; margin: 0 auto; }
.why-header { text-align: center; margin-bottom: 56px; }
.why-header .eyebrow { color: var(--gold-1); }
.why-header h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; color: #fff; margin: 0; }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--navy-line);
}
.compare-grid .head { padding: 24px 28px; font-weight: 700; font-size: 15px; border-bottom: 1px solid var(--navy-line); }
.compare-grid .head.trad { background: var(--navy-2); color: #9FAFC0; }
.compare-grid .head.lega { background: var(--navy-3); color: var(--gold-1); }
.compare-grid .cell { padding: 22px 28px; font-size: 15px; border-bottom: 1px solid var(--navy-line); }
.compare-grid .cell.trad { color: #C9D3DC; border-right: 1px solid var(--navy-line); }
.compare-grid .cell.lega { color: #fff; }

.why-more { text-align: center; margin-top: 40px; }
.why-more a { color: var(--gold-1); font-weight: 700; font-size: 15px; }

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

/* light comparison table variant used on Why LEGAVAULT? page */
.compare-grid-light { border: 1px solid var(--border-warm); }
.compare-grid-light .head.trad { background: #F3EFE5; color: var(--text-muted); border-bottom: 1px solid var(--border-warm); }
.compare-grid-light .head.lega { background: var(--navy); color: var(--gold-1); border-bottom: 1px solid var(--border-warm); }
.compare-grid-light .cell { border-bottom: 1px solid var(--border-warm); font-size: 16px; }
.compare-grid-light .cell.trad { color: var(--text-body); border-right: 1px solid var(--border-warm); background: #fff; transition: background 0.2s ease; }
.compare-grid-light .cell.trad:hover { background: var(--cream-2); }
.compare-grid-light .cell.lega { color: var(--navy); font-weight: 500; background: var(--cream); transition: background 0.2s ease; }
.compare-grid-light .cell.lega:hover { background: #F3ECD8; }

/* ---------- Closing CTA ---------- */
.cta-band { background: var(--gold-gradient); padding: 88px 40px; text-align: center; }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--navy); margin: 0 0 32px; }

/* ---------- Services page ---------- */
.subnav {
  position: sticky;
  top: 84px;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--border-warm);
  overflow-x: auto;
}
.subnav-inner { max-width: 1240px; margin: 0 auto; display: flex; gap: 8px; padding: 14px 40px; }
.subnav a {
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--cream-2);
  border: 1px solid #EFE1C0;
}
.subnav a:hover { background: #F3E5BE; }

.svc-groups { padding: 88px 40px; display: flex; flex-direction: column; gap: 96px; max-width: 1240px; margin: 0 auto; }
.svc-block { scroll-margin-top: 140px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.svc-block .num { font-size: 13px; font-weight: 700; color: var(--gold-3); margin-bottom: 10px; }
.svc-block h2 { font-size: 30px; font-weight: 800; margin: 0; line-height: 1.2; }
.svc-block ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.svc-block li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--border-warm);
  border-radius: 5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.svc-block li:hover { transform: translateX(4px); box-shadow: 0 8px 20px rgba(10, 37, 64, 0.08); border-color: var(--gold-1); }
.svc-block li .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-gradient); margin-top: 8px; flex-shrink: 0; }

@media (max-width: 900px) { .svc-block { grid-template-columns: 1fr; } }

/* ---------- About page ---------- */
.about-intro { padding: 72px 40px 20px; }
.about-intro-inner { max-width: 800px; margin: 0 auto; }
.about-intro p { font-size: 19px; line-height: 1.75; color: var(--text-body); margin: 0; }

.leadership { padding: 72px 40px 104px; max-width: 1240px; margin: 0 auto; }
.leadership h2 { font-size: 28px; font-weight: 800; margin: 0 0 56px; }
.leader-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 40px; }
.leader-card { text-align: center; transition: transform 0.25s ease; }
.leader-card:hover { transform: translateY(-6px); }
.avatar-navy {
  width: 144px; height: 144px; border-radius: 50%; background: var(--navy);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
}
.avatar-navy { overflow: hidden; }
.avatar-navy img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-navy span {
  font-size: 30px; font-weight: 800;
  background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.leader-card .name { font-size: 17px; font-weight: 700; line-height: 1.3; }
.leader-card .title { font-size: 14px; line-height: 1.45; color: var(--text-muted); margin: 6px auto 0; max-width: 240px; text-wrap: balance; }

@media (max-width: 900px) {
  .leader-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Why LEGAVAULT? page ---------- */
.why-page-section { padding: 88px 40px; }
.why-page-inner { max-width: 1080px; margin: 0 auto; }
.pull-quote { padding: 20px 40px 96px; }
.pull-quote-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.pull-quote p { font-size: clamp(22px, 3vw, 30px); font-weight: 700; line-height: 1.5; color: var(--navy); margin: 0; font-style: italic; }

/* ---------- Contact page ---------- */
.contact-section { padding: 88px 40px 96px; }
.contact-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  font-family: 'Gabarito', sans-serif;
  border: 1.5px solid #E3DDCF;
  border-radius: 4px;
  padding: 13px 14px;
  font-size: 15px;
  color: var(--navy);
  transition: border-color 0.2s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--gold-2); outline: none; }
.field textarea { resize: vertical; }

.btn-submit {
  align-self: flex-start;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--gold-gradient-2);
  border: none;
  padding: 15px 32px;
  border-radius: 3px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(150, 101, 15, 0.28); }
.btn-submit:active { transform: translateY(-1px) scale(0.97); box-shadow: 0 4px 12px rgba(150, 101, 15, 0.24); }

.form-status { font-size: 14px; font-weight: 600; margin-top: 4px; display: none; }
.form-status.success { color: #2E7D32; display: block; }
.form-status.error { color: #C62828; display: block; }

.contact-card { background: var(--navy); border-radius: 6px; padding: 40px 32px; color: #C9D3DC; }
.contact-card h3 { font-size: 19px; font-weight: 700; color: #fff; margin: 0 0 24px; }
.contact-item { display: flex; flex-direction: column; gap: 20px; font-size: 15px; }
.contact-item .label { font-size: 13px; color: var(--gold-1); font-weight: 600; margin-bottom: 6px; }
.contact-item em { color: #6E7F92; font-style: normal; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { font-family: 'Gabarito', sans-serif; background: var(--navy); color: #C9D3DC; padding: 64px 40px 28px; }
.footer-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1.2fr; gap: 40px; }
.footer-grid a { text-decoration: none; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 38px; height: 38px; }
.footer-brand span { font-size: 19px; font-weight: 800; color: #fff; }
.footer-desc { font-size: 14px; line-height: 1.7; color: #9FAFC0; max-width: 280px; margin: 0; }
.footer-col-title { font-size: 13px; font-weight: 700; color: var(--gold-1); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: #C9D3DC; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: #C9D3DC; }
.footer-contact em { color: #6E7F92; font-style: normal; }
.footer-bottom { max-width: 1240px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--navy-line); font-size: 13px; color: #6E7F92; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Shared section shell ---------- */
.section { padding: 88px 40px; }
.section-narrow { max-width: 900px; margin: 0 auto; }
.section-wide { max-width: 1240px; margin: 0 auto; }
.section-white { background: #fff; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin: 0 0 16px; }
.section-head.on-navy h2 { color: #fff; }
.section-head p { font-size: 17px; line-height: 1.7; color: var(--text-body); margin: 0; }
.section-head.on-navy p { color: #AEBBC9; }

.lead-copy { max-width: 820px; margin: 0 auto; }
.lead-copy p { font-size: 18px; line-height: 1.8; color: var(--text-body); margin: 0 0 20px; }
.lead-copy p:last-child { margin-bottom: 0; }

/* ---------- Generic card grid ---------- */
.card-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.info-card {
  background: #fff;
  border: 1px solid var(--border-warm);
  border-top: 3px solid var(--gold-2);
  border-radius: 6px;
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.info-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(10, 37, 64, 0.09); }
.info-card .card-icon {
  width: 52px; height: 52px; margin-bottom: 20px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream-2); border: 1px solid var(--border-warm); color: var(--gold-3);
}
.info-card .card-icon svg { width: 26px; height: 26px; display: block; }
.info-card h3 { font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.info-card p { font-size: 15.5px; line-height: 1.7; color: var(--text-body); margin: 0; }
.info-card .card-link { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--gold-3); }
.info-card.on-navy { background: var(--navy-2); border-color: var(--navy-line); border-top-color: var(--gold-2); }
.info-card.on-navy h3 { color: #fff; }
.info-card.on-navy p { color: #AEBBC9; }

@media (max-width: 900px) { .card-grid, .card-grid.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .card-grid, .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: 1fr; } }

/* ---------- Service detail page ---------- */
.detail-lead { padding: 80px 40px 40px; }
.detail-lead-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.detail-lead .lead-body p { font-size: 18px; line-height: 1.8; color: var(--text-body); margin: 0 0 20px; }
.detail-lead .lead-body p:last-child { margin-bottom: 0; }
.detail-aside { background: var(--navy); border-radius: 6px; padding: 32px 28px; color: #C9D3DC; position: sticky; top: 120px; }
.detail-aside .aside-label { font-size: 13px; font-weight: 700; color: var(--gold-1); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.detail-aside ul { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.detail-aside li { font-size: 14.5px; line-height: 1.5; padding-left: 18px; position: relative; }
.detail-aside li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-gradient); }
.detail-aside .btn-gold { font-size: 14px; padding: 12px 24px; }

.included { padding: 40px 40px 88px; }
.included-inner { max-width: 1240px; margin: 0 auto; }
.included h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 0 0 40px; text-align: center; }
.included-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.included-item {
  background: #fff; border: 1px solid var(--border-warm); border-radius: 6px; padding: 26px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.included-item:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(10,37,64,0.08); border-color: var(--gold-1); }
.included-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-gradient); margin-bottom: 14px; }
.included-item h4 { font-size: 16.5px; font-weight: 700; margin: 0 0 8px; }
.included-item p { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); margin: 0; }

@media (max-width: 900px) { .detail-lead-inner { grid-template-columns: 1fr; } .detail-aside { position: static; } .included-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .included-grid { grid-template-columns: 1fr; } }

/* ---------- Process / How we work ---------- */
.process { padding: 20px 40px 40px; }
.process-inner { max-width: 900px; margin: 0 auto; }
.process-step { display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--border-warm); }
.process-step:last-child { border-bottom: none; }
.process-step .step-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800;
}
.process-step .step-num span { background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.process-step h3 { font-size: 21px; font-weight: 700; margin: 0 0 10px; }
.process-step p { font-size: 16px; line-height: 1.75; color: var(--text-body); margin: 0; }

.models-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.model-card { background: #fff; border: 1px solid var(--border-warm); border-top: 3px solid var(--gold-2); border-radius: 6px; padding: 40px 34px; }
.model-card h3 { font-size: 23px; font-weight: 800; margin: 0 0 8px; }
.model-card .model-tag { font-size: 13px; font-weight: 700; color: var(--gold-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 20px; }
.model-card p { font-size: 16px; line-height: 1.75; color: var(--text-body); margin: 0 0 20px; }
.model-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.model-card li { font-size: 15px; line-height: 1.5; padding-left: 22px; position: relative; color: var(--text-body); }
.model-card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-gradient); }

@media (max-width: 780px) { .process-step { grid-template-columns: 1fr; gap: 14px; } .models-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border-warm); border-radius: 6px; overflow: hidden; transition: border-color 0.2s ease; }
.faq-item[open] { border-color: var(--gold-1); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 24px 28px; font-size: 17px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--gold-3); flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 28px 26px; font-size: 16px; line-height: 1.75; color: var(--text-body); }
.faq-item .faq-body p { margin: 0 0 14px; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Insights ---------- */
.insight-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.insight-card {
  background: #fff; border: 1px solid var(--border-warm); border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.insight-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(10,37,64,0.10); }
.insight-thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); position: relative; overflow: hidden; }
.insight-thumb .thumb-mono {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 800; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.9;
}
.insight-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.insight-tag { font-size: 12px; font-weight: 700; color: var(--gold-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.insight-body h3 { font-size: 19px; font-weight: 700; line-height: 1.35; margin: 0 0 12px; }
.insight-body p { font-size: 15px; line-height: 1.7; color: var(--text-muted); margin: 0 0 18px; }
.insight-meta { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.insight-card.placeholder .insight-thumb { background: linear-gradient(135deg, #E9E2D2 0%, #F3EEE2 100%); }
.insight-card.placeholder .thumb-mono { opacity: 0.45; -webkit-text-fill-color: var(--gold-2); }

.insights-note { max-width: 860px; margin: 0 auto 48px; text-align: center; }
.insights-note p { font-size: 16px; line-height: 1.7; color: var(--text-muted); margin: 0; }
.insights-note .pill { display: inline-block; background: var(--cream-2); border: 1px solid #EFE1C0; color: var(--gold-3); font-size: 13px; font-weight: 700; padding: 6px 16px; border-radius: 20px; margin-bottom: 18px; }

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

/* Phones: narrow columns make justified text gappy, so fall back to left-aligned. Keep last to win the cascade. */
@media (max-width: 600px) {
  p, .challenge-inner, .challenge .problem-line { text-align: left; hyphens: manual; }
  .pull-quote p, .insights-note p, .section-head p, .why-header p, .services-heading p, .cta-band p { text-align: center; }
}
