:root {
  --gold: #FEC736;
  --gold-dark: #E6AA00;
  --charcoal: #2C2C2C;
  --gray-mid: #999999;
  --gray-light: #D8D8D8;
  --gray-sub: #B0B0B0;
  --white: #FFFFFF;
  --off-white: #FAF9F7;
  --section-pad: clamp(60px, 10vw, 120px);
  --side-pad: clamp(24px, 5vw, 80px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--off-white);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ========== SKIP LINK ========== */
.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--gold); color: var(--charcoal);
  padding: 8px 16px; z-index: 9999; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ========== STICKY NAV ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  padding: 0 var(--side-pad);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}
.nav.visible {
  transform: translateY(0);
  border-bottom-color: var(--gray-light);
}
.nav-logo { display: flex; align-items: baseline; text-decoration: none; }
.nav-logo-in, .nav-logo-good, .nav-logo-co {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  letter-spacing: -0.5px;
  line-height: 1;
}
.nav-logo-in { color: var(--gray-mid); font-weight: 400; }
.nav-logo-good { color: var(--gold); font-weight: 700; }
.nav-logo-co { color: var(--gray-mid); font-weight: 400; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gray-mid); transition: color 0.2s;
}
.nav-links a:hover { color: var(--charcoal); }
.nav-links .nav-cta {
  background: var(--gold); color: var(--charcoal); font-weight: 700;
  padding: 10px 24px; border-radius: 2px; letter-spacing: 1.5px;
  transition: background 0.2s;
}
.nav-links .nav-cta:hover { background: var(--gold-dark); }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px var(--side-pad) 40px;
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}

/* Abstract gold diagonal streaks */
.hero-streaks {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.streak {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 100px;
  opacity: 0;
  transform: rotate(-35deg);
  animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}
.streak-1 {
  width: 300px; height: 2.5px;
  top: 20%; left: -200px;
  animation: streak-fly 5s 0s infinite;
}
.streak-2 {
  width: 200px; height: 2px;
  top: 45%; left: -200px;
  animation: streak-fly 6s 1.5s infinite;
}
.streak-3 {
  width: 400px; height: 3px;
  top: 65%; left: -300px;
  animation: streak-fly 4.5s 3s infinite;
}
.streak-4 {
  width: 150px; height: 1.5px;
  top: 30%; left: -150px;
  animation: streak-fly 5.5s 0.8s infinite;
}
.streak-5 {
  width: 250px; height: 2px;
  top: 75%; left: -250px;
  animation: streak-fly 6.5s 2.2s infinite;
}
.streak-6 {
  width: 180px; height: 2px;
  top: 15%; left: -180px;
  animation: streak-fly 7s 4s infinite;
}

@keyframes streak-fly {
  0% {
    transform: rotate(-35deg) translateX(0);
    opacity: 0;
  }
  5% {
    opacity: 0.4;
  }
  40% {
    opacity: 0.2;
  }
  85% {
    opacity: 0.3;
  }
  100% {
    transform: rotate(-35deg) translateX(calc(100vw + 600px));
    opacity: 0;
  }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-logo {
  margin: 0 auto 48px;
  max-width: 420px;
}
.hero-logo img { width: 100%; }
.hero-tagline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-tagline em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0.3;
  animation: scroll-pulse 2.5s ease-in-out infinite;
}
.scroll-cue span {
  display: block; width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
}
.scroll-cue svg { width: 12px; height: 12px; color: rgba(255,255,255,0.6); }

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.2; transform: translateX(-50%) translateY(6px); }
}

/* ========== LOGO WALL ========== */
.logo-wall {
  padding: 64px 0;
  background: var(--white);
  overflow: hidden;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}
.logo-wall-header {
  text-align: center;
  padding: 0 var(--side-pad);
  margin-bottom: 40px;
}
.section-eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gray-sub); margin-bottom: 16px;
}
.logo-wall-sub {
  font-size: 16px; font-weight: 300; color: var(--gray-mid);
  font-style: italic;
}
.marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

.logo-item {
  display: flex; align-items: center; justify-content: center;
  padding: 16px 40px;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-light);
  letter-spacing: 0.5px;
  transition: color 0.3s;
  user-select: none;
  flex-shrink: 0;
}
.logo-item:hover {
  color: var(--gray-mid);
}
.logo-item .logo-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gray-light);
  margin: 0 24px;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== AI + EQ ========== */
