:root {
  --blue-deepest: #0b1f3d;
  --blue-deep: #122a52;
  --blue: #1b3a6b;
  --blue-soft: #2a4f87;
  --blue-tint: #d4dceb;
  --ivory: #f6f1e8;
  --ivory-soft: #ece4d5;
  --cream: #ede5d3;
  --paper: #fbf8f1;
  --gold: #c5a465;
  --gold-bright: #d9b676;
  --ink: #1a1a1f;
  --ink-soft: #4a4a52;
  --on-dark: #f6f1e8;
  --on-dark-soft: #b9c2d4;
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Figtree', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
  --text-sm: 0.875rem;
  --text-hero: clamp(2.75rem, 7vw, 6rem);
  --text-2xl: clamp(2rem, 5vw, 4rem);
  --text-xl: clamp(1.5rem, 3vw, 2.25rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ============ NAV ============ */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.3s ease, padding 0.3s ease;
  background: transparent;
}
#site-nav.scrolled {
  background: rgba(11, 31, 61, 0.94);
  backdrop-filter: blur(10px);
  padding: 0.85rem 0;
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--on-dark);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--on-dark);
  flex-shrink: 0;
  margin-right: 2.5rem;
}
.brand-mark { display: inline-flex; color: var(--on-dark); }
.brand-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  color: var(--on-dark);
}
.brand-legal {
  color: var(--gold);
  font-style: normal;
  font-weight: 500;
}
.brand-dot {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.nav-links a {
  text-transform: uppercase;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--on-dark);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  border: 1px solid var(--on-dark);
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--blue-deepest);
  border-color: var(--gold);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 6px;
  width: 36px;
  height: 36px;
  justify-content: center;
  align-items: center;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--on-dark);
  transition: background 0.2s ease;
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(11, 31, 61, 0.98);
  backdrop-filter: blur(20px);
  padding: 6rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  z-index: 99;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  color: var(--on-dark);
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(246, 241, 232, 0.12);
}
.mobile-menu a:hover { color: var(--gold); }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6rem 2rem 6rem;
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: heroRotate 32s infinite;
  will-change: opacity;
}
.hero-slide.slide-1 { background-image: url('pp-hero-1.png');          animation-delay: 0s; }
.hero-slide.slide-2 { background-image: url('pp-cinema-skyline.jpg');  animation-delay: 8s; }
.hero-slide.slide-3 { background-image: url('pp-cinema-columns.jpg');  animation-delay: 16s; }
.hero-slide.slide-4 { background-image: url('pp-cinema-valley.jpg');   animation-delay: 24s; }

@keyframes heroRotate {
  0%       { opacity: 0; }
  3%       { opacity: 1; }
  25%      { opacity: 1; }
  28%      { opacity: 0; }
  100%     { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; }
  .hero-slide.slide-1 { opacity: 1; }
  .hero-slide.slide-2,
  .hero-slide.slide-3,
  .hero-slide.slide-4 { opacity: 0; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 61, 0.45) 0%, rgba(11, 31, 61, 0.72) 70%, rgba(11, 31, 61, 0.92) 100%);
  z-index: 1;
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--on-dark);
  margin: 0 auto 3rem;
  text-align: center;
}
.hero-mark { color: var(--on-dark); display: inline-flex; }
.hero-brand-caps {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  font-weight: 500;
  text-transform: uppercase;
}
.hero-brand-legal { color: var(--gold); }
.hero-brand-dot { color: var(--gold); font-style: italic; }

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto 0 0;
  padding-left: 2rem;
  padding-top: 3rem;
}
.hero-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.25rem, 5.5vw, 4.75rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 1.25rem 0 1.75rem;
  color: var(--on-dark);
}
.hero-headline em {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 400;
}
.hero-body {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--on-dark-soft);
  max-width: 640px;
  margin-bottom: 1.25rem;
}
.hero-body em {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 500;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
  align-items: center;
}

.hero-ticker {
  position: relative;
  z-index: 3;
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: rgba(246, 241, 232, 0.55);
  font-weight: 500;
}
.hero-division {
  position: relative;
  z-index: 3;
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.55);
}
.gold-italic { color: var(--gold); font-style: italic; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 1.85rem;
  border-radius: 999px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--blue-deepest);
}
.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--on-dark);
  border-bottom: 1px solid var(--on-dark);
  border-radius: 0;
  padding: 0.5rem 0;
  letter-spacing: 0.12em;
}
.btn-secondary:hover { color: var(--gold); border-color: var(--gold); }
.btn-dark {
  background: var(--blue-deepest);
  color: var(--on-dark);
}
.btn-dark:hover { background: var(--blue-deep); transform: translateY(-1px); }

