/* Income AI Vertex — design system */
:root {
  --burgundy: #1A1225;
  --gold: #E8B84B;
  --parchment: #FFFBF5;
  --wine: #3D2B4A;
  --font-head: 'Crimson Pro', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
  --section-pad: 80px;
  --radius-card: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--burgundy);
  background: var(--parchment);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.35rem; }
.container { width: min(1140px, 92%); margin: 0 auto; }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.accent-divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 1.25rem 0;
}

/* Surfaces */
.surface-dark { background: var(--burgundy); color: var(--parchment); }
.surface-dark a { color: var(--gold); }
.surface-light { background: var(--parchment); color: var(--burgundy); }
.surface-light a { color: var(--burgundy); text-decoration: underline; text-decoration-color: var(--gold); }
.surface-accent {
  background: linear-gradient(145deg, #9a7018 0%, #6d4f0e 45%, #4a3409 100%);
  color: var(--burgundy);
}
.surface-accent a { color: var(--burgundy); }
.surface-soft { background: var(--wine); color: var(--gold); }
.surface-soft a { color: var(--gold); }

/* Eyebrow & text utilities */
.surface-light .eyebrow { color: var(--burgundy); }
.surface-dark .eyebrow { color: var(--gold); }
.page-hero .eyebrow { color: #fff; }
.hero-cinematic .eyebrow,
.hero-cinematic h1,
.hero-cinematic p,
.hero-cinematic .trust-strip { color: #fff; font-weight: 700; }
.hero-cinematic p { font-weight: 600; }
.hero-cinematic .trust-strip { font-weight: 700; opacity: 1; }
.hero-cinematic .btn-link { color: #fff; font-weight: 700; }
.surface-soft .eyebrow,
.surface-soft h2,
.surface-soft h3,
.surface-soft p,
.surface-soft .vertical-label,
.surface-soft a:not(.btn) { color: #fff; }
.surface-soft .consent-label a { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); }
.surface-soft.method-lab {
  background: linear-gradient(145deg, var(--wine) 0%, var(--burgundy) 55%, #120c1a 100%);
  padding: calc(var(--section-pad) + 1rem) 0;
}
.surface-soft.method-lab .method-steps {
  background: rgba(255, 251, 245, 0.04);
  border-radius: var(--radius-card);
  padding: 2rem 2rem 2rem 1rem;
  border: 1px solid rgba(232, 184, 75, 0.2);
}
.surface-soft.method-lab .method-step::before { color: var(--gold); }
.surface-dark .split-layout .eyebrow { color: #fff; }
.surface-light .split-layout .eyebrow { color: var(--burgundy); }
.surface-accent,
.surface-accent h2,
.surface-accent p { color: #fff; }
.surface-accent .btn-primary {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
  font-weight: 700;
}
.surface-accent .btn-primary:hover { box-shadow: 0 8px 24px rgba(26, 18, 37, 0.4); }
.hero-cinematic .btn-primary,
.surface-light .btn-primary,
.surface-soft .btn-primary {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
  font-weight: 700;
}
.contact-form .btn-primary {
  background: var(--gold);
  color: var(--burgundy);
  border-color: var(--gold);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1rem 2.25rem;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}
.contact-form .btn-primary:hover {
  box-shadow: 0 10px 28px rgba(232, 184, 75, 0.45);
  transform: translateY(-2px);
}
.hero-cinematic .btn-primary:hover,
.surface-light .btn-primary:hover,
.surface-soft .btn-primary:hover { box-shadow: 0 8px 24px rgba(26, 18, 37, 0.35); }
.surface-light .timeline-item .year { color: var(--burgundy); }
.contact-form .form-group label,
.contact-form .consent-label,
.contact-form .consent-label a,
.surface-soft > .container > h2 { color: #fff; }
.income-disclaimer.notice-prominent {
  font-size: 1.02rem;
  padding-top: 0.5rem;
  margin-top: 0;
  line-height: 1.7;
}
.income-disclaimer.notice-prominent p { font-weight: 500; }

/* Header — distinct from Earn AI Vertex */
.site-header {
  background: var(--burgundy);
  color: var(--parchment);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}
.header-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, #f5d078 50%, var(--gold) 100%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
  position: relative;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--parchment);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--gold);
  color: var(--burgundy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 10px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.logo-text span {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--parchment);
  opacity: 1;
}
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232, 184, 75, 0.12);
  border: 2px solid var(--gold);
  color: var(--parchment);
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 44px;
  border-radius: 10px;
  font-family: var(--font-body);
}
.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 18, 37, 0.28);
  z-index: 140;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.nav-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.nav-drawer-head {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(232, 184, 75, 0.25);
  margin-bottom: 0.5rem;
}
.nav-drawer-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold);
}
.nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--parchment);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 10px;
  font-family: var(--font-body);
}
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--parchment);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  text-decoration: none;
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  min-height: 44px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: var(--gold);
  color: var(--burgundy);
  border-color: var(--gold);
}
.btn-primary:hover { box-shadow: 0 8px 24px rgba(232, 184, 75, 0.35); }
.btn-link {
  background: transparent;
  color: var(--gold);
  border: none;
  padding: 0.5rem 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  min-height: 44px;
}
.btn-outline {
  background: transparent;
  color: var(--parchment);
  border-color: var(--parchment);
}

