/* ============================================
   AVENOR — avenorhq.com
   Design polish: gold accent system + Fraunces/Inter pairing
   ============================================ */

/* --- TOKENS --- */
:root {
  --ink: #0A0A0B;
  --ink-soft: #141416;
  --gold: #EBBF5B;
  --gold-dim: #B8923D;
  --gold-glow: rgba(235, 191, 91, 0.08);
  --paper: #F4EFE6;
  --paper-dim: #A8A39A;
  --rule: rgba(235, 191, 91, 0.22);
  --rule-soft: rgba(235, 191, 91, 0.10);
  --content-width: 1200px;
  --content-narrow: 720px;

  /* 8pt-grid spacing scale (use multiples for rhythm) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 72px;
  --space-7: 96px;
  --space-8: 128px;

  /* Section rhythm */
  --section-pad: 128px;
  --section-pad-tight: 80px;
  --section-pad-mobile: 72px;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
}

/* --- RESET --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--paper);
  background: var(--ink);
  font-feature-settings: 'ss01', 'ss02';
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

/* Typography balance: prevent orphaned widow words on every heading and blockquote */
h1, h2, h3, h4, blockquote { text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: var(--gold); color: var(--ink); }

/* --- SKIP LINK (a11y) --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  z-index: 200;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* --- REVEAL ANIMATION --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.4s; }

/* --- CONTAINER --- */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}
.nav-solid {
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-wordmark {
  display: inline-flex;
  align-items: center;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}
.nav-wordmark svg {
  height: 20px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--paper-dim);
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after,
.nav-link-active::after { transform: scaleX(1); }
.nav-link-active { color: var(--gold); }

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  padding: 14px 34px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}
.btn:hover {
  background: var(--gold);
  color: var(--ink);
}
.btn-nav {
  font-size: 12px;
  padding: 9px 22px;
  flex-shrink: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.btn-hero {
  font-size: 14px;
  padding: 18px 40px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  min-width: 200px;
  text-align: center;
}
.btn-hero:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.pillar-btn {
  margin-top: 28px;
  font-size: 12px;
  padding: 10px 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.btn-secondary {
  font-size: 14px;
  padding: 18px 40px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  border-color: var(--rule);
  min-width: 200px;
  text-align: center;
}
.btn-secondary:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

/* --- TEAM PHOTO CARDS --- */
.team-people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 48px;
  margin-top: 56px;
}
.team-person {
  display: flex;
  flex-direction: column;
}
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--rule);
  background: var(--ink-soft);
  filter: grayscale(100%) contrast(1.02);
  transition: filter 0.35s ease;
  margin-bottom: 22px;
}
.team-person:hover .team-photo {
  filter: grayscale(0%) contrast(1);
}
.team-person-name {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 6px;
}
.team-person-role {
  font-size: 13px;
  color: var(--paper);
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.team-person-bio {
  font-size: 14px;
  color: var(--paper-dim);
  line-height: 1.55;
}
@media (max-width: 768px) {
  .team-people-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 28px;
  }
}
@media (max-width: 480px) {
  .team-people-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* --- CALLOUT BOX (for /lead-generation operator economics) --- */
.callout-box {
  border: 1px solid var(--gold-dim);
  background: linear-gradient(180deg, var(--gold-glow), transparent 70%), var(--ink-soft);
  padding: 56px 48px;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}
.callout-box::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 56px;
  height: 1px;
  background: var(--gold);
}
.callout-box::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 1px;
  height: 56px;
  background: var(--gold);
}
@media (max-width: 768px) {
  .callout-box { padding: 36px 28px; }
}

/* --- SECTIONS --- */
.section {
  padding: var(--section-pad) 0;
  background: var(--ink);
  position: relative;
}
.section-alt { background: var(--ink-soft); }

/* Tight rhythm modifier for sparse sections (must come after .section
   so longhand padding-top/bottom override .section shorthand) */
.section-tight {
  padding-top: var(--section-pad-tight);
  padding-bottom: var(--section-pad-tight);
}

/* Gold hairline divider between alt/non-alt sections */
.section + .section-alt::before,
.section-alt + .section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--content-width), calc(100% - 80px));
  height: 1px;
  background: var(--rule);
}