/* ============ SECTIONS ============ */
.section {
  padding: 7rem 2rem;
}
.section.ivory { background: var(--ivory); color: var(--ink); }
.section.cream { background: var(--ivory-soft); color: var(--ink); }
.section.dark { background: var(--blue-deepest); color: var(--on-dark); }

.container {
  max-width: 1200px;
  margin: 0 auto;
}
.container.narrow {
  max-width: 820px;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: inline-block;
}
.eyebrow.blue { color: var(--blue); }
.eyebrow.gold { color: var(--gold); }
.eyebrow.gold-light { color: var(--gold-bright); }
.eyebrow.small { font-size: 0.7rem; letter-spacing: 0.24em; margin-bottom: 0.8rem; }

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--text-2xl);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
  max-width: 22ch;
}
.section-title.light { color: var(--on-dark); }
.section-title em { font-style: italic; color: var(--gold); font-weight: 400; }
.sub-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--text-xl);
  line-height: 1.15;
  margin: 1rem 0 1.25rem;
}

.body-lg {
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
  max-width: 70ch;
}
.body-lg.light { color: var(--on-dark-soft); }
p.light { color: var(--on-dark-soft); line-height: 1.7; margin-bottom: 1.2rem; max-width: 70ch; }
h3.light, h4.light { color: var(--on-dark); }

.muted { color: var(--ink-soft); font-style: italic; opacity: 0.8; }

/* ============ FEATURE GRID (3-col) ============ */
.feature-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--paper);
  border: 1px solid var(--blue-tint);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11, 31, 61, 0.08);
  border-color: var(--gold);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
  background: var(--ivory);
  margin-bottom: 1.5rem;
}
.feature-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}
.feature-card p {
  color: var(--ink-soft);
  line-height: 1.7;
}
.feature-grid.feature-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1080px) {
  .feature-grid.feature-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid.feature-grid-4 { grid-template-columns: 1fr; }
}

/* ============ NUMBERED LIST ============ */
.numbered-list {
  margin-top: 3rem;
  display: grid;
  gap: 3rem;
}
.numbered-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  align-items: start;
  border-top: 1px solid rgba(246, 241, 232, 0.15);
  padding-top: 2rem;
}
.section.ivory .numbered-item,
.section.cream .numbered-item { border-top-color: var(--blue-tint); }
.num {
  font-family: var(--serif);
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.num-content h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}
.num-content h3.light { color: var(--on-dark); }
.num-content p {
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 65ch;
}
.num-content p.light { color: var(--on-dark-soft); }

@media (max-width: 720px) {
  .numbered-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .num { font-size: 2rem; }
}

/* ============ WHITE-LABEL SHOWCASE ============ */
.brand-cards {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.brand-card {
  background: var(--paper);
  border: 1px solid var(--blue-tint);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11, 31, 61, 0.1);
}
.brand-card.coming { opacity: 0.78; }
.brand-preview {
  height: 168px;
  background: linear-gradient(135deg, var(--blue-deepest) 0%, var(--blue) 55%, var(--blue-soft) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
}
.brand-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(197, 164, 101, 0.22), transparent 60%);
}
.brand-preview .preview-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--gold-bright);
  position: relative;
  z-index: 1;
}
.brand-preview .preview-url {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  position: relative;
  z-index: 1;
}
.brand-card-body { padding: 1.85rem 1.75rem; flex-grow: 1; display: flex; flex-direction: column; }
.brand-card-body .brand-tag {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.65rem;
}
.brand-card-body h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 0.85rem;
}
.brand-card-body p {
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 0.98rem;
}
.showcase-link {
  margin-top: 2.5rem;
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.4rem;
  transition: color 0.2s ease;
}
.showcase-link:hover { color: var(--gold); }
@media (max-width: 880px) {
  .brand-cards { grid-template-columns: 1fr; }
}

/* ============ PRACTICE PILLS ============ */
.pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2.5rem 0;
}
.pills li {
  border: 1px solid var(--gold);
  color: var(--blue-deepest);
  background: rgba(197, 164, 101, 0.08);
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ============ TWO-UP MODE BLOCKS ============ */
.mode-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.mode-card {
  background: var(--paper);
  border: 1px solid var(--blue-tint);
  border-left: 3px solid var(--gold);
  padding: 2.25rem 2rem;
}
.mode-card h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  margin-bottom: 0.85rem;
}
.mode-card p { color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 720px) {
  .mode-grid { grid-template-columns: 1fr; }
}