/* Hero Pattern B — Full-bleed Cinematic */
.hero-cinematic {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  background-image: url('/images/incomeaivertex-01-hero-robinson-studio.jpg');
  background-size: cover;
  background-position: center 30%;
  color: var(--parchment);
}
.hero-cinematic::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 18, 37, 0.88) 0%, rgba(26, 18, 37, 0.5) 50%, rgba(26, 18, 37, 0.25) 75%);
}
.hero-cinematic .container {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 3.25rem;
  max-width: 720px;
}
.hero-cinematic h1 { color: #fff; margin-bottom: 1rem; font-weight: 700; }
.hero-cinematic p { font-size: 1.125rem; margin-bottom: 1.5rem; max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; margin-bottom: 1.5rem; }
.trust-strip { font-size: 0.8rem; opacity: 0.75; letter-spacing: 0.02em; }

/* Page hero (inner pages) */
.page-hero {
  padding: 4rem 0 3rem;
}
.page-hero h1 { margin-bottom: 1rem; }

/* Sections */
section { padding: var(--section-pad) 0; }
.section-header { margin-bottom: 3rem; max-width: 680px; }
.section-header p { margin-top: 1rem; font-size: 1.05rem; }

/* Stats */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.25rem;
  color: var(--gold);
}
.stat-item span { font-size: 0.9rem; opacity: 0.85; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}
.module-card {
  background: var(--parchment);
  border-radius: var(--radius-card);
  border-left: 4px solid var(--gold);
  padding: 30px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.surface-dark .module-card { background: var(--wine); }
.module-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26, 18, 37, 0.12);
}
.module-card img { margin-bottom: 1.25rem; aspect-ratio: 16/10; object-fit: cover; width: 100%; border-radius: 12px; }
.module-card .card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.card-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
  fill: var(--gold);
}
.floating-trust-card {
  background: var(--burgundy);
  color: var(--parchment);
  padding: 1.5rem;
  border-radius: var(--radius-card);
  border-left: 4px solid var(--gold);
  box-shadow: 0 12px 40px rgba(26, 18, 37, 0.2);
}

/* Method steps */
.method-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.method-step {
  position: relative;
  padding-left: 3rem;
}
.method-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

/* Layouts */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.asymmetric-inner {
  display: grid;
  grid-template-columns: 0.4fr 1.6fr;
  gap: 2rem;
  align-items: start;
}
.vertical-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}

/* About — timeline + photo stack */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 3px solid var(--gold);
}
.timeline-item {
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.45rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
}
.timeline-item .year {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.photo-stack {
  display: grid;
  gap: 1rem;
  max-width: 380px;
  justify-self: end;
}
.photo-stack img {
  border-radius: var(--radius-card);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  max-height: 220px;
}
.photo-stack img:nth-child(2) {
  margin-left: 1.5rem;
  max-width: calc(100% - 1.5rem);
}

/* FAQ two-column grid */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}
.faq-item { margin-bottom: 0; }
.faq-item h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.faq-item p { font-size: 0.98rem; }

/* Forms */
.contact-form {
  display: grid;
  gap: 1.25rem;
  max-width: 600px;
}
.form-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.95rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid rgba(26, 18, 37, 0.15);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
  color: var(--burgundy);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.consent-label { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9rem; font-weight: 400; }
