/* =============================================
   GRAVITY STRATEGY — Global Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Jost:wght@300;400;500&display=swap');

/* ── Variables ── */
:root {
  --black:      #0a0a0a;
  --white:      #f5f4f0;
  --navy:       #1B2D4F;
  --navy-light: #2a4070;
  --warm-gray:  #e8e6e1;
  --mid-gray:   #888580;
  --ink:        #1a1917;
  --accent:     #c8a96e; /* warm gold accent */

  --font-display: 'Syne', sans-serif;
  --font-ui:      'Syne', sans-serif;
  --font-body:    'Jost', sans-serif;

  --max-w: 1280px;
  --section-pad: clamp(80px, 10vw, 140px);
  --gutter: clamp(24px, 5vw, 80px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography Scale ── */
.t-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
}
.t-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.t-h1 { font-size: clamp(3.2rem, 7vw, 7rem); }
.t-h2 { font-size: clamp(2.4rem, 4.5vw, 4.8rem); }
.t-h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.t-h4 { font-size: clamp(1.4rem, 2vw, 2rem); }
.t-body {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--mid-gray);
}
.t-body-white { color: rgba(245,244,240,0.75); }

/* ── Layout Utilities ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-pad) 0; }
.section--dark { background: var(--black); color: var(--white); }
.section--light { background: var(--white); color: var(--ink); }
.section--navy { background: var(--navy); color: var(--white); }
.section--warm { background: var(--warm-gray); color: var(--ink); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 32px); }

/* ── Dividers ── */
.rule { width: 48px; height: 1px; background: var(--accent); margin-bottom: 24px; }
.rule--light { background: rgba(245,244,240,0.25); }
.rule--full { width: 100%; height: 1px; background: rgba(245,244,240,0.1); }
.rule--ink { background: rgba(26,25,23,0.2); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  transition: all 0.25s var(--ease-out);
}
.btn--primary {
  background: var(--white);
  color: var(--black);
}
.btn--primary:hover { background: var(--accent); color: var(--black); }
.btn--outline {
  border: 1px solid rgba(245,244,240,0.3);
  color: var(--white);
}
.btn--outline:hover { border-color: var(--white); }
.btn--dark {
  background: var(--black);
  color: var(--white);
}
.btn--dark:hover { background: var(--navy); }
.btn--accent {
  background: var(--accent);
  color: var(--black);
}
.btn--accent:hover { background: var(--white); }
.btn svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 30px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,244,240,0.7);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--black);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--white);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--accent); }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}
/* Atmospheric overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.2) 0%,
    rgba(10,10,10,0.1) 40%,
    rgba(10,10,10,0.75) 80%,
    rgba(10,10,10,0.95) 100%
  );
}
/* Placeholder texture when no image */
.hero-bg-placeholder {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(27,45,79,0.6) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(200,169,110,0.12) 0%, transparent 50%),
    linear-gradient(160deg, #0f1520 0%, #0a0a0a 50%, #111008 100%);
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.hero h1 { color: var(--white); margin-bottom: 28px; }
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(245,244,240,0.65);
  max-width: 520px;
  margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll span {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--mid-gray), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ========================================
   VISION SECTION
   ======================================== */
.vision { background: var(--black); }
.vision-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
}
.vision-left {}
.vision-headline { color: var(--white); margin-bottom: 40px; }
.vision-body p { margin-bottom: 20px; }
.vision-body p:last-child { margin-bottom: 0; }
.vision-diagram {
  position: relative;
  align-self: start;
}
.vision-image {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 2px;
  overflow: hidden;
  background: var(--navy);
  background-image: url('images/patrick-2.jpg');
  background-size: cover;
  background-position: center;
}
.vision-image-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1B2D4F 0%, #0d1825 60%, #111 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vision-image-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.15;
}
.vision-stat {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(245,244,240,0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.vision-stat-item {}
.vision-stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.vision-stat-label { font-size: 0.8rem; color: var(--mid-gray); line-height: 1.4; }

/* ========================================
   SERVICES SECTION
   ======================================== */
.services { background: var(--white); }
.services .t-label { color: var(--mid-gray); }
.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(60px, 8vw, 100px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(26,25,23,0.1);
}
.services-headline { color: var(--ink); }
.services-intro { color: var(--mid-gray); }
.services-intro p { margin-bottom: 16px; }
.services-list { display: flex; flex-direction: column; gap: 0; }
.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding: clamp(48px, 6vw, 80px) 0;
  border-bottom: 1px solid rgba(26,25,23,0.08);
  transition: background 0.3s;
}
.service-item:first-child { border-top: none; }
.service-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(26,25,23,0.07);
  line-height: 1;
  margin-bottom: 8px;
}
.service-title { color: var(--ink); margin-bottom: 20px; }
.service-body { color: var(--mid-gray); margin-bottom: 28px; }
.service-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(26,25,23,0.08);
}
.service-meta-row {
  display: flex;
  gap: 12px;
}
.service-meta-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  min-width: 80px;
}
.service-meta-val {
  font-size: 0.85rem;
  color: var(--mid-gray);
  line-height: 1.5;
}
.service-image {
  aspect-ratio: 4/3;
  border-radius: 2px;
  overflow: hidden;
  background: var(--warm-gray);
  background-size: cover;
  background-position: center;
}
.service-image-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e6e1 0%, #d5d3ce 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b0aea9;
}

