*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

:root {
  --gold: #B8965A;
  --gold-light: #F5EDD9;
  --gold-dark: #8B6F3A;
  --dark: #0C0C0A;
  --darker: #070706;
  --light: #FAF9F6;
  --white: #FFFFFF;
  --gray: #6B6B68;
  --border: #E4DDD0;
  --border-dark: rgba(184, 150, 90, 0.2);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

html {
  scroll-behavior: smooth
}

/* ── SMOOTH THEME & PAGE TRANSITION ── */
body {
  font-family: var(--font-body);
  background: var(--light);
  color: var(--dark);
  transition: background-color 1.2s cubic-bezier(0.4, 0, 0.2, 1), color 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode State triggered by JS */
body.dark-theme {
  background-color: var(--dark) !important;
  color: var(--light) !important;
}

/* Premium Dark Mode Overrides */
body.dark-theme nav {
  background: rgba(12, 12, 10, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .nav-link,
body.dark-theme .nav-logo-name {
  color: var(--white);
}

body.dark-theme .hamburger span {
  background: var(--white);
}

body.dark-theme .hero {
  background: var(--dark);
}

body.dark-theme .hero h1 {
  color: var(--white);
}

body.dark-theme .hero-desc {
  color: rgba(255, 255, 255, 0.6);
}

body.dark-theme .btn-secondary {
  color: var(--white);
  border-color: var(--white);
}

body.dark-theme .section-title {
  color: var(--white);
}

body.dark-theme .about,
body.dark-theme .services,
body.dark-theme .approach,
body.dark-theme .cases,
body.dark-theme .team,
body.dark-theme .publications {
  background: var(--dark);
}

body.dark-theme .about-text p,
body.dark-theme .approach-text p {
  color: rgba(255, 255, 255, 0.6);
}

body.dark-theme .service-card,
body.dark-theme .case-card,
body.dark-theme .team-card,
body.dark-theme .pub-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .service-card h3,
body.dark-theme .case-card h3,
body.dark-theme .team-card-name,
body.dark-theme .pub-card h4 {
  color: var(--white);
}

body.dark-theme .service-card p,
body.dark-theme .pub-card p {
  color: rgba(255, 255, 255, 0.5);
}

body.dark-theme .marquee-section {
  background: var(--dark);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .marquee-item {
  color: rgba(255, 255, 255, 0.7);
}

/* Tables in Dark Mode */
body.dark-theme .insight-table {
  background: rgba(255, 255, 255, 0.02);
}

body.dark-theme .insight-table th {
  background: rgba(184, 150, 90, 0.1);
  color: var(--gold);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .insight-table td {
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

::-webkit-scrollbar {
  width: 4px
}

::-webkit-scrollbar-track {
  background: var(--light)
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 2px
}

img {
  max-width: 100%;
  display: block
}

a {
  text-decoration: none;
}

/* Text Reveal Animations */
.word-reveal {
  overflow: hidden;
  display: block;
}

.word-reveal .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease;
}

.word-reveal.visible .word {
  transform: translateY(0);
  opacity: 1;
}

.word-reveal .word:nth-child(1) {
  transition-delay: 0s;
}

.word-reveal .word:nth-child(2) {
  transition-delay: 0.08s;
}

.word-reveal .word:nth-child(3) {
  transition-delay: 0.16s;
}

/* Enhanced Card Hovers */
.team-card,
.service-card,
.case-card {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.12);
}

/* Data Tables */
.insight-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  background: var(--white);
}

.insight-table th,
.insight-table td {
  padding: 15px 20px;
  border: 1px solid var(--border);
  font-size: 15.5px;
  text-align: left;
  line-height: 1.6;
}

.insight-table th {
  background: var(--gold-light);
  font-weight: 700;
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 19.5px;
  letter-spacing: 0.02em;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 6%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s ease;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 29.5px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: .04em;
  transition: color 0.5s ease;
}

.nav-logo-sub {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 2px
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px
}

.nav-link {
  color: var(--gray);
  font-size: 17.5px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 2px;
  transition: all .2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold)
}

.nav-cta {
  background: var(--dark);
  color: #fff !important;
  padding: 10px 24px !important;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 1px;
  transition: all .2s !important;
  margin-left: 10px;
}

.nav-cta:hover {
  background: var(--gold) !important
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer
}

.hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  transition: all .3s
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 998;
  padding: 32px 6%;
  overflow-y: auto;
}

.mobile-menu.open {
  display: block
}

.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--dark);
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

/* ── TICKER ── */
.ticker-wrap {
  background: var(--dark);
  overflow: hidden;
  padding: 16px 0;
  white-space: nowrap;
  margin-top: 120px;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 50s linear infinite;
}

.ticker-group {
  display: flex;
  flex-shrink: 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 54px;
  font-size: 19.5px;
  font-weight: 800;
  color: rgba(255, 255, 255, .9);
  border-right: 1px solid rgba(255, 255, 255, .2);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ticker-gold {
  color: var(--gold);
  font-weight: 900;
}

@keyframes ticker {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(calc(-50% - 1px))
  }
}

/* ── LOGO MARQUEE ── */
.marquee-section {
  padding: 32px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  font-size: 13.5px;
  color: rgba(12, 12, 10, .72);
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 700;
}

.marquee-window {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  padding: 0 44px;
  font-family: var(--font-display);
  font-size: 24.5px;
  font-weight: 700;
  color: rgba(12, 12, 10, .42);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-dot {
  color: var(--gold);
  margin: 0 20px;
  font-size: 23.5px;
}

@keyframes marquee {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(calc(-50% - 1px))
  }
}

/* ── HERO & COMMONS ── */
.hero {
  min-height: 80vh;
  padding: 150px 6% 100px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--light);
}