/* --- SECTION LABEL --- */
.section-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* --- SECTION HEADLINE (Fraunces) --- */
.section-headline {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 500;
  font-variation-settings: 'opsz' 96;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--paper);
  margin-bottom: 56px;
  max-width: 840px;
  text-wrap: balance;
}

/* --- SECTION RULE --- */
.section-rule {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 84px 0;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 40px 96px;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
/* Gold radial glow */
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 900px 640px at center 58%,
    var(--gold-glow) 0%,
    rgba(235, 191, 91, 0.04) 35%,
    transparent 70%
  );
  animation: heroBreathe 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroBreathe {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1.1; }
}
/* Film grain overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.92  0 0 0 0 0.75  0 0 0 0 0.36  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-wordmark {
  color: var(--gold);
  width: min(380px, 56vw);
  height: auto;
  margin-bottom: 32px;
  display: block;
}
.hero-wordmark svg {
  width: 100%;
  height: auto;
  display: block;
}
.hero-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0 0 32px;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-size: 68px;
  font-weight: 400;
  font-variation-settings: 'opsz' 96;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 32px;
  max-width: 820px;
  text-wrap: balance;
}
.hero-positioning {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  color: var(--paper);
  line-height: 1.55;
  margin-bottom: 16px;
  max-width: 640px;
  text-wrap: pretty;
}
.hero-credibility {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-bottom: 48px;
}
.hero-credibility strong { color: var(--gold); font-weight: 500; }

/* ============================================
   PILLARS (What We Do)
   ============================================ */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 0;
}
.pillar {
  padding: 0 44px;
  min-width: 0;
}
.pillar:first-of-type { padding-left: 0; }
.pillar:last-of-type { padding-right: 0; }
.pillar-divider {
  background: var(--rule);
}
.pillar-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.pillar-copy {
  font-size: 16px;
  color: var(--paper);
  line-height: 1.7;
  font-weight: 400;
}
.pillar-accent {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  margin-top: 24px;
  line-height: 1.5;
}

/* ============================================
   TRACK RECORD
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--rule);
}
.stat { text-align: left; }
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 500;
  font-variation-settings: 'opsz' 96;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  font-feature-settings: 'tnum';
}
.stat-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
.track-description {
  max-width: 720px;
  color: var(--paper);
  font-size: 18px;
  line-height: 1.7;
}

/* Portfolio subsection */
.portfolio-brand {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 400;
  font-variation-settings: 'opsz' 96;
  color: var(--paper);
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  line-height: 1.1;
}
.portfolio-copy {
  max-width: 640px;
}
.portfolio-copy p {
  color: var(--paper);
  font-size: 17px;
  margin-bottom: 14px;
  line-height: 1.65;
}
.portfolio-copy p:last-child {
  margin-bottom: 0;
  color: var(--gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
}

/* Covelle image */
.covelle-image-wrap {
  margin-top: 56px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--rule-soft);
}
.covelle-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(10, 10, 11, 0.85));
  pointer-events: none;
}
.covelle-image {
  width: 100%;
  display: block;
}

/* ============================================
   HAIRLINE DIVIDER (replaces old banner images)
   ============================================ */
.banner-divider {
  width: 100%;
  padding: 136px 40px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-divider::before {
  content: '';
  display: block;
  width: min(var(--content-width), 100%);
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--rule) 20%,
    var(--gold) 50%,
    var(--rule) 80%,
    transparent 100%
  );
}

/* ============================================
   THE PLATFORM
   ============================================ */
.platform-intro {
  font-size: 19px;
  color: var(--paper);
  line-height: 1.65;
  max-width: 720px;
  margin-bottom: 72px;
  text-wrap: pretty;
}

/* Capabilities grid */
.platform-capabilities {
  margin-bottom: 84px;
}
.platform-cap-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.cap-item {
  padding: 32px 36px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  gap: 24px;
  min-width: 0;
}
.cap-item:nth-child(3n+1) {
  padding-left: 0;
  border-right: 1px solid var(--rule);
}
.cap-item:nth-child(3n+2) {
  border-right: 1px solid var(--rule);
}
.cap-item:nth-child(3n) {
  padding-right: 0;
}
.cap-number {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  font-variation-settings: 'opsz' 48;
  color: var(--gold);
  letter-spacing: 0;
  flex-shrink: 0;
  line-height: 1;
  font-feature-settings: 'tnum';
  min-width: 32px;
}
.cap-name {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--paper);
  line-height: 1.45;
}

