/*
 * Mpowered Flow — Main Stylesheet
 * ─────────────────────────────────────────────────────────
 * Table of Contents
 *  1. CSS Variables
 *  2. Reset & Base
 *  3. Typography
 *  4. Navigation
 *  5. Hero
 *  6. Stats Bar
 *  7. Sections (shared)
 *  8. What We Do
 *  9. Services
 * 10. About
 * 11. Blog
 * 12. Contact
 * 13. Footer
 * 14. Scroll Animations
 * 15. Responsive
 */

/* ── 1. CSS VARIABLES ── */
:root {
  --terracotta: #C94E28;
  --terracotta-light: #E8693D;
  --terracotta-pale: #F5E8E3;
  --gold: #E9B84A;
  --gold-pale: #FDF6E3;
  --charcoal: #2A2A2A;
  --charcoal-mid: #3D3D3D;
  --charcoal-light: #555;
  --cream: #F8F4EE;
  --white: #FFFFFF;
  --sage: #6B7C5E;
  --ink: #1A1A1A;
  --border: rgba(0,0,0,0.08);
  --nav-h: 72px;
  --success: #4a8a5a;
}

/* ── 2. RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Outfit', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── 3. TYPOGRAPHY ── */
h1, h2, h3 { font-family: 'Playfair Display', serif; }
.display { font-family: 'Bebas Neue', sans-serif; }

/* ── 4. NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(26,26,26,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  padding: 0 48px;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1;
}

.brand-name span {
  color: var(--terracotta-light);
  font-style: italic;
}

.nav-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.15);
}

.partner-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 5px 12px 5px 8px;
}

.partner-dots {
  display: flex;
  gap: 3px;
}

.partner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-red   { background: #FF3D57; }
.dot-orange { background: #FF7B00; }
.dot-green  { background: #00CA72; }

.partner-chip span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}

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

.nav-links a {
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: rgba(255,255,255,0.95); }

.nav-cta {
  background: var(--terracotta) !important;
  color: var(--white) !important;
  padding: 9px 22px !important;
  border-radius: 100px !important;
  font-size: 0.8rem !important;
  transition: background 0.2s, transform 0.15s !important;
  letter-spacing: 0.06em !important;
}

.nav-cta:hover {
  background: var(--terracotta-light) !important;
  transform: translateY(-1px) !important;
}

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.7);
  transition: all 0.3s;
}

/* ── 5. HERO ── */
.hero {
  min-height: 100vh;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 64px) 48px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Gradient mesh */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 72% 42%, rgba(201,78,40,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 35% 50% at 20% 80%, rgba(233,184,74,0.07) 0%, transparent 50%),
    radial-gradient(ellipse 25% 40% at 85% 15%, rgba(201,78,40,0.06) 0%, transparent 45%);
}

/* Grain overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px;
}

.hero-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.12;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 40px;
  padding: 7px 16px 7px 10px;
  background: rgba(201,78,40,0.14);
  border: 1px solid rgba(201,78,40,0.35);
  border-radius: 100px;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta-light);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-tag span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-light);
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 1.02;
  color: var(--white);
  font-weight: 900;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--terracotta-light);
  font-style: italic;
}

.hero h1 .thin {
  font-weight: 400;
}

.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 56px;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--terracotta);
  color: var(--white);
  text-decoration: none;
  padding: 15px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover { background: var(--terracotta-light); transform: translateY(-2px); }

/* Slightly smaller variant used in About / Blog footer */
.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--terracotta);
  color: var(--white);
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.87rem;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary-dark:hover { background: var(--terracotta-light); transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

/* Arrow icon */
.arrow { font-size: 0.75em; }

/* ── 6. STATS BAR ── */
.stats-bar {
  background: var(--terracotta);
  padding: 0 48px;
  overflow: hidden;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 32px 0;
  text-align: center;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: rgba(255,255,255,0.2);
}

.stat-item:last-child::after { display: none; }

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.6rem;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.04em;
}

.stat-label {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── 7. SECTIONS (shared) ── */
section { padding: 100px 48px; }

.inner { max-width: 1200px; margin: 0 auto; }

.label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}