.hero-bg-pattern {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  opacity: .04;
  z-index: 0;
  background-image: repeating-linear-gradient(0deg, var(--dark) 0, var(--dark) 1px, transparent 1px, transparent 40px), repeating-linear-gradient(90deg, var(--dark) 0, var(--dark) 1px, transparent 1px, transparent 40px);
}

.hero-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: var(--gold-light);
  z-index: 0;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: .5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  padding: 8px 18px;
  font-size: 15.5px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 36px;
  background: var(--white);
}

.hero-eyebrow-line {
  width: 24px;
  height: 1px;
  background: var(--gold)
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -1px;
  color: var(--dark);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold)
}

.hero-h2 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 28px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 20.5px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 650px;
  margin-bottom: 48px;
  text-align: justify;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--dark);
  color: #fff;
  padding: 15px 36px;
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: all .25s;
  border-radius: 1px;
  border: 1.5px solid var(--dark);
}

.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold)
}

.btn-secondary {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
  padding: 14px 36px;
  font-size: 17.5px;
  font-weight: 500;
  letter-spacing: .04em;
  transition: all .25s;
  border-radius: 1px;
}

.btn-secondary:hover {
  background: var(--dark);
  color: #fff
}

section {
  padding: 110px 6%
}

.section-label {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 700;
  letter-spacing: -.5px;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  color: var(--gold)
}

.section-sub {
  font-size: 20.5px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 600px
}

/* ── LAYOUT BLOCKS ── */
.about {
  background: var(--white)
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
  margin-top: 40px
}

.about-text p {
  font-size: 19.5px;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 18px;
  text-align: justify;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px
}

.value-tag {
  padding: 8px 18px;
  border: 1px solid var(--border);
  font-size: 16.5px;
  font-weight: 500;
  color: var(--dark)
}

.about-imgs {
  position: relative;
  height: 480px
}

.about-img-placeholder {
  position: absolute;
  right: 0;
  top: 0;
  width: 82%;
  height: 400px;
  background: linear-gradient(135deg, #1a1a18 0%, #2d2d28 50%, #1a1a18 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.about-img-placeholder span {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 700;
  color: var(--gold);
  opacity: .4
}

.about-img-placeholder p {
  font-size: 16.5px;
  color: rgba(255, 255, 255, .3);
  letter-spacing: .1em;
  text-transform: uppercase
}

.about-img-secondary {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50%;
  height: 200px;
  background: var(--gold-light);
  border: 6px solid var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
}

.about-img-secondary-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1
}

