/* ==========================================================================
   M. Turner Group, LLC — site styles
   ========================================================================== */

:root {
  --midnight: #050b1f;
  --navy: #0a1430;
  --navy-2: #0f1d44;
  --royal: #1b3a8c;
  --royal-2: #2e5bd0;
  --royal-3: #6f95f2;
  --gold: #c9a55c;
  --gold-2: #e9d39b;
  --gold-3: #9a7433;
  --paper: #f7f5ef;
  --paper-2: #efebe0;
  --ink: #0b1222;
  --muted: #586179;
  --on-dark: #d6ddee;
  --on-dark-muted: #94a0bd;
  --line-dark: rgba(201, 165, 92, 0.22);
  --line-light: rgba(11, 18, 34, 0.1);
  --gold-grad: linear-gradient(135deg, #f3dfa2 0%, #d4af5f 45%, #9a7433 100%);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 30px 60px -30px rgba(5, 11, 31, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
a[href^="tel:"] { white-space: nowrap; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-variant-numeric: lining-nums;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); }
h4 { font-size: 1.25rem; }

p { margin: 0 0 1.2em; }

em.gold, .gold-text {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--gold);
  color: var(--midnight);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--gold-grad);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font: 600 15px/1 var(--sans);
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-gold {
  background: var(--gold-grad);
  color: #1a1206;
  box-shadow: 0 12px 30px -12px rgba(201, 165, 92, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(201, 165, 92, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-gold:hover::after { transform: translateX(120%); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }

.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn-dark:hover { background: var(--royal); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(11, 18, 34, 0.25);
}
.btn-outline:hover { border-color: var(--royal); color: var(--royal); transform: translateY(-2px); }

.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--royal);
  position: relative;
}
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.dark .link-arrow,
.path-card .link-arrow,
.card-dark .link-arrow,
.cta-band .link-arrow { color: var(--gold-2); }
.path-card:hover .link-arrow::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Eyebrow ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font: 600 12px/1.2 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--royal);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--gold-2); }
.center .eyebrow::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: #fff;
  transition: background-color 0.4s, box-shadow 0.4s, height 0.4s var(--ease), backdrop-filter 0.4s;
}
.site-header.scrolled {
  --header-h: 70px;
  height: 70px;
  background: rgba(5, 11, 31, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-dark), 0 20px 40px -30px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand svg { width: 52px; height: 46px; transition: transform 0.6s var(--ease); }
.brand:hover svg { transform: translateY(-3px); }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.brand-sub {
  font: 500 9.5px/1 var(--sans);
  letter-spacing: 0.42em;
  color: var(--gold-2);
  margin-top: 6px;
  white-space: nowrap;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: color 0.25s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: #fff; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link svg { width: 12px; height: 12px; transition: transform 0.3s; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 300px;
  padding: 10px;
  list-style: none;
  margin: 0;
  background: rgba(8, 16, 40, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.dropdown::before {
  content: "";
  position: absolute;
  top: -12px; left: 0; right: 0; height: 12px;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.has-dropdown:hover > .nav-link svg,
.has-dropdown.open > .nav-link svg { transform: rotate(180deg); }
.dropdown a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--on-dark);
  transition: background-color 0.2s, color 0.2s;
}
.dropdown a span { font-size: 11px; letter-spacing: 0.16em; color: var(--gold); }
.dropdown a svg { width: 14px; height: 14px; flex-shrink: 0; }
.dropdown a:hover { background: rgba(46, 91, 208, 0.18); color: #fff; }
.dropdown .dropdown-all { border-top: 1px solid var(--line-dark); margin-top: 6px; padding-top: 6px; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  transition: color 0.2s;
}
.header-phone svg { width: 16px; height: 16px; color: var(--gold); }
.header-phone:hover { color: var(--gold-2); }
.header-actions .btn { padding: 13px 22px; font-size: 14px; }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 14px; right: 14px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 23.5px; }
.menu-toggle span:nth-child(3) { top: 29px; }

/* ---------- Mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.open { visibility: visible; pointer-events: auto; }
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 20, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s;
}
.mobile-menu.open .mobile-menu-backdrop { opacity: 1; }
.mobile-menu-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  padding: 18px 24px 28px;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(46, 91, 208, 0.35), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--midnight) 100%);
  color: #fff;
  border-left: 1px solid var(--line-dark);
  transform: translateX(100%);
  transition: transform 0.55s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.mobile-menu-top .brand svg { width: 46px; height: 40px; }
.mobile-menu-top .brand-name { font-size: 18px; }
.menu-close {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.menu-close svg { width: 20px; height: 20px; }
.mobile-nav { list-style: none; margin: 0; padding: 0; }
.mobile-nav > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mobile-menu.open .mobile-nav > li { opacity: 1; transform: none; }
.mobile-nav > li > a,
.mobile-nav > li > button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 16px 2px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.mobile-nav > li > a[aria-current="page"] { color: var(--gold-2); }
.mobile-nav button svg { width: 18px; height: 18px; transition: transform 0.3s; color: var(--gold); }
.mobile-nav button[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-sub {
  list-style: none;
  margin: 0;
  padding: 0 0 0 4px;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.mobile-sub > div { overflow: hidden; }
.mobile-sub.open { grid-template-rows: 1fr; }
.mobile-sub a {
  display: block;
  padding: 9px 0;
  color: var(--on-dark);
  font-size: 15.5px;
}
.mobile-sub a:last-child { padding-bottom: 18px; }
.mobile-menu-footer {
  margin-top: auto;
  padding-top: 28px;
  display: grid;
  gap: 14px;
}
.mobile-menu-footer .contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--on-dark);
  font-size: 15px;
}
.mobile-menu-footer svg { width: 16px; height: 16px; color: var(--gold); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--midnight);
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 11, 31, 0.92) 0%, rgba(5, 11, 31, 0.72) 38%, rgba(5, 11, 31, 0.1) 75%),
    linear-gradient(0deg, rgba(5, 11, 31, 0.85) 0%, transparent 30%);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(111, 149, 242, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 149, 242, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, #000 20%, transparent 75%);
}
.hero-content {
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 120px;
  max-width: 780px;
}
.hero h1 { margin-bottom: 26px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: lineUp 1.2s var(--ease) forwards;
}
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes lineUp { to { transform: translateY(0); } }
.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--on-dark);
  max-width: 600px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-fade { opacity: 0; transform: translateY(18px); animation: fadeUp 1s var(--ease) forwards; }
.hero-fade.d1 { animation-delay: 0.45s; }
.hero-fade.d2 { animation-delay: 0.6s; }
.hero-fade.d3 { animation-delay: 0.75s; }
.hero-fade.d4 { animation-delay: 0.9s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 46px;
  font-size: 13.5px;
  color: var(--on-dark-muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--gold); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.scroll-cue i {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- Landing page (ads, email, QR) ---------- */

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.landing-hero .hero-media { background: var(--navy) center / cover no-repeat; }
.landing-hero::before {
  background:
    linear-gradient(90deg, rgba(5, 11, 31, 0.9) 0%, rgba(5, 11, 31, 0.66) 45%, rgba(5, 11, 31, 0.28) 80%),
    linear-gradient(0deg, rgba(5, 11, 31, 0.85) 0%, transparent 35%),
    radial-gradient(ellipse 60% 50% at 85% 25%, rgba(46, 91, 208, 0.25), transparent 70%);
}
.landing-hero h1 { max-width: 12em; }
.timeline.timeline-3 { grid-template-columns: repeat(3, 1fr); gap: 40px; }
.site-footer.landing-footer { padding: 0 0 30px; }
.landing-footer .footer-bottom { padding-top: 30px; }

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 90px;
  color: #fff;
  background: var(--midnight);
  overflow: hidden;
  isolation: isolate;
}
.page-hero .hero-media img { animation: none; transform: none; object-position: center; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 11, 31, 0.94) 0%, rgba(5, 11, 31, 0.75) 50%, rgba(5, 11, 31, 0.45) 100%),
    linear-gradient(0deg, rgba(5, 11, 31, 0.9) 0%, transparent 50%);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 900px; }