/* Muted label variant — used on dark backgrounds */
.label-muted { color: rgba(201,78,40,0.85); }
.label-muted::before { background: rgba(201,78,40,0.85); }

.section-h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.15;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-h2-light { color: var(--white); }

.section-p {
  font-size: 1.02rem;
  color: var(--charcoal-light);
  line-height: 1.8;
  max-width: 560px;
}

/* ── 8. WHAT WE DO ── */
.what {
  background: var(--cream);
}

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

.what-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.what-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.97rem;
  color: #4a4a4a;
  line-height: 1.7;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.what-list li:last-child { border-bottom: none; }

.what-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: var(--terracotta-pale);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.what-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--terracotta);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote-card {
  background: var(--ink);
  border-radius: 16px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 36px;
  font-family: 'Playfair Display', serif;
  font-size: 14rem;
  color: rgba(201,78,40,0.12);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.quote-card blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.65;
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}

.quote-card-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.quote-card-badge-img {
  display: block;
  height: 156px;
  width: auto;
  object-fit: contain;
}

/* ── 9. SERVICES ── */
.services {
  background: var(--white);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}

.services-header .section-p {
  max-width: 420px;
  margin-bottom: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.service-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 40px 36px;
  border: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  cursor: default;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: rgba(201,78,40,0.2);
  box-shadow: 0 24px 64px rgba(0,0,0,0.07);
  transform: translateY(-6px);
}

.service-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  color: rgba(201,78,40,0.12);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.3s;
}

.service-card:hover .service-num { color: rgba(201,78,40,0.22); }

.service-card h3 {
  font-size: 1.22rem;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 8px;
}

.service-tagline {
  font-size: 0.84rem;
  color: var(--terracotta);
  font-style: italic;
  margin-bottom: 22px;
  line-height: 1.5;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.service-list li {
  font-size: 0.87rem;
  color: #555;
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.6;
}

/* Service skeletons */
.service-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 600px 100%;
  border-radius: 12px;
  min-height: 320px;
  animation: shimmer 1.4s infinite linear;
}

/* Service icon (replaces 01/02/03 numerals) */
.service-num--icon {
  margin-bottom: 20px;
}
.service-icon-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Contentful-rendered service description */
.service-desc { flex: 1; }
.service-desc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 0;
  margin: 0;
}
.service-desc ul li {
  font-size: 0.87rem;
  color: #555;
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}
.service-desc ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.6;
}
.service-desc p {
  font-size: 0.87rem;
  color: #555;
  line-height: 1.6;
}

/* Differentiator banner */
.diff-banner {
  background: var(--ink);
  border-radius: 16px;
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
  overflow: hidden;
}

.diff-banner::after {
  content: 'FLOW';
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18rem;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.diff-banner h2 {
  color: var(--white);
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.diff-banner .lead {
  color: rgba(255,255,255,0.52);
  font-size: 0.97rem;
  line-height: 1.78;
  position: relative;
  z-index: 1;
}

.diff-banner .lead em {
  color: var(--gold);
  font-style: normal;
}

.diff-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.diff-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s;
}

.diff-item:hover { background: rgba(255,255,255,0.07); }

.diff-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}

.diff-item p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
}

/* ── 10. ABOUT ── */
.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 5fr 3fr;
  gap: 80px;
  align-items: start;
}

.about-body p {
  font-size: 0.98rem;
  line-height: 1.88;
  color: #4a4a4a;
  margin-bottom: 20px;
}

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

/* Highlight org names */
.about-body p em {
  font-style: normal;
  color: var(--terracotta);
  font-weight: 500;
}

.about-cta-row {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.sidebar-sticky {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.creds-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}

.creds-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
}

.cert {
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cert:last-child { border-bottom: none; padding-bottom: 0; }

.cert-badge {
  background: var(--terracotta-pale);
  color: var(--terracotta);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 2px;
}

.cert-text { font-size: 0.84rem; color: #555; line-height: 1.5; }

.who-card {
  background: var(--ink);
  border-radius: 12px;
  padding: 32px;
}

.who-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}

.who-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.who-list li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.who-list li::before {
  content: '→';
  color: var(--terracotta-light);
  flex-shrink: 0;
  font-size: 0.82rem;
  margin-top: 1px;
}

/* Commitment block inside about */
.commitment {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--border);
  margin-top: 28px;
}

