/* =============================================================
   ANALYSETHAT — STYLES
   -------------------------------------------------------------
   1. DESIGN TOKENS  ← edit colours, spacing, radii here
   2. BASE
   3. NAV
   4. HERO
   5. STATEMENT
   6. SCENARIOS
   7. SERVICES
   8. NOT-DOING
   9. PROOF
  10. TESTIMONIAL
  11. CASE STUDY
  12. PORTFOLIO (+ CAROUSEL)
  13. LEAD / FOUNDER
  14. ABOUT
  15. INSIGHTS
  16. FAQ
  17. CONTACT
  18. FOOTER
  19. ANIMATIONS
  20. RESPONSIVE
  21. REDUCED MOTION & PRINT
   ============================================================= */


/* ── 1. DESIGN TOKENS ─────────────────────────────────────────
   Single source of truth for the look and feel.
   Edit values here and the whole site updates.
   ─────────────────────────────────────────────────────────── */
:root {
  /* Surface — warm neutrals */
  --ink:           #2D2A26;   /* warm charcoal (was near-black) */
  --ink-soft:      #4A453E;   /* secondary dark */
  --paper:         #F5F1EA;   /* primary light bg */
  --paper-warm:    #ECE5D7;   /* hover / panel bg */
  --paper-deep:    #E3DACA;   /* deeper warm panel */
  --white:         #FFFFFF;

  /* Accent — muted terracotta (was saturated burnt orange) */
  --accent:        #B36A47;   /* primary accent */
  --accent-deep:   #8E5235;   /* darker for hover / heavy use */
  --accent-soft:   #D8A98F;   /* soft tint */
  --accent-tint:   #F4E5DC;   /* very soft background tint */

  /* Text */
  --muted:         #847D74;   /* body secondary */
  --muted-soft:    #A09A8F;   /* tertiary */

  /* Borders */
  --border:        rgba(45,42,38,0.10);
  --border-strong: rgba(45,42,38,0.18);

  /* On-dark text helpers */
  --on-dark:        rgba(245,241,234,0.92);
  --on-dark-muted:  rgba(245,241,234,0.60);
  --on-dark-faint:  rgba(245,241,234,0.35);
  --on-dark-border: rgba(255,255,255,0.08);

  /* Radii — softens every card */
  --r-xs:  6px;
  --r-sm:  10px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(45,42,38,0.04), 0 1px 1px rgba(45,42,38,0.03);
  --shadow-md: 0 4px 14px rgba(45,42,38,0.06), 0 2px 4px rgba(45,42,38,0.04);
  --shadow-lg: 0 12px 32px rgba(45,42,38,0.08), 0 4px 8px rgba(45,42,38,0.04);

  /* Layout */
  --nav-height: 68px;
  --pad-x: 48px;
  --pad-y: 100px;
  --content-max: 1280px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}


/* ── 2. BASE ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headlines wrap nicely where supported (Chrome/Safari/Firefox 121+) */
h1, h2, h3, .section-title, .hero h1, .portfolio-featured h3,
.lead-name, .insight-title, .service-name, .testimonial-quote,
.faq-item summary, .scenario-quote {
  text-wrap: balance;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 16px;
  z-index: 200;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { top: 0; }


/* ── 3. NAV ───────────────────────────────────────────────── */
.primary-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px var(--pad-x);
  background: rgba(245,241,234,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  min-height: var(--nav-height);
}

.logo {
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
}

.logo span { color: var(--accent); }

.primary-nav ul { list-style: none; display: flex; gap: 32px; align-items: center; }

.primary-nav a:not(.nav-cta) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
  padding: 6px 0;
}

.primary-nav a:not(.nav-cta):hover,
.primary-nav a.active { color: var(--ink); }

.primary-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  border-radius: var(--r-pill);
}