.page-hero p.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--on-dark); max-width: 680px; margin-bottom: 32px; }
.breadcrumbs { margin-bottom: 26px; font-size: 13px; color: var(--on-dark-muted); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }
.breadcrumbs a:hover { color: #fff; }

/* ---------- Sections ---------- */

.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-tight { padding: clamp(60px, 8vw, 100px) 0; }
.dark {
  background: var(--midnight);
  color: var(--on-dark);
}
.dark h2, .dark h3, .dark h4 { color: #fff; }
.dark-gradient {
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(46, 91, 208, 0.22), transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(201, 165, 92, 0.08), transparent 60%),
    var(--midnight);
}
.paper-2 { background: var(--paper-2); }
.center { text-align: center; }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.dark .section-head p { color: var(--on-dark-muted); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.prose p { color: var(--muted); }
.dark .prose p { color: var(--on-dark-muted); }
.prose p.big {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.35;
  color: var(--ink);
}
.dark .prose p.big { color: #fff; }
.prose ul { padding: 0; list-style: none; margin: 0 0 1.4em; }
.prose ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--muted);
}
.dark .prose ul li { color: var(--on-dark-muted); }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 16px; height: 1px;
  background: var(--gold);
}
.prose h3 { margin-top: 1.4em; }

/* ---------- Image frame ---------- */

.frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.frame:hover img { transform: scale(1.04); }
.frame-wrap { position: relative; }
.frame-wrap::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid var(--gold);
  border-radius: calc(var(--radius) + 4px);
  opacity: 0.55;
  pointer-events: none;
}
.frame-badge {
  position: absolute;
  right: -14px;
  bottom: -26px;
  z-index: 2;
  max-width: 270px;
  padding: 22px 24px;
  border-radius: 16px;
  background: rgba(5, 11, 31, 0.92);
  backdrop-filter: blur(12px);
  color: var(--on-dark);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow);
  font-size: 14px;
  line-height: 1.5;
}
.frame-badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  color: #fff;
  margin-bottom: 4px;
}

/* ---------- States marquee ---------- */

.states-strip {
  position: relative;
  background: var(--navy);
  color: var(--on-dark);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
  padding: 22px 0;
}
.states-strip::before,
.states-strip::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.states-strip::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.states-strip::after { right: 0; background: linear-gradient(-90deg, var(--navy), transparent); }
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.states-strip:hover .marquee { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; }
.marquee a {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  transition: color 0.2s;
}
.marquee a:hover { color: var(--gold-2); }
.marquee a::after {
  content: "";
  width: 7px; height: 7px;
  transform: rotate(45deg);
  background: var(--gold);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */

.card {
  position: relative;
  padding: 38px 32px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line-light);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
  overflow: hidden;
  isolation: isolate;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(46, 91, 208, 0.08), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgba(11, 18, 34, 0.35); border-color: rgba(201, 165, 92, 0.45); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 16px; }
.card .link-arrow { margin-top: 22px; }

.card-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border-color: rgba(255, 255, 255, 0.09);
  color: var(--on-dark);
}
.card-dark::before { background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 165, 92, 0.14), transparent 45%); }
.card-dark p { color: var(--on-dark-muted); }
.card-dark:hover { border-color: rgba(201, 165, 92, 0.5); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }

.icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 26px;
  background: linear-gradient(135deg, rgba(46, 91, 208, 0.12), rgba(201, 165, 92, 0.12));
  border: 1px solid rgba(201, 165, 92, 0.35);
  color: var(--royal);
}
.dark .icon { color: var(--gold-2); background: linear-gradient(135deg, rgba(46, 91, 208, 0.25), rgba(201, 165, 92, 0.08)); }
.icon svg { width: 26px; height: 26px; }

.card-num {
  font-variant-numeric: lining-nums;
  position: absolute;
  top: 26px;
  right: 28px;
  font-family: var(--serif);
  font-size: 54px;
  line-height: 1;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 165, 92, 0.5);
}

/* ---------- Path cards (image) ---------- */

