/* ============================================================
   CONSENSUS MEDIA — ASSET PERFORMANCE PARTNERS
   Shared Stylesheet | Cloudflare Pages
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ── Custom Properties ── */
:root {
  --near-black:   #1C1C20;   /* softened from #0E0E10 — dark charcoal, not pure black */
  --blue:         #3FA3DC;
  --blue-soft:    #5BB5E8;   /* lighter blue for hover states and accents */
  --gold:         #C9A961;
  --gold-light:   #DFC078;   /* lighter gold for backgrounds */
  --off-white:    #F4F4F2;
  --stone:        #EAE6E0;   /* warm stone — new mid-tone between off-white and gray */
  --warm-gray:    #55555A;
  --slate:        #2E3A48;   /* deep navy — replaces pure black in some dark sections */
  --white:        #FFFFFF;

  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:  'DM Mono', 'Courier New', monospace;

  --max-width: 1160px;
  --section-pad: 96px 24px;
  --radius: 2px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--near-black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ── Utility ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-blue { color: var(--blue); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
}
.btn-primary:hover { background: #2d8ec5; border-color: #2d8ec5; }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-ghost:hover { border-color: var(--white); }
.btn-ghost-dark {
  background: transparent;
  color: var(--near-black);
  border: 2px solid var(--near-black);
}
.btn-ghost-dark:hover { background: var(--near-black); color: var(--white); }

/* ── Eyebrow ── */
.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.eyebrow-gold { color: var(--gold); }
.eyebrow-white { color: rgba(255,255,255,0.7); }

/* ── Typography ── */
h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.18;
  font-weight: 700;
}
h1 { font-size: clamp(36px, 5.5vw, 66px); }
h2 { font-size: clamp(28px, 3.8vw, 46px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--slate);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.nav-logo img { height: 56px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta { flex-shrink: 0; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--slate);
  color: rgba(255,255,255,0.7);
  padding: 40px 24px 20px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 52px; margin-bottom: 12px; }
.footer-tagline {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.55);
}
.footer-contact a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2px;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--blue); }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}
.footer-col ul li { margin-bottom: 1px; }
.footer-col ul a {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */
.bg-dark   { background: var(--slate); color: var(--white); }      /* navy instead of pure black */
.bg-darker { background: var(--near-black); color: var(--white); } /* for hero only */
.bg-stone  { background: var(--stone); }                           /* new warm mid-tone */
.bg-white  { background: linear-gradient(180deg, #f0ece6 0%, var(--white) 6%, var(--white) 92%, #edeae5 100%); }
.bg-off    { background: linear-gradient(180deg, #f8f7f5 0%, var(--off-white) 6%, var(--off-white) 88%, #e0dbd3 100%); }
.bg-blue   { background: var(--blue); color: var(--white); }

/* ── Photo Break (full-width image strip) ── */
.photo-break {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.photo-break img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.photo-break-tall img  { height: 580px; }
.photo-break-short img { height: 340px; }

/* Gradient overlays — fade photo edges into adjacent section colors */
.photo-break::before,
.photo-break::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 90px;
  pointer-events: none;
  z-index: 1;
}
/* Top of standard photo-break: fades from off-white into photo */
.photo-break::before {
  top: 0;
  background: linear-gradient(180deg, var(--off-white) 0%, transparent 100%);
}
/* Bottom of standard photo-break: fades out of photo into off-white */
.photo-break::after {
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, var(--off-white) 100%);
}

/* Short photo-break sits between bg-dark and bg-white */
.photo-break-short::before {
  top: 0;
  height: 80px;
  background: linear-gradient(180deg, var(--slate) 0%, transparent 100%);
}
.photo-break-short::after {
  bottom: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, #f0ece6 100%);
}

/* ── Photo + Text Split ── */
.photo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.photo-split-img {
  position: relative;
  overflow: hidden;
  background: var(--stone);
}
.photo-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.photo-split-body {
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── Photo Grid (3-up) ── */
.photo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.photo-grid-3 img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.photo-grid-3 img:hover { transform: scale(1.02); }

/* ── Hero image overlay ── */
.hero-with-image {
  position: relative;
  background: var(--near-black);
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.42;  /* dark overlay effect */
}
.hero-with-image .hero-inner { position: relative; z-index: 1; }

/* ── Placeholder for missing images ── */
.img-placeholder {
  background: linear-gradient(135deg, var(--stone) 0%, #D8D2C8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-gray);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
  min-height: 300px;
}

@media (max-width: 900px) {
  .photo-split { grid-template-columns: 1fr; }
  .photo-split-img { min-height: 280px; }
  .photo-split-body { padding: 48px 32px; }
  .photo-grid-3 { grid-template-columns: 1fr 1fr; }
  .photo-grid-3 img { height: 220px; }
  .photo-break img { height: 320px; }
}

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.hero {
  background: var(--slate);
  color: var(--white);
  padding: 148px 24px 80px;
  position: relative;
  overflow: hidden;
  min-height: 660px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,169,97,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  max-width: 680px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.hero-qualifier {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-style: italic;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--slate);
  color: var(--white);
  padding: 96px 24px 80px;
}
.page-hero-inner { max-width: 720px; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
}

/* ── Page Hero: background image variant ── */
.page-hero-img {
  background: var(--near-black);
  position: relative;
  overflow: hidden;
  padding: 130px 24px 100px;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.page-hero-img .hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-img .hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.26;
}
.page-hero-img .container {
  position: relative;
  z-index: 1;
  width: 100%;
}
.page-hero-img .page-hero-inner { max-width: 760px; }

/* ── Page Hero stat row ── */
.page-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.page-hero-stat-num {
  font-family: var(--font-mono);
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 5px;
}
.page-hero-stat-lab {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.46);
  text-transform: uppercase;
  display: block;
  line-height: 1.4;
  max-width: 160px;
}

@media (max-width: 680px) {
  .page-hero-img { padding: 96px 20px 72px; min-height: auto; }
  .page-hero-stats { gap: 16px 28px; }
}

/* About page audit band — collapse on mobile */
@media (max-width: 900px) {
  .audit-band-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--white);
  padding: 56px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.trust-bar-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.trust-stat-number {
  font-family: var(--font-mono);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.trust-stat-label {
  font-size: 14px;
  color: var(--warm-gray);
  line-height: 1.4;
}
.trust-caveat {
  max-width: var(--max-width);
  margin: 32px auto 0;
  font-size: 12px;
  color: #999;
  text-align: center;
  font-style: italic;
}

/* ============================================================
   SECTION: POSITIONING
   ============================================================ */
.section { padding: var(--section-pad); }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 20px; }
.section-header p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--warm-gray);
  max-width: 680px;
}
.section-header.text-center p { margin: 0 auto; }

/* Dark section text override */
.bg-dark .section-header p { color: rgba(255,255,255,0.7); }
.bg-dark p { color: rgba(255,255,255,0.78); }
.bg-dark h2, .bg-dark h3 { color: var(--white); }

/* ============================================================
   ENGAGEMENT MODELS / CARDS
   ============================================================ */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1180px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
}
.card {
  padding: 40px 32px;
  border-radius: var(--radius);
}
.card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
}
.card-light {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--near-black);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(63,163,220,0.1);
  padding: 4px 10px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 16px; }