.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 22px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.nav-cta:hover,
.nav-cta:focus-visible { background: var(--accent); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border-radius: var(--r-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.2s;
  transform-origin: center;
  border-radius: var(--r-pill);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ── 4. HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1600&q=75&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  will-change: opacity;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-height) + 48px) var(--pad-x) 60px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
  animation: fadeUp 0.6s ease 0.05s both;
}

.hero-tag::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--accent);
  border-radius: var(--r-pill);
}

.hero h1 {
  font-weight: 900;
  font-size: clamp(2.5rem, 9vw, 8rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 0;
}

.hero h1 .hero-line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.7s var(--ease) forwards;
}
.hero h1 .hero-line:nth-child(1) { animation-delay: 0.15s; }
.hero h1 .hero-line:nth-child(2) { animation-delay: 0.30s; }
.hero h1 .hero-line:nth-child(3) { animation-delay: 0.45s; }

.hero h1 .line-accent { color: var(--accent); }

.hero h1 .line-outline {
  -webkit-text-stroke: 2px var(--ink);
  color: transparent;
}

.hero-bottom {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-strong);
  animation: fadeUp 0.7s ease 0.6s both;
}

.hero-bottom-item {
  padding: 28px var(--pad-x);
  border-right: 1px solid var(--border);
}

.hero-bottom-item:last-child { border-right: none; }

.hero-bottom-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.hero-bottom-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-bottom-value span { color: var(--accent); }


/* ── 5. STATEMENT ─────────────────────────────────────────── */
.statement {
  background: var(--ink);
  color: var(--paper);
  padding: var(--pad-y) var(--pad-x);
}

.statement-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: center;
}

.statement-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.statement p {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--on-dark);
}

.statement p strong { font-weight: 700; color: var(--paper); }


/* ── 6. SCENARIOS ─────────────────────────────────────────── */
.scenarios {
  padding: var(--pad-y) var(--pad-x);
  position: relative;
  overflow: hidden;
}

.scenarios-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1400&q=70&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.04;
}

.scenarios > *:not(.scenarios-bg) { position: relative; z-index: 1; }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.section-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-kicker::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--accent);
  border-radius: var(--r-pill);
}

.section-title {
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-title em { font-style: italic; color: var(--accent); }

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.scenario-card {
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.scenario-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.scenario-num {
  font-weight: 900;
  font-size: 4rem;
  line-height: 1;
  color: rgba(45,42,38,0.07);
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.scenario-quote {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 20px;
  font-style: italic;
}

.scenario-card p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 28px;
}

.scenario-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-tint);
  padding: 6px 14px;
  border-radius: var(--r-pill);
}


/* ── 7. SERVICES ──────────────────────────────────────────── */
.services {
  padding: var(--pad-y) var(--pad-x);
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.services-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1557683316-973673baf926?w=1400&q=70&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

.services-header { position: relative; z-index: 1; }
.services-header .section-title { color: var(--paper); }

.services-header-note {
  color: var(--on-dark-muted);
  font-size: 0.875rem;
  max-width: 280px;
  text-align: right;
  font-weight: 300;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.service-card {
  padding: 44px 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--on-dark-border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  transition: background 0.25s, transform 0.25s var(--ease), border-color 0.25s;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 var(--r-pill) var(--r-pill);
}

.service-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.14);
}

.service-name {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--paper);
  margin-bottom: 6px;
  line-height: 1.1;
}

.service-for {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-soft);
  margin-bottom: 24px;
}

.service-problem {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--on-dark-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--on-dark-border);
}

.service-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--on-dark-muted);
  line-height: 1.85;
  margin-bottom: 20px;
  flex: 1;
}

.service-outcome {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--paper);
  line-height: 1.5;
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--r-xs) var(--r-xs) 0;
}

.service-duration {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  border-top: 1px solid var(--on-dark-border);
  padding-top: 20px;
  margin-top: auto;
}

.service-duration::before {
  content: '';
  width: 16px; height: 1px;
  background: var(--accent);
}