.about-img-secondary-text {
  font-size: 17.5px;
  color: var(--gray);
  text-align: center;
  line-height: 1.4
}

.why {
  background: transparent;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 20px
}

.why-sub {
  font-size: 20.5px;
  color: inherit;
  opacity: 0.7;
  line-height: 1.8;
  margin-bottom: 44px
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 0
}

.why-point {
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  padding: 28px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-point:first-child {
  border-top: 1px solid rgba(255, 255, 255, .07)
}

.why-point-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold);
  font-weight: 700;
  min-width: 40px;
  margin-top: 0;
}

.why-point-content h4 {
  font-family: var(--font-display);
  font-size: 25.5px;
  font-weight: 700;
  color: inherit;
  margin-bottom: 8px
}

.why-point-content p {
  font-size: 17.5px;
  color: inherit;
  opacity: 0.6;
  line-height: 1.7
}

.services {
  background: var(--light)
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 24px
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border)
}

.service-card {
  background: var(--white);
  padding: 36px 32px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.service-card:hover::before {
  transform: scaleX(1)
}

.service-card:hover {
  background: var(--gold-light)
}

.service-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 21.5px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 23.5px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3
}

.service-card p {
  font-size: 16px;
  color: #353532; /* Much darker charcoal for maximum legibility */
  line-height: 1.7;
  margin-bottom: 12px;
}

.service-card p:last-child {
  margin-bottom: 0;
}

.service-card ul {
  margin: 14px 0;
  padding-left: 0;
  list-style-type: none;
}

.service-card li {
  font-size: 15.5px;
  color: #353532; /* Matching dark charcoal */
  line-height: 1.6;
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}

.service-card li::before {
  content: "•";
  color: var(--gold);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 18px;
  line-height: 1;
  top: -1px;
}

body.dark-theme .service-card li {
  color: rgba(255, 255, 255, 0.5);
}

.founder {
  background: var(--dark);
  padding: 80px 0;
  color: var(--white);
}

.founder-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
  padding: 0 6%;
  margin-bottom: 80px;
}
.founder-inner:last-child {
  margin-bottom: 0;
}

.founder-img-wrap {
  position: relative;
}

.founder-img-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .08);
}

.founder-year-badge {
  position: absolute;
  left: 28px;
  bottom: -28px;
  background: var(--gold);
  color: var(--white);
  padding: 24px 30px;
}

.founder-year-badge div {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
}

.founder-year-badge span {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.founder-content .section-title {
  color: var(--white);
}

.founder-content p {
  color: rgba(255, 255, 255, .55);
  line-height: 1.85;
  margin-bottom: 18px;
}

.founder-books {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(184, 150, 90, .35);
  background: rgba(184, 150, 90, .08);
  padding: 16px 22px;
  margin-top: 20px;
}

.founder-books-num {
  font-family: var(--font-display);
  font-size: 27.5px;
  font-weight: 700;
  color: var(--gold);
}

.founder-books-text {
  font-size: 15.5px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.4;
}

.client-choice {
  background: var(--dark);
  color: var(--white);
  padding: 100px 6%;
}

.client-choice-header {
  margin-bottom: 44px;
}

.client-choice-header .section-title {
  color: var(--white);
}

.client-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .08);
}

.choice-card {
  background: #0b0b09;
  padding: 34px 30px;
  min-height: 260px;
}

.choice-card span {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.choice-card h3 {
  font-family: var(--font-display);
  font-size: 27.5px;
  color: var(--white);
  margin: 18px 0 12px;
}

.choice-card p {
  font-size: 17.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .55);
}

@media(max-width:1024px) {

  .founder-inner,
  .client-choice-grid {
    grid-template-columns: 1fr;
  }
}

.founder-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19.5px;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 26px;
}

.founder-content p {
  font-size: 19.5px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.9;
  margin-bottom: 22px;
}

.founder-creds {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 34px;
}

.founder-cred {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 17.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
}