.card p { font-size: 15px; line-height: 1.65; }
.card-dark p { color: rgba(255,255,255,0.72); }
.card-light p { color: var(--warm-gray); }

/* ============================================================
   FOUR PILLARS (2x2 grid)
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.pillar {
  padding: 40px;
  background: var(--off-white);
  border-left: 3px solid var(--blue);
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}
.pillar h3 { font-size: 20px; margin-bottom: 16px; }
.pillar ul { padding-left: 0; }
.pillar ul li {
  font-size: 15px;
  color: var(--warm-gray);
  padding: 6px 0 6px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: relative;
}
.pillar ul li:last-child { border-bottom: none; }
.pillar ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 13px;
}

/* ============================================================
   OUTCOMES (bullet list section)
   ============================================================ */
.outcomes-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.outcome-item:nth-last-child(-n+2) { border-bottom: none; }
.outcome-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(63,163,220,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 14px;
  margin-top: 2px;
}
.outcome-text { font-size: 16px; color: rgba(255,255,255,0.82); line-height: 1.5; }

/* ============================================================
   CIVIC LAYER
   ============================================================ */
.civic-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.civic-stat {
  font-family: var(--font-mono);
  font-size: 48px;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(180deg, #3d4d5d 0%, var(--slate) 14%, var(--slate) 100%);
  color: var(--white);
  padding: 96px 24px;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 20px; }
.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  margin: 0 auto 36px;
}
.cta-sub {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

/* ============================================================
   HOW WE WORK: AUDIT DETAIL
   ============================================================ */
.audit-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.audit-col h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.audit-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  font-size: 15px;
  color: var(--warm-gray);
  line-height: 1.5;
}
.audit-list li:last-child { border-bottom: none; }
.audit-list li::before {
  content: '→';
  color: var(--gold);
  flex-shrink: 0;
  font-size: 14px;
  margin-top: 1px;
}