.path-card {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  box-shadow: var(--shadow);
}
.path-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.path-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 11, 31, 0.1) 10%, rgba(5, 11, 31, 0.92) 78%);
  transition: background 0.5s;
}
.path-card:hover img { transform: scale(1.07); }
.path-card-body { padding: 32px; }
.path-card h3 { color: #fff; }
.path-card p { color: var(--on-dark); font-size: 15.5px; margin-bottom: 16px; }
.path-card .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 12px;
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.stat {
  padding: 40px 28px;
  border-right: 1px solid var(--line-dark);
}
.stat:last-child { border-right: 0; }
.stat-value {
  font-variant-numeric: lining-nums;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.6vw, 4.2rem);
  font-weight: 600;
  line-height: 1;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.stat-label { font-size: 14.5px; color: var(--on-dark-muted); }

/* ---------- Process / timeline ---------- */

.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: rgba(201, 165, 92, 0.2);
}
.timeline .timeline-progress {
  position: absolute;
  padding: 0;
  top: 31px;
  left: 4%;
  height: 1px;
  width: 92%;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2.2s var(--ease);
}
.timeline.in .timeline-progress { transform: scaleX(1); }
.timeline li { position: relative; }
.step-dot {
  font-variant-numeric: lining-nums;
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold-2);
  background: var(--midnight);
  border: 1px solid rgba(201, 165, 92, 0.5);
  box-shadow: 0 0 0 8px var(--midnight), 0 0 30px rgba(201, 165, 92, 0.15);
}
.paper-2 .step-dot, .light-timeline .step-dot { background: var(--paper-2); box-shadow: 0 0 0 8px var(--paper-2); color: var(--royal); }
.timeline h3 { font-size: 1.45rem; margin-bottom: 10px; }
.timeline p { font-size: 15.5px; color: var(--on-dark-muted); margin: 0; }

/* vertical detailed process */
.process-list { list-style: none; margin: 0; padding: 0; position: relative; }
.process-list::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(201, 165, 92, 0.1));
}
.process-item {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 36px;
  padding-bottom: 64px;
}
.process-item:last-child { padding-bottom: 0; }
.process-item .step-dot { margin: 0; background: var(--paper); box-shadow: 0 0 0 8px var(--paper); color: var(--royal); }
.process-item h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.process-item .kicker { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-3); font-weight: 600; margin-bottom: 8px; }
.process-item .prose { max-width: 720px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  background: #fff;
  border: 1px solid var(--line-light);
  color: var(--ink);
}

/* ---------- Quote / mission band ---------- */

.mission {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.mission blockquote {
  margin: 0 auto;
  max-width: 980px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.6vw, 3.9rem);
  line-height: 1.15;
  font-weight: 500;
  color: #fff;
}
.mission cite {
  display: block;
  margin-top: 28px;
  font: 600 12px/1 var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--gold-2);
}
.mission .mark-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  opacity: 0.05;
  pointer-events: none;
}

/* ---------- Values ---------- */

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.value { background: var(--paper); padding: 40px 30px; transition: background-color 0.4s; }
.value:hover { background: #fff; }
.value .num { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 15px; color: var(--gold-3); letter-spacing: 0.1em; margin-bottom: 30px; display: block; }
.value h3 { font-size: 1.6rem; }
.value p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- Markets ---------- */

.pill {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 999px;
  font: 600 11px/1.2 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-3);
  background: rgba(201, 165, 92, 0.12);
}
.markets-section { padding: clamp(96px, 13vw, 176px) 0; }
.markets-split {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}
.markets-intro { position: sticky; top: 124px; }
.markets-intro .pill { margin-bottom: 24px; }
.markets-intro h2 { font-size: clamp(2.5rem, 4.8vw, 4.2rem); margin-bottom: 22px; }
.markets-intro p { color: var(--muted); font-size: 1.1rem; max-width: 440px; margin-bottom: 34px; }
.markets-cards { display: grid; gap: 28px; }

/* nested card: a soft tray holding a lighter inner plate */
.bezel {
  padding: 8px;
  border-radius: 30px;
  background: rgba(10, 20, 48, 0.035);
  box-shadow: inset 0 0 0 1px rgba(10, 20, 48, 0.05);
}
.bezel-core {
  padding: clamp(28px, 4vw, 44px);
  border-radius: 23px;
  background: #fff;
  box-shadow: inset 0 1px 1px #fff, 0 26px 54px -38px rgba(10, 20, 48, 0.32);
}
.bezel-core .pill { margin-bottom: 18px; }
.bezel-core h3 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); margin-bottom: 10px; }
.bezel-core > p { color: var(--muted); margin-bottom: 26px; }
.bezel-core .county-label {
  font: 600 12px/1.3 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}