/* ========================================
   WHY GRAVITY SECTION
   ======================================== */
.why-gravity {
  position: relative;
  background: var(--black);
  overflow: hidden;
}
.why-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.45;
}
.why-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.why-bg-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,10,10,0.95) 0%,
    rgba(10,10,10,0.7) 50%,
    rgba(27,45,79,0.4) 100%
  );
}
.why-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
}
.why-label { margin-bottom: 20px; }
.why-headline { color: var(--white); margin-bottom: 32px; }
.why-line {
  width: 1px;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin-right: 32px;
  flex-shrink: 0;
}
.why-body-wrap {
  display: flex;
}
.why-body p { margin-bottom: 20px; }
.why-body p:last-child { margin-bottom: 0; }
.why-credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
  margin-top: 48px;
}
.credential-item {}
.credential-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.credential-desc {
  font-size: 0.82rem;
  color: var(--mid-gray);
  line-height: 1.5;
  max-width: 160px;
}

/* ========================================
   WHO WE WORK WITH
   ======================================== */
.clients { background: var(--white); }
.clients .t-label { color: var(--mid-gray); }
.clients-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: clamp(48px, 7vw, 80px);
  align-items: end;
}
.clients-headline { color: var(--ink); }
.clients-sub { color: var(--mid-gray); font-size: 1.05rem; line-height: 1.65; }
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(26,25,23,0.1);
  border-left: 1px solid rgba(26,25,23,0.1);
}
.client-card {
  border-right: 1px solid rgba(26,25,23,0.1);
  border-bottom: 1px solid rgba(26,25,23,0.1);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out);
}
.client-card:hover { transform: translateY(-4px); }
.client-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--warm-gray);
  background-size: cover;
  background-position: center;
}
.client-card-image-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d8d6d1 0%, #c5c3be 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #999;
}
.client-card-body {
  padding: 28px 24px;
}
.client-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.client-card-sub {
  font-size: 0.82rem;
  color: var(--mid-gray);
  line-height: 1.5;
}

/* ========================================
   MARKET DATA / MOTIVATIONS
   ======================================== */