/* ============================================================
   FRAMEWORK STEPS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(0,0,0,0.08);
}
.step {
  padding: 36px 28px;
  border-right: 1px solid rgba(0,0,0,0.08);
}
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.step h3 { font-size: 19px; margin-bottom: 12px; }
.step p { font-size: 14px; color: var(--warm-gray); line-height: 1.6; }
.step-output {
  margin-top: 16px;
  padding: 10px 14px;
  background: var(--off-white);
  border-left: 2px solid var(--blue);
  font-size: 13px;
  color: var(--warm-gray);
  font-style: italic;
}

/* ============================================================
   WHO WE WORK WITH
   ============================================================ */
.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.who-card {
  padding: 36px;
  background: var(--off-white);
  border-top: 3px solid var(--blue);
}
.who-card h3 { font-size: 20px; margin-bottom: 14px; }
.who-card p { font-size: 15px; color: var(--warm-gray); }

/* ============================================================
   RESULTS: PORTFOLIO GRID
   ============================================================ */
.portfolio-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(0,0,0,0.08);
}
.portfolio-tile {
  background: var(--white);
  padding: 36px 28px;
  text-align: center;
}
.tile-number {
  font-family: var(--font-mono);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.tile-label {
  font-size: 14px;
  color: var(--warm-gray);
  line-height: 1.4;
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.case-studies { display: grid; gap: 48px; }

.case-study {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  border: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
}
.case-featured { border-color: var(--gold); }

.case-sidebar {
  background: var(--slate);
  color: var(--white);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.case-featured .case-sidebar { background: var(--gold); color: var(--near-black); }

.case-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  display: block;
}
.case-featured .case-badge { color: rgba(14,14,16,0.55); }

.case-sidebar h3 {
  font-size: clamp(20px, 2vw, 24px);
  margin-bottom: 8px;
  color: var(--white);
}
.case-featured .case-sidebar h3 { color: var(--near-black); }

.case-location {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}
.case-featured .case-location { color: rgba(14,14,16,0.55); }

.case-headline {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--white);
}
.case-featured .case-headline { color: var(--near-black); }

.case-body { padding: 40px; }
.case-stats { display: flex; gap: 32px; margin-bottom: 32px; flex-wrap: wrap; }
.case-stat-val {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--blue);
  display: block;
  margin-bottom: 4px;
}
.case-stat-lab { font-size: 13px; color: var(--warm-gray); }

.case-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.case-col h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 12px;
}
.case-col ul li {
  font-size: 14px;
  color: var(--warm-gray);
  padding: 6px 0 6px 16px;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  line-height: 1.45;
}
.case-col ul li:last-child { border-bottom: none; }
.case-col ul li::before { content: '→'; position: absolute; left: 0; color: var(--blue); font-size: 12px; }

/* ── Active engagement tag ── */
.active-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(63,163,220,0.1);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.active-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

/* ============================================================
   ENGAGEMENT SNAPSHOTS
   ============================================================ */
.snapshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.snapshot {
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-top: 2px solid var(--off-white);
  transition: border-color 0.2s;
}
.snapshot:hover { border-top-color: var(--blue); }
.snapshot-location {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.snapshot h4 { font-size: 15px; margin-bottom: 10px; line-height: 1.35; }
.snapshot p { font-size: 13px; color: var(--warm-gray); line-height: 1.55; }

/* ============================================================
   WHERE WE WORK
   ============================================================ */
.market-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.market-pill {
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.thesis-body {
  max-width: 780px;
}
.thesis-body p { font-size: 19px; line-height: 1.75; margin-bottom: 1.5em; }

.differentiators { display: grid; gap: 1px; background: rgba(0,0,0,0.07); }
.diff-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: var(--white);
}
.diff-label {
  padding: 36px 40px;
  background: var(--off-white);
  border-right: 3px solid var(--blue);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  display: flex;
  align-items: center;
}
.diff-body {
  padding: 36px 40px;
  font-size: 16px;
  color: var(--warm-gray);
  line-height: 1.65;
  display: flex;
  align-items: center;
}

.markets-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.market-box {
  padding: 32px;
  background: var(--off-white);
  border-top: 3px solid var(--gold);
}
.market-box h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 12px;
}
.market-box p { font-size: 15px; color: var(--near-black); line-height: 1.6; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 20px; }
.contact-info p { font-size: 17px; color: var(--warm-gray); margin-bottom: 32px; }
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}
.contact-detail a {
  font-size: 16px;
  color: var(--near-black);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}
.contact-detail a:hover { color: var(--blue); }
.contact-icon { color: var(--blue); font-size: 18px; }