.county-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  columns: 2;
  column-gap: 28px;
}
.county-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line-light);
  break-inside: avoid;
  color: var(--ink);
}

/* pill button with its arrow nested in a small circle */
.btn-island { padding: 8px 8px 8px 26px; gap: 16px; }
.btn-island svg { width: 16px; height: 16px; }
.btn-island:hover svg { transform: none; }
.btn-island:active { transform: scale(0.98); }
.btn-orb {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.5s var(--ease);
}
.btn-island:hover .btn-orb { transform: translate(3px, -1px) scale(1.05); }

/* ---------- FAQ ---------- */

.faq { max-width: 900px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-light); }
.dark .faq-item { border-color: rgba(255, 255, 255, 0.1); }
.faq-item:first-child { border-top: 1px solid var(--line-light); }
.dark .faq-item:first-child { border-color: rgba(255, 255, 255, 0.1); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.25;
  color: inherit;
}
.dark .faq-q { color: #fff; }
.faq-q:hover { color: var(--royal); }
.dark .faq-q:hover { color: var(--gold-2); }
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201, 165, 92, 0.55);
  transition: background-color 0.3s, transform 0.4s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 1.5px;
  background: var(--gold-3);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease);
}
.dark .faq-icon::before, .dark .faq-icon::after { background: var(--gold-2); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon { background: rgba(201, 165, 92, 0.15); transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.faq-a > div { overflow: hidden; }
.faq-a.open { grid-template-rows: 1fr; }
.faq-a p { color: var(--muted); padding-right: 64px; margin-bottom: 0; }
.faq-a p + p { margin-top: 1em; }
.faq-a > div > :last-child { margin-bottom: 28px; }
.dark .faq-a p { color: var(--on-dark-muted); }
.faq-group-title { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-3); font-family: var(--sans); font-weight: 600; margin: 64px 0 16px; }
.faq-group-title:first-child { margin-top: 0; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--navy);
}
.cta-band .hero-media img { object-position: center 60%; }
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(5, 11, 31, 0.95), rgba(5, 11, 31, 0.6));
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-band h2 { margin-bottom: 18px; }
.cta-band p { color: var(--on-dark); font-size: 1.1rem; margin: 0; max-width: 560px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-actions .call-line { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: var(--on-dark); margin-top: 6px; }
.cta-actions .call-line a { font-family: var(--serif); font-size: 1.7rem; color: #fff; font-weight: 600; }
.cta-actions .call-line a:hover { color: var(--gold-2); }

/* ---------- Forms ---------- */

.form-shell {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line-light);
  box-shadow: 0 40px 80px -50px rgba(11, 18, 34, 0.45);
}
.form-shell::before {
  content: "";
  position: absolute;
  top: 0; left: 40px; right: 40px;
  height: 2px;
  background: var(--gold-grad);
  border-radius: 0 0 2px 2px;
}
.form-shell h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 8px; }
.form-shell > p { color: var(--muted); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.field label .req { color: var(--gold-3); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font: 400 16px/1.4 var(--sans);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(11, 18, 34, 0.14);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a7433' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(27, 58, 140, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--royal-2);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(46, 91, 208, 0.12);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b4372f; }
.field .error { font-size: 13px; color: #b4372f; display: none; }
.field.invalid .error { display: block; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(11, 18, 34, 0.16);
  font-size: 14.5px;
  background: var(--paper);
  transition: all 0.2s;
}
.radio-pill input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.radio-pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.form-note { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; margin: 0; }
.form-note svg { width: 16px; height: 16px; color: var(--gold-3); flex-shrink: 0; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 15px;
}
.form-status.show { display: block; }
.form-status.error { background: #fbeceb; color: #8d2a23; border: 1px solid #f0c9c5; }
.form-status.error a { text-decoration: underline; font-weight: 600; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(26, 18, 6, 0.3);
  border-top-color: #1a1206;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}
.btn.loading .spinner { display: inline-block; }
.btn.loading svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Contact layout ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact-cards { display: grid; gap: 14px; margin: 32px 0; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line-light);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
a.contact-card:hover { border-color: var(--gold); transform: translateX(4px); }
.contact-card .icon { margin: 0; width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0; }
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card small { display: block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); word-break: break-word; }
.sticky { position: sticky; top: 110px; }

/* ---------- Split feature (image + text, dark) ---------- */

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.feature-list li { display: grid; grid-template-columns: 50px 1fr; gap: 18px; align-items: start; }
.feature-list .icon { width: 50px; height: 50px; margin: 0; border-radius: 14px; }
.feature-list .icon svg { width: 22px; height: 22px; }
.feature-list h3 { font-size: 1.35rem; margin-bottom: 4px; }
.feature-list p { margin: 0; font-size: 15.5px; color: var(--muted); }
.dark .feature-list p { color: var(--on-dark-muted); }

.prose ul.feature-list li { padding-left: 0; margin: 0; }
.prose ul.feature-list li::before { display: none; }

/* ---------- Thank you / 404 ---------- */

.center-screen {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
}
.success-mark {
  width: 96px; height: 96px;
  margin: 0 auto 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 165, 92, 0.6);
  background: radial-gradient(circle, rgba(201, 165, 92, 0.18), transparent 70%);
}
.success-mark svg { width: 42px; height: 42px; color: var(--gold-2); }
.success-mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 1s 0.3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.big-404 {
  font-variant-numeric: lining-nums;
  font-family: var(--serif);
  font-size: clamp(7rem, 22vw, 15rem);
  line-height: 0.9;
  font-weight: 600;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* ---------- Legal ---------- */

.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.6em; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--royal); text-decoration: underline; }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  background: var(--midnight);
  color: var(--on-dark-muted);
  padding: 96px 0 36px;
  overflow: hidden;
  font-size: 15px;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr;
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer .brand { color: #fff; margin-bottom: 22px; }
.footer-about p { max-width: 320px; }
.site-footer h2 {
  font: 600 12px/1 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 22px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.site-footer a { transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold); margin-top: 5px; flex-shrink: 0; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 30px;
  font-size: 13.5px;
}
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-disclaimer { font-size: 12.5px; color: rgba(148, 160, 189, 0.7); margin-top: 22px; max-width: 900px; }
.footer-watermark {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 460px;
  opacity: 0.035;
  pointer-events: none;
}

/* ---------- Back to top / mobile call bar ---------- */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(201, 165, 92, 0.5);
  background: rgba(5, 11, 31, 0.85);
  backdrop-filter: blur(10px);
  color: var(--gold-2);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.4s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--royal); }
.to-top svg { width: 20px; height: 20px; }

.mobile-cta {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 95;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(5, 11, 31, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-dark);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  transform: translateY(140%);
  transition: transform 0.5s var(--ease);
}
.mobile-cta.show { transform: none; }
.mobile-cta .btn { flex: 1; padding: 14px 10px; font-size: 14px; }

/* ---------- Cookie consent ---------- */

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: inherit;
  cursor: pointer;
  transition: color 0.2s;
}
.site-footer .link-btn:hover { color: #fff; }
.legal .link-btn { color: var(--royal); text-decoration: underline; }

.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  padding: 18px var(--gutter);
  background: rgba(5, 11, 31, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-dark);
  box-shadow: 0 -20px 40px -20px rgba(0, 0, 0, 0.5);
  color: var(--on-dark);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}
