/* ============================================================
   AGENTIC LAW GROUP — Shared Stylesheet
   Brand: Midnight Blue + Copper + Burgundy · Cormorant Garamond + DM Sans
   ============================================================ */

/* Accessible visually-hidden utility (SEO + screen readers see the text, sighted users don't) */
.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;
}


@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Playfair+Display:wght@300;400;500;600;700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* ── Primary — Blue ── */
  --navy-deep:    #0B1730;
  --navy-mid:     #101E3D;
  --navy-light:   #1A3DA8;
  --blue-bright:  #4A7AFF;
  --blue-wash:    #E8EEFF;

  /* ── Secondary — Copper ── */
  --copper:       #D4945A;
  --copper-dark:  #D4945A;
  --copper-warm:  #E8B87A;
  --copper-light: #F0D0A0;
  --copper-wash:  #F5E6D5;

  /* ── Accent — Burgundy ── */
  --burgundy-deep: #3D1219;
  --burgundy:     #722F37;
  --burgundy-mid: #A4434E;
  --burgundy-rose: #D4838B;
  --burgundy-light: #EBBFC3;
  --burgundy-wash: #F7E4E6;

  /* ── Neutrals ── */
  --white:        #FFFFFF;
  --off-white:    #F5F4F2;
  --text-light:   #B3C8FF;
  --text-muted:   #7A90C0;
  --text-dark:    #0B1730;
  --border:       rgba(212,148,90,0.3);

  /* ── Aliases ── */
  --gold:         var(--copper);
  --gold-light:   var(--copper-warm);
  --accent:       var(--burgundy-rose);

  /* ── System ── */
  --radius:       6px;
  --transition:   0.25s ease;
  --max-width:    1140px;
  --font-sans:    'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--navy-deep);
  color: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--copper); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--copper-warm); }

/* ── Container ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
h4 {
  font-family: var(--font-sans);
  line-height: 1.3;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,23,48,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* ── Nav Left group (logo + socials + tagline) ── */
.nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-socials a {
  color: var(--text-muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.nav-socials a:hover { color: var(--copper); }
.nav-tagline {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.25;
}
.nav-tagline span {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* ── Nav Logo (inline SVG version) ── */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0;
  flex-shrink: 0;
}
.nav-logo svg { height: 44px; width: auto; }

/* ── Nav Right group (Let's Talk + hamburger) ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-cta-always {
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-shrink: 1;
  min-width: 0;
  overflow: visible;
}
.nav-links a {
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  white-space: nowrap;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,0.07); }

/* ── Nav dropdowns ── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  cursor: default;
}
.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 5px;
  vertical-align: middle;
  opacity: 0.6;
  transition: transform 0.2s;
}
.nav-dropdown:hover > a::after {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 8px 0;
  padding-top: 12px;
  margin-top: 0;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}
.nav-dropdown:focus-within > a::after,
.nav-dropdown.open > a::after {
  transform: rotate(180deg);
}
.nav-dropdown-menu a {
  display: block;
  padding: 8px 20px;
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  border-radius: 0;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}
.nav-dropdown-menu a.active {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

/* Focus-visible outlines for keyboard users */
.nav-links a:focus-visible,
.nav-cta:focus-visible,
.nav-toggle:focus-visible,
.nav-dropdown-menu a:focus-visible,
.footer a:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.nav-cta-wrap {
  position: relative;
  list-style: none;
}
.nav-links .nav-cta,
button.nav-cta,
a.nav-cta {
  background: var(--copper);
  color: var(--white);
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius);
  border: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.nav-links .nav-cta:hover,
button.nav-cta:hover,
a.nav-cta:hover { background: var(--copper-warm); color: var(--white); }
button.nav-cta::after,
a.nav-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: btnShimmer 3s ease-in-out infinite;
}

/* Nav Let's Talk dropdown */
.nav-lt-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  width: 320px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  z-index: 200;
}
.nav-lt-dropdown.open { display: block; }
.nav-lt-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 20px;
  width: 10px;
  height: 10px;
  background: var(--navy-mid);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.nav-lt-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nav-lt-form input[type="email"] {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.3s;
}
.nav-lt-form input[type="email"]::placeholder { color: var(--text-muted); }
.nav-lt-form input[type="email"]:focus { border-color: var(--copper); }
.nav-lt-form .btn { width: 100%; justify-content: center; }
.nav-lt-contact {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-lt-contact:hover { color: var(--copper); }
.nav-lt-success {
  display: none;
  padding: 12px;
  background: rgba(212,148,90,0.1);
  border: 1px solid rgba(212,148,90,0.25);
  border-radius: 6px;
  color: var(--copper);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
}

/* Hamburger – mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--copper);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.btn-primary:hover { background: var(--copper-warm); color: var(--white); transform: translateY(-1px); }
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: btnShimmer 3s ease-in-out infinite;
}
@keyframes btnShimmer {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
.btn-outline {
  border-color: var(--copper);
  color: var(--copper);
  background: transparent;
}
.btn-outline:hover { background: var(--copper); color: var(--white); transform: translateY(-1px); }
.btn-ghost {
  color: var(--text-light);
  border-color: rgba(255,255,255,0.2);
}
.btn-ghost:hover { color: var(--white); border-color: var(--white); }

/* ── Section action row (Let's Talk + Learn More) ── */
.section-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.learn-more-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.learn-more-link:hover { color: var(--copper); }
.learn-more-link svg { animation: learnBounce 2s ease-in-out infinite; }
@keyframes learnBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ── Section Utilities ── */
.section { padding: 48px 0; }
.section-sm { padding: 32px 0; }
.section-light {
  background: var(--off-white);
  color: var(--text-dark);
}
.section-light h2, .section-light h3 { color: var(--navy-deep); }
.section-light p, .section-light li { color: #3A4A5E; }
.section-light .text-muted { color: #4A5A6E; }
.section-light .section-label { color: var(--copper); }
.section-light .step-title { color: var(--navy-deep); }
.section-light .step-summary { color: #5A6A7E; }
.section-light .step-detail { color: #5A6A7E; }
.section-light .pipeline-step:hover .step-summary { color: #3A4A5E; }
.section-light .step-circle { background: rgba(212,148,90,0.08); border-color: rgba(212,148,90,0.25); }
.section-light .pipeline::before { background: linear-gradient(90deg, rgba(11,23,48,0.05), rgba(212,148,90,0.3), rgba(11,23,48,0.05)); }
.section-light .pipeline-hint { color: #7A8A9E; }
.section-light .learn-more-link { color: #7A8A9E; }
.section-light .learn-more-link:hover { color: var(--copper); }
.section-light .blockquote { border-color: var(--copper); background: rgba(212,148,90,0.06); }
.section-light .blockquote p { color: #3A4A5E; }
.section-light .card { background: rgba(11,23,48,0.04); border-color: rgba(11,23,48,0.08); }
.section-light .card h3 { color: var(--navy-deep); }
.section-light .card p { color: #4A5A6E; }
.section-mid { background: var(--navy-mid); }
.section-blue { background: #1C3358; }

.section-label {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
  display: block;
}
.section-header { max-width: 720px; margin-bottom: 56px; }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* ── Hero ── */
.hero {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 0%, rgba(26,61,168,0.12) 0%, transparent 65%),
              radial-gradient(ellipse at 10% 90%, rgba(212,148,90,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-split {
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.hero-inner { flex: 1; min-width: 0; max-width: 680px; }
.hero-graphic-side {
  flex: 0 0 360px;
  max-width: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-graphic-side img {
  width: 100%;
  height: auto;
  opacity: 0.85;
}
@media (max-width: 900px) {
  .hero-split { flex-direction: column; gap: 32px; }
  .hero-graphic-side { flex: none; max-width: 400px; width: 100%; }
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,148,90,0.1);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--copper);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-tag .dot { width: 6px; height: 6px; background: var(--copper); border-radius: 50%; }
.hero h1 { margin-bottom: 24px; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-light);
  max-width: 640px;
  margin-bottom: 44px;
  line-height: 1.7;
  text-wrap: balance;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 24px;
}

/* ── Divider line ── */
.divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 0; }
.divider-gold { border-top-color: var(--border); }

/* ── Cards ── */
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 36px 32px;
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover { border-color: var(--border); transform: translateY(-2px); }
.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(212,148,90,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.card-icon svg {
  width: 24px;
  height: 24px;
}
/* Inline SVG icons in any flex container */
h4 svg, .card-icon svg, [style*="56px"] svg {
  flex-shrink: 0;
}
[style*="width: 56px"] svg {
  width: 28px;
  height: 28px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-light); font-size: 0.95rem; }

/* ── Light card (for light sections) ── */
.card-light {
  background: var(--white);
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 36px 32px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card-light:hover { box-shadow: 0 8px 30px rgba(11,23,48,0.1); transform: translateY(-2px); }
.card-light h3 { color: var(--navy-deep); margin-bottom: 12px; }
.card-light p { color: #4A5A6E; font-size: 0.95rem; }

/* ── Services: Left-List / Right-Panel Split ── */
.svc-split {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

/* Left column: service list */
.svc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 100px;
}

.svc-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
  color: var(--text-light);
  font-family: var(--font-body);
}
.svc-list-item:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--border);
}
.svc-list-item.active {
  background: rgba(212,148,90,0.08);
  border-color: var(--copper);
  color: var(--white);
}
.svc-list-item.active .svc-list-icon {
  color: var(--copper);
}

.svc-list-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(212,148,90,0.10);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.25s;
}

.svc-list-text h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 2px;
  line-height: 1.3;
}
.svc-list-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* Right column: detail panels */
.svc-panel-wrap {
  min-height: 480px;
}

.svc-panel {
  display: none;
  animation: svcFadeIn 0.3s ease;
}
.svc-panel.active {
  display: block;
}

@keyframes svcFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.svc-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.svc-panel h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white);
  margin: 0;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

.svc-panel-lead {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--copper);
  line-height: 1.6;
  margin-bottom: 12px;
}

.svc-panel .text-muted {
  margin-bottom: 28px;
}

.svc-panel-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.svc-panel-cards .card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 24px 20px;
  transition: border-color 0.25s;
}
.svc-panel-cards .card:hover {
  border-color: var(--border);
}

/* Header CTA alignment */
.svc-panel-header .lt-wrap {
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .svc-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .svc-list {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .svc-list-item {
    width: auto;
    padding: 10px 14px;
  }
  .svc-list-text p { display: none; }
  .svc-panel-wrap { min-height: auto; }
}
@media (max-width: 600px) {
  .svc-list { flex-direction: column; }
  .svc-list-item { width: 100%; }
  .svc-list-text p { display: block; }
  .svc-panel-cards { grid-template-columns: 1fr; }
  .svc-panel h2 { font-size: 1.4rem; }
}

/* ── Core Values grid ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.value-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  transition: border-color var(--transition);
}
.value-item:hover { border-color: var(--border); }
.value-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--copper-warm);
  opacity: 1;
  min-width: 32px;
  line-height: 1;
  padding-top: 2px;
}
.value-content h3 { margin-bottom: 8px; font-size: 1rem; }
.value-content p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

/* ── Stat bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
}
.stat-item {
  background: var(--navy-mid);
  padding: 36px 28px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.85rem; color: var(--text-light); }

/* ── Process steps ── */
.steps { display: flex; flex-direction: column; gap: 48px; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  align-items: start;
}
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(212,148,90,0.1);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--copper);
  flex-shrink: 0;
}
.step-body h3 { margin-bottom: 12px; padding-top: 14px; }
.step-body p { color: var(--text-light); }

/* ── Problem/Solution blocks ── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.problem-block {
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px solid rgba(114,47,55,0.35);
  background: rgba(114,47,55,0.1);
  box-shadow: 0 2px 16px rgba(114,47,55,0.12);
  border-left: 3px solid #D4838B;
}
.problem-block h3 { color: #D4838B; margin-bottom: 0; display: flex; align-items: center; gap: 8px; font-size: 1.15rem; }
.problem-block h3 svg { flex-shrink: 0; vertical-align: middle; }
.problem-block p { color: var(--text-light); font-size: 0.92rem; }

/* Flip card interaction */
.problem-flip {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.problem-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, margin-top 0.3s ease;
  margin-top: 0;
}
.problem-flip.flipped .problem-detail {
  max-height: 300px;
  margin-top: 10px;
}
.problem-flip .problem-detail p {
  animation: problemFadeIn 0.4s ease;
}
@keyframes problemFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.problem-hint {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 600;
}
.problem-tap {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

/* ── Comparison table ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
}
.compare-table th {
  padding: 18px 24px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.compare-table th:first-child { background: var(--navy-mid); color: var(--text-muted); }
.compare-table th:nth-child(2) { background: rgba(114,47,55,0.15); color: #D4838B; }
.compare-table th:nth-child(3) { background: rgba(114,47,55,0.10); color: #D4838B; }
.compare-table th:last-child { background: rgba(212,148,90,0.18); color: var(--copper); }
.compare-table td {
  padding: 16px 24px;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.compare-table td:first-child { color: var(--text-muted); font-weight: 500; }
.compare-table td:last-child { color: var(--copper); font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(odd) td { background: rgba(255,255,255,0.02); }
.check { color: #5DCA8A; }
.cross { color: #D4838B; }

/* ── Pricing card ── */
.pricing-card {
  background: var(--navy-mid);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 48px 44px;
  max-width: 560px;
}
.pricing-badge {
  display: inline-block;
  background: rgba(212,148,90,0.15);
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 40px;
  margin-bottom: 20px;
}
.price-amount {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.price-period { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; }
.price-list { list-style: none; margin-bottom: 36px; }
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.95rem;
  color: var(--text-light);
}
.price-list li:last-child { border-bottom: none; }
.price-list .icon { color: var(--copper); font-size: 1.1rem; margin-top: 1px; }

/* ── Pricing tabs (Pay-as-you-go / Subscription / Flat Fee) ── */
.pricing-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  align-self: flex-start;
  gap: 10px;
}
.pricing-tab {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.pricing-tab:hover { color: var(--text-light); border-color: var(--copper); }
.pricing-tab.active {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--white);
}
.pricing-tab-panel { display: none; }
.pricing-tab-panel.active { display: flex; flex-direction: column; gap: 24px; }

/* ── Nested subtab toggles (Subscription tiers / Flat Fee categories) ──
   Distinct from outer pricing-tab pills: rectangular vs rounded, ghost vs filled. */
.pricing-subtabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
  width: 100%;
}
.pricing-subtab {
  background: transparent;
  border: 1px dashed rgba(212,148,90,0.6);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.pricing-subtab:hover {
  color: var(--text-light);
  border-color: var(--gold);
  background: rgba(212,148,90,0.04);
}
.pricing-subtab.active {
  background: rgba(212,148,90,0.10);
  border: 1px solid var(--gold);
  color: var(--gold);
}
.pricing-subtab-panel { display: none; }
.pricing-subtab-panel.active { display: block; }

/* ── Pricing card: tier variant (compact, used in subscription panel) ── */
.pricing-card--tier {
  padding: 32px 32px;
  max-width: none;
}
.pricing-card--tier .price-amount {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.pricing-card--tier .price-period {
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.pricing-card--tier .price-list { margin-bottom: 24px; }
.pricing-card--tier .price-list li { padding: 8px 0; font-size: 0.9rem; }
.pricing-card--featured {
  border-color: rgba(212,148,90,0.55);
  box-shadow: 0 0 0 1px rgba(212,148,90,0.10), 0 12px 32px rgba(11,23,48,0.45);
}
.pricing-tag {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 40px;
  margin-left: 10px;
  vertical-align: middle;
}

/* ── Team cards ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.team-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 44px 40px;
  transition: border-color var(--transition);
}
.team-card:hover { border-color: var(--border); }
.team-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(212,148,90,0.12);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--copper);
  margin-bottom: 24px;
}
.team-name { font-size: 1.4rem; margin-bottom: 4px; }
.team-title { color: var(--copper); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 20px; }
.team-bio { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* ── Founders showcase (full-bleed photos, name labels, bio below) ── */
.founders-showcase {
  margin-top: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.founders-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.founders-photo {
  border-radius: 12px;
  position: relative;
}
.founders-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  border-radius: 12px;
  transition: transform 0.6s ease;
}
.founders-photo:hover img {
  transform: scale(1.03);
}
#founders img[style*="border-radius: 50%"]:hover {
  transform: scale(1.06) translateY(-3px);
}
.founders-photo-label {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  background: rgba(11,23,48,0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 4px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: 10px;
}
.founders-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: #fff;
}
.founders-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--copper);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.founders-bio {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: center;
  margin-top: 28px;
}
@media (max-width: 480px) {
  .founders-photo { aspect-ratio: 1 / 1; }
  .founders-photo-label { bottom: 10px; right: 10px; }
  .founders-name { font-size: 0.95rem; }
  .founders-bio { font-size: 0.88rem; margin-top: 20px; }
}

/* ── Contact form ── */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 48px 44px;
}
.form-group { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
input, textarea, select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--copper);
  background: rgba(212,148,90,0.05);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
textarea { resize: vertical; min-height: 140px; }
select option { background: var(--navy-mid); }

/* ── Inline list ── */
.inline-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.inline-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-light);
}
.inline-list .bullet {
  color: var(--copper);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Quote block ── */
.blockquote {
  border-left: 3px solid var(--copper);
  padding: 20px 28px;
  margin: 32px 0;
  background: rgba(212,148,90,0.05);
  border-radius: 0 8px 8px 0;
}
.blockquote p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-mid) 0%, #0D1A38 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 72px 64px;
  text-align: center;
}
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { color: var(--text-light); max-width: 560px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-banner .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Let's Talk email reveal ── */
.lt-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.lt-form {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  max-width: 500px;
}
.lt-form input[type="email"] {
  flex: 1 1 220px;
  padding: 13px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.lt-form input[type="email"]::placeholder { color: var(--text-muted); }
.lt-form input[type="email"]:focus {
  border-color: var(--copper);
  background: rgba(255,255,255,0.08);
}
.lt-success {
  padding: 14px 28px;
  background: rgba(212,148,90,0.1);
  border: 1px solid rgba(212,148,90,0.25);
  border-radius: 8px;
  color: var(--copper);
  font-size: 0.95rem;
  font-weight: 500;
  display: none;
}


/* Footer Let's Talk: prevent column-flex from stretching input vertically */
.footer .lt-form { width: 100%; flex-wrap: nowrap; }
.footer .lt-form input[type="email"] {
  flex: none;
  width: 100%;
  min-width: 0;
  padding: 11px 14px;       /* slightly tighter than default 13/18 */
  font-size: 0.85rem;       /* slightly smaller so full placeholder fits */
}
.footer .lt-form button { flex: none; }
.footer .lt-wrap { width: 100%; max-width: 100%; }   /* fill the column */
.footer .lt-form-note { width: 100%; }

/* ── Footer ── */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0px;
  margin-left: -6px;
  text-decoration: none;
}
.footer-logo svg { height: 40px; width: auto; }
.footer-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--copper);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--white); }