.market { background: var(--black); }
.market-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
  border-top: 1px solid rgba(245,244,240,0.08);
  padding-top: clamp(48px, 6vw, 72px);
}
.market-block-accent {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 28px;
}
.market-block-headline {
  color: var(--white);
  margin-bottom: 24px;
}
.market-block p { margin-bottom: 16px; }
.market-block p:last-child { margin-bottom: 0; }
.market-block-full {}
.market-block-full p {
  max-width: 720px;
  margin-bottom: 16px;
}
.market-block-full p:last-of-type { margin-bottom: 0; }
.market-block-full .market-stats {
  margin-top: clamp(36px, 4vw, 52px);
}
/* legacy classes kept for CSS safety */
.market-header { margin-bottom: clamp(48px, 7vw, 80px); }
.market-headline { color: var(--white); max-width: 680px; }
.market-sections { display: grid; gap: clamp(60px, 8vw, 100px); }
.market-block-label { color: var(--mid-gray); margin-bottom: 40px; }
.market-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(245,244,240,0.08);
}
.stat-item {
  padding: 36px 32px 36px 0;
  border-right: 1px solid rgba(245,244,240,0.06);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--mid-gray);
  line-height: 1.45;
  max-width: 140px;
}
.market-divider {
  height: 1px;
  background: rgba(245,244,240,0.06);
  margin: 0;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about { background: var(--warm-gray); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: center;
}
.about-label { color: var(--mid-gray); margin-bottom: 16px; }
.about-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
}
.about-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--mid-gray);
  margin-bottom: 36px;
}
.about-body p { color: #555; margin-bottom: 18px; font-size: 0.95rem; }
.about-body p:last-child { margin-bottom: 0; }
.about-logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}
.about-logo-tag {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  padding: 8px 14px;
  border: 1px solid rgba(26,25,23,0.15);
  border-radius: 2px;
}
.about-logo-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  height: 120px;
}
.about-logo-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.about-image {
  aspect-ratio: 3/4;
  border-radius: 2px;
  overflow: hidden;
  background: #c5c3be;
  background-image: url('images/patrick.JPEG');
  background-size: cover;
  background-position: center top;
}
.about-image-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #b5b3ae 0%, #9a9894 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 32px;
}
.about-image-ph span {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-cta {
  background: var(--navy);
  padding: clamp(80px, 10vw, 140px) 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.contact-headline { color: var(--white); margin-bottom: 20px; }
.contact-sub {
  color: rgba(245,244,240,0.55);
  font-size: 1.05rem;
  line-height: 1.7;
}
/* Contact details (email / location) */
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-detail-row { display: flex; flex-direction: column; gap: 3px; }
.contact-detail-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,244,240,0.35);
}
.contact-detail-val {
  font-size: 0.95rem;
  color: rgba(245,244,240,0.7);
}
a.contact-detail-val:hover { color: var(--white); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-field { display: flex; flex-direction: column; gap: 7px; }
.contact-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,244,240,0.5);
}
.contact-required { color: var(--accent); }
.contact-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(245,244,240,0.12);
  border-radius: 3px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.contact-input::placeholder { color: rgba(245,244,240,0.25); }