/* Compounding thesis */
.platform-compound {
  margin-bottom: 84px;
  padding: 0 0 0 28px;
  border-left: 3px solid var(--gold);
}
.compound-headline {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  font-variation-settings: 'opsz' 72;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--paper);
  max-width: 720px;
  margin-bottom: 20px;
}
.compound-copy {
  font-size: 17px;
  color: var(--paper-dim);
  line-height: 1.7;
  max-width: 680px;
}

/* Differentiators */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 72px;
}
.diff-item {
  padding-top: 20px;
  border-top: 1px solid var(--gold);
}
.diff-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  font-variation-settings: 'opsz' 48;
  color: var(--paper);
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.diff-desc {
  font-size: 15px;
  color: var(--paper-dim);
  line-height: 1.7;
}

/* Team credential callout */
.platform-team-cred {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  max-width: 680px;
}

/* Inline link */
.inline-link {
  color: var(--gold);
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.2s ease;
}
.inline-link:hover { border-color: var(--gold); }

/* ============================================
   FOR COMPANIES
   ============================================ */
.companies-copy {
  font-size: 19px;
  color: var(--paper);
  line-height: 1.65;
  max-width: 720px;
  margin-bottom: 56px;
}

/* Deliverables grid with gold corner marks */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 72px;
}
.deliverable {
  position: relative;
  padding: 28px 28px 32px;
  background: rgba(235, 191, 91, 0.02);
}
.deliverable::before,
.deliverable::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid var(--gold);
}
.deliverable::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}
.deliverable::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}
.deliverable-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  font-variation-settings: 'opsz' 48;
  color: var(--paper);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.deliverable-desc {
  font-size: 15px;
  color: var(--paper-dim);
  line-height: 1.7;
}

.companies-verticals {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.companies-approach {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  font-variation-settings: 'opsz' 48;
  color: var(--paper);
  margin-bottom: 32px;
  line-height: 1.45;
  max-width: 680px;
  letter-spacing: -0.01em;
}
.companies-synthweave {
  font-size: 16px;
  color: var(--paper-dim);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 48px;
}

/* ============================================
   TEAM
   ============================================ */
.team-headline {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  font-variation-settings: 'opsz' 96;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--paper);
  max-width: 880px;
  margin-bottom: 20px;
}
.team-size {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-bottom: 84px;
}

