/* ═══════════════════════════════════════════════
   Authority Brand Builder — Design System
   Navy (#1A1F36) + Gold (#C8A44E) + White
   Playfair Display (headlines) + Inter (body)
   ═══════════════════════════════════════════════ */

:root {
  --navy: #1A1F36;
  --navy-deep: #0F1221;
  --navy-light: #252B45;
  --gold: #C8A44E;
  --gold-light: #D4B76A;
  --gold-dark: #A88B3D;
  --white: #FFFFFF;
  --off-white: #F8F6F1;
  --warm-gray: #E8E4DD;
  --text: #1A1F36;
  --text-light: #6B7280;
  --text-on-dark: #C9CFDC;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --shadow-glow: 0 0 40px rgba(200,164,78,0.15);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 5.5vw, 4.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; font-family: var(--font-body); }

.gold { color: var(--gold); }
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

img { max-width: 100%; height: auto; display: block; }


/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(200,164,78,0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(200,164,78,0.45);
}
.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-lg { padding: 20px 48px; font-size: 1.1rem; }


/* ═══════════ NAVIGATION ═══════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(26,31,54,0.97);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text-on-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  padding: 10px 24px !important;
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  color: var(--navy) !important;
  border-radius: 50px;
  font-weight: 600 !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(200,164,78,0.3); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.nav-overlay.active { display: block; }


/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--navy-deep);
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,164,78,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(200,164,78,0.05) 0%, transparent 50%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-content { color: var(--white); }
.hero-tag {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero h1 { margin-bottom: 28px; }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-on-dark);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.hero-actions .btn-outline:hover {
  border-color: var(--gold);
  background: rgba(200,164,78,0.1);
  color: var(--gold);
}
.hero-image {
  position: relative;
}
.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}


/* ═══════════ PROOF BAR ═══════════ */
.proof-bar {
  background: var(--navy);
  padding: 40px 0;
  border-bottom: 1px solid rgba(200,164,78,0.15);
}
.proof-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.proof-stat { text-align: center; }
.proof-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
}
.proof-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-on-dark);
  letter-spacing: 0.03em;
}
.proof-divider {
  width: 1px;
  height: 48px;
  background: rgba(200,164,78,0.2);
}


/* ═══════════ WHO SECTION ═══════════ */
.who-section {
  padding: 120px 0;
  background: var(--white);
  text-align: center;
}
.who-section h2 { margin-bottom: 60px; }
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: left;
}
.who-card {
  background: var(--off-white);
  padding: 36px 28px;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid transparent;
}
.who-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200,164,78,0.2);
}
.who-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}
.who-card h3 { margin-bottom: 10px; }
.who-card p { font-size: 0.95rem; color: var(--text-light); line-height: 1.65; }


/* ═══════════ METHODOLOGY ═══════════ */
.method-section {
  padding: 120px 0;
  background: var(--navy-deep);
  color: var(--white);
}
.method-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.method-desc {
  font-size: 1.1rem;
  color: var(--text-on-dark);
  margin-bottom: 48px;
}
.method-steps { display: flex; flex-direction: column; gap: 28px; }
.method-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  border: 1px solid rgba(200,164,78,0.1);
  transition: var(--transition);
}
.method-step:hover {
  background: rgba(200,164,78,0.06);
  border-color: rgba(200,164,78,0.25);
}
.step-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  min-width: 48px;
  line-height: 1.2;
}
.method-step h4 { color: var(--white); margin-bottom: 6px; font-size: 1.1rem; }
.method-step p { font-size: 0.9rem; color: var(--text-on-dark); line-height: 1.6; }
.method-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}


/* ═══════════ TESTIMONIALS ═══════════ */
.testimonials-section {
  padding: 120px 0;
  background: var(--off-white);
  text-align: center;
}
.testimonials-section h2 { margin-bottom: 60px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}
.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--warm-gray);
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.testimonial-featured {
  border-left: 4px solid var(--gold);
}
.testimonial-card:last-child {
  grid-column: 1 / -1;
}
.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-info strong { display: block; font-size: 1rem; }
.testimonial-info span { font-size: 0.85rem; color: var(--text-light); }