/* ── 8. NOT-DOING ─────────────────────────────────────────── */
.not-doing {
  padding: var(--pad-y) var(--pad-x);
  background: var(--paper-warm);
}

.not-doing-title {
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 12px 0 48px;
}
.not-doing-title em { font-style: italic; color: var(--accent); }

.not-doing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 48px;
}

.not-doing-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  background: var(--white);
  padding: 24px 26px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}

.not-doing-item strong {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.not-doing-x {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--r-pill);
  background: var(--accent-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* ── 9. PROOF ─────────────────────────────────────────────── */
.proof {
  padding: var(--pad-y) var(--pad-x);
  position: relative;
  overflow: hidden;
}

.proof-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1400&q=70&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
}

.proof > *:not(.proof-bg) { position: relative; z-index: 1; }

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 20px;
}

.proof-points {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.proof-point {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: background 0.2s;
}

.proof-point:last-child { border-bottom: none; }
.proof-point:hover { background: var(--paper-warm); }

.proof-point-num {
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.proof-point h4 {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 5px;
  color: var(--ink);
}

.proof-point p {
  font-size: 0.845rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
}

.proof-statement {
  background: var(--accent);
  color: white;
  padding: 52px;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
  box-shadow: var(--shadow-md);
}

.proof-statement blockquote {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.proof-statement .proof-examples {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 28px;
}

.proof-example {
  font-size: 0.845rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  padding-left: 16px;
  border-left: 2px solid rgba(255,255,255,0.45);
  border-radius: 0 var(--r-xs) var(--r-xs) 0;
}

.proof-example strong { color: white; font-weight: 600; }


/* ── 10. TESTIMONIAL ──────────────────────────────────────── */
.testimonial {
  padding: var(--pad-y) var(--pad-x);
  background: var(--ink);
  color: var(--paper);
}

.testimonial-inner { max-width: 1100px; margin: 0 auto; }
.testimonial .section-kicker { color: var(--accent-soft); }

.testimonial-quote {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 28px 0 40px;
  padding: 8px 0 8px 24px;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.testimonial-role {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 4px;
}

.testimonial-context {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--on-dark-muted);
  letter-spacing: 0.02em;
}


/* ── 11. CASE STUDY ───────────────────────────────────────── */
.case-study {
  padding: var(--pad-y) var(--pad-x);
  background: var(--ink);
  color: var(--paper);
}

.case-study .section-kicker,
.case-study .section-title em { color: var(--accent-soft); }
.case-study .section-title { color: var(--paper); }

.case-study-meta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  border: 1px solid var(--on-dark-border);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  align-self: flex-end;
  white-space: nowrap;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 16px;
}

.case-study-col {
  padding: 36px 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--on-dark-border);
  border-radius: var(--r-lg);
  min-width: 0;
}

.case-study-col h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 20px;
}

.case-study-col p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--on-dark-muted);
  line-height: 1.85;
}

.case-study-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.case-study-stat {
  padding: 28px 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--on-dark-border);
  border-radius: var(--r-md);
}

.case-study-stat-num {
  color: var(--accent-soft);
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.case-study-stat-label {
  color: var(--on-dark-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}


/* ── 12. PORTFOLIO + CAROUSEL ─────────────────────────────── */
.portfolio {
  padding: var(--pad-y) var(--pad-x);
}

.portfolio-featured {
  background: var(--ink);
  color: var(--paper);
  padding: 56px;
  border-radius: var(--r-xl);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
}

.featured-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}

.portfolio-featured h3 {
  font-weight: 900;
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
  color: white;
  margin-bottom: 8px;
}

.portfolio-featured .feat-sub { color: var(--on-dark-muted); font-size: 0.9rem; }

.portfolio-featured .feat-sector {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--on-dark-border);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  color: var(--on-dark-muted);
}

.portfolio-featured p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--on-dark-muted);
  line-height: 1.9;
}