/* ── Page hero (interior pages) ── */
.page-hero {
  padding: 80px 0 72px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(26,61,168,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 700px; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .sub { font-size: 1.1rem; color: var(--text-light); line-height: 1.7; text-wrap: balance; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .nav-socials { display: none; }
}
@media (max-width: 960px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(11,23,48,0.98);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-dropdown > a::after { display: inline-block; }
  .nav-dropdown-menu {
    display: none;
    position: static;
    transform: none;
    min-width: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 0 20px;
    margin-top: 0;
    box-shadow: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown:hover .nav-dropdown-menu { display: none; }
  .nav-dropdown.open:hover .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a {
    padding: 6px 12px;
    font-size: 0.82rem;
  }
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-banner { padding: 48px 28px; }
  .step { grid-template-columns: 48px 1fr; }
  .step-num { width: 48px; height: 48px; font-size: 1rem; }
  .hero { padding: 80px 0 64px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .nav-tagline { display: none; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .pricing-card { padding: 36px 28px; }
}

/* ============================================================
   PIPELINE TIMELINE
   ============================================================ */
.pipeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.pipeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(212,148,90,0.1), rgba(212,148,90,0.4), rgba(212,148,90,0.1));
}
.pipeline-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 12px;
  cursor: pointer;
}
.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212,148,90,0.08);
  border: 2px solid rgba(212,148,90,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}
.step-circle svg {
  width: 24px;
  height: 24px;
  color: var(--copper);
  transition: transform 0.3s ease;
}
.pipeline-step:hover .step-circle {
  background: rgba(212,148,90,0.15);
  border-color: var(--copper);
  box-shadow: 0 0 20px rgba(212,148,90,0.2);
  transform: scale(1.08);
}
.pipeline-step:hover .step-circle svg {
  transform: scale(1.1);
}
.step-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
  transition: color 0.3s;
}
.pipeline-step:hover .step-title {
  color: var(--copper);
}
.step-summary {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, color 0.3s;
}
.pipeline-step:hover .step-summary {
  max-height: 200px;
  opacity: 1;
  color: var(--text-light);
}
.step-detail {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 8px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease;
}
.pipeline-step:hover .step-detail {
  max-height: 200px;
  opacity: 1;
}
.pipeline-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 12px;
  color: var(--copper);
  opacity: 0.5;
}
.pipeline-arrow svg {
  width: 32px;
  height: 32px;
}

