/* =========================================================
   Elsohemy Law — Design System
   Palette sampled from the brand deck:
     navy   #0D1B3D   (primary)
     gold   #C9A44C   (accent)
     cream  #F4F2ED   (light surface)
   ========================================================= */

:root {
  --navy:         #0D1B3D;
  --navy-2:       #13244D;
  --navy-deep:    #081130;
  --gold:         #C9A44C;
  --gold-soft:    #D7B86B;
  --gold-ink:     #8A6F26;
  --cream:        #F4F2ED;
  --cream-2:      #EDEAE2;
  --paper:        #F7F5F0;
  --ink:          #1A1D26;
  --ink-2:        #3A3F4E;
  --muted:        #6B7184;
  --line:         rgba(13, 27, 61, 0.12);
  --line-light:   rgba(255, 255, 255, 0.14);

  --serif: "Playfair Display", "Georgia", "Cormorant Garamond", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(13, 27, 61, 0.06), 0 1px 3px rgba(13, 27, 61, 0.08);
  --shadow:    0 10px 30px -12px rgba(13, 27, 61, 0.22), 0 4px 12px -4px rgba(13, 27, 61, 0.12);
  --shadow-lg: 0 30px 60px -24px rgba(13, 27, 61, 0.35);

  --ease:     cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --container: 1200px;
}

/* Reset / base ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--gold); padding: 10px 16px; z-index: 9999;
}
.skip:focus { left: 12px; top: 12px; }

.container { width: min(var(--container), 92%); margin-inline: auto; }

/* ========================================================================
   NAV
   ======================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 240, 0.85);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 50%, var(--gold) 100%);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px -12px rgba(13, 27, 61, 0.18);
}
.nav-inner {
  width: min(var(--container), 94%);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--navy);
}
.brand-mark { display: grid; place-items: center; }
.brand-wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.2px;
  color: var(--navy);
}
.brand-sub {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.phone-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--navy);
}
.phone-link:hover { color: var(--gold-ink); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px; position: relative;
}
.nav-toggle span {
  position: absolute; left: 8px; right: 8px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease), top .25s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column; gap: 4px;
  padding: 16px 5%;
  background: #fff;
  border-top: 1px solid var(--line);
}
.mobile-menu a {
  padding: 12px 4px;
  font-size: 15px; font-weight: 500;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu .btn { margin-top: 10px; text-align: center; }

/* ========================================================================
   BUTTONS
   ======================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn.block { display: flex; width: 100%; }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 6px 18px -8px rgba(201, 164, 76, 0.6);
}
.btn-gold:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(201, 164, 76, 0.7);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(13, 27, 61, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--gold); color: var(--gold); }

/* ========================================================================
   UTILITIES
   ======================================================================== */
.section { padding: 120px 0; }
.section-light { background: var(--cream); }

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-gold { color: var(--gold-ink); }

.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 14px 0 18px;
}
.section-title.light { color: #fff; }
.section-lede {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0;
}
.section-lede.light { color: rgba(255,255,255,0.78); }

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ========================================================================
   HERO
   ======================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  padding: 80px 0 100px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201,164,76,0.12), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(201,164,76,0.08), transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; right: -200px; top: 20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,164,76,0.2), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(var(--container), 92%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero-copy { max-width: 640px; }
.hero-copy .eyebrow {
  color: var(--gold);
  position: relative;
  padding-left: 40px;
}
.hero-copy .eyebrow::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 28px; height: 1.5px;
  background: var(--gold);
  transform: translateY(-50%);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 20px 0 28px;
  color: #fff;
}

.hero-lede {
  max-width: 540px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  margin: 0 0 36px;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 48px;
}
.hero-actions .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.hero-actions .btn-outline:hover {
  background: #fff; color: var(--navy); border-color: #fff;
}

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 22px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-badges li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(201,164,76,0.6);
}

/* Hero floating card */
.hero-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}
.hero-card::before {
  content: "";
  position: absolute; top: -1px; left: 30px; right: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.card-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold);
}
.card-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(40px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 10px 0 32px;
  color: #fff;
}
.hero-stats, .about-stats {
  display: flex; flex-direction: column; gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.stat {
  display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 18px;
}
.stat-num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.stat-num sup { font-size: 28px; vertical-align: 24px; margin-left: 2px; }
.stat-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
}
.card-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 24px;
}
.card-role {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.card-sig { width: 100px; opacity: 0.8; }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
}
.hero-scroll svg { animation: bounce 2.2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ========================================================================
   ABOUT (replicates deck slide layout)
   ======================================================================== */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.about-grid::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gold);
  z-index: 2;
}