.contact-input:focus {
  border-color: rgba(200,169,110,0.6);
  background: rgba(255,255,255,0.08);
}
.contact-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}
.contact-submit { align-self: flex-start; margin-top: 4px; }
.contact-feedback {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 12px 16px;
  border-radius: 3px;
  margin-top: 4px;
}
.contact-success {
  color: #4ade80;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.2);
}
.contact-error {
  color: #f87171;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.2);
}
/* Legacy actions class kept for labs/other pages */
.contact-actions { display: flex; gap: 16px; justify-content: center; }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(245,244,240,0.06);
  padding: clamp(48px, 6vw, 80px) 0 clamp(32px, 4vw, 48px);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 60px);
  border-bottom: 1px solid rgba(245,244,240,0.06);
  margin-bottom: 32px;
}
.footer-brand-tagline {
  font-size: 0.85rem;
  color: var(--mid-gray);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 220px;
}
.footer-col-title {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(245,244,240,0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}
.footer-contact-label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-gray);
}
.footer-contact-val {
  font-size: 0.88rem;
  color: rgba(245,244,240,0.65);
}
.footer-newsletter {}
.newsletter-form { display: flex; gap: 8px; margin-top: 16px; }
.newsletter-input {
  flex: 1;
  background: rgba(245,244,240,0.05);
  border: 1px solid rgba(245,244,240,0.12);
  border-radius: 2px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input::placeholder { color: rgba(245,244,240,0.3); }
.newsletter-input:focus { border-color: rgba(245,244,240,0.35); }
.newsletter-btn {
  background: var(--white);
  color: var(--black);
  border-radius: 2px;
  padding: 0 20px;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
  white-space: nowrap;
}
.newsletter-btn:hover { background: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(245,244,240,0.3);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 0.78rem;
  color: rgba(245,244,240,0.3);
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(245,244,240,0.6); }

/* ========================================
   BLOG PAGE
   ======================================== */
.page-hero {
  padding: calc(68px + var(--section-pad)) var(--gutter) var(--section-pad);
  background: var(--black);
  border-bottom: 1px solid rgba(245,244,240,0.06);
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.page-hero-headline { color: var(--white); max-width: 720px; }
.page-hero-sub {
  color: var(--mid-gray);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  max-width: 520px;
  margin-top: 20px;
  line-height: 1.7;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.blog-grid--featured {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(24px, 3vw, 40px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(245,244,240,0.07);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.blog-card:hover { border-color: rgba(245,244,240,0.18); transform: translateY(-3px); }
.blog-card--light { border-color: rgba(26,25,23,0.1); }
.blog-card--light:hover { border-color: rgba(26,25,23,0.25); }
.blog-card-image {
  aspect-ratio: 16/9;
  background: var(--navy);
  overflow: hidden;
  flex-shrink: 0;
}
.blog-card-image-ph {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1B2D4F 0%, #0d1825 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-image-ph svg { opacity: 0.15; width: 48px; }
.blog-card-body { padding: clamp(20px, 2.5vw, 32px); flex: 1; display: flex; flex-direction: column; }
.blog-card-cat {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 12px;
  flex: 1;
}
.blog-card--light .blog-card-title { color: var(--ink); }
.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--mid-gray);
  line-height: 1.65;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(245,244,240,0.07);
  margin-top: auto;
}
.blog-card--light .blog-card-meta { border-top-color: rgba(26,25,23,0.08); }
.blog-card-date { font-size: 0.78rem; color: var(--mid-gray); }
.blog-card-read {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.blog-card:hover .blog-card-read { color: var(--white); }
.blog-card--light:hover .blog-card-read { color: var(--ink); }

/* ========================================
   LABS PAGE
   ======================================== */
.labs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
}
.lab-card {
  position: relative;
  border: 1px solid rgba(245,244,240,0.08);
  border-radius: 2px;
  padding: clamp(32px, 4vw, 52px);
  transition: border-color 0.3s, background 0.3s;
  overflow: hidden;
}
.lab-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,45,79,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.lab-card:hover { border-color: rgba(245,244,240,0.18); }
.lab-card:hover::before { opacity: 1; }
.lab-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
}
.status-dot--active { background: #4ade80; box-shadow: 0 0 6px #4ade80; }
.status-dot--dev { background: var(--accent); }
.status-dot--concept { background: var(--mid-gray); }
.lab-card-icon {
  width: 48px; height: 48px;
  margin-bottom: 24px;
  opacity: 0.7;
}
.lab-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.15;
}
.lab-card-tagline {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--mid-gray);
  margin-bottom: 20px;
}
.lab-card-desc {
  font-size: 0.88rem;
  color: rgba(245,244,240,0.5);
  line-height: 1.7;
  margin-bottom: 28px;
}
.lab-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.lab-tag {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid rgba(245,244,240,0.12);
  border-radius: 2px;
  color: var(--mid-gray);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========================================
   RESPONSIVE
   ======================================== */

/* ── Tablet: 1024px and below ── */
@media (max-width: 1024px) {

  /* Layout grids */
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid--featured { grid-template-columns: 1fr; }

  /* Market stats: 2-col on tablet */
  .market-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item {
    padding: 28px 24px 28px 0;
    border-right: none;
    border-bottom: 1px solid rgba(245,244,240,0.06);
  }
  .stat-item:last-child { border-bottom: none; }

  /* Services: reduce internal gap */
  .service-item { gap: clamp(32px, 4vw, 56px); }

  /* Labs: stay 2-col but tighten */
  .labs-grid { gap: 28px; }
  .lab-card { padding: clamp(28px, 4vw, 40px); }
}

/* ── Mobile: 768px and below ── */
@media (max-width: 768px) {
  :root {
    --gutter: 20px;
    --section-pad: clamp(56px, 10vw, 80px);
  }

  /* ── Navigation ── */
  .nav { padding: 16px var(--gutter); }
  .nav-links { display: none; }
  .nav-cta { display: none; }           /* hide both nav buttons entirely */
  .nav-hamburger { display: flex; }
  .mobile-nav { display: flex; }

  /* Mobile nav font size: scale down for small screens */
  .mobile-nav a { font-size: clamp(1.8rem, 8vw, 2.8rem); }

  /* ── Hero ── */
  .hero {
    align-items: flex-end;
    padding-bottom: clamp(48px, 10vw, 72px);
  }
  .hero h1 { margin-bottom: 20px; }
  .hero-sub { margin-bottom: 32px; max-width: 100%; }
  .hero-actions { flex-direction: column; gap: 12px; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-scroll { display: none; }

  /* ── Vision ── */
  .vision-inner { grid-template-columns: 1fr; gap: 40px; }
  .vision-image { aspect-ratio: 16/9; order: -1; }  /* image above text on mobile */
  .vision-diagram { order: -1; }                    /* diagram above text on mobile */
  .vision-stat { grid-template-columns: 1fr 1fr; margin-top: 32px; padding-top: 32px; }

  /* ── Services ── */
  .services-header {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: clamp(40px, 8vw, 60px);
    padding-bottom: 36px;
  }
  .service-item {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: clamp(36px, 8vw, 56px) 0;
  }
  .service-image { order: -1; aspect-ratio: 16/9; } /* image above text */
  .service-num { font-size: 3.5rem; margin-bottom: 4px; }
  .service-meta-row { flex-direction: column; gap: 4px; }
  .service-meta-label { min-width: auto; }

  /* ── Why Gravity ── */
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .why-line { display: none; }          /* hide the vertical accent line */
  .why-body-wrap { display: block; }    /* remove flex so body flows normally */
  .why-credentials {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 36px;
  }
  .credential-num { font-size: clamp(2rem, 7vw, 3rem); }

  /* ── Clients / Who We Work With ── */
  .clients-header { grid-template-columns: 1fr; gap: 24px; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .client-card-body { padding: 20px 16px; }
  .client-card-title { font-size: 1.15rem; }

  /* ── Market Data ── */
  .market-content { grid-template-columns: 1fr; gap: 56px; }
  .market-stats { grid-template-columns: 1fr 1fr; }
  .market-block-label { margin-bottom: 28px; }
  .stat-num { font-size: clamp(2.2rem, 8vw, 3.2rem); }

  /* ── About ── */
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .about-image { aspect-ratio: 4/3; order: -1; } /* portrait above text */
  .about-logos { gap: 12px; }

  /* ── Contact ── */
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-submit { width: 100%; justify-content: center; }
  /* Legacy labs/other pages */
  .contact-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .contact-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* ── Footer ── */
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .newsletter-form { flex-wrap: wrap; }
  .newsletter-input { min-width: 0; flex: 1 1 160px; }

  /* ── Blog Page ── */
  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid--featured { grid-template-columns: 1fr; }
  .page-hero {
    padding-top: calc(72px + clamp(36px, 8vw, 64px));
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  /* ── Labs Page ── */
  .labs-grid { grid-template-columns: 1fr; gap: 20px; }
  .lab-card { padding: clamp(24px, 6vw, 36px); }
  .lab-card-title { font-size: clamp(1.4rem, 5vw, 1.8rem); }
}

/* ── Small mobile: 480px and below ── */
@media (max-width: 480px) {
  :root { --gutter: 16px; }

  /* Clients: single column on very small screens */
  .clients-grid { grid-template-columns: 1fr; }

  /* Market stats: single column */
  .market-stats { grid-template-columns: 1fr; }
  .stat-item { padding: 24px 0; }

  /* Vision stats: single column */
  .vision-stat { grid-template-columns: 1fr; gap: 20px; }

  /* Why credentials: single column */
  .why-credentials { grid-template-columns: 1fr; gap: 20px; }

  /* Hero actions always full width */
  .hero-actions .btn { width: 100%; }

  /* Mobile nav font size floor */
  .mobile-nav a { font-size: 1.8rem; gap: 24px; }

  /* Newsletter form: stack vertically */
  .newsletter-form { flex-direction: column; }
  .newsletter-input { width: 100%; }
  .newsletter-btn { width: 100%; padding: 14px 20px; }

  /* Blog filter buttons: wrap tightly */
  #article-grid .blog-card-title { font-size: 1.15rem; }

  /* About logo tags/images: tighten */
  .about-logo-tag { font-size: 0.6rem; padding: 6px 10px; }
  .about-logo-img { height: 96px; padding: 6px 8px; }
  .about-logo-img img { width: 100%; height: 100%; object-fit: contain; }

  /* Reduce service num size further */
  .service-num { font-size: 2.8rem; }

  /* Footer legal links */
  .footer-legal { flex-direction: column; gap: 10px; }

  /* Contact sub text */
  .contact-sub { font-size: 0.95rem; }
}

/* ── ARTICLE / POST PAGE ─────────────────────────────── */
.article-hero {
  background: var(--navy);
  padding: clamp(100px, 14vw, 160px) 0 clamp(56px, 7vw, 88px);
}
.article-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.article-cat {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.article-title {
  color: var(--white);
  margin-bottom: 32px;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--mid-gray);
  letter-spacing: 0.04em;
  padding-top: 24px;
  border-top: 1px solid rgba(245,244,240,0.1);
}
.article-byline-author { color: var(--white); font-weight: 600; }
.article-byline-sep { color: rgba(245,244,240,0.2); }

/* Article body */
.article-body {
  max-width: 740px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--container-pad);
}
.article-body p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.78;
  color: var(--ink);
  margin-bottom: 28px;
}
.article-body p:first-of-type {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: #2a2927;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  margin: clamp(48px, 6vw, 72px) 0 20px;
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid rgba(26,25,23,0.1);
}
.article-body h2::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 20px;
}
.article-body a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent);
  font-weight: 500;
  transition: color 0.2s;
}
.article-body a:hover { color: var(--accent); }
.article-body strong { font-weight: 600; color: var(--ink); }

/* Numbered callouts for strategic points */
.article-point {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
  padding: 28px 28px 28px 0;
  border-bottom: 1px solid rgba(26,25,23,0.08);
}
.article-point:last-child { border-bottom: none; }
.article-point-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  padding-top: 4px;
}
.article-point-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.article-point-body p {
  margin-bottom: 0 !important;
}