/* — carousel — */
.portfolio-carousel {
  position: relative;
}

.portfolio-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 4px 20px;
  margin: 0 -4px;
}
.portfolio-track::-webkit-scrollbar { display: none; }

.portfolio-card {
  scroll-snap-align: start;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.portfolio-type {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.portfolio-card h3 {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 12px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.portfolio-card p {
  font-size: 0.845rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  flex: 1;
}

.portfolio-sector {
  display: inline-block;
  margin-top: 18px;
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--paper-warm);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  color: var(--muted);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--border-strong);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}

.carousel-dot.is-active {
  background: var(--accent);
  width: 24px;
}

.carousel-arrows {
  display: flex;
  gap: 12px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--border-strong);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  font-size: 1.1rem;
  line-height: 1;
}

.carousel-btn:hover:not(:disabled) {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.portfolio-note {
  margin-top: 28px;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}

.portfolio-header-note {
  color: var(--muted);
  font-size: 0.82rem;
  max-width: 260px;
  text-align: right;
  font-weight: 300;
}


/* ── 13. LEAD / FOUNDER ───────────────────────────────────── */
.lead {
  padding: var(--pad-y) var(--pad-x);
  background: var(--paper-warm);
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  margin-top: 20px;
  align-items: start;
}

.lead-photo {
  aspect-ratio: 1 / 1;
  background: var(--ink);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-dark-faint);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.lead-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lead-name {
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1;
}

.lead-role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.lead-bio p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 18px;
}

.lead-bio p strong { color: var(--ink); font-weight: 600; }

.lead-links {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.lead-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  transition: color 0.2s;
}
.lead-link:hover { color: var(--accent); }


/* ── 14. ABOUT ────────────────────────────────────────────── */
.about {
  padding: var(--pad-y) var(--pad-x);
  position: relative;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?w=1400&q=70&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.04;
}

.about > *:not(.about-bg) { position: relative; z-index: 1; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 20px;
}

.about p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about p strong { color: var(--ink); font-weight: 600; }

.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }

.tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: default;
}

.tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-tint);
}

.about-panel {
  background: var(--ink);
  color: var(--paper);
  padding: 48px;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}

.about-panel h3 {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: white;
}

.about-stat {
  padding: 20px 0;
  border-bottom: 1px solid var(--on-dark-border);
}

.about-stat:first-of-type { border-top: 1px solid var(--on-dark-border); }

.about-stat-num {
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--accent-soft);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.about-stat-label {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--on-dark-muted);
  line-height: 1.5;
}


/* ── 15. INSIGHTS ─────────────────────────────────────────── */
.insights {
  padding: var(--pad-y) var(--pad-x);
  background: var(--paper);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.insight-card {
  background: var(--white);
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  min-height: 320px;
  min-width: 0;
}

.insight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.insight-card:hover .insight-arrow { transform: translateX(4px); color: var(--accent); }

.insight-category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.insight-title {
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}

.insight-dek {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: auto;
  padding-bottom: 24px;
}

.insight-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.insight-arrow {
  font-size: 1rem;
  color: var(--ink);
  transition: transform 0.2s, color 0.2s;
}

.insights-note {
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}

.insights-note a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
}

.insights-note a:hover { color: var(--accent); }


/* ── 16. FAQ ──────────────────────────────────────────────── */
.faq { padding: var(--pad-y) var(--pad-x); }

.faq-list {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  margin-top: 20px;
  overflow: hidden;
}

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  gap: 24px;
  transition: background 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }
.faq-item summary:hover { background: var(--paper-warm); }