.founder-card {
  margin-bottom: 72px;
  padding: 36px 40px;
  border: 1px solid var(--rule);
  max-width: 640px;
}
.founder-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  font-variation-settings: 'opsz' 48;
  color: var(--paper);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.founder-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.founder-bio {
  font-size: 16px;
  color: var(--paper);
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
.team-group-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.team-credential {
  font-size: 16px;
  color: var(--paper);
  line-height: 1.55;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}
.team-credential::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ============================================
   CONTACT / FOOTER
   ============================================ */
.section-contact {
  padding-top: 0;
}
.accent-banner {
  width: 100%;
  height: 180px;
  overflow: hidden;
  margin-bottom: 100px;
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.accent-banner.accent-hidden {
  display: none;
}
.accent-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 11, 0.4), rgba(10, 10, 11, 0.9));
  pointer-events: none;
}
.accent-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  filter: saturate(0.4) sepia(0.2);
}
.contact-content {
  text-align: center;
  padding-top: var(--section-pad);
  padding-bottom: 80px;
}
.section-contact .accent-hidden ~ .contact-content {
  padding-top: var(--section-pad);
}
.contact-headline {
  font-family: var(--font-serif);
  font-size: 88px;
  font-weight: 400;
  font-variation-settings: 'opsz' 96;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin-bottom: 44px;
  line-height: 1;
  text-wrap: balance;
}
.contact-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}
.contact-link {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  color: var(--gold);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
  transition: border-color 0.2s ease;
}
.contact-link:hover { border-color: var(--gold); }
.contact-location {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

/* Footer bar */
.footer {
  background: var(--ink);
  padding: 72px 40px 32px;
  color: var(--paper-dim);
  border-top: 1px solid var(--rule-soft);
}
.footer-grid {
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule-soft);
}
.footer-brand-wordmark {
  color: var(--gold);
  display: block;
  width: 132px;
  height: auto;
  margin-bottom: 20px;
}
.footer-tagline {
  font-size: 13px;
  line-height: 1.65;
  max-width: 320px;
  color: var(--paper-dim);
  margin-bottom: 16px;
}
.footer-locations {
  font-size: 11px;
  color: var(--paper-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-col-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 20px;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 13px;
  color: var(--paper-dim);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--content-width);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--paper-dim);
  letter-spacing: 0.06em;
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a { color: var(--paper-dim); transition: color 0.2s ease; }
.footer-bottom-links a:hover { color: var(--gold); }
@media (max-width: 768px) {
  .footer { padding: 56px 24px 28px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
    padding-bottom: 36px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ============================================
   RESPONSIVE — TABLET (< 1024px)
   ============================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 100px; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 40px;
  }
  .pillars {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .pillar { padding: 48px 0; }
  .pillar:first-of-type { padding-top: 0; }
  .pillar:last-of-type { padding-bottom: 0; }
  .pillar-divider {
    height: 1px;
    width: 100%;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .deliverables-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cap-item {
    padding: 28px 28px;
  }
  .cap-item:nth-child(3n+1),
  .cap-item:nth-child(3n+2),
  .cap-item:nth-child(3n) {
    border-right: none;
    padding-left: 28px;
    padding-right: 28px;
  }
  .cap-item:nth-child(2n+1) {
    padding-left: 0;
    border-right: 1px solid var(--rule);
  }
  .cap-item:nth-child(2n) {
    padding-right: 0;
  }
  .diff-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .compound-headline { font-size: 26px; }
  .section-headline { font-size: 44px; }
  .hero-tagline { font-size: 52px; }
  .contact-headline { font-size: 64px; }
  .portfolio-brand { font-size: 36px; }
  .team-headline { font-size: 32px; }
}

/* ============================================
   RESPONSIVE — MOBILE (< 640px)
   ============================================ */
@media (max-width: 640px) {
  :root { --section-pad: 80px; }
  .container { padding: 0 24px; }
  .nav-inner {
    padding: 0 24px;
    height: 60px;
  }
  .nav-wordmark svg { height: 16px; }
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .hero {
    padding: 140px 24px 80px;
    min-height: auto;
  }
  .hero-wordmark {
    width: min(280px, 72vw);
    margin-bottom: 36px;
  }
  .hero-tagline {
    font-size: 36px;
    margin-bottom: 24px;
  }
  .hero-positioning { font-size: 17px; }
  .hero-credibility {
    font-size: 12px;
    margin-bottom: 40px;
  }
  .section-headline {
    font-size: 32px;
    margin-bottom: 40px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 48px;
    margin-bottom: 48px;
  }
  .stat-number { font-size: 52px; }
  .team-headline { font-size: 26px; }
  .portfolio-brand { font-size: 30px; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap-item {
    border-right: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .compound-headline { font-size: 22px; }
  .platform-compound {
    padding-left: 20px;
  }
  .contact-headline { font-size: 44px; }
  .contact-link { font-size: 16px; }
  .founder-card {
    padding: 28px 24px;
  }
  .founder-name { font-size: 24px; }
  .accent-banner {
    height: 120px;
    margin-bottom: 60px;
  }
  .accent-image { height: 120px; }
  .banner-divider { padding: 80px 24px; }
  .deliverable {
    padding: 24px 24px 28px;
  }
}

/* ============================================
   SUB-PAGE: DEMAND GENERATION
   ============================================ */

/* Compact hero for sub-pages (no full viewport, no radial glow) */
.subhero {
  padding: 180px 0 104px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.subhero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 900px 420px at 20% 40%,
    var(--gold-glow) 0%,
    rgba(235, 191, 91, 0.03) 40%,
    transparent 75%
  );
  pointer-events: none;
}
.subhero .container { position: relative; z-index: 1; }
.subhero-headline {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 400;
  font-variation-settings: 'opsz' 96;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 40px;
  max-width: 960px;
  text-wrap: balance;
}
.subhero-lead {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.55;
  color: var(--paper);
  max-width: 720px;
  margin-bottom: 48px;
  text-wrap: pretty;
}

/* Problem grid (3-up cards, no card chrome) */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  border-top: 1px solid var(--rule);
  padding-top: 56px;
}
.problem-item { padding-right: 20px; }
.problem-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  font-variation-settings: 'opsz' 48;
  color: var(--gold);
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.problem-copy {
  font-size: 16px;
  color: var(--paper);
  line-height: 1.7;
}

/* Capability stack (numbered rows with gold hairline separators) */
.capability-stack {
  border-top: 1px solid var(--rule);
}
.capability-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  align-items: baseline;
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}
.capability-number {
  display: flex;
  align-items: baseline;
}
.cap-num-digit {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 400;
  font-variation-settings: 'opsz' 72;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.01em;
  font-feature-settings: 'tnum';
}
.capability-body { max-width: 720px; text-wrap: pretty; }
.capability-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  font-variation-settings: 'opsz' 72;
  color: var(--paper);
  margin-bottom: 10px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.capability-desc {
  font-size: 17px;
  color: var(--paper);
  line-height: 1.65;
}

/* Audience grid (2x2) */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 56px;
  margin-bottom: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}