/* ═══════════ AI PLATFORM ═══════════ */
.platform-section {
  padding: 120px 0;
  background: var(--white);
}
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.platform-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.platform-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.7;
}
.platform-features { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.platform-feature {
  padding: 20px 24px;
  background: var(--off-white);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}
.platform-feature h4 { margin-bottom: 6px; }
.platform-feature p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }


/* ═══════════ ABOUT ═══════════ */
.about-section {
  padding: 120px 0;
  background: var(--navy-deep);
  color: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 60px;
}
.about-lead {
  font-size: 1.25rem;
  color: var(--gold-light);
  margin-bottom: 24px;
  line-height: 1.6;
}
.about-content p {
  color: var(--text-on-dark);
  margin-bottom: 16px;
  line-height: 1.7;
}
.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
/* James+Sonia — consolidated into about-grid */


/* ═══════════ LIFESTYLE STRIP ═══════════ */
.lifestyle-strip {
  padding: 0;
  overflow: hidden;
  background: var(--navy-deep);
}
.lifestyle-scroll {
  display: flex;
  gap: 0;
  width: max-content;
  animation: scrollLifestyle 30s linear infinite;
}
.lifestyle-strip img {
  height: 280px;
  width: auto;
  object-fit: cover;
  filter: brightness(0.85);
  transition: filter 0.3s ease;
}
.lifestyle-strip img:hover {
  filter: brightness(1);
}
@keyframes scrollLifestyle {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ═══════════ PROCESS ═══════════ */
.process-section {
  padding: 120px 0;
  background: var(--white);
  text-align: center;
}
.process-section h2 { margin-bottom: 60px; }
.process-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 60px;
}
.process-step {
  flex: 1;
  max-width: 320px;
  padding: 40px 28px;
  background: var(--off-white);
  border-radius: var(--radius);
  text-align: center;
}
.process-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 16px;
  line-height: 1;
}
.process-step h3 { margin-bottom: 12px; }
.process-step p { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }
.process-arrow {
  font-size: 2rem;
  color: var(--gold);
  padding-top: 50px;
  font-weight: 300;
}
.process-cta { text-align: center; }