/* Pulse hint on circles until user interacts */
@keyframes circlePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,148,90,0); border-color: rgba(212,148,90,0.25); }
  50% { box-shadow: 0 0 16px 0 rgba(212,148,90,0.2); border-color: rgba(212,148,90,0.5); }
}
.pipeline:not(.interacted) .step-circle {
  animation: circlePulse 2.5s ease-in-out infinite;
}
.pipeline:not(.interacted) .pipeline-step:nth-child(3) .step-circle { animation-delay: 0.3s; }
.pipeline:not(.interacted) .pipeline-step:nth-child(5) .step-circle { animation-delay: 0.6s; }

/* Hint text above pipeline */
.pipeline-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 28px;
  transition: opacity 0.5s ease;
  animation: hintPulse 2s ease-in-out infinite;
}
@keyframes hintPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}
.pipeline-hint.faded {
  opacity: 0;
  pointer-events: none;
}

/* Pipeline mobile */
@media (max-width: 768px) {
  .pipeline { flex-direction: column; gap: 24px; }
  .pipeline::before { display: none; }
  .pipeline-arrow { display: none; }
  .step-summary { max-height: 200px; opacity: 1; color: var(--text-light); }
  .step-detail { max-height: 200px; opacity: 1; }
  .pipeline-hint { display: none; }
}