/* Bullet list */
.article-bullet-list {
  margin: 0 0 28px 0;
  padding: 0;
  list-style: none;
}
.article-bullet-list li {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.72;
  color: var(--ink);
  padding: 16px 0 16px 20px;
  border-bottom: 1px solid rgba(26,25,23,0.07);
  position: relative;
}
.article-bullet-list li:first-child { border-top: 1px solid rgba(26,25,23,0.07); }
.article-bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 26px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.article-bullet-list li strong { color: var(--navy); }

/* Pull quote */
.article-pull-quote {
  margin: clamp(40px, 5vw, 64px) 0;
  padding: 36px 40px;
  background: var(--navy);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
}
.article-pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--white) !important;
  font-style: italic;
  margin-bottom: 0 !important;
}

/* Media placeholders */
.article-media {
  margin: clamp(36px, 5vw, 56px) 0;
}
.article-media-ph {
  width: 100%;
  background: #e8e6e1;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 56px 32px;
  border: 2px dashed rgba(26,25,23,0.15);
}
.article-media-ph.video-ph { background: #1a1917; border-color: rgba(245,244,240,0.12); }
.article-media-ph-icon {
  width: 40px; height: 40px; opacity: 0.35;
}
.article-media-ph-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26,25,23,0.4);
  font-weight: 600;
}
.article-media-ph.video-ph .article-media-ph-label { color: rgba(245,244,240,0.35); }
.article-caption {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--mid-gray);
  line-height: 1.55;
  margin-top: 12px;
  padding-left: 2px;
  font-style: italic;
}