.cookie-banner.show { transform: none; }
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.cookie-inner p { margin: 0; font-size: 14.5px; line-height: 1.6; max-width: 760px; }
.cookie-inner a { color: var(--gold-2); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-actions .btn { padding: 12px 26px; font-size: 14px; }
.cookie-open .mobile-cta,
.cookie-open .to-top { visibility: hidden; }

@media (max-width: 680px) {
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions .btn { flex: 1; }
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.95); }
.reveal-left.in, .reveal-right.in, .reveal-scale.in { transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1260px) {
  .header-phone { display: none; }
}
/* Site root: its header button ("Schedule Free Valuation") is longer, so the desktop nav packs tighter */
@media (min-width: 1081px) {
  .landing .nav-link { padding-left: 8px; padding-right: 8px; }
  .landing .nav-link::after { left: 8px; right: 8px; }
}

@media (max-width: 1180px) {
  .nav-link { padding: 10px 10px; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .main-nav, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .grid-4, .values { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before, .timeline .timeline-progress { top: 0; bottom: 0; left: 31px; right: auto; width: 1px; height: auto; }
  .timeline .timeline-progress { transform: scaleY(0); transform-origin: top; height: 100%; }
  .timeline.in .timeline-progress { transform: scaleY(1); }
  .timeline li { display: grid; grid-template-columns: 62px 1fr; gap: 24px; padding-bottom: 36px; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline .step-dot { margin: 0; }
  .contact-layout, .cta-inner, .markets-split { grid-template-columns: 1fr; }
  .markets-intro { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .sticky { position: static; }
  .timeline.timeline-3 { grid-template-columns: 1fr; gap: 0; }
}

/* Tablets and narrow windows: keep the nav links visible in a compact header (phones use the menu) */
@media (min-width: 681px) and (max-width: 1080px) {
  .main-nav { display: flex; }
  .menu-toggle { display: none; }
  .header-inner { gap: 12px; }
  .nav-link { padding: 8px 7px; font-size: 13.5px; }
  .nav-link::after { left: 7px; right: 7px; }
  .header-actions .btn { display: inline-flex; padding: 11px 16px; font-size: 13px; }
}
@media (min-width: 681px) and (max-width: 1000px) {
  .brand-text { display: none; }
}
@media (min-width: 681px) and (max-width: 1140px) {
  .landing .brand-text { display: none; }
}
@media (min-width: 681px) and (max-width: 760px) {
  .header-actions .btn { display: none; }
}

@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2 .order-first-mobile { order: -1; }
  .frame-badge { right: 12px; bottom: -22px; }
  .frame-wrap::before { inset: -12px 12px 12px -12px; }
}

@media (max-width: 680px) {
  :root { --header-h: 72px; }
  body { font-size: 16px; }
  .brand svg { width: 46px; height: 40px; }
  .brand-name { font-size: 17px; letter-spacing: 0.1em; }
  .brand-sub { font-size: 8.5px; letter-spacing: 0.32em; }
  .grid-3, .grid-4, .values { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 110px; }
  .hero-actions .btn { width: 100%; }
  .hero::before {
    background: linear-gradient(180deg, rgba(5, 11, 31, 0.55) 0%, rgba(5, 11, 31, 0.85) 55%, rgba(5, 11, 31, 0.96) 100%);
  }
  .hero-media img { object-position: 78% 50%; }
  .scroll-cue { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-contact-col { grid-column: 1 / -1; }
  .faq-a p { padding-right: 0; }
  .path-card { min-height: 400px; }
  .card { padding: 32px 26px; }
  .process-item { grid-template-columns: 1fr; gap: 18px; }
  .process-list::before { display: none; }
  .mobile-cta { display: flex; }
  .to-top { bottom: 88px; right: 16px; width: 46px; height: 46px; }
  .site-footer { padding-bottom: 100px; }
  .cta-actions { align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  .stat { padding: 28px 18px; }
  .site-footer.landing-footer { padding-bottom: 100px; }
  .landing-hero::before {
    background: linear-gradient(180deg, rgba(5, 11, 31, 0.5) 0%, rgba(5, 11, 31, 0.8) 50%, rgba(5, 11, 31, 0.95) 100%);
  }
}


@media (max-width: 860px) {
  .reveal-left, .reveal-right { transform: translateY(36px); }
}

@media (max-width: 400px) {
  .brand { gap: 9px; }
  .brand svg { width: 42px; height: 37px; }
  .brand-name { font-size: 15px; letter-spacing: 0.08em; }
  .brand-sub { font-size: 7.5px; letter-spacing: 0.22em; }
}

@media (max-width: 330px) {
  .brand-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span, .hero-fade { transform: none; opacity: 1; }
  .marquee { animation: none; }
  .hero-video { display: none; }
  .landing-hero .hero-media { background-image: url("../video/life-phases-poster.jpg"); }
}

@media print {
  .cookie-banner { display: none !important; }
  .site-header, .mobile-menu, .to-top, .mobile-cta, .hero-canvas, .scroll-cue { display: none !important; }
  .dark, .hero, .page-hero { background: #fff !important; color: #000 !important; }
}