/* ============================================================
   BOTTOM CTA POPUP
   ============================================================ */
.cta-popup-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.cta-popup-overlay.visible {
  transform: translateY(0);
  pointer-events: auto;
}
.cta-popup {
  background: rgba(11, 23, 48, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212, 148, 90, 0.2);
  padding: 36px 32px 32px;
  text-align: center;
}
.cta-popup-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 10px;
}
.cta-popup h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}
.cta-popup p {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 20px;
  line-height: 1.5;
}
.cta-popup-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.cta-popup-form input[type="email"] {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  width: 300px;
  outline: none;
  transition: border-color 0.2s;
}
.cta-popup-form input[type="email"]::placeholder {
  color: var(--text-muted);
}
.cta-popup-form input[type="email"]:focus {
  border-color: var(--copper);
}
.cta-popup-form button {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  background: var(--copper);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.cta-popup-form button:hover {
  background: var(--copper-warm);
  transform: translateY(-1px);
}
.cta-popup-dismiss {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--copper);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-popup-dismiss:hover {
  opacity: 1;
}
.cta-popup-success {
  display: none;
  font-size: 0.95rem;
  color: var(--copper);
  font-weight: 500;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .cta-popup { padding: 28px 20px 24px; }
  .cta-popup h3 { font-size: 1.3rem; }
  .cta-popup-form { flex-direction: column; }
  .cta-popup-form input[type="email"] { width: 100%; }
  .cta-popup-form button { width: 100%; }
}

/* ─────────────────────────────────────────────────────
   ARTICLE TEMPLATE — Universal styles for /insights/[slug].html
   ───────────────────────────────────────────────────── */

/* Article hero */
.article-hero {
  padding: 32px 0 12px;
  background: linear-gradient(180deg, rgba(11,23,48,0.0) 0%, rgba(11,23,48,0.02) 100%);
}
.article-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.article-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.article-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212,148,90,0.10);
  padding: 5px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}