/* ============ HUMAN SIDE ============ */
.mode-grid.human-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 880px) {
  .mode-grid.human-grid { grid-template-columns: 1fr; }
}
.human-closing {
  margin-top: 3rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--gold);
  max-width: 60ch;
}

/* ============ EVERY CASE PAYS (ECONOMICS) ============ */
.economics-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.economics-col {
  background: var(--paper);
  border: 1px solid var(--blue-tint);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.economics-col:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11, 31, 61, 0.08);
  border-color: var(--gold);
}
.economics-figure {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 4.75rem);
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.economics-col h3 {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.economics-col p {
  color: var(--ink-soft);
  line-height: 1.7;
}
.economics-closing {
  margin-top: 2.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--gold);
}
@media (max-width: 880px) {
  .economics-grid { grid-template-columns: 1fr; }
}

/* ============ ATTORNEY REVIEW CALLOUT ============ */
.attorney-review {
  margin-top: 3.5rem;
  padding: 2.25rem 2.5rem;
  background: var(--paper);
  border: 1px solid var(--blue-tint);
  border-left: 3px solid var(--gold);
  max-width: 80ch;
}
.attorney-review-heading {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.25;
  margin: 0.4rem 0 0.9rem;
  color: var(--ink);
}
.attorney-review p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* ============ STAT BLOCKS ============ */
.stat-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.stat-block {
  border-top: 1px solid rgba(246, 241, 232, 0.18);
  padding-top: 1.75rem;
}
.stat-figure {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--gold-bright);
  margin-bottom: 1rem;
}
.stat-block p {
  color: var(--on-dark-soft);
  line-height: 1.6;
  font-size: 1rem;
}
@media (max-width: 880px) {
  .stat-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============ CODA + SUB BLOCKS ============ */
.section-coda {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--blue-tint);
}
.section.dark .section-coda { border-top-color: rgba(246, 241, 232, 0.15); }
.coda-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.85rem;
  margin-bottom: 1rem;
}
.section-coda p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 70ch; }
.section.dark .section-coda p { color: var(--on-dark-soft); }

/* ============ PATHS GRID ============ */
.paths-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 860px;
}
.path-card {
  background: var(--paper);
  border: 1px solid var(--blue-tint);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.path-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11, 31, 61, 0.08);
}
.path-label {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 1rem;
}
.path-card h3 {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 400;
  margin-bottom: 1rem;
}
.path-card > p {
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.card-link {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  padding-top: 1rem;
  border-top: 1px solid var(--blue-tint);
  transition: color 0.2s ease;
}
.card-link:hover { color: var(--gold); }
@media (max-width: 880px) {
  .paths-grid { grid-template-columns: 1fr; }
}

/* ============ SCHEDULE ============ */
.schedule-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.schedule-wrap .section-title {
  max-width: none;
  margin: 0 auto 1.75rem;
}
.schedule-wrap .body-lg {
  margin: 0 auto 2.5rem;
  max-width: 56ch;
}
.schedule-note {
  margin-top: 3rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--on-dark-soft);
  font-style: italic;
}

/* ============ FOOTER ============ */
footer {
  background: var(--blue-deepest);
  color: var(--on-dark);
  padding: 5rem 2rem 3rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.footer-wordmark {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--on-dark-soft);
  font-size: 1.05rem;
}
.footer-division {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.55);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  font-weight: 500;
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--gold); }
.footer-family {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(246, 241, 232, 0.15);
}
.footer-family a {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--gold);
  transition: color 0.2s ease;
}
.footer-family a:hover { color: var(--gold-bright); }
.footer-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(246, 241, 232, 0.15);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(246, 241, 232, 0.55);
  line-height: 1.6;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a:hover { color: var(--gold); }