/* Back link + article footer */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
  text-decoration: none;
  margin-bottom: clamp(40px, 5vw, 56px);
  transition: color 0.2s;
}
.article-back:hover { color: var(--ink); }
.article-footer-rule {
  border: none;
  border-top: 1px solid rgba(26,25,23,0.1);
  margin: clamp(48px, 6vw, 72px) 0 clamp(32px, 4vw, 48px);
}
.article-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.article-footer-cta p {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--mid-gray);
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  .article-pull-quote { padding: 28px 24px; }
  .article-point { flex-direction: column; gap: 8px; }
  .article-footer-cta { flex-direction: column; align-items: flex-start; }
}

/* ── WHITE PAPER PAGE ────────────────────────────────── */

/* Stats banner */
.wp-stats-banner {
  background: var(--accent);
  padding: clamp(36px, 4vw, 52px) 0;
}
.wp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(26,25,23,0.15);
}
.wp-stat-item {
  background: var(--accent);
  padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 32px);
  text-align: center;
}
.wp-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 10px;
}
.wp-stat-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26,25,23,0.65);
  line-height: 1.4;
}

/* Table of Contents */
.wp-toc {
  background: #f0ede7;
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  padding: 28px 32px;
  margin: 0 0 clamp(40px, 5vw, 56px);
}
.wp-toc-title {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 16px;
}
.wp-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 32px;
}
.wp-toc-list li a {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  padding: 4px 0;
  display: block;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.wp-toc-list li a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.wp-toc-list li a span {
  color: var(--accent);
  font-weight: 700;
  margin-right: 6px;
}

/* Section label chip */
.wp-section-label {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200,169,110,0.1);
  border: 1px solid rgba(200,169,110,0.3);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
}