.ai-eq {
  padding: var(--section-pad) var(--side-pad);
  background: var(--off-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ai-eq::before {
  content: '';
  position: absolute;
  top: -60px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(254,199,54,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.ai-eq-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.25;
  max-width: 700px;
  margin: 0 auto 32px;
  position: relative;
}
.ai-eq-headline .eq-highlight {
  color: var(--gold);
  position: relative;
}
.ai-eq-body {
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-mid);
  max-width: 580px;
  margin: 0 auto;
}

/* ========== WHAT WE DO ========== */
.what-we-do {
  padding: var(--section-pad) var(--side-pad);
  background: var(--white);
}
.what-we-do .section-eyebrow { text-align: center; }
.wwd-intro {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.3;
  letter-spacing: -0.3px;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto 64px;
}
.pillar {
  padding: 40px 32px;
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.pillar:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.pillar-num {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 20px;
}
.pillar h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
}
.pillar p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: #666;
}
.wwd-closer {
  text-align: center;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.4;
  max-width: 650px;
  margin: 0 auto;
}
.wwd-closer em {
  font-style: italic;
  color: var(--gold);
}

/* ========== TEAM PHOTO BREAK ========== */
.team-break {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}
.team-break-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: brightness(0.65) contrast(1.05);
}
.team-break-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--side-pad);
  background: linear-gradient(135deg, rgba(44,44,44,0.55), rgba(44,44,44,0.45));
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}
.team-break-quote {
  text-align: center;
  max-width: 700px;
}
.team-break-quote p {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 3vw, 36px);
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 16px;
}
.team-break-quote p em { color: var(--gold); font-style: italic; }
.team-break-quote .manifesto-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ========== GOLD DIVIDER ========== */
.gold-line {
  height: 3px;
  background: var(--gold);
  overflow: hidden;
  position: relative;
}
.gold-line::after {
  content: '';
  position: absolute;
  top: 0; left: 50%; right: 50%;
  height: 100%;
  background: var(--gold);
  animation: gold-expand 1.5s ease-out forwards;
}
.gold-line.animate::after {
  left: 0; right: 0;
}

@keyframes gold-expand {
  from { left: 50%; right: 50%; }
  to { left: 0; right: 0; }
}

/* ========== TEAM ========== */
.team {
  padding: var(--section-pad) var(--side-pad);
  background: var(--off-white);
}
.team .section-eyebrow { text-align: center; }
.team-intro {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
  line-height: 1.5;
  color: #555;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.team-card {
  text-align: center;
}
.team-photo-wrap {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: #E8E6E3;
  position: relative;
}
.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}
/* Placeholder silhouette */
.team-photo-wrap .placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #E0DDD8, #D0CCC6);
}
.team-photo-wrap .placeholder svg {
  width: 50px; height: 50px;
  opacity: 0.3;
}
.team-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.team-role {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 12px;
}
.team-quote {
  font-size: 13px;
  font-weight: 300;
  font-style: italic;
  color: #777;
  line-height: 1.5;
  margin-bottom: 12px;
  min-height: 60px;
}
.team-bio {
  font-size: 13px;
  font-weight: 300;
  color: #888;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s;
  opacity: 0;
}
.team-card.expanded .team-bio {
  max-height: 200px;
  opacity: 1;
}
.team-read-more {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-dark);
  cursor: pointer;
  border: none;
  background: none;
  padding: 4px 0;
  border-bottom: 1px solid var(--gold);
  transition: color 0.2s;
  margin-bottom: 8px;
}
.team-read-more:hover { color: var(--charcoal); }
.team-linkedin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 4px;
  background: #E8E6E3; color: var(--gray-mid);
  transition: background 0.2s, color 0.2s;
  margin-top: 8px;
}
.team-linkedin:hover { background: #0077B5; color: white; }

/* ========== HOW WE WORK ========== */
.how-we-work {
  padding: var(--section-pad) var(--side-pad);
  background: var(--white);
}
.how-we-work .section-eyebrow { text-align: center; }
.hww-list {
  max-width: 680px;
  margin: 48px auto 0;
  list-style: none;
}
.hww-list li {
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 300;
  line-height: 1.6;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.hww-list li:last-child { border-bottom: none; }
.hww-check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  color: var(--gold);
}

/* ========== CONTACT ========== */
.contact {
  padding: var(--section-pad) var(--side-pad);
  background: var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(254,199,54,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.contact-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  position: relative;
  z-index: 1;
}
.contact-left h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.2;
  margin-bottom: 32px;
}
.contact-left h2 em { font-style: italic; color: var(--gold); }
.contact-alt-cta {
  margin-top: 40px;
}
.contact-alt-cta p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.btn-outline {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--charcoal);
}
.contact-info {
  margin-top: 48px;
}
.contact-info p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}
.contact-info a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.contact-info a:hover { color: var(--gold); }
.contact-social {
  display: flex; gap: 12px; margin-top: 16px;
}
.contact-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 4px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5);
  transition: background 0.2s, color 0.2s;
}
.contact-social a:hover { background: rgba(255,255,255,0.15); color: var(--gold); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 10px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--white);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-gold {
  display: inline-block;
  padding: 16px 40px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
  font-family: 'DM Sans', sans-serif;
  align-self: flex-start;
}
.btn-gold:hover { background: var(--gold-dark); }
.form-success {
  display: none;
  text-align: center;
  padding: 40px 0;
}
.form-success h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--gold);
}
.form-success p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
}
/* Honeypot */
.hp-field { position: absolute; left: -9999px; }

/* ========== FOOTER ========== */
footer {
  padding: 32px var(--side-pad);
  background: #222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-left {
  display: flex; align-items: center; gap: 24px;
}
.footer-logo img { height: 20px; width: auto; opacity: 0.5; }
.footer-copy {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
}
.footer-links {
  display: flex; gap: 24px;
}
.footer-links a {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.6); }

/* ========== SCROLL ANIMATIONS ========== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .pillars { gap: 24px; }
  .team-grid { gap: 24px; }
}

@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .pillars { grid-template-columns: 1fr; max-width: 500px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .team-break-img { height: 350px; }
  .hero { min-height: 90vh; }
  footer { flex-direction: column; text-align: center; }
  .footer-left { flex-direction: column; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
  .team-break-img { height: 280px; }
  .hero-logo { max-width: 280px; }
}