.about-card {
  background: var(--navy);
  color: #fff;
  padding: 64px 56px;
  position: relative;
}
.about-card .eyebrow-gold { color: var(--gold); }
.about-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 16px 0 56px;
  color: #fff;
}

.about-body {
  background: var(--cream);
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 24px;
}
.about-body p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 18px;
}

.pill-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 32px;
}
.pill {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em;
}

/* ========================================================================
   PRACTICE AREAS
   ======================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 36px 40px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201,164,76,0.15), rgba(201,164,76,0.05));
  color: var(--navy);
  margin-bottom: 28px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.card-icon svg { width: 32px; height: 32px; }
.card:hover .card-icon {
  background: var(--navy);
  color: var(--gold);
}

.card-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 14px;
}
.card-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 20px;
}
.card-list {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin: 0 0 24px;
}
.card-list li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 14px;
  color: var(--ink-2);
}
.card-list li::before {
  content: "";
  position: absolute; left: 0; top: 14px;
  width: 10px; height: 1.5px;
  background: var(--gold);
}
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--navy);
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease), gap .2s var(--ease);
}
.card-link span { transition: transform .3s var(--ease); display: inline-block; }
.card-link:hover {
  color: var(--gold-ink);
  border-bottom-color: var(--gold);
  gap: 10px;
}

/* ========================================================================
   APPROACH
   ======================================================================== */
.approach {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse at 80% 20%, rgba(201,164,76,0.12), transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.approach::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}
.values li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
.value-num {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold);
  letter-spacing: -0.02em;
  padding-top: 2px;
  line-height: 1;
}
.values h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin: 0 0 8px;
}
.values p {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  margin: 0;
}

/* ========================================================================
   CTA BAND
   ======================================================================== */