.commitment h3 {
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.commitment p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.78;
  margin-bottom: 14px;
}

.commitment-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.commit-line {
  font-size: 0.84rem;
  color: #555;
  font-style: italic;
  line-height: 1.5;
  padding-left: 14px;
  border-left: 3px solid var(--terracotta);
}

/* ── Homepage about preview (condensed single-column variant) ── */
.about-who {
  margin-top: 36px;
}

.who-card-note {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.72;
  margin-top: 16px;
}

/* ── 11. BLOG ── */
.blog {
  background: var(--white);
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
}

.blog-header .section-p { max-width: 380px; margin-bottom: 0; }

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

.blog-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.1);
}

.blog-thumb {
  height: 172px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 18px 22px;
}

/* Blog card gradient backgrounds */
.bc-1 { background: linear-gradient(135deg, #2A2A2A 0%, #3D3D3D 100%); }
.bc-2 { background: linear-gradient(135deg, #C94E28 0%, #8a3018 100%); }
.bc-3 { background: linear-gradient(135deg, #2A3A2A 0%, #3D5C3A 100%); }
.bc-4 { background: linear-gradient(135deg, #2A2A3D 0%, #3D3D60 100%); }
.bc-5 { background: linear-gradient(135deg, #3D2A2A 0%, #6a3a2a 100%); }
.bc-6 { background: linear-gradient(135deg, #2A2A2A 0%, #4a4a4a 100%); }

.blog-thumb-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blog-thumb-pattern svg {
  width: 100%;
  height: 100%;
  opacity: 0.15;
}

.blog-tag {
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.blog-body {
  padding: 26px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  font-size: 0.76rem;
  color: #aaa;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.blog-card h3 {
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.38;
  margin-bottom: 10px;
  font-weight: 700;
}

.blog-card p {
  font-size: 0.86rem;
  color: #666;
  line-height: 1.72;
  flex: 1;
  margin-bottom: 18px;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--terracotta);
  text-decoration: none;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: gap 0.2s;
  margin-top: auto;
}

.blog-link:hover { gap: 10px; }

.blog-footer {
  text-align: center;
  margin-top: 52px;
}

/* ── Blog grid: loading skeleton ── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}

.blog-skeleton {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 340px;
  background: linear-gradient(90deg,
    #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
}

/* ── Blog grid: empty / error state ── */
.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 0;
  color: var(--charcoal-light);
  font-size: 0.95rem;
}

/* ════════════════════════════════════════════════════
   Blog post page — post hero
   ════════════════════════════════════════════════════ */
.post-hero {
  background: var(--charcoal);
  padding: calc(var(--nav-h) + 72px) 48px 72px;
  position: relative;
  overflow: hidden;
}

.post-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 80% at 80% 50%, rgba(201,78,40,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 30% 50% at 10% 80%, rgba(233,184,74,0.08) 0%, transparent 50%);
}

/* Per-tag accent tints on the hero */
.post-hero--bc-2 .post-hero-bg { background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(201,78,40,0.28) 0%, transparent 55%); }
.post-hero--bc-3 .post-hero-bg { background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(42,90,42,0.28) 0%, transparent 55%); }
.post-hero--bc-4 .post-hero-bg { background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(42,42,90,0.28) 0%, transparent 55%); }
.post-hero--bc-5 .post-hero-bg { background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(90,42,42,0.28) 0%, transparent 55%); }

.post-hero .inner {
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.post-back-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color 0.2s;
}

.post-back-link:hover { color: rgba(255,255,255,0.8); }

.post-hero-tag {
  display: inline-block;
  margin-bottom: 18px;
  /* inherits .blog-tag styles — backdrop-filter removed for non-thumb context */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(201,78,40,0.25);
  border-color: rgba(201,78,40,0.45);
}

.post-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.post-hero-meta {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.06em;
}

/* ════════════════════════════════════════════════════
   Blog post page — body / rich text
   ════════════════════════════════════════════════════ */
.post-body {
  background: var(--white);
  padding: 80px 48px 100px;
}

.post-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* Loading spinner inside post content */
.post-loading {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 80px 0;
}

.post-loading span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.3;
  animation: dotPulse 1.2s ease-in-out infinite;
}

.post-loading span:nth-child(2) { animation-delay: 0.2s; }
.post-loading span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40%           { opacity: 1;   transform: scale(1.1); }
}

/* ── Rich text typography ── */
.rich-text p {
  font-size: 1rem;
  color: #444;
  line-height: 1.88;
  margin-bottom: 22px;
}

.rich-text h1,
.rich-text h2,
.rich-text h3,
.rich-text h4 {
  font-family: 'Playfair Display', serif;
  color: var(--ink);
  line-height: 1.25;
  margin: 40px 0 14px;
}

.rich-text h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
.rich-text h2 { font-size: clamp(1.4rem, 2.5vw, 2rem);  font-weight: 700; }
.rich-text h3 { font-size: 1.3rem; font-weight: 700; }
.rich-text h4 { font-size: 1.1rem; font-weight: 700; }

.rich-text strong { color: var(--ink); font-weight: 600; }
.rich-text em     { font-style: italic; color: var(--terracotta); }
.rich-text u      { text-decoration: underline; text-underline-offset: 3px; }

.rich-text code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.88em;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--terracotta);
}

.rich-text ul,
.rich-text ol {
  margin: 0 0 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rich-text li {
  font-size: 0.97rem;
  color: #444;
  line-height: 1.72;
}

.rich-text ul li::marker { color: var(--terracotta); }
.rich-text ol li::marker { color: var(--terracotta); font-weight: 600; }

.rich-text blockquote {
  margin: 32px 0;
  padding: 24px 32px;
  background: var(--cream);
  border-left: 4px solid var(--terracotta);
  border-radius: 0 8px 8px 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.08rem;
  color: #555;
  line-height: 1.7;
}

.rich-text hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.rich-text a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.rich-text a:hover { color: var(--terracotta-light); }

.rich-text figure {
  margin: 32px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.rich-text figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ── Post footer actions ── */
.post-footer {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

/* Ghost button for dark-on-light contexts */
.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0,0,0,0.18);
  color: var(--charcoal-light);
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.87rem;
  letter-spacing: 0.02em;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost-dark:hover { border-color: var(--terracotta); color: var(--terracotta); }

/* ── 12. CONTACT ── */
.contact {
  background: var(--charcoal);
}

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

.contact-lede {
  color: rgba(255,255,255,0.52);
  font-size: 1rem;
  line-height: 1.82;
  margin-bottom: 36px;
}

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-point-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(201,78,40,0.15);
  border: 1px solid rgba(201,78,40,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-point-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--terracotta-light);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-point-text strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-point-text span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
}

.form-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 44px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 13px 15px;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.93rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(201,78,40,0.55);
  background: rgba(255,255,255,0.09);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-group select option { background: #2A2A2A; }

.btn-submit {
  width: 100%;
  background: var(--terracotta);
  color: var(--white);
  border: none;
  padding: 16px 32px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 8px;
}

.btn-submit:hover { background: var(--terracotta-light); transform: translateY(-2px); }

/* State applied via JS after successful submission */
.btn-submit.sent {
  background: var(--success);
  cursor: default;
  transform: none;
}

.form-thanks {
  display: none;
  text-align: center;
  padding: 20px;
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
}

/* ── 13. FOOTER ── */
footer {
  background: #1A1A1A;
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.4);
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.28);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.6); }

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

/* ── 14. SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ── 15. RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .sidebar-sticky { position: static; }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  section { padding: 72px 20px; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(26,26,26,0.98);
    padding: 24px 28px;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.07);
    z-index: 999;
  }

  .nav-links.open a { font-size: 1rem; }
  .nav-burger { display: flex; }
  .partner-chip { display: none; }

  .hero { padding: calc(var(--nav-h) + 48px) 20px 60px; }
  .hero h1 { font-size: clamp(2.4rem, 8vw, 3.8rem); }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item::after { display: none; }
  .stat-item:nth-child(odd)::after {
    display: block;
    right: 0;
    height: 32px;
  }

  .what-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .diff-banner { grid-template-columns: 1fr; gap: 32px; padding: 36px 28px; }
  .diff-banner::after { display: none; }
  .blog-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .stats-bar { padding: 0 20px; }
  footer { flex-direction: column; gap: 20px; text-align: center; padding: 28px 20px; }
  .footer-left { flex-direction: column; gap: 12px; }

  /* Blog post page — mobile */
  .post-hero { padding: calc(var(--nav-h) + 48px) 20px 52px; }
  .post-body  { padding: 52px 20px 72px; }
  .post-footer { flex-direction: column; align-items: flex-start; }

  /* About page hero — mobile */
  .about-hero { padding: calc(var(--nav-h) + 48px) 20px 56px; }
}