/* ═══════════ FINAL CTA ═══════════ */
.final-cta {
  padding: 120px 0;
  background: var(--navy);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(200,164,78,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta h2 { position: relative; margin-bottom: 20px; }
.final-sub {
  font-size: 1.15rem;
  color: var(--text-on-dark);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  position: relative;
}
.final-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.final-actions .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.final-actions .btn-outline:hover {
  border-color: var(--gold);
  background: rgba(200,164,78,0.1);
  color: var(--gold);
}


/* ═══════════ FOOTER ═══════════ */
.footer {
  background: var(--navy-deep);
  padding: 64px 0 32px;
  color: var(--text-on-dark);
  border-top: 1px solid rgba(200,164,78,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }
.footer-links h4 {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  color: var(--text-on-dark);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(201,207,220,0.5); }


/* ═══════════ RESPONSIVE ═══════════ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-sub { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 400px; margin: 0 auto; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: 1fr; gap: 40px; }
  .method-image { order: -1; }
  .method-image img { max-width: 500px; margin: 0 auto; }
  .platform-grid { grid-template-columns: 1fr; gap: 40px; }
  .platform-image { order: -1; }
  .platform-image img { max-width: 500px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image { order: -1; }
  .about-image img { max-width: 400px; margin: 0 auto; }
  .about-grid { margin-bottom: 0; }
}

/* Mobile */
@media (max-width: 768px) {
  body { font-size: 16px; }

  /* Typography scaling */
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  h3 { font-size: clamp(1.15rem, 4vw, 1.4rem); }
  .section-tag { font-size: 0.75rem; letter-spacing: 0.12em; }

  /* Section padding reduction */
  .who-section,
  .method-section,
  .testimonials-section,
  .platform-section,
  .about-section,
  .process-section,
  .final-cta { padding: 72px 0; }

  /* Hero */
  .hero { padding: 100px 0 48px; min-height: auto; }
  .hero h1 { margin-bottom: 20px; }
  .hero-tag { font-size: 0.75rem; margin-bottom: 16px; }
  .hero-sub { font-size: 1rem; margin-bottom: 28px; }
  .hero-image img { max-width: 280px; border-radius: var(--radius); }

  /* Proof bar */
  .proof-bar { padding: 28px 0; }
  .proof-stats { gap: 20px; flex-direction: column; }
  .proof-divider { display: none; }
  .proof-number { font-size: 1.8rem; }
  .proof-label { font-size: 0.75rem; }

  /* Who section */
  .who-section h2 { margin-bottom: 36px; }
  .who-grid { grid-template-columns: 1fr; gap: 16px; }
  .who-card { padding: 28px 24px; }
  .who-icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px; }

  /* Methodology */
  .method-desc { font-size: 1rem; margin-bottom: 32px; }
  .method-steps { gap: 16px; }
  .method-step { padding: 20px; gap: 16px; }
  .step-num { font-size: 1.4rem; min-width: 40px; }
  .method-step h4 { font-size: 1rem; }
  .method-step p { font-size: 0.85rem; }

  /* Testimonials */
  .testimonials-section h2 { margin-bottom: 36px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-card { padding: 28px 24px; }
  .testimonial-card:last-child { grid-column: auto; }
  .testimonial-quote { font-size: 0.95rem; margin-bottom: 20px; }

  /* Platform */
  .platform-desc { font-size: 1rem; margin-bottom: 28px; }
  .platform-feature { padding: 16px 20px; }
  .platform-feature p { font-size: 0.85rem; }

  /* About */
  .about-lead { font-size: 1.1rem; }
  .about-content p { font-size: 0.95rem; }
  .about-grid { margin-bottom: 0; }

  /* Lifestyle strip */
  .lifestyle-strip img { height: 180px; }

  /* Process */
  .process-section h2 { margin-bottom: 36px; }
  .process-grid { flex-direction: column; align-items: center; gap: 12px; margin-bottom: 40px; }
  .process-step { padding: 28px 24px; max-width: 100%; width: 100%; }
  .process-num { font-size: 2rem; }
  .process-arrow { transform: rotate(90deg); padding: 0; font-size: 1.5rem; }

  /* Final CTA */
  .final-sub { font-size: 1rem; }

  /* Footer */
  .footer { padding: 48px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Buttons — larger touch targets */
  .btn { padding: 16px 32px; font-size: 1rem; min-height: 48px; }
  .btn-lg { padding: 18px 40px; font-size: 1.05rem; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
    z-index: 1001;
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; padding: 8px 0; }
  .nav-cta { text-align: center; margin-top: 12px; }
}

/* Small phones */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Stack hero buttons */
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; text-align: center; }

  /* Stack CTA buttons */
  .final-actions { flex-direction: column; align-items: center; gap: 12px; }
  .final-actions .btn { width: 100%; max-width: 340px; }

  /* Tighter hero */
  .hero { padding: 88px 0 40px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-image img { max-width: 240px; }

  /* Proof bar 2x2 grid on small phones */
  .proof-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .proof-stat { text-align: center; }
  .proof-number { font-size: 1.5rem; }

  /* Even tighter section padding */
  .who-section,
  .method-section,
  .testimonials-section,
  .platform-section,
  .about-section,
  .process-section,
  .final-cta { padding: 56px 0; }

  /* Lifestyle strip smaller */
  .lifestyle-strip img { height: 140px; }

  /* Testimonial cards */
  .testimonial-card { padding: 24px 20px; }
  .testimonial-quote { font-size: 0.9rem; }

  /* Method steps */
  .method-step { flex-direction: column; gap: 8px; padding: 20px 16px; }
  .step-num { font-size: 1.2rem; }
}