@media (max-width: 640px) {
  .section { padding: 5rem 1.5rem; }
  .hero { padding: 6rem 1.5rem 3rem; }
  .hero-content { padding-left: 0; padding-top: 3rem; }
  .hero-center { margin-bottom: 2rem; }
  .hero-center .hero-mark svg { width: 90px; height: 90px; }
  .hero-brand-caps { font-size: 0.7rem; }
  .brand-text { font-size: 1.2rem; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

/* ============ YOUR REFERRAL ENGINE ============ */
.section.referral-band {
  background: var(--cream);
  color: var(--ink);
  border-top: 1px solid rgba(197, 164, 101, 0.35);
  border-bottom: 1px solid rgba(197, 164, 101, 0.35);
}
.section.referral-band .feature-icon {
  font-style: normal;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.section.referral-band .feature-card {
  background: var(--paper);
}
.referral-tagline {
  margin: 3rem auto 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--gold);
  max-width: 40ch;
}
.referral-footnote {
  margin: 1.5rem auto 0;
  text-align: center;
  max-width: 80ch;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--ink-soft);
  opacity: 0.85;
}

/* ============ HERO PILL (AI VISIBILITY CALLOUT) ============ */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--blue-deepest);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 0 0 rgba(217, 182, 118, 0.6);
  animation: heroPillPulse 2.8s infinite;
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero-pill:hover { transform: translateY(-1px); background: var(--gold-bright); }
.hero-pill-dot { opacity: 0.7; }
.hero-pill-arrow { font-weight: 700; transition: transform 0.2s ease; }
.hero-pill:hover .hero-pill-arrow { transform: translateX(3px); }
@keyframes heroPillPulse {
  0%   { box-shadow: 0 0 0 0 rgba(217, 182, 118, 0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(217, 182, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 182, 118, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-pill { animation: none; }
}

/* ============ AI VISIBILITY ENGINE ============ */
.section.aiv {
  position: relative;
  background: var(--blue-deepest);
  color: var(--on-dark);
  overflow: hidden;
  padding: 9rem 2rem;
  border-top: 1px solid rgba(197, 164, 101, 0.25);
  border-bottom: 1px solid rgba(197, 164, 101, 0.25);
}
.aiv-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(43, 79, 135, 0.55), transparent 55%),
    radial-gradient(circle at 82% 88%, rgba(197, 164, 101, 0.16), transparent 50%),
    linear-gradient(160deg, var(--blue-deepest) 0%, var(--blue-deep) 60%, var(--blue-deepest) 100%);
  background-size: 200% 200%, 200% 200%, 100% 100%;
  animation: aivGradient 18s ease-in-out infinite alternate;
}
@keyframes aivGradient {
  0%   { background-position: 0% 0%, 100% 100%, 0 0; }
  100% { background-position: 100% 60%, 0% 40%, 0 0; }
}
/* Concentric signal rings */
.aiv-rings {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  z-index: 0;
  pointer-events: none;
}
.aiv-rings span {
  position: absolute;
  inset: 0;
  margin: auto;
  border: 1px solid rgba(197, 164, 101, 0.18);
  border-radius: 50%;
  animation: aivRing 7s ease-out infinite;
}
.aiv-rings span:nth-child(1) { width: 140px; height: 140px; animation-delay: 0s; }
.aiv-rings span:nth-child(2) { width: 260px; height: 260px; animation-delay: 1.4s; }
.aiv-rings span:nth-child(3) { width: 380px; height: 380px; animation-delay: 2.8s; }
.aiv-rings span:nth-child(4) { width: 500px; height: 500px; animation-delay: 4.2s; }
@keyframes aivRing {
  0%   { opacity: 0; transform: scale(0.6); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .aiv-bg { animation: none; }
  .aiv-rings span { animation: none; opacity: 0.5; }
}
.aiv-inner { position: relative; z-index: 2; }
.aiv-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
  max-width: 18ch;
  color: var(--on-dark);
}
.aiv-headline em { font-style: italic; color: var(--gold-bright); font-weight: 400; }
.aiv-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--ivory);
  max-width: 72ch;
  margin-bottom: 3.5rem;
}

.aiv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4.5rem;
}
.aiv-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(197, 164, 101, 0.28);
  border-radius: 4px;
  padding: 2.5rem 1.9rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.aiv-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: rgba(197, 164, 101, 0.06);
}
.aiv-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--gold-bright);
  margin-bottom: 1.25rem;
}
.aiv-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.2;
  margin-bottom: 0.9rem;
  color: var(--on-dark);
}
.aiv-card p {
  color: var(--ivory);
  opacity: 0.82;
  line-height: 1.68;
  font-size: 0.98rem;
}
@media (max-width: 1080px) {
  .aiv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .aiv-grid { grid-template-columns: 1fr; }
}

.aiv-manifesto {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.25;
  color: var(--gold-bright);
  text-align: center;
  max-width: 24ch;
  margin: 0 auto 4.5rem;
  border: none;
}