.cta-band {
  background: var(--cream);
  padding: 72px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 6px;
}
.cta-sub {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-ghost { color: var(--navy); border-color: rgba(13,27,61,0.3); }
.cta-band .btn-ghost:hover { background: var(--navy); color: var(--gold); border-color: var(--navy); }

/* ========================================================================
   CONTACT
   ======================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info .section-title { margin-top: 14px; text-align: left; }
.contact-info .section-lede { margin-bottom: 36px; }
.contact-list { margin-top: 32px; display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.contact-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
}
.contact-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-list a { color: var(--navy); font-weight: 500; }
.contact-list a:hover { color: var(--gold-ink); }

/* Form */
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field input, .field textarea, .field select {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 15px;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,164,76,0.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.check input { margin-top: 3px; accent-color: var(--navy); }

.form-status { margin: 0; min-height: 20px; font-size: 14px; }
.form-status.success { color: #2F7F4F; }
.form-status.error { color: #B83A3A; }

/* Contact CTA card (replaces the home-page form — funnels to /intake.html) */
.contact-cta {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse at 100% 0%, rgba(201,164,76,0.22), transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 40px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.contact-cta::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 50%, var(--gold) 100%);
}
.contact-cta-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  padding-left: 40px;
}
.contact-cta-eyebrow::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 28px; height: 1.5px;
  background: var(--gold);
  transform: translateY(-50%);
}
.contact-cta-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 16px 0 18px;
}
.contact-cta-lede {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  margin: 0 0 24px;
}
.contact-cta-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0;
  margin: 0 0 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-cta-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.contact-cta-list svg {
  color: var(--gold);
  flex-shrink: 0;
}
.contact-cta-btn { width: 100%; }
.contact-cta-foot {
  margin: 22px 0 0;
  font-size: 13.5px;
  color: rgba(255,255,255,0.62);
  text-align: center;
}
.contact-cta-foot a {
  color: var(--gold);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.contact-cta-foot a:hover { border-bottom-color: var(--gold); }
@media (max-width: 760px) {
  .contact-cta { padding: 36px 28px; }
}

/* Honeypot — visually hidden, accessible to bots only */
.hp {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

.map {
  margin-top: 64px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 6;
}
.map iframe { width: 100%; height: 100%; border: 0; }

/* ========================================================================
   FOOTER
   ======================================================================== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  position: relative;
  padding: 80px 0 32px;
}
.footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 50%, var(--gold) 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer .brand { color: #fff; }
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: rgba(255,255,255,0.55); }
.footer-tag {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: var(--gold);
  margin: 20px 0 0;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 {
  font-family: var(--serif);
  font-size: 16px;
  color: #fff;
  margin: 0 0 10px;
  font-weight: 600;
}
.footer-col a, .footer-col span {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-top: 28px;
}
.footer-bottom small { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-bottom .disclaimer { max-width: 540px; text-align: right; }

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 1024px) {
  .section { padding: 96px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-card { max-width: 520px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-card, .about-body { padding: 48px 40px; }
  .approach-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .section { padding: 80px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu { display: flex; }
  .mobile-menu[hidden] { display: none; }

  .hero { padding: 56px 0 88px; }
  .hero-title { font-size: clamp(48px, 12vw, 76px); }
  .hero-card { padding: 32px 28px; }
  .stat { grid-template-columns: 90px 1fr; gap: 14px; }
  .stat-num { font-size: 46px; }

  .about-card, .about-body { padding: 40px 28px; }

  .section-head { margin-bottom: 48px; }
  .cards { grid-template-columns: 1fr; gap: 20px; }
  .card { padding: 36px 28px; }

  .values { grid-template-columns: 1fr; gap: 28px; }

  .cta-inner { flex-direction: column; align-items: flex-start; }

  .contact-form { padding: 28px 22px; }
  .field-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom .disclaimer { text-align: left; }
}

/* =========================================================
   HERO CARD — process steps (replaces stats)
   ========================================================= */
.hero-process {
  list-style: none;
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 20px;
  counter-reset: step;
}
.hero-process li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  align-items: start;
}
.hero-process .step-num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
  padding-top: 4px;
  border-right: 1px solid rgba(255,255,255,0.12);
  padding-right: 14px;
  text-align: left;
}
.hero-process .step-body h4 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}
.hero-process .step-body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
}

/* =========================================================
   ABOUT CARD — quote + facts (replaces stats)
   ========================================================= */
.about-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  margin: 0 0 32px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  position: relative;
}
.about-quote::before {
  content: "\201C";
  position: absolute;
  top: 4px;
  left: -4px;
  font-family: var(--serif);
  font-size: 60px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
}
.about-facts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-facts li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.about-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.fact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.fact-value {
  font-size: 15.5px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

/* =========================================================
   ACTIVE NAV STATE
   ========================================================= */
.nav-links a[aria-current="page"],
.mobile-menu a[aria-current="page"] {
  color: var(--navy);
}
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

/* =========================================================
   INTAKE PAGE
   ========================================================= */
.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;
}

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

.intake-hero {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(201,164,76,0.14), transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.intake-hero::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.intake-hero .container { max-width: 800px; margin-inline: auto; width: min(800px, 92%); }
.intake-hero .eyebrow {
  position: relative;
  padding-left: 40px;
  color: var(--gold);
}
.intake-hero .eyebrow::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 28px; height: 1.5px;
  background: var(--gold);
  transform: translateY(-50%);
}
.intake-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 18px 0 22px;
}
.intake-lede {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  max-width: 640px;
  margin: 0;
}

/* Form wrapper */
.intake-wrap {
  background: var(--cream);
  padding: 80px 0 120px;
  position: relative;
}
.intake-wrap .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

/* Card */
.intake-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.intake-section {
  padding: 44px 48px;
  border-top: 1px solid var(--line);
}
.intake-section:first-child {
  border-top: 0;
  padding-top: 48px;
  position: relative;
}
.intake-section:first-child::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gold);
}

.intake-section-head {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 32px;
}
.section-num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
  padding-top: 4px;
}
.intake-section-head h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.intake-section-head p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* Form layout helpers */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.intake-card .field { margin-bottom: 18px; }
.intake-card .field:last-child { margin-bottom: 0; }
.intake-card .field label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.intake-card .field input,
.intake-card .field textarea,
.intake-card .field select {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  font-size: 15px;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.intake-card .field input:focus,
.intake-card .field textarea:focus,
.intake-card .field select:focus {
  outline: none;
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,164,76,0.15);
}
.intake-card .field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }

.req {
  color: #B83A3A;
  font-weight: 700;
  margin-left: 2px;
  letter-spacing: 0;
  text-transform: none;
}
.opt {
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin-left: 2px;
}

/* Choice cards (radio cards) */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border: 0;
  margin: 0;
  padding: 0;
}
.choice-grid.two { grid-template-columns: 1fr 1fr; }
.choice {
  position: relative;
  cursor: pointer;
  display: block;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.choice-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
  height: 100%;
}
.choice-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(201,164,76,0.12);
  color: var(--navy);
  margin-bottom: 4px;
}
.choice-icon svg { width: 24px; height: 24px; }
.choice-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
}
.choice-sub {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}
.choice:hover .choice-card {
  border-color: rgba(201,164,76,0.55);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.choice input:checked + .choice-card {
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 1px var(--navy), 0 8px 24px -12px rgba(13,27,61,0.3);
}
.choice input:checked + .choice-card .choice-icon {
  background: var(--navy);
  color: var(--gold);
}
.choice input:focus-visible + .choice-card {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Radio group (simple list) */
.radio-group {
  border: 0;
  margin: 0 0 24px;
  padding: 0;
}
.radio-group legend {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.radio-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  font-size: 14.5px;
  color: var(--ink);
}
.radio-line:hover { border-color: rgba(201,164,76,0.5); background: #fff; }
.radio-line input { accent-color: var(--navy); width: 18px; height: 18px; flex-shrink: 0; }
.radio-line:has(input:checked) {
  border-color: var(--navy);
  background: #fff;
  box-shadow: inset 3px 0 0 var(--gold);
}

/* Sub-conditional reveal */
.sub-conditional {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
  animation: fadeUp .35s var(--ease-out);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* Check cards (for corporate needs) */
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border: 0; margin: 0; padding: 0;
}
.check-grid.compact { gap: 6px; grid-template-columns: 1fr; margin-top: 24px; }
.check-legend {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}
.check-card {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.check-card input { accent-color: var(--navy); width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.check-card span { display: flex; flex-direction: column; gap: 2px; }
.check-card strong {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy);
}
.check-card small {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}
.check-card:hover { border-color: rgba(201,164,76,0.5); background: #fff; }
.check-card:has(input:checked) {
  border-color: var(--navy);
  background: #fff;
  box-shadow: inset 3px 0 0 var(--gold);
}

.check-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 14.5px;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.check-line:hover { background: var(--paper); }
.check-line input { accent-color: var(--navy); width: 17px; height: 17px; }

/* Acknowledgment + submit */
.ack-block {
  margin-top: 28px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ack-block .check { font-size: 13.5px; color: var(--ink-2); }

.submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.submit-row .form-status { margin: 0; }

/* Sidebar — what happens next */
.intake-aside {
  position: sticky;
  top: 100px;
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: -webkit-sticky;
  position: sticky;
}
.intake-aside h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin: 0 0 24px;
}
.intake-aside ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.intake-aside ol li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}
.intake-aside ol span {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(201,164,76,0.18);
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}
.intake-aside ol strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  margin-bottom: 2px;
}
.intake-aside ol p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
}
.aside-divider {
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 24px 0;
}
.aside-help {
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin: 0;
}
.aside-help a {
  color: var(--gold);
  font-weight: 500;
}
.aside-help a:hover { color: var(--gold-soft); }

/* Responsive — intake */
@media (max-width: 980px) {
  .intake-wrap .container { grid-template-columns: 1fr; }
  .intake-aside { position: static; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-grid.two { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .intake-hero { padding: 72px 0 60px; }
  .intake-wrap { padding: 56px 0 80px; }
  .intake-section { padding: 36px 24px; }
  .intake-section-head { grid-template-columns: 40px 1fr; gap: 14px; margin-bottom: 24px; }
  .section-num { font-size: 28px; }
  .intake-section-head h2 { font-size: 22px; }
  .grid-2 { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .grid-2 .field { margin-bottom: 18px; }
  .check-grid { grid-template-columns: 1fr; }
  .ack-block { padding: 18px; }
}