/* Data callout inline */
.wp-data-callout {
  display: flex;
  gap: 0;
  margin: clamp(32px, 4vw, 48px) 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--navy);
}
.wp-data-callout-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  padding: 28px 28px 28px 32px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 140px;
  justify-content: center;
  background: rgba(245,244,240,0.04);
  border-right: 1px solid rgba(245,244,240,0.08);
}
.wp-data-callout-text {
  padding: 24px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(245,244,240,0.85);
  display: flex;
  align-items: center;
}

/* Case study blocks */
.wp-case-studies {
  margin: clamp(40px, 5vw, 56px) 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wp-case-study {
  background: var(--navy);
  border-radius: 4px;
  overflow: hidden;
}
.wp-case-study-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px 20px;
  border-bottom: 1px solid rgba(245,244,240,0.08);
}
.wp-case-study-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}
.wp-case-study-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.wp-case-study-body {
  padding: 24px 32px 32px;
}
.wp-case-study-body p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(245,244,240,0.82);
  margin-bottom: 16px;
}
.wp-case-study-body p:last-child { margin-bottom: 0; }

/* Stakeholder dilemma cards */
.wp-dilemma-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: clamp(32px, 4vw, 48px) 0;
}
.wp-dilemma-card {
  background: #f0ede7;
  border-radius: 4px;
  padding: 24px 24px 24px 20px;
  border-top: 3px solid var(--accent);
}
.wp-dilemma-role {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.wp-dilemma-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.wp-dilemma-card p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}

/* Questions box */
.wp-questions {
  background: rgba(200,169,110,0.08);
  border: 1px solid rgba(200,169,110,0.25);
  border-radius: 4px;
  padding: 28px 32px;
  margin: clamp(32px, 4vw, 48px) 0;
}
.wp-questions-title {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.wp-questions ol {
  margin: 0;
  padding-left: 20px;
}
.wp-questions ol li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--ink);
  margin-bottom: 12px;
}
.wp-questions ol li:last-child { margin-bottom: 0; }
.wp-questions ol li strong { color: var(--navy); }

/* References */
.wp-references {
  background: #f6f4f0;
  border-radius: 4px;
  padding: 28px 32px;
  margin: clamp(40px, 5vw, 56px) 0;
}
.wp-references-title {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 16px;
}
.wp-ref-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 32px;
}
.wp-ref-list li {
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--mid-gray);
  margin-bottom: 10px;
  break-inside: avoid;
  padding-left: 24px;
  text-indent: -24px;
}

/* About section */
.wp-about {
  background: var(--navy);
  padding: clamp(56px, 7vw, 96px) 0;
  margin-top: clamp(48px, 6vw, 72px);
}
.wp-about-inner {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.wp-about p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(245,244,240,0.82);
  margin-bottom: 20px;
}
.wp-about-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}
.wp-about-service {
  border-top: 2px solid var(--accent);
  padding-top: 16px;
}
.wp-about-service h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.wp-about-service p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Jurisdiction table */
.wp-jurisdiction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: clamp(32px, 4vw, 48px) 0;
}
.wp-jurisdiction-card {
  border: 1px solid rgba(26,25,23,0.1);
  border-radius: 4px;
  padding: 20px 22px;
  border-top: 3px solid var(--navy);
}
.wp-jurisdiction-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.wp-jurisdiction-stat {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.wp-jurisdiction-sub {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--mid-gray);
  margin-bottom: 10px;
}
.wp-jurisdiction-card p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

@media (max-width: 768px) {
  .wp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .wp-toc-list { grid-template-columns: 1fr; }
  .wp-dilemma-grid { grid-template-columns: 1fr; }
  .wp-about-services { grid-template-columns: 1fr; }
  .wp-jurisdiction-grid { grid-template-columns: 1fr; }
  .wp-ref-list { columns: 1; }
  .wp-data-callout { flex-direction: column; }
  .wp-data-callout-num { padding: 20px 24px 12px; min-width: unset; border-right: none; border-bottom: 1px solid rgba(245,244,240,0.08); }
  .wp-case-study-header { flex-direction: column; gap: 8px; }
}