.consent-label input { width: auto; margin-top: 0.25rem; }
.form-success {
  background: rgba(232, 184, 75, 0.15);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 0 8px 8px 0;
}

/* Program detail */
.program-list { display: grid; gap: 2.5rem; }
.program-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.75rem;
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
}
.program-item img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  max-height: 150px;
  border-radius: 12px;
}

/* FAQ feature image */
.faq-feature-image {
  margin-top: 3rem;
  max-width: 560px;
}
.faq-feature-image img {
  border-radius: 20px;
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}
.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
}
.program-meta span {
  background: rgba(232, 184, 75, 0.15);
  padding: 0.35rem 0.75rem;
  font-weight: 600;
  border-radius: 6px;
}

/* Legal prose */
.legal-prose { max-width: 780px; }
.legal-prose h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.legal-prose p, .legal-prose li { margin-bottom: 1rem; }
.legal-prose ul { padding-left: 1.5rem; }

/* Disclaimer */
.income-disclaimer {
  font-size: 0.9rem;
  opacity: 0.85;
  border-top: 1px solid rgba(26, 18, 37, 0.12);
  padding-top: 1.5rem;
  margin-top: 2rem;
  line-height: 1.6;
}
.surface-dark .income-disclaimer { border-top-color: rgba(255, 251, 245, 0.15); }

/* Footer — 2 columns + contact bar */
.site-footer { padding: 4rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--gold);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--parchment); opacity: 0.85; text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold); opacity: 1; }
.footer-contact-bar {
  background: var(--wine);
  padding: 2rem 0;
  margin-top: 1rem;
}
.footer-contact-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}
.footer-contact-bar a { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255, 251, 245, 0.15);
  padding: 1.5rem 0 2rem;
  font-size: 0.85rem;
  opacity: 0.75;
  line-height: 1.6;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--burgundy);
  color: var(--parchment);
  padding: 1.25rem;
  z-index: 200;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}
.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1140px;
  margin: 0 auto;
}
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cookie-actions button {
  padding: 0.6rem 1.25rem;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--parchment);
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  font-family: var(--font-body);
  border-radius: 8px;
}
.cookie-actions .btn-accept { background: var(--wine); color: #fff; font-weight: 700; }
.cookie-customise {
  display: none;
  width: 100%;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,251,245,0.2);
}
.cookie-customise.open { display: block; }
.cookie-customise label { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.9rem; }

/* 404 */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.error-page h1 { margin-bottom: 1rem; }

/* Scroll reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1279px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
  :root { --section-pad: 64px; }
  .hero-cinematic { min-height: 56vh; }
  .split-layout, .program-item { grid-template-columns: 1fr; }
  .asymmetric-inner { grid-template-columns: 1fr; }
  .vertical-label { writing-mode: horizontal-tb; transform: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .photo-stack { max-width: 100%; justify-self: stretch; }
  .photo-stack img:nth-child(2) { margin-left: 0; max-width: 100%; }
  .nav-toggle { display: inline-flex; }
  .nav-overlay { display: block; left: min(300px, 82vw); }
  .nav-drawer-head { display: flex; }
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: min(300px, 82vw);
    height: 100vh;
    height: 100dvh;
    background: var(--burgundy);
    padding: 0 0 2rem;
    border-right: 3px solid var(--gold);
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.25);
    z-index: 160;
    transform: translateX(-105%);
    transition: transform 0.32s ease;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0 1.25rem;
  }
  .main-nav a {
    display: block;
    padding: 0.9rem 0;
    min-height: 44px;
    border-bottom: 1px solid rgba(232, 184, 75, 0.15);
    border-left: 3px solid transparent;
    padding-left: 0.5rem;
  }
  .main-nav a:hover,
  .main-nav a.active {
    border-bottom-color: rgba(232, 184, 75, 0.15);
    border-left-color: var(--gold);
    background: rgba(232, 184, 75, 0.06);
  }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 767px) {
  :root { --section-pad: 48px; }
  .hero-cinematic { min-height: 52vh; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { width: 100%; }
  .footer-contact-bar .container { flex-direction: column; text-align: center; }
}