/* ════════════════════════════════════════════════════
   About page — hero
   ════════════════════════════════════════════════════ */
.about-hero {
  background: var(--charcoal);
  padding: calc(var(--nav-h) + 80px) 48px 80px;
  position: relative;
  overflow: hidden;
  min-height: 52vh;
  display: flex;
  align-items: center;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.about-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 72% 42%, rgba(201,78,40,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 35% 50% at 20% 80%, rgba(233,184,74,0.07) 0%, transparent 50%);
}

.about-hero-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.12;
}

.about-hero-lines svg { width: 100%; height: 100%; }

.about-hero .inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.about-hero .label { color: rgba(201,78,40,0.85); }
.about-hero .label::before { background: rgba(201,78,40,0.85); }

.about-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.about-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.75;
  max-width: 520px;
  font-weight: 300;
}

/* ── Cert badge image variant ── */
.cert-badge-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
}

/* ── About page CTA strip ── */
.about-cta-strip {
  background: var(--cream);
  padding: 72px 48px;
  text-align: center;
}

.about-cta-strip h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--ink);
  margin-bottom: 12px;
}

.about-cta-strip p {
  font-size: 1rem;
  color: var(--charcoal-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .about-cta-strip { padding: 52px 20px; }
}

/* ════════════════════════════════════════════════════
   Services page (services.html) + homepage CTA row
   ════════════════════════════════════════════════════ */

/* "See What We Can Do" row on homepage */
.services-cta-row {
  display: flex;
  justify-content: center;
  margin: 40px 0 56px;
}

/* Full-width service sections */
.svc-section {
  background: var(--white);
  padding: 100px 48px;
}

.svc-section--alt { background: var(--cream); }

.svc-section--alt .svc-deliverables,
.svc-section--alt .svc-ideal-for { background: var(--white); }

/* Two-column intro: number | content */
.svc-intro {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 40px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.svc-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  color: rgba(201,78,40,0.1);
  line-height: 1;
  padding-top: 6px;
}

.svc-intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.svc-tagline {
  font-size: 0.95rem;
  color: var(--terracotta);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.5;
}

.svc-intro p {
  font-size: 1rem;
  color: var(--charcoal-light);
  line-height: 1.82;
  margin-bottom: 16px;
}

/* Two-column detail grid: deliverables | ideal for */
.svc-detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
  padding-left: 120px;
}

.svc-deliverables,
.svc-ideal-for {
  background: rgba(0,0,0,0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

.svc-deliverables h3,
.svc-ideal-for h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
}

.svc-deliverables ul,
.svc-ideal-for ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.svc-deliverables ul li,
.svc-ideal-for ul li {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  line-height: 1.65;
  padding-left: 18px;
  position: relative;
}

.svc-deliverables ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.5;
}

.svc-ideal-for ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--terracotta);
  font-size: 0.8rem;
  opacity: 0.8;
}

.svc-deliverables strong { color: var(--ink); font-weight: 600; }

.svc-action { padding-left: 120px; }

@media (max-width: 1024px) {
  .svc-detail-grid { padding-left: 0; }
  .svc-action { padding-left: 0; }
}

@media (max-width: 768px) {
  .svc-section { padding: 72px 20px; }
  .svc-intro { grid-template-columns: 1fr; gap: 0; }
  .svc-num { font-size: 3.5rem; margin-bottom: 8px; }
  .svc-detail-grid { grid-template-columns: 1fr; gap: 20px; }
}