.faq-icon {
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--accent);
  transition: transform 0.25s;
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  background: var(--accent-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item[open] summary { background: var(--paper-warm); }

.faq-item p {
  padding: 0 32px 28px;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 800px;
}


/* ── 17. CONTACT ──────────────────────────────────────────── */
.contact-section {
  background: var(--ink);
  padding: var(--pad-y) var(--pad-x);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-section .section-title { color: var(--paper); }
.contact-section .section-title em { color: var(--accent-soft); }
.contact-section .section-kicker { color: var(--accent-soft); }

.contact-section p {
  color: var(--on-dark-muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 36px;
  margin-top: 24px;
}

.contact-email {
  display: inline-block;
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: white;
  text-decoration: none;
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  transition: color 0.2s;
  word-break: break-word;
}

.contact-email:hover,
.contact-email:focus-visible { color: var(--accent-soft); }

.contact-steps {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--on-dark-border);
  border-radius: var(--r-lg);
  margin-top: 48px;
  overflow: hidden;
}

.contact-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 26px 30px;
  border-bottom: 1px solid var(--on-dark-border);
  transition: background 0.2s;
}

.contact-step:last-child { border-bottom: none; }
.contact-step:hover { background: rgba(255,255,255,0.04); }

.contact-step-num {
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--accent-soft);
  flex-shrink: 0;
  line-height: 1;
  letter-spacing: -0.03em;
}

.contact-step h4 {
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
  margin-bottom: 4px;
}

.contact-step p {
  font-size: 0.845rem;
  color: var(--on-dark-faint);
  margin: 0;
  line-height: 1.6;
}

.contact-note {
  font-size: 0.78rem;
  color: var(--on-dark-faint);
  font-style: italic;
  margin-top: 20px !important;
  margin-bottom: 0 !important;
}


/* ── 18. FOOTER ───────────────────────────────────────────── */
footer {
  background: #211E1A;
  color: var(--on-dark-muted);
  border-top: 1px solid rgba(179,106,71,0.25);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px var(--pad-x) 48px;
}

.footer-brand .footer-logo {
  font-family: inherit;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 20px;
}
.footer-brand .footer-logo span { color: var(--accent-soft); }

.footer-tagline {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--on-dark);
  line-height: 1.5;
  margin-bottom: 14px;
  max-width: 340px;
  letter-spacing: -0.01em;
}

.footer-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--on-dark-muted);
  line-height: 1.7;
  max-width: 340px;
}

.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 22px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--on-dark-muted);
  line-height: 1.5;
}

.footer-col ul a {
  color: var(--on-dark-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover,
.footer-col ul a:focus-visible { color: var(--accent-soft); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--pad-x);
  border-top: 1px solid var(--on-dark-border);
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--on-dark-faint);
}