.article-category:hover {
  background: rgba(212,148,90,0.20);
  color: var(--gold);
}
.article-meta-dot {
  width: 3px;
  height: 3px;
  background: var(--text-muted);
  border-radius: 50%;
  opacity: 0.5;
}
.article-meta-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0 0 20px;
}
.article-dek {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--copper);
  margin: 0 0 32px;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.article-byline-text { flex: 1; }
.article-byline-authors {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 2px;
}
.article-byline-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Article body */
.article-body-section { padding: 8px 0 16px; }
.article-body {
  max-width: 720px;
  margin: 0 auto;
}
.article-body .lead {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--white);
  margin-bottom: 28px;
  font-weight: 400;
}
.article-body p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 22px;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.005em;
  margin-top: 56px;
  margin-bottom: 18px;
  line-height: 1.3;
}
.article-body h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 40px;
  margin-bottom: 14px;
}
.article-body strong { color: var(--white); font-weight: 600; }
.article-body em { color: var(--text-light); }
.article-body a {
  color: var(--copper);
  text-decoration: underline;
  text-decoration-color: rgba(212,148,90,0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.article-body a:hover { text-decoration-color: var(--copper); }
.article-body ul, .article-body ol {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 0 0 22px 1.4em;
  padding: 0;
}
.article-body li { margin-bottom: 10px; }
.article-body ol > li::marker {
  color: var(--gold);
  font-weight: 600;
}

/* Pull quote */
.pull-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.55;
  color: var(--white);
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 28px;
  margin: 36px 0;
}

/* Key insight callout */
.article-body .key-insight {
  background: rgba(212,148,90,0.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
  margin: 36px 0;
}
.article-body .key-insight p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin: 0;
}

/* Inline editor's notes (bracketed asides from Sam or Matt) */
.article-body em.inline-note {
  color: var(--copper);
  font-style: italic;
}

/* Block-level editor's notes (legacy, currently unused) */
.article-body .editor-note {
  display: block;
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 3px solid;
  background: rgba(255,255,255,0.025);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  font-size: 1.0rem;
  font-family: var(--font-serif);
  color: var(--text-light);
  line-height: 1.6;
}
.article-body .editor-note::before {
  display: block;
  margin-bottom: 8px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.article-body .editor-note-s { border-left-color: var(--copper); }
.article-body .editor-note-s::before {
  content: "Sam";
  color: var(--copper);
}
.article-body .editor-note-m { border-left-color: var(--blue-bright); }
.article-body .editor-note-m::before {
  content: "Matt";
  color: var(--blue-bright);
}

/* Footnotes */
.article-body sup.footnote-ref {
  font-size: 0.7em;
  vertical-align: super;
  line-height: 0;
}
.article-body sup.footnote-ref a {
  color: var(--copper);
  text-decoration: none;
  padding: 0 2px;
}
.article-body sup.footnote-ref a:hover {
  text-decoration: underline;
}
/* Offset footnote scroll targets so the sticky nav doesn't cover them */
.article-body [id^="fn"] {
  scroll-margin-top: 96px;
}
.article-body .footnotes {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.article-body .footnotes-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
}
.article-body .footnotes ol {
  list-style: decimal;
  padding-left: 24px;
  margin: 0;
}
.article-body .footnotes li {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 14px;
}
.article-body .footnotes li::marker {
  color: var(--copper);
}
.article-body .footnotes li .footnote-author {
  font-style: italic;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 4px;
  font-size: 0.85rem;
}
.article-body .footnotes a.footnote-back {
  color: var(--copper);
  text-decoration: none;
  margin-left: 8px;
  font-size: 0.95em;
}
.article-body .footnotes a.footnote-back:hover {
  text-decoration: underline;
}

/* Mid-article CTA (subtle, inline) */
.mid-cta {
  margin: 48px 0;
  padding: 28px 32px;
  background: rgba(212,148,90,0.05);
  border: 1px solid rgba(212,148,90,0.20);
  border-radius: 10px;
}
.mid-cta-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.55;
}
.mid-cta a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212,148,90,0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.mid-cta a:hover { border-color: var(--gold); }

/* Author block at end (joint bio, side-by-side photos) */
.article-authors {
  max-width: 720px;
  margin: 36px auto 0;
  padding: 24px 0 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.article-authors-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.article-authors-photos {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.article-author-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(212,148,90,0.30);
}
.article-authors-names {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 12px;
}
.article-authors-names a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(212,148,90,0.35);
  transition: border-color 0.2s;
}
.article-authors-names a:hover {
  border-color: var(--gold);
}
.article-authors-bio {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.article-authors-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212,148,90,0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.article-authors-link:hover { border-color: var(--gold); }

/* Button row in author block */
.article-authors-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.article-authors-actions .lt-wrap { margin: 0; }

/* Related articles */
.related-articles {
  padding: 36px 0 56px;
  background: rgba(11,23,48,0.20);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.related-articles h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 500;
  color: var(--white);
  text-align: center;
  margin-bottom: 36px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .related-grid { grid-template-columns: 1fr; }
}
.related-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 24px 26px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
  min-height: 180px;
}
.related-card:hover {
  border-color: rgba(212,148,90,0.35);
  transform: translateY(-2px);
}
.related-card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 10px;
}
.related-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.35;
  margin: 0 0 10px;
}
.related-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 14px;
}
.related-read {
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Disclaimer */
.article-disclaimer {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 0 0;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-muted);
  font-style: italic;
}
.article-disclaimer strong {
  color: var(--text-light);
  font-style: normal;
  font-weight: 600;
}