.aiv-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(197, 164, 101, 0.25);
}
.aiv-stat-fig {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  line-height: 1;
  color: var(--gold-bright);
  margin-bottom: 0.85rem;
}
.aiv-stat p {
  color: var(--ivory);
  opacity: 0.8;
  line-height: 1.6;
  font-size: 0.98rem;
  max-width: 30ch;
}
@media (max-width: 880px) {
  .aiv-stats { grid-template-columns: 1fr; gap: 2rem; }
}

.aiv-cta-wrap { text-align: center; }
.aiv-cta-sub {
  margin: 1.5rem auto 0;
  max-width: 56ch;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--on-dark-soft);
  font-style: italic;
}

/* ============ WHAT IT IS — 5-CARD GRID + MARQUEE ============ */
.feature-grid.feature-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1180px) {
  .feature-grid.feature-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .feature-grid.feature-grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .feature-grid.feature-grid-5 { grid-template-columns: 1fr; }
}
.feature-card-marquee {
  position: relative;
  border: 2px solid var(--gold);
  background: linear-gradient(160deg, rgba(197, 164, 101, 0.12), var(--paper) 60%);
  box-shadow: 0 8px 30px rgba(197, 164, 101, 0.14);
}
.feature-card-marquee:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 44px rgba(197, 164, 101, 0.2);
}
.feature-tag {
  position: absolute;
  top: -11px;
  left: 1.8rem;
  background: var(--gold);
  color: var(--blue-deepest);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}
.feature-card-marquee .feature-icon {
  border-color: var(--gold);
  color: var(--gold);
  font-style: normal;
  font-size: 1.7rem;
}
.feature-card-marquee p { color: var(--ink-soft); line-height: 1.7; flex-grow: 1; }
.feature-gold-link {
  margin-top: 1.25rem;
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.35rem;
  align-self: flex-start;
  transition: color 0.2s ease;
}
.feature-gold-link:hover { color: var(--gold-bright); }

/* ============ EVERY CASE PAYS — AIV LINE ============ */
.economics-aiv-line {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
}

@media (max-width: 640px) {
  .section.aiv { padding: 6rem 1.5rem; }
}

/* ============================================================
   INSIDE STEP 02 — Pillars + Calculator Cards
   ============================================================ */

.step02-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  margin-bottom: 2.5rem;
}

.step02-pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2.5rem 2.25rem;
  position: relative;
}

.step02-pillar.wide {
  grid-column: 1 / -1;
}

.pillar-num {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
  font-weight: 500;
}

.step02-pillar h3 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 1.25rem;
  line-height: 1.2;
}

.step02-pillar p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1.0625rem;
}

.step02-pillar p:last-child {
  margin-bottom: 0;
}

.pillar-note {
  font-size: 0.9375rem;
  color: var(--gold-deep, #8a6f37);
  font-style: italic;
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
  margin-top: 1.25rem;
}

/* Calculators */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.calc-card {
  background: var(--ivory, #f6f1e8);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 3px;
  padding: 1.75rem 1.75rem 1.5rem;
}

.calc-tag {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep, #8a6f37);
  margin-bottom: 0.65rem;
}

.calc-card h4 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 0.85rem;
  line-height: 1.25;
}

.calc-formula {
  font-size: 0.9375rem;
  color: var(--navy);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.55;
}

.calc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.calc-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.calc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.calc-output {
  font-size: 0.9375rem;
  background: rgba(11, 31, 61, 0.04);
  border-radius: 3px;
  padding: 0.75rem 1rem;
  margin: 1rem 0 0;
  color: var(--navy);
  line-height: 1.5;
}

.calc-output strong {
  color: var(--navy);
  font-weight: 600;
}

.calc-total {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  text-align: center;
  margin-top: 1.5rem;
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
}

#inside-step-02 .step02-disclaimer {
  background-color: #0b1f3d !important;
  background: #0b1f3d !important;
  color: rgba(246, 241, 232, 0.82) !important;
  border-radius: 4px;
  padding: 1.75rem 2.25rem;
  margin-top: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.75;
}

#inside-step-02 .step02-disclaimer p {
  color: rgba(246, 241, 232, 0.82) !important;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
}

#inside-step-02 .step02-disclaimer strong {
  color: #c5a465 !important;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Inline link inside numbered list */
.inline-link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 164, 101, 0.4);
  transition: border-color 200ms ease;
  white-space: nowrap;
}

.inline-link:hover {
  border-bottom-color: var(--gold);
}

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