.form-wrap {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.09);
  padding: 48px;
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--near-black);
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2355555A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-submit { width: 100%; padding: 16px; font-size: 15px; }
.form-required { font-size: 12px; color: #999; margin-top: 16px; text-align: right; font-style: italic; }
.form-success {
  display: none;
  padding: 20px 24px;
  background: rgba(63,163,220,0.08);
  border: 1px solid rgba(63,163,220,0.3);
  color: var(--blue);
  font-size: 15px;
  line-height: 1.55;
  margin-top: 16px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .cards-3    { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .outcomes-list { grid-template-columns: 1fr; }
  .civic-layout { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.08); }
  .step:nth-child(even) { border-right: none; }
  .step:last-child, .step:nth-last-child(2) { border-bottom: none; }
  .who-grid { grid-template-columns: 1fr; }
  .portfolio-tiles { grid-template-columns: repeat(2, 1fr); }
  .case-study { grid-template-columns: 1fr; }
  .case-cols { grid-template-columns: 1fr; }
  .snapshots-grid { grid-template-columns: repeat(2, 1fr); }
  .differentiators .diff-item { grid-template-columns: 1fr; }
  .diff-label { border-right: none; border-bottom: 3px solid var(--blue); }
  .markets-box { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .audit-cols { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { --section-pad: 64px 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--near-black);
    padding: 32px 24px;
    gap: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 99;
  }
  .nav-links.open .nav-cta { display: block; }
  .hero { padding: 80px 20px 64px; }
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-tiles { grid-template-columns: repeat(2, 1fr); }
  .snapshots-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 32px 24px; }
  .case-body { padding: 28px 24px; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ============================================================
   EDITORIAL / AGENCY DESIGN ADDITIONS
   ============================================================ */

/* Thin gold rule separator */
hr.rule-gold {
  border: none;
  border-top: 1px solid rgba(201, 169, 97, 0.28);
  margin: 0;
}

/* Pull quote */
.pull-quote {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 28px;
  margin: 52px 0 0;
  max-width: 640px;
}
.pull-quote p {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.42;
  color: var(--slate);
  margin: 0;
  font-style: italic;
}

/* ── TRUST BAR: editorial asymmetric layout ── */
.trust-bar-editorial {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.9fr 1px 1fr 1px 1fr 1px 1fr;
  gap: 0;
  align-items: center;
}
.trust-divider {
  width: 1px;
  background: rgba(0, 0, 0, 0.1);
  align-self: stretch;
  min-height: 72px;
}
.trust-stat-primary {
  padding: 44px 52px 44px 0;
}
.trust-stat-primary .trust-stat-number {
  font-size: clamp(52px, 7.5vw, 96px);
  text-align: left;
  display: block;
  margin-bottom: 8px;
  line-height: 0.9;
}
.trust-stat-primary .trust-stat-label {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray);
  line-height: 1.5;
}
.trust-stat-secondary { padding: 44px 40px; }
.trust-stat-secondary .trust-stat-number {
  font-size: clamp(26px, 3.4vw, 42px);
  text-align: left;
  display: block;
  margin-bottom: 6px;
}
.trust-stat-secondary .trust-stat-label { text-align: left; }

/* ── FOUR PILLARS: editorial redesign ── */
.pillars-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}
.pillar-ed {
  padding: 48px 0;
  border-top: 3px solid var(--blue);
}
.pillar-ed:nth-child(3),
.pillar-ed:nth-child(4) {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.pillar-ed-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.pillar-ed h3 { font-size: clamp(18px, 2vw, 22px); margin-bottom: 20px; }
.pillar-ed ul { padding: 0; }
.pillar-ed ul li {
  font-size: 14px;
  color: var(--warm-gray);
  padding: 9px 0 9px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  line-height: 1.45;
}
.pillar-ed ul li:last-child { border-bottom: none; }
.pillar-ed ul li::before { content: '→'; position: absolute; left: 0; color: var(--blue); font-size: 12px; }

/* ── OUTCOMES: editorial typographic rows ── */
.outcomes-editorial { max-width: 800px; }
.outcome-ed {
  padding: 20px 0;
  border-top: 1px solid rgba(46, 58, 72, 0.11);
  font-size: 17px;
  color: var(--near-black);
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 18px;
}
.outcome-ed:last-child { border-bottom: 1px solid rgba(46, 58, 72, 0.11); }
.outcome-ed::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── STEPS: editorial with oversized faded numbers ── */
.steps-editorial {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid rgba(0, 0, 0, 0.07);
}
.step-ed {
  padding: 44px 28px 44px 0;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}
.step-ed:first-child { padding-left: 0; }
.step-ed:last-child { border-right: none; padding-right: 0; }
.step-ed-bg-num {
  font-family: var(--font-mono);
  font-size: clamp(68px, 10vw, 112px);
  font-weight: 700;
  color: var(--gold);
  opacity: 0.11;
  line-height: 1;
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: -20px;
  pointer-events: none;
  user-select: none;
}
.step-ed h3 { font-size: 18px; margin-bottom: 12px; position: relative; }
.step-ed p { font-size: 14px; color: var(--warm-gray); line-height: 1.6; position: relative; }
.step-ed-output {
  margin-top: 20px;
  padding: 10px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
}

/* ── DIFFERENTIATORS: editorial numbered list (about.html) ── */
.diff-editorial { max-width: 860px; }
.diff-ed {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 36px;
  padding: 36px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  align-items: start;
}
.diff-ed:last-child { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.diff-ed-num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.8vw, 38px);
  font-weight: 500;
  color: var(--gold);
  opacity: 0.42;
  line-height: 1;
  padding-top: 4px;
}
.diff-ed-content h4 {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 600;
  color: var(--near-black);
  margin-bottom: 10px;
  line-height: 1.3;
}
.diff-ed-content p { font-size: 15px; color: var(--warm-gray); line-height: 1.7; margin: 0; }

/* ── CTA SPLIT: horizontal stat + action (results page) ── */
.cta-split {
  background: var(--slate);
  color: var(--white);
  padding: 80px 24px;
}
.cta-split-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1px 1.5fr;
  gap: 0;
  align-items: center;
}
.cta-split-divider {
  background: rgba(255, 255, 255, 0.1);
  align-self: stretch;
  min-height: 80px;
}
.cta-split-stat { padding-right: 72px; }
.cta-split-stat-num {
  font-family: var(--font-mono);
  font-size: clamp(60px, 9vw, 112px);
  font-weight: 700;
  color: var(--gold);
  line-height: 0.88;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 16px;
}
.cta-split-stat-label { font-size: 14px; color: rgba(255, 255, 255, 0.58); line-height: 1.55; max-width: 280px; }
.cta-split-action { padding-left: 72px; }
.cta-split-action h2 { color: var(--white); font-size: clamp(22px, 2.8vw, 34px); margin-bottom: 16px; }
.cta-split-action p { font-size: 16px; color: rgba(255, 255, 255, 0.65); margin-bottom: 28px; max-width: 400px; }