/* ── 19. ANIMATIONS ───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ── 20. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1100px) {
  :root { --pad-x: 36px; --pad-y: 84px; }
  .statement-inner,
  .proof-grid,
  .about-grid,
  .contact-inner { gap: 48px; }
  .portfolio-track { grid-auto-columns: calc((100% - 16px) / 2); }
}

@media (max-width: 900px) {
  :root { --pad-x: 28px; --pad-y: 72px; }

  .statement-inner,
  .proof-grid,
  .about-grid,
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }

  .scenario-grid,
  .services-grid,
  .case-study-grid,
  .case-study-stats,
  .insights-grid,
  .not-doing-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .portfolio-track { grid-auto-columns: calc((100% - 8px) / 1.4); }

  .portfolio-featured {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    gap: 28px;
    border-radius: var(--r-lg);
  }

  .hero-bottom { grid-template-columns: 1fr; }
  .hero-bottom-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px var(--pad-x);
  }
  .hero-bottom-item:last-child { border-bottom: none; }

  .section-header { flex-direction: column; align-items: flex-start; }
  .portfolio-header-note,
  .services-header-note { text-align: left; max-width: 100%; }

  .proof-statement { padding: 40px 32px; min-height: 0; }
  .about-panel { padding: 36px 28px; border-radius: var(--r-lg); }
  .lead-grid { grid-template-columns: 1fr; gap: 40px; }
  .lead-photo { max-width: 320px; border-radius: var(--r-lg); }
  .case-study-meta { align-self: flex-start; }

  .primary-nav { padding: 12px var(--pad-x); }
  .nav-toggle { display: inline-flex; }
  .primary-nav ul {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }
  .primary-nav ul.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .primary-nav ul li { border-top: 1px solid var(--border); }
  .primary-nav ul li:first-child { border-top: none; }
  .primary-nav a:not(.nav-cta) { display: block; padding: 16px var(--pad-x); }
  .primary-nav a.active::after { left: var(--pad-x); right: auto; width: 24px; bottom: 10px; }
  .nav-cta {
    display: block;
    margin: 8px var(--pad-x) 4px;
    text-align: center;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 56px var(--pad-x) 40px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --pad-x: 20px; --pad-y: 56px; }

  .hero-content { padding-top: calc(var(--nav-height) + 48px); padding-bottom: 40px; }
  .hero h1 { letter-spacing: -0.03em; }
  .hero h1 .line-outline { -webkit-text-stroke-width: 1.5px; }
  .carousel-controls { justify-content: center; }
  .case-study-stat-num { font-size: 1.6rem; }
  .about-stat-num { font-size: 1.5rem; }
  .scenario-card { padding: 28px 24px; }
  .scenario-quote { font-size: 0.95rem; }

  .scenario-card { padding: 32px 26px; }
  .service-card { padding: 36px 28px; }
  .portfolio-card { padding: 26px 24px; }
  .proof-point { padding: 22px 24px; gap: 14px; }
  .proof-statement { padding: 32px 24px; }
  .about-panel { padding: 28px 24px; }
  .portfolio-featured { padding: 32px 24px; }

  .portfolio-track { grid-auto-columns: 84%; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px var(--pad-x) 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .section-header { margin-bottom: 40px; gap: 12px; }
  .scenario-num { font-size: 3rem; margin-bottom: 14px; }
  .contact-email { font-size: 1.1rem; }
  .faq-item summary { padding: 22px 24px; font-size: 0.95rem; }
  .faq-item p { padding: 0 24px 22px; }
  .case-study-col { padding: 32px 24px; }
  .case-study-stat { padding: 22px 24px; }
  .testimonial-quote { padding-left: 18px; border-left-width: 3px; }
}

@media (max-width: 380px) {
  :root { --pad-x: 16px; }
  .hero h1 { font-size: clamp(1.85rem, 9vw, 2.6rem); letter-spacing: -0.025em; }
  .hero h1 .line-outline { -webkit-text-stroke-width: 1px; }
  .hero-tag { margin-bottom: 28px; }
  .section-title { font-size: clamp(1.4rem, 6vw, 2rem); }
  .portfolio-featured h3 { font-size: 1.5rem; }
  .lead-name { font-size: 1.5rem; }
  .testimonial-quote { font-size: 1.15rem; }
}


/* ── 21. REDUCED MOTION & PRINT ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .hero-line { opacity: 1; transform: none; }
  .portfolio-track { scroll-behavior: auto; }
}

@media print {
  :root { --pad-x: 0; --pad-y: 24px; }
  html, body { background: #fff !important; color: #000 !important; }
  .primary-nav, .nav-toggle, .skip-link, footer, .carousel-controls { display: none !important; }
  .hero-bg, .scenarios-bg, .services-bg, .proof-bg, .about-bg { display: none !important; }
  .hero, .statement, .scenarios, .services, .proof, .portfolio, .about, .contact-section {
    padding: 24px 0 !important;
    border: none !important;
    page-break-inside: avoid;
    background: #fff !important;
    color: #000 !important;
  }
  .portfolio-track {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-auto-flow: row !important;
    overflow: visible !important;
  }
  .hero { min-height: 0 !important; }
  .hero-content { padding: 0 !important; }
  a { color: #000 !important; text-decoration: underline; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