/* Responsive */
@media (max-width: 980px) {
  .step02-pillars { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .step02-pillar { padding: 2rem 1.5rem; }
  .calc-card { padding: 1.5rem 1.25rem 1.25rem; }
  .step02-pillar h3 { font-size: 1.5rem; }
  .calc-card h4 { font-size: 1.2rem; }
}

/* ============ AIV: SIGNED CASES FUNNEL BANNER ============ */
.aiv-signed-banner {
  margin: 0 0 5rem;
  padding: 3.5rem 3rem;
  background: rgba(197, 164, 101, 0.06);
  border: 1px solid rgba(197, 164, 101, 0.3);
  border-radius: 6px;
}
.aiv-signed-inner {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
}
.aiv-signed-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  color: var(--on-dark);
  margin: 0.6rem 0 1rem;
  max-width: 26ch;
}
.aiv-signed-sub {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--ivory);
  opacity: 0.88;
  max-width: 72ch;
}
/* Funnel strip */
.aiv-funnel-strip {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 1rem;
}
.aiv-funnel-step {
  display: flex;
  align-items: center;
}
.aiv-funnel-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(197, 164, 101, 0.32);
  border-radius: 100px;
  padding: 0.55rem 1.25rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--on-dark);
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.aiv-funnel-pill--gold {
  background: rgba(197, 164, 101, 0.18);
  border-color: var(--gold);
  color: var(--gold-bright);
  font-weight: 600;
}
.aiv-funnel-pill--value {
  font-size: 0.95rem;
  padding: 0.65rem 1.5rem;
  background: rgba(197, 164, 101, 0.24);
  box-shadow: 0 0 20px rgba(197, 164, 101, 0.18);
}
.aiv-funnel-arrow {
  width: 28px;
  height: 2px;
  background: rgba(197, 164, 101, 0.35);
  position: relative;
  margin: 0 2px;
  flex-shrink: 0;
}
.aiv-funnel-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: rgba(197, 164, 101, 0.5);
  width: 0;
  height: 0;
}
.aiv-funnel-step--last .aiv-funnel-pill--value {
  animation: funnel-pulse 3s ease-in-out infinite;
}
@keyframes funnel-pulse {
  0%, 100% { box-shadow: 0 0 16px rgba(197, 164, 101, 0.2); }
  50%       { box-shadow: 0 0 32px rgba(197, 164, 101, 0.4); }
}
@media (prefers-reduced-motion: reduce) {
  .aiv-funnel-step--last .aiv-funnel-pill--value { animation: none; }
}
@media (max-width: 860px) {
  .aiv-signed-banner { padding: 2.5rem 1.75rem; }
  .aiv-funnel-strip { gap: 0.4rem; row-gap: 0.75rem; }
  .aiv-funnel-arrow { width: 18px; }
}
@media (max-width: 600px) {
  .aiv-funnel-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .aiv-funnel-step { flex-direction: column; align-items: flex-start; }
  .aiv-funnel-arrow {
    width: 2px;
    height: 20px;
    background: rgba(197, 164, 101, 0.35);
    margin: 2px 0 2px 1.25rem;
  }
  .aiv-funnel-arrow::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -1px;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(197, 164, 101, 0.5);
    border-left-color: transparent;
  }
}

/* ============ AIV: COMPETITIVE VISIBILITY ============ */
.aiv-compvis {
  margin: 0 0 4.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(197, 164, 101, 0.25);
}
.aiv-compvis-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.15;
  color: var(--on-dark);
  margin: 0.6rem 0 1.2rem;
  max-width: 24ch;
}
.aiv-compvis-sub {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--ivory);
  opacity: 0.88;
  max-width: 72ch;
  margin-bottom: 3rem;
}
.aiv-compvis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.aiv-compvis-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(197, 164, 101, 0.22);
  border-radius: 4px;
  padding: 2.2rem 1.8rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.aiv-compvis-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  background: rgba(197, 164, 101, 0.06);
}
.aiv-compvis-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--gold-bright);
  margin-bottom: 1rem;
  opacity: 0.7;
}
.aiv-compvis-card h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  color: var(--on-dark);
}
.aiv-compvis-card p {
  color: var(--ivory);
  opacity: 0.8;
  line-height: 1.68;
  font-size: 0.95rem;
}
.aiv-compvis-closing {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--gold-bright);
  opacity: 0.9;
  max-width: 60ch;
}
@media (max-width: 900px) {
  .aiv-compvis-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .aiv-compvis-grid { grid-template-columns: 1fr; }
}
