/* ── Tessera Partners — Premium consulting landing page ── */

/* === DESIGN TOKENS === */
:root {
  --navy:     #0D1F3C;
  --navy-lt:  #162B52;
  --gold:     #C9A84C;
  --gold-lt:  #E2C97A;
  --white:    #FFFFFF;
  --off-wht:  #F5F4F0;
  --slate:    #6B7B8F;
  --border:   rgba(201,168,76,0.2);

  --ff-head:  'Georgia', 'Times New Roman', serif;
  --ff-body:  -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w: 1140px;
  --pad-x: clamp(1.25rem, 5vw, 3rem);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.2; }

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 400; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 400; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }
p  { font-size: 1.0625rem; color: var(--slate); line-height: 1.75; }

/* === UTILITIES === */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }

.gold-rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.25rem;
}

.section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
}

.nav-logo-text {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
}

.nav-logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--navy) !important;
}

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

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px; /* navbar height */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,31,60,0.97) 0%,
    rgba(13,31,60,0.75) 50%,
    rgba(22,43,82,0.85) 100%
  );
}

/* Mosaic grid accent */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(4rem, 10vh, 7rem) 0;
}

.hero-inner {
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.175rem);
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 2.75rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 1.5rem;
  background: transparent;
  color: rgba(255,255,255,0.72);
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.btn-ghost:hover { color: var(--white); }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* === INTRO STRIP (founder intro) === */
.intro-strip {
  background: var(--off-wht);
  padding: 4rem 0;
  border-bottom: 1px solid rgba(13,31,60,0.08);
}

.intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.intro-left {
  border-top: 2px solid var(--navy);
  padding-top: 1.5rem;
}

.intro-left h2 {
  margin-bottom: 1rem;
}

.intro-left p {
  font-size: 1.0625rem;
}

.intro-bio {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(13,31,60,0.1);
}

.intro-bio-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.intro-avatar {
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--ff-head);
  font-size: 1.25rem;
  font-weight: 600;
  flex-shrink: 0;
}

.intro-bio-name h3 { margin-bottom: 0.15rem; }
.intro-bio-name span { font-size: 0.8125rem; color: var(--slate); }

.intro-bio p { font-size: 0.9375rem; color: var(--slate); }

.intro-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(13,31,60,0.1);
}

.stat { display: flex; flex-direction: column; gap: 0.25rem; }
.stat strong { font-size: 1.5rem; font-family: var(--ff-head); color: var(--navy); }
.stat span { font-size: 0.8rem; color: var(--slate); letter-spacing: 0.05em; text-transform: uppercase; }

@media (max-width: 768px) {
  .intro-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-stats { gap: 1.5rem; }
}

/* === PILLARS SECTION === */
.pillars-section {
  padding: 7rem 0;
  background: var(--white);
}

.section-header {
  margin-bottom: 4rem;
  max-width: 560px;
}

.section-header .gold-rule { margin-bottom: 1rem; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(13,31,60,0.1);
  border: 1px solid rgba(13,31,60,0.1);
}

.pillar-card {
  background: var(--white);
  padding: 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: background 0.25s;
}

.pillar-card:hover { background: var(--off-wht); }

.pillar-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 1.25rem;
}

.pillar-card h3 {
  font-family: var(--ff-head);
  font-size: 1.25rem;
  color: var(--navy);
}

.pillar-card p { font-size: 0.9375rem; }

.pillar-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.pillar-card ul li {
  font-size: 0.9rem;
  color: var(--slate);
  padding-left: 1.1rem;
  position: relative;
}

.pillar-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* === WHO IT'S FOR === */
.audience-section {
  padding: 7rem 0;
  background: var(--navy);
}

.audience-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.audience-left .section-label { color: var(--gold); }
.audience-left h2 { color: var(--white); margin-bottom: 1.5rem; }
.audience-left p { color: rgba(255,255,255,0.65); font-size: 1.0625rem; }

.audience-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.audience-sign {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.audience-sign:hover { border-color: var(--gold); }

.audience-sign-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 0.1rem;
}

.audience-sign-text h4 { font-size: 1rem; color: var(--white); margin-bottom: 0.4rem; font-weight: 600; }
.audience-sign-text p { font-size: 0.9rem; color: rgba(255,255,255,0.55); }

@media (max-width: 768px) {
  .audience-inner { grid-template-columns: 1fr; gap: 3rem; }
}

/* === APPROACH STRIP === */
.approach-strip {
  padding: 5rem 0;
  background: var(--off-wht);
  border-top: 1px solid rgba(13,31,60,0.08);
}

.approach-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.approach-step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.approach-num {
  font-family: var(--ff-head);
  font-size: 3rem;
  color: rgba(13,31,60,0.12);
  line-height: 1;
  font-weight: 400;
}

.approach-step h3 { font-family: var(--ff-head); font-size: 1.2rem; color: var(--navy); }
.approach-step p { font-size: 0.9375rem; }

@media (max-width: 768px) {
  .approach-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* === CTA SECTION === */
.cta-section {
  padding: 8rem 0;
  background: var(--white);
  text-align: center;
}

.cta-section .gold-rule {
  margin: 0 auto 1.5rem;
}

.cta-section h2 {
  max-width: 640px;
  margin: 0 auto 1.25rem;
}

.cta-section > .container > p {
  max-width: 500px;
  margin: 0 auto 2.75rem;
}

.cta-divider {
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  margin: 0 auto 2.75rem;
}

/* === FOOTER === */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-brand {}

.footer-tagline {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.5rem;
  max-width: 220px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* === SCROLL ANCHOR OFFSET === */
[id] { scroll-margin-top: 80px; }