.audience-card {
  padding-left: 24px;
  border-left: 1px solid var(--gold);
}
.audience-vertical {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  font-variation-settings: 'opsz' 48;
  color: var(--paper);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.audience-desc {
  font-size: 15px;
  color: var(--paper-dim);
  line-height: 1.7;
}
.who-note {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  font-variation-settings: 'opsz' 72;
  color: var(--gold);
  max-width: 720px;
  line-height: 1.5;
}

/* Timeline (4 weeks) */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 72px;
}
.timeline-step {
  padding-top: 20px;
  border-top: 1px solid var(--gold);
}
.timeline-week {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.timeline-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  font-variation-settings: 'opsz' 48;
  color: var(--paper);
  margin-bottom: 12px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.timeline-desc {
  font-size: 15px;
  color: var(--paper-dim);
  line-height: 1.65;
}

/* Engagement pricing block */
.engage-pricing {
  padding: 40px 40px;
  border: 1px solid var(--rule);
  max-width: 760px;
}
.pricing-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.pricing-body {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  font-variation-settings: 'opsz' 48;
  color: var(--paper);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* Contact sub-text (used on demand-gen page) */
.contact-sub {
  font-size: 17px;
  color: var(--paper-dim);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Sub-page contact layout (no accent banner) */
.section-contact .contact-content:not(:first-child),
#demand-generation-contact {
  padding-top: var(--section-pad);
}

/* Tablet */
@media (max-width: 1024px) {
  .subhero { padding: 140px 0 80px; }
  .subhero-headline { font-size: 52px; }
  .subhero-lead { font-size: 18px; }
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .capability-row {
    grid-template-columns: 80px 1fr;
    gap: 24px;
    padding: 32px 0;
  }
  .cap-num-digit { font-size: 36px; }
  .capability-title { font-size: 24px; }
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .subhero { padding: 120px 0 64px; }
  .subhero-headline { font-size: 36px; }
  .subhero-lead { font-size: 16px; margin-bottom: 36px; }
  .problem-grid { padding-top: 40px; gap: 32px; }
  .problem-title { font-size: 20px; }
  .capability-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }
  .cap-num-digit { font-size: 28px; }
  .capability-title { font-size: 22px; }
  .capability-desc { font-size: 16px; }
  .audience-vertical { font-size: 22px; }
  .audience-card { padding-left: 20px; }
  .who-note { font-size: 17px; }
  .timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .timeline-title { font-size: 18px; }
  .engage-pricing { padding: 28px 24px; }
  .pricing-body { font-size: 17px; }
  .contact-sub { font-size: 15px; }
}