.founder-cred:first-child {
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.founder-cred::before {
  content: '◆';
  color: var(--gold);
  font-size: 10px;
  margin-top: 5px;
  flex-shrink: 0;
}

.founder-content .section-label {
  font-size: 17.5px;
  letter-spacing: .18em;
  color: var(--gold);
  margin-bottom: 26px;
}

.team {
  background: var(--white)
}

.team-header {
  margin-bottom: 50px;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px
}

.team-card {
  background: var(--light);
  border: 1px solid var(--border);
  padding: 32px;
  transition: all .3s;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .07);
  border-color: var(--gold);
}

.team-card-name {
  font-family: var(--font-display);
  font-size: 25.5px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px
}

.team-card-role {
  font-size: 15.5px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px
}

.team-card p {
  font-size: 17.5px;
  color: var(--gray);
  line-height: 1.7
}

.publications {
  background: var(--light)
}

.pub-table-wrapper {
  overflow-x: auto;
  margin-top: 20px;
}

.cases {
  background: var(--dark);
  color: var(--white);
}

.cases .section-title {
  color: var(--white);
}

.cases .section-label {
  color: var(--gold);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.case-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 36px;
  transition: all .3s;
  position: relative;
}

.case-card:hover {
  border-color: var(--gold);
  background: rgba(184, 150, 90, 0.05);
}

.case-tag {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184, 150, 90, 0.3);
  padding: 5px 14px;
  margin-bottom: 20px;
}

.case-card h3 {
  font-family: var(--font-display);
  font-size: 27.5px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2
}

.case-card p {
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 24px
}

.contact {
  background: var(--white)
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 30px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-icon {
  width: 38px;
  height: 38px;
  background: var(--gold-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19.5px;
}

.contact-info-title {
  font-size: 13.5px;
  color: var(--gray);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 4px
}

.contact-info-val {
  font-size: 18.5px;
  color: var(--dark);
  font-weight: 500;
  line-height: 1.6
}

.contact-info-val a {
  color: inherit;
  transition: color .2s;
}

.contact-info-val a:hover {
  color: var(--gold);
}

.contact-form {
  background: var(--light);
  padding: 44px 40px;
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px
}

.form-group {
  margin-bottom: 20px
}

.form-label {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 13px 16px;
  font-size: 18.5px;
  color: var(--dark);
  font-family: var(--font-body);
  outline: none;
  transition: border .2s;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold)
}

.form-textarea {
  height: 100px;
  resize: vertical
}

.form-submit {
  width: 100%;
  background: var(--dark);
  color: #fff;
  border: none;
  padding: 15px;
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all .2s;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--gold)
}

/* ── FOOTER ── */
footer {
  background: var(--darker);
  color: rgba(255, 255, 255, .4)
}

.footer-top {
  padding: 70px 6% 50px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 27.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: .04em
}

.footer-brand .footer-brand-sub {
  font-size: 13.5px;
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px
}

.footer-brand p {
  font-size: 16.5px;
  line-height: 1.75;
  margin-bottom: 22px
}

.footer-col h4 {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, .4);
  font-size: 16.5px;
  margin-bottom: 11px;
  transition: color .2s
}

.footer-col a:hover {
  color: var(--gold)
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, .05);
  margin: 0 6%
}

.footer-bottom {
  padding: 24px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 15.5px
}

.footer-bottom a {
  color: var(--gold);
  text-decoration: none;
  font-size: 15.5px;
  transition: color .2s;
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-disclaimer {
  background: #050504;
  padding: 24px 6%;
  border-top: 1px solid rgba(255, 255, 255, .03);
}

.footer-disclaimer p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .3);
  line-height: 1.7;
  text-align: center
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .75s ease, transform .75s ease
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0)
}

.fade-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .75s ease, transform .75s ease
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0)
}

.fade-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .75s ease, transform .75s ease
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0)
}