/* ── PHOTO GRID: asymmetric dominant + secondary layout ── */
.photo-grid-feature {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
}
.photo-grid-feature img {
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.photo-grid-feature img:hover { transform: scale(1.02); }
.photo-grid-feature img:first-child {
  grid-row: 1 / 3;
  height: 484px;
}
.photo-grid-feature img:not(:first-child) { height: 240px; }

/* ── Responsive: editorial additions ── */
@media (max-width: 960px) {
  .trust-bar-editorial { grid-template-columns: 1fr 1fr; }
  .trust-divider { display: none; }
  .trust-stat-primary { padding: 36px 24px 36px 0; }
  .trust-stat-secondary { padding: 36px 24px; }

  .pillars-editorial { grid-template-columns: 1fr; gap: 0; }
  .pillar-ed:nth-child(3),
  .pillar-ed:nth-child(4) { border-top: 1px solid rgba(0,0,0,0.1); }

  .steps-editorial { grid-template-columns: repeat(2, 1fr); }
  .step-ed {
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 32px 24px 32px 0;
  }
  .step-ed:nth-child(even) { border-right: none; padding-right: 0; }
  .step-ed:nth-last-child(-n+2) { border-bottom: none; }

  .cta-split-inner { grid-template-columns: 1fr; }
  .cta-split-divider { display: none; }
  .cta-split-stat { padding-right: 0; padding-bottom: 40px; }
  .cta-split-action { padding-left: 0; }

  .diff-ed { grid-template-columns: 48px 1fr; gap: 24px; }

  .photo-grid-feature { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .photo-grid-feature img:first-child { grid-row: auto; height: 240px; }
  .photo-grid-feature img:not(:first-child) { height: 240px; }
}
@media (max-width: 680px) {
  .trust-stat-primary .trust-stat-number { font-size: clamp(40px, 8vw, 60px); }
  .steps-editorial { grid-template-columns: 1fr; }
  .step-ed { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.06); padding: 28px 0; }
  .step-ed:last-child { border-bottom: none; }
  .photo-grid-feature { grid-template-columns: 1fr; }
  .photo-grid-feature img:first-child,
  .photo-grid-feature img:not(:first-child) { height: 220px; }
}

/* ── HERO: embedded stat bar ── */
.hero-stat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 44px;
  margin-top: 56px;
  padding: 26px 32px;
  background: rgba(8,8,8,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
}
.hero-stat-num {
  font-family: var(--font-mono);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 5px;
}
.hero-stat-lab {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.48);
  text-transform: uppercase;
  display: block;
  line-height: 1.4;
  max-width: 150px;
}

/* ── THREE MODELS: open column layout (no card boxes) ── */
.models-3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 48px;
}
.model-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.models-3 h3 {
  color: var(--white);
  font-size: clamp(17px, 1.8vw, 21px);
  margin-bottom: 14px;
}
.models-3 p {
  font-size: 15px;
  color: rgba(255,255,255,0.66);
  line-height: 1.68;
}
@media (max-width: 1180px) {
  .models-3 { grid-template-columns: repeat(2, 1fr); gap: 36px 32px; }
}
@media (max-width: 960px) {
  .models-3 {
    grid-template-columns: 1fr;
    gap: 36px 0;
    padding-top: 36px;
  }
  .hero-stat-bar { gap: 16px 36px; padding: 22px 24px; }
}
@media (max-width: 680px) {
  .hero { padding: 100px 20px 60px; min-height: auto; }
}