/* Insights index — category filter chips */
.insights-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 40px 0 8px;
}
.insights-filter .filter-chip {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.insights-filter .filter-chip:hover {
  color: var(--gold);
  border-color: rgba(212,148,90,0.40);
}
.insights-filter .filter-chip.active {
  color: var(--gold);
  background: rgba(212,148,90,0.10);
  border-color: rgba(212,148,90,0.50);
}
.insight-card.is-hidden { display: none; }

/* Insights index — category groups */
.insights-featured-wrap {
  margin-bottom: 8px;
}
.insights-category-group {
  margin-top: 64px;
}
.insights-category-heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.005em;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(212,148,90,0.20);
}

/* ── Insights index — category filter chips ── */
.insights-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 40px 0 8px;
}
.insights-filter .filter-chip {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.insights-filter .filter-chip:hover {
  color: var(--gold);
  border-color: rgba(212,148,90,0.40);
}
.insights-filter .filter-chip.active {
  color: var(--gold);
  background: rgba(212,148,90,0.10);
  border-color: rgba(212,148,90,0.50);
}

/* Insights index — category groups */
.insights-featured-wrap {
  margin-bottom: 8px;
}
.insights-category-group {
  margin-top: 64px;
}
.insights-category-heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.005em;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(212,148,90,0.20);
}