.slide-left-to-right {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-right-to-left {
  opacity: 0;
  transform: translateX(100px);
  transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-left-to-right.visible,
.slide-right-to-left.visible {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* ── RESPONSIVE ── */
@media(max-width:1024px) {

  .about-grid,
  .why-grid,
  .founder-inner,
  .contact-inner,
  .approach-grid {
    grid-template-columns: 1fr
  }

  .services-grid,
  .cases-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .footer-top {
    grid-template-columns: 1fr 1fr
  }

  .about-imgs {
    height: 360px;
    margin-top: 40px
  }
}

@media(max-width:768px) {
  .nav-links {
    display: none
  }

  .hamburger {
    display: flex
  }

  section {
    padding: 60px 5%
  }

  nav {
    padding: 0 5%
  }

  .hero {
    padding: 140px 5% 70px
  }

  .ticker-wrap {
    margin-top: 120px
  }

  .hero-ctas {
    flex-direction: column
  }

  .services-grid,
  .cases-grid,
  .team-grid {
    grid-template-columns: 1fr
  }

  .footer-top {
    grid-template-columns: 1fr;
    padding: 50px 5% 40px
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 20px 5%
  }

  .footer-disclaimer {
    padding: 20px 5%
  }

  .hero h1 {
    font-size: 46px;
    line-height: 1.1;
  }

  .insight-table th,
  .insight-table td {
    padding: 10px;
    font-size: 14.5px;
  }
}

.people-leader-placeholder {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 4/3;
  height: auto !important;
  border: 1px solid rgba(255, 255, 255, .06) !important;
}

.people-leader-placeholder span {
  font-size: 44px !important;
  opacity: .5 !important;
  color: var(--gold) !important;
}

.people-associates {
  background: var(--light);
}

.people-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.people-card {
  background: var(--white);
  border: 1px solid var(--border);
}

.people-photo-slot {
  height: 280px;
  background: #eee8dc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.people-photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.people-photo-slot span {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 700;
  color: rgba(184, 150, 90, .45);
}

.people-card-body {
  padding: 34px 24px 28px;
}

.people-card-body::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 18px;
}

.people-card .team-card-name {
  font-size: 25.5px;
  margin-bottom: 8px;
}

.people-card .team-card-role {
  line-height: 1.45;
}

.team-card-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.team-card-link:hover {
  color: var(--gold);
}

@media(max-width:1024px) {
  .people-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:768px) {
  .people-card-grid {
    grid-template-columns: 1fr;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ==============================
   RESPONSIVE OPTIMIZATION
   Mobile-first refinements
   ============================== */

/* Base mobile safety */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  -webkit-text-size-adjust: 100%;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

section {
  padding-left: 5%;
  padding-right: 5%;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.form-submit {
  min-height: 44px;
}

/* Mobile: 320px and up */
@media(max-width:480px) {
  nav {
    height: 80px;
    padding: 0 5%;
  }

  .mobile-menu {
    top: 80px;
  }

  .nav-logo-name {
    font-size: 25.5px;
  }

  .nav-logo-sub {
    font-size: 9px;
    max-width: 210px;
    line-height: 1.3;
  }

  .hero {
    min-height: auto;
    padding: 96px 5% 58px;
  }

  .hero h1 {
    font-size: 46px;
    line-height: 1.08;
    letter-spacing: 0;
  }

  .hero-desc {
    font-size: 18.5px;
    line-height: 1.7;
    margin-bottom: 32px;
  }

  .hero-eyebrow {
    font-size: 12px;
    padding: 7px 12px;
    margin-bottom: 24px;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 13px 18px;
  }

  .ticker-wrap {
    padding: 12px 0;
    margin-top: 80px;
  }

  .ticker-item {
    font-size: 15.5px;
    padding: 0 26px;
    gap: 10px;
  }

  .marquee-section {
    padding: 24px 0 18px;
  }

  .marquee-label {
    font-size: 11px;
    letter-spacing: .18em;
    margin-bottom: 14px;
  }

  .marquee-item {
    font-size: 20.5px;
    padding: 0 26px;
  }

  .marquee-dot {
    margin: 0 14px;
    font-size: 19.5px;
  }

  section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-title {
    font-size: 44px;
    line-height: 1.08;
    letter-spacing: 0;
  }

  .section-sub,
  .about-text p,
  .why-sub,
  .hero-desc {
    max-width: 100%;
  }

  .about-grid,
  .why-grid,
  .founder-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-imgs {
    height: 320px;
  }

  .about-img-placeholder {
    width: 100%;
    height: 260px;
  }

  .about-img-secondary {
    width: 62%;
    height: 150px;
  }

  .about-img-secondary-num {
    font-size: 50px;
  }

  .why-point {
    gap: 14px;
    padding: 22px 0;
  }

  .why-point-content h4 {
    font-size: 23.5px;
  }

  .services-grid,
  .cases-grid,
  .team-grid,
  .people-card-grid,
  .client-choice-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .case-card,
  .team-card,
  .choice-card {
    padding: 28px 22px;
  }

  .founder {
    padding: 70px 0;
  }

  .founder-content .section-label {
    font-size: 15.5px;
    letter-spacing: .16em;
  }

  .founder-content .section-title {
    font-size: 48px;
    line-height: 1.08;
  }

  .founder-img-wrap img,
  .people-leader-placeholder {
    aspect-ratio: 4/3;
  }

  .founder-year-badge {
    left: 18px;
    bottom: -20px;
    padding: 18px 22px;
  }

  .founder-books {
    width: 100%;
    justify-content: flex-start;
  }

  .contact-form {
    padding: 30px 22px;
  }

  .contact-info-item {
    gap: 12px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    padding: 48px 5% 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom div {
    flex-direction: column;
    gap: 8px !important;
  }

  .disclaimer-box {
    padding: 28px 20px;
  }
}

/* Small mobile: 320px */
@media(max-width:360px) {
  .hero h1 {
    font-size: 42px;
  }

  .section-title {
    font-size: 40px;
  }

  .founder-content .section-title {
    font-size: 44px;
  }

  .ticker-item {
    font-size: 13.5px;
    padding: 0 22px;
  }

  .marquee-item {
    font-size: 18.5px;
    padding: 0 22px;
  }

  .contact-form {
    padding: 26px 18px;
  }

  .g-recaptcha {
    transform: scale(.78);
    transform-origin: left center;
  }
}

/* Tablet: 768px */
@media(min-width:481px) and (max-width:1023px) {
  nav {
    padding: 0 5%;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 145px 5% 76px;
  }

  .hero h1 {
    font-size: clamp(44px, 8vw, 64px);
  }

  .about-grid,
  .why-grid,
  .founder-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-grid,
  .cases-grid,
  .team-grid,
  .people-card-grid,
  .client-choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

/* Desktop: 1024px */
@media(min-width:1024px) {
  .nav-links {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .hero-content,
  .about-grid,
  .why-grid,
  .contact-inner,
  .founder-inner {
    max-width: 1440px;
  }
}

/* Wide desktop: 1440px */
@media(min-width:1440px) {
  nav {
    padding-left: 7%;
    padding-right: 7%;
  }

  section {
    padding-left: 7%;
    padding-right: 7%;
  }

  .hero {
    padding-left: 7%;
    padding-right: 7%;
  }

  .footer-top,
  .footer-bottom,
  .footer-disclaimer {
    padding-left: 7%;
    padding-right: 7%;
  }

  .hero h1 {
    font-size: 94px;
  }

  .section-title {
    font-size: 72px;
  }
}


/* FINAL DISCLAIMER POPUP FIX */
body.no-scroll {
  overflow: hidden !important;
}

.disclaimer-accepted #disclaimer-overlay {
  display: none !important;
}

#disclaimer-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 9999999 !important; /* Extremely high z-index to stack above fixed headers */
  background: rgba(7, 7, 6, 0.93) !important; /* Semi-transparent charcoal premium overlay */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  overflow-y: auto !important; /* Bulletproof fallback for scrollability */
}

.disclaimer-box {
  background: var(--white) !important;
  width: 100% !important;
  max-width: 540px !important;
  max-height: 85vh !important;
  max-height: 85dvh !important;
  border-radius: 4px !important;
  border-top: 4px solid var(--gold) !important;
  color: var(--dark) !important;
  padding: 24px 28px !important;
  overflow-y: auto !important; /* Enable internal scrolling so buttons/text are never cut off */
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5) !important;
  -webkit-overflow-scrolling: touch; /* Smooth iOS momentum scroll */
}

.disclaimer-box h2 {
  font-family: var(--font-display) !important;
  font-size: 25.5px !important;
  line-height: 1.05 !important;
  margin: 0 0 4px !important;
  color: var(--dark) !important;
}

.disclaimer-box .disc-sub {
  font-size: 12px !important;
  line-height: 1.2 !important;
  color: var(--gold) !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  margin: 0 0 10px !important;
}

.disc-content {
  overflow: visible !important;
  padding: 0 !important;
}

.disclaimer-box p,
.disc-content p {
  font-size: 15.5px !important;
  line-height: 1.38 !important;
  color: var(--gray) !important;
  margin: 0 0 8px !important;
}

.disclaimer-box .disc-note {
  font-size: 13.5px !important;
  line-height: 1.25 !important;
  color: var(--dark) !important;
  font-weight: 700 !important;
  border-top: 1px solid var(--border) !important;
  padding-top: 8px !important;
  margin: 2px 0 0 !important;
}

.disc-btn {
  display: block !important;
  width: 100% !important;
  background: var(--dark) !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 14px !important;
  font-size: 16.5px !important;
  font-weight: 700 !important;
  font-family: var(--font-body) !important;
  cursor: pointer !important;
  border-radius: 2px !important;
  margin-top: 12px !important;
  letter-spacing: .04em !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 5 !important;
  flex-shrink: 0 !important; /* Prevent button from squeezing */
}

.disc-btn:hover {
  background: var(--gold) !important;
  color: var(--dark) !important;
}

@media(max-width:480px) {
  #disclaimer-overlay {
    padding: 10px !important;
  }

  .disclaimer-box {
    max-height: 82vh !important;
    max-height: 82dvh !important;
    padding: 18px 16px !important;
  }

  .disclaimer-box h2 {
    font-size: 22.5px !important;
    margin-bottom: 3px !important;
  }

  .disclaimer-box .disc-sub {
    font-size: 9.5px !important;
    margin-bottom: 7px !important;
  }

  .disclaimer-box p,
  .disc-content p {
    font-size: 12px !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
  }

  .disclaimer-box .disc-note {
    font-size: 11px !important;
    padding-top: 6px !important;
  }

  .disc-btn {
    padding: 10px 12px !important;
    margin-top: 8px !important;
    font-size: 15.5px !important;
  }
}
.nav-logo img { border-radius: 50%; }


/*  BOOKS GRID  */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.book-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.book-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}
.book-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
}
.book-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.book-title {
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: var(--font-display);
  line-height: 1.3;
}
.book-publisher {
  color: var(--gold);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.book-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Placeholder styling for books without covers */
.book-card-img.placeholder-style {
  background: linear-gradient(135deg, #0d1527 0%, #16223f 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.book-spine-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 25px;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 20%, transparent 100%);
  border-right: 1px solid rgba(255,255,255,0.05);
}
.book-card-img.placeholder-style::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Custom styled description intro to support dynamic light and dark theme switcher */
.section-intro {
  margin-bottom: 16px !important;
  color: rgba(12, 12, 10, 0.6) !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  transition: color 1.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
body.dark-theme .section-intro {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Disclaimer inside service card with high legibility */
.service-disclaimer {
  font-size: 13px !important;
  color: #555552 !important; /* Crisp, highly readable dark gray */
  font-style: italic;
  border-top: 1px solid rgba(184, 150, 90, 0.25) !important;
  padding-top: 14px;
  margin-top: 18px;
  line-height: 1.5;
}

body.dark-theme .service-disclaimer {
  color: rgba(255, 255, 255, 0.45) !important;
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}
/* Styled links for insights table */
.insight-table tbody td a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(184, 150, 90, 0.3);
  padding-bottom: 1px;
  transition: all 0.25s ease;
  display: inline;
}

.insight-table tbody td a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

body.dark-theme .insight-table tbody td a {
  color: rgba(255, 255, 255, 0.9);
}

body.dark-theme .insight-table tbody td a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Methodology grid with responsive behavior */
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 1024px) {
  .methodology-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .methodology-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}