/* ═══════════════════════════════════════════════════
   WP Artisans — Shared Stylesheet (v2)
   Elegant · Minimalist · Mobile-first
═══════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --forest:    #2f463e;
  --forest-dk: #243a27;
  --blush:     #f7cfbf;
  --blush-lt:  #fbe4d9;
  --cream:     #f5f0e8;
  --cream-alt: #f2ece9;
  --clay:      #7a5c4a;
  --sand:      #c9b9a8;
  --warm:      #ffffff;
  --ink:       #2f463e;
  --ink-light: rgba(47,70,62,.62);
  --ink-faint: rgba(47,70,62,.38);
  --border:    rgba(47,70,62,.1);
  --border-dk: rgba(47,70,62,.18);
  --shadow-sm: 0 1px 2px rgba(14,13,11,.04), 0 2px 8px rgba(14,13,11,.04);
  --shadow:    0 6px 40px rgba(14,13,11,.08), 0 2px 6px rgba(14,13,11,.04);
  --shadow-lg: 0 20px 60px rgba(14,13,11,.1), 0 4px 10px rgba(14,13,11,.05);
  --radius:    16px;
  --radius-lg: 24px;
  --ease:      cubic-bezier(.2,.7,.2,1);

  /* Fluid spacing */
  --space-xxs: 4px;
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  64px;
  --space-2xl: clamp(64px, 10vw, 120px);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--warm);
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.05;
  color: var(--forest);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(48px, 9vw, 120px); letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4.8vw, 60px); }
h3 { font-size: clamp(22px, 2.6vw, 36px); }
em { font-style: italic; }

/* Shared section headline rhythm — matches .hero-title */
.section-hed {
  line-height: 1.18;
  letter-spacing: -.008em;
  font-weight: 400;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 22px;
  font-weight: 400;
}
.section-label {
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--forest);
  opacity: .55;
  font-weight: 400;
  display: inline-block;
}

/* ── LAYOUT PRIMITIVES ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 48px);
}
.section-pad { padding: clamp(64px, 10vw, 112px) clamp(24px, 5vw, 48px); }

/* ── NAVIGATION ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(255,255,255,.95);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  transition: opacity .2s;
}
.nav-logo:hover { opacity: .78; }
.nav-logo img {
  display: block;
  height: 44px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(47,70,62,.58);
  transition: color .2s;
  position: relative;
  font-weight: 400;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--forest);
  transition: width .25s var(--ease), left .25s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--forest); }
.nav-links a:hover::after, .nav-links a.active::after { width: 18px; left: calc(50% - 9px); }
.nav-cta {
  background: var(--forest);
  color: #fff !important;
  padding: 11px 24px;
  border-radius: 100px;
  font-size: 10px !important;
  letter-spacing: .16em !important;
  transition: background .2s, transform .2s, box-shadow .2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--forest-dk) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(47,70,62,.18);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--forest);
  transition: transform .3s var(--ease), opacity .2s;
  border-radius: 2px;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 20px 24px 28px;
  gap: 2px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-light);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a.active { color: var(--forest); }
.nav-mobile .nav-cta {
  margin-top: 14px;
  text-align: center;
  border-bottom: none !important;
  color: #fff !important;
}

/* ── HERO ── */
.hero {
  min-height: 88vh;
  background: var(--blush);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 180px clamp(24px, 5vw, 48px) 0;
  position: relative;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 2; max-width: 1200px; width: 100%; margin: 0 auto; }
.eyebrow + .hero-title { margin-top: 32px; }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.18;
  letter-spacing: -.008em;
  margin-bottom: 36px;
}
.hero-sub {
  font-family: 'Playfair Display', serif;
  font-size: clamp(15px, 1.5vw, 20px);
  font-style: italic;
  color: rgba(47,70,62,.7);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 560px;
}
.hero-desc {
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(47,70,62,.6);
  max-width: 540px;
  font-weight: 300;
}
.hero-bar {
  position: relative;
  z-index: 2;
  margin: 64px auto 0;
  max-width: 1200px;
  width: 100%;
  border-top: 1px solid rgba(47,70,62,.15);
  display: flex;
}
.hero-stat {
  flex: 1;
  padding: 24px 0 24px 28px;
  border-right: 1px solid rgba(47,70,62,.1);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-stat-icon {
  width: 22px;
  height: 22px;
  color: var(--forest);
  opacity: .55;
  display: inline-flex;
  flex: 0 0 auto;
}
.hero-stat-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-forest .hero-stat-icon { color: var(--blush); opacity: .6; }
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 400;
  color: var(--forest);
  line-height: 1;
  display: block;
}
.hero-stat-label {
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(47,70,62,.5);
  display: block;
  margin-top: 4px;
}

/* Hero page variants */
.hero-sm { min-height: 56vh; padding-bottom: 0; }
.hero-centered {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: clamp(140px, 18vw, 220px);
  padding-bottom: clamp(80px, 12vw, 140px);
}
.hero-centered .hero-content {
  text-align: center;
  display: block;
  grid-template-columns: none;
}
.hero-centered .hero-title {
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.05;
}
.hero-forest { background: var(--forest); }
.hero-forest .hero-title,
.hero-forest .hero-sub { color: var(--cream); }
.hero-forest .hero-desc { color: rgba(247,207,191,.62); }
.hero-forest .hero-bar { border-top-color: rgba(247,207,191,.15); }
.hero-forest .hero-stat-num { color: var(--blush); }
.hero-forest .hero-stat-label { color: rgba(247,207,191,.45); }
.hero-forest .hero-stat { border-right-color: rgba(247,207,191,.1); }
.hero-forest .eyebrow { color: rgba(247,207,191,.5); }

/* Hero animation canvas (homepage) */
.hero-anim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .65;
}
.hero-anim svg { width: 100%; height: 100%; }
.hero-anim .node {
  fill: var(--forest);
  opacity: 0;
  animation: nodeIn 2.4s var(--ease) forwards;
}
.hero-anim .line {
  stroke: var(--forest);
  stroke-width: 1;
  fill: none;
  opacity: 0;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: lineDraw 2.8s var(--ease) forwards;
}
@keyframes nodeIn {
  0% { opacity: 0; transform: scale(.4); }
  60% { opacity: .45; }
  100% { opacity: .32; transform: scale(1); }
}
@keyframes lineDraw {
  0% { opacity: 0; stroke-dashoffset: 400; }
  30% { opacity: .22; }
  100% { opacity: .18; stroke-dashoffset: 0; }
}
.hero-anim .pulse {
  fill: var(--forest);
  opacity: .18;
  animation: pulse 3s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .18; }
  50% { transform: scale(1.8); opacity: 0; }
}
.hero-anim .code-line {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  fill: var(--forest);
  opacity: 0;
  animation: codeIn .5s var(--ease) forwards;
}
.hero-anim .cursor {
  fill: var(--forest);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes codeIn {
  0% { opacity: 0; transform: translateX(-6px); }
  100% { opacity: .28; transform: translateX(0); }
}

/* ── MANIFESTO ── */
.manifesto {
  background: var(--forest);
  padding: clamp(64px, 10vw, 112px) clamp(24px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.manifesto-hed {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.18;
  letter-spacing: -.008em;
}
.manifesto-hed em { font-style: italic; color: var(--sand); }
.manifesto-body { font-size: 14px; line-height: 1.9; color: rgba(247,207,191,.68); }
.manifesto-body p + p { margin-top: 14px; }
.manifesto-body strong { color: rgba(247,207,191,.92); font-weight: 500; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  border: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  text-decoration: none;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-dk); box-shadow: 0 10px 28px rgba(47,70,62,.28); }
.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid rgba(47,70,62,.3);
}
.btn-outline:hover { border-color: var(--forest); box-shadow: 0 8px 24px rgba(47,70,62,.1); }
.btn-blush { background: var(--blush); color: var(--forest); }
.btn-blush:hover { box-shadow: 0 10px 28px rgba(247,207,191,.5); }
.btn-sm { padding: 10px 22px; font-size: 10px; }

/* ── TAGS ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--forest);
  border: 1px solid rgba(47,70,62,.25);
  border-radius: 100px;
  padding: 6px 14px;
  transition: all .2s;
}
.tag:hover { background: rgba(47,70,62,.07); border-color: rgba(47,70,62,.35); }

/* ── CARDS ── */
.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-dk); }
.card-body { padding: 30px; }
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--cream-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  color: var(--forest);
  margin-bottom: 10px;
  font-weight: 400;
}
.card-desc { font-size: 13px; line-height: 1.78; color: var(--ink-light); }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── FEATURE ROW ── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding: clamp(56px, 9vw, 96px) clamp(24px, 5vw, 48px);
}
.feature-row:nth-child(even) { background: var(--cream-alt); }
.feature-label { font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--forest); opacity: .5; margin-bottom: 12px; display: block; }
.feature-title { font-family: 'Playfair Display', serif; font-size: clamp(28px, 3vw, 42px); color: var(--forest); line-height: 1.1; margin-bottom: 20px; }
.feature-title em { font-style: italic; }
.feature-desc { font-size: 14px; line-height: 1.85; color: var(--ink-light); margin-bottom: 28px; }
.feature-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.feature-list li {
  font-size: 13px;
  color: var(--ink-light);
  padding-left: 22px;
  position: relative;
  line-height: 1.65;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clay); opacity: .6;
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--forest);
  padding: clamp(80px, 12vw, 140px) clamp(24px, 5vw, 48px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: 'WP Artisans';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  font-size: clamp(80px, 16vw, 220px);
  font-weight: 300;
  color: rgba(255,255,255,.028);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
  font-style: italic;
}
.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 16px;
  position: relative;
}
.cta-section h2 em { font-style: italic; color: var(--sand); }
.cta-section p { font-size: 14px; color: rgba(247,207,191,.68); margin-bottom: 40px; position: relative; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.cta-section > * { position: relative; }

/* ── TESTIMONIALS ── */
.testimonial-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 32px 30px;
  transition: border-color .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover { border-color: var(--border-dk); box-shadow: var(--shadow-sm); }
.testimonial-stars { font-size: 13px; color: #e0a94a; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-light);
  margin-bottom: 22px;
  font-style: italic;
  flex: 1;
}
.testimonial-text::before { content: '\201C'; }
.testimonial-text::after { content: '\201D'; }
.testimonial-author {
  font-size: 11px;
  font-weight: 500;
  color: var(--forest);
  letter-spacing: .04em;
}
.testimonial-role { font-size: 10px; color: var(--ink-faint); margin-top: 3px; }

/* ── TESTIMONIAL SLIDER ── */
.slider {
  position: relative;
  margin-top: 8px;
}
.slider-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * {
  flex: 0 0 calc((100% - 20px) / 2);
  scroll-snap-align: start;
  min-width: 0;
}
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}
.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(47,70,62,.18);
  padding: 0;
  transition: background .2s, transform .2s;
}
.slider-dot.active { background: var(--forest); transform: scale(1.2); }
.slider-arrows { display: flex; gap: 8px; }
.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-dk);
  background: #fff;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all .2s;
}
.slider-arrow:hover:not(:disabled) { background: var(--forest); color: #fff; border-color: var(--forest); }
.slider-arrow:disabled { opacity: .35; cursor: default; }

/* ── SERVICE CARD ── */
.service-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-dk); }
.service-card-head {
  background: var(--cream-alt);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.service-card-num {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 400;
  color: rgba(47,70,62,.1);
  line-height: 1;
  margin-bottom: -10px;
  margin-left: -2px;
}
.pillar-icon {
  width: 56px;
  height: 56px;
  color: var(--forest);
  flex-shrink: 0;
}
.pillar-icon .letter {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  fill: currentColor;
  stroke: none;
}
.service-card-body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.service-card-cat { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--forest); opacity: .5; margin-bottom: 8px; }
.service-card-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: 12px;
}
.service-card-title em { font-style: italic; }
.service-card-desc { font-size: 13px; line-height: 1.78; color: var(--ink-light); margin-bottom: 20px; flex: 1; }

/* ── FORM ── */
.form-group { margin-bottom: 20px; }
.form-label {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(47,70,62,.15);
  border-radius: 10px;
  font-size: 13.5px;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  background: #faf7f5;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--forest);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47,70,62,.07);
}
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.form-hint { font-size: 11px; color: var(--ink-faint); margin-top: 6px; line-height: 1.5; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── STATS BLOCK ── */
.stat-block {
  text-align: center;
  padding: 30px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  transition: transform .3s, box-shadow .3s;
}
.stat-block:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.stat-block-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5vw, 56px);
  color: var(--forest);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
  font-weight: 400;
}
.stat-block-label { font-size: 11px; color: var(--ink-light); letter-spacing: .08em; }

/* ── DIVIDERS ── */
.rule { height: 1px; background: var(--border); margin: 0; border: 0; }
.rule-blush { background: rgba(247,207,191,.4); }

/* ── FOOTER ── */
.site-footer {
  background: var(--forest);
  padding: clamp(56px, 8vw, 80px) clamp(24px, 5vw, 48px) 40px;
  color: rgba(247,207,191,.6);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(247,207,191,.1);
}
.footer-brand-logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-style: italic;
  color: var(--blush);
  margin-bottom: 14px;
  display: block;
}
.footer-brand-desc { font-size: 12.5px; line-height: 1.85; max-width: 280px; }
.footer-col-title {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(247,207,191,.38);
  margin-bottom: 20px;
  display: block;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
  font-size: 12.5px;
  color: rgba(247,207,191,.58);
  transition: color .2s, opacity .2s;
}
.footer-links a:hover { color: var(--blush); }
.footer-social { display: flex; gap: 16px; align-items: center; }
.footer-social a {
  color: rgba(247,207,191,.58);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .2s, transform .2s;
}
.footer-social a:hover { color: var(--blush); transform: translateY(-2px); }
.footer-social svg { display: block; }
.footer-bottom {
  max-width: 1280px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(247,207,191,.32);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-legal a {
  color: rgba(247,207,191,.5);
  transition: color .2s var(--ease);
}
.footer-legal a:hover { color: var(--blush); }
.footer-legal .sep { color: rgba(247,207,191,.24); }

/* ── LEGAL PAGE (Privacy / Terms) ── */
.legal-layout {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 48px) clamp(80px, 10vw, 120px);
}
.legal-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  margin-bottom: 56px;
  padding: 14px 22px;
  background: var(--cream-alt);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-light);
}
.legal-meta strong {
  color: var(--forest);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 10px;
}
.legal-meta .sep {
  color: var(--ink-faint);
}
.legal-toc {
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 56px;
}
.legal-toc-title {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  columns: 2;
  column-gap: 40px;
  font-size: 13px;
  line-height: 1.9;
}
.legal-toc ol li {
  counter-increment: toc;
  break-inside: avoid;
}
.legal-toc ol li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--ink-faint);
  margin-right: 10px;
  letter-spacing: .06em;
}
.legal-toc a {
  color: var(--ink-light);
  transition: color .2s var(--ease);
}
.legal-toc a:hover { color: var(--forest); }
@media (max-width: 600px) {
  .legal-toc ol { columns: 1; }
}

.prose { color: var(--ink); font-size: 15px; line-height: 1.8; }
.prose h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.008em;
  margin: 64px 0 20px;
  color: var(--forest);
  scroll-margin-top: 100px;
}
.prose h2:first-child { margin-top: 0; }
.prose h2 .num {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
}
.prose h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.5;
  margin: 32px 0 10px;
  color: var(--forest);
  text-transform: none;
}
.prose p {
  margin: 0 0 16px;
  color: var(--ink-light);
}
.prose p strong,
.prose li strong {
  color: var(--forest);
  font-weight: 500;
}
.prose em { color: var(--ink-light); }
.prose ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.prose ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--ink-light);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 10px;
  height: 1px;
  background: var(--clay);
  opacity: .6;
}
.prose ul ul {
  margin: 10px 0 0;
}
.prose ul ul li::before {
  background: var(--sand);
  width: 6px;
}
.prose a {
  color: var(--forest);
  border-bottom: 1px solid var(--border-dk);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.prose a:hover {
  color: var(--clay);
  border-bottom-color: var(--clay);
}
.prose hr {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}
.prose .callout {
  background: var(--cream);
  border-left: 3px solid var(--clay);
  padding: 20px 24px;
  margin: 24px 0 32px;
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  color: var(--ink-light);
}
.prose .callout strong { color: var(--forest); }

.legal-close {
  margin-top: 64px;
  padding: 36px 40px;
  background: var(--forest);
  color: var(--cream);
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.7;
}
.legal-close strong { color: var(--blush); font-weight: 500; }
.legal-close a {
  color: var(--blush);
  border-bottom: 1px solid rgba(247,207,191,.3);
}
.legal-close a:hover { border-bottom-color: var(--blush); }

/* ── FLY-UP ANIMATION ── */
.fu { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.fu.in { opacity: 1; transform: none; }
.fu-d1 { transition-delay: .08s; }
.fu-d2 { transition-delay: .16s; }
.fu-d3 { transition-delay: .24s; }
.fu-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .fu, .fu-d1, .fu-d2, .fu-d3, .fu-d4 { opacity: 1; transform: none; transition: none; }
  .hero-anim, .hero-anim * { animation: none !important; }
}

/* ── BLUSH BAND ── */
.blush-band {
  background: var(--blush);
  padding: clamp(48px, 8vw, 72px) clamp(24px, 5vw, 48px);
}

/* ── PROCESS STEPS ── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; }
.process-step { background: #fff; padding: 36px 28px; }
.process-step:nth-child(even) { background: var(--cream-alt); }
.process-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: rgba(47,70,62,.1);
  line-height: 1;
  margin-bottom: -6px;
}
.process-title {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  color: var(--forest);
  margin-bottom: 10px;
  font-weight: 400;
}
.process-desc { font-size: 12.5px; line-height: 1.78; color: var(--ink-light); }

/* ── PRO BONO BADGE ── */
.pro-bono-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(47,70,62,.07);
  border: 1px solid rgba(47,70,62,.15);
  border-radius: 100px;
  padding: 9px 18px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 24px;
}
.pro-bono-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #3a7a4a;
  box-shadow: 0 0 0 3px rgba(58,122,74,.15);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(58,122,74,.15); }
  50% { box-shadow: 0 0 0 6px rgba(58,122,74,.05); }
}

/* ── EXPERTISE STRIP (homepage) ── */
.expertise-strip {
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  padding: 24px clamp(24px, 5vw, 48px);
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
  align-items: center;
}
.expertise-strip-inner {
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  animation: marquee 38s linear infinite;
  flex-shrink: 0;
  align-items: center;
}
.expertise-pill {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.expertise-pill::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--clay);
  opacity: .6;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .expertise-strip-inner { animation: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .slider-track > * { flex-basis: calc((100% - 20px) / 2); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero { min-height: auto; padding: 110px 24px 40px; }
  .hero-title { font-size: clamp(34px, 8vw, 52px); }
  .hero-bar { flex-wrap: wrap; margin-top: 48px; }
  .hero-stat { flex: 0 0 50%; padding: 18px 0 18px 18px; }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(47,70,62,.1); }
  .hero-forest .hero-stat:nth-child(-n+2) { border-bottom-color: rgba(247,207,191,.1); }
  .hero-stat-num { font-size: 28px; }

  .manifesto { grid-template-columns: 1fr; gap: 24px; padding: 56px 24px; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; padding: 56px 24px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 0 0 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }

  .slider-track > * { flex-basis: 100%; }
}

@media (max-width: 480px) {
  .hero-stat { flex: 0 0 100%; border-right: none; border-bottom: 1px solid rgba(47,70,62,.1); }
  .hero-stat:last-child { border-bottom: none; }
  .hero-forest .hero-stat { border-bottom-color: rgba(247,207,191,.1); }
  .process-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 24px; font-size: 10.5px; }
}

/* ── CHIP CARDS (common examples) ── */
.chip-block {
  margin-top: 36px;
}
.chip-block-label {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(47,70,62,.5);
  margin-bottom: 14px;
  display: block;
  font-weight: 400;
}
.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--forest);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 9px 18px;
  cursor: pointer;
  font-weight: 400;
  transition: all .2s var(--ease);
}
.chip:hover,
.chip:focus {
  background: var(--blush);
  border-color: var(--forest);
  color: var(--forest);
  outline: none;
  transform: translateY(-1px);
}

/* ── MODAL ── */
.wpa-ov {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14,13,11,.72);
  backdrop-filter: blur(4px);
  z-index: 2147483647;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.wpa-ov.open { display: flex; }
.wpa-box {
  background: #fff;
  width: 100%;
  max-width: 640px;
  max-height: 86vh;
  overflow-y: auto;
  border-radius: 18px;
  position: relative;
  box-shadow: 0 24px 80px rgba(14,13,11,.25);
}
.wpa-hdr {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 26px 28px 18px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  gap: 16px;
}
.wpa-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--forest);
  margin: 0 0 6px;
  line-height: 1.2;
}
.wpa-sub {
  font-size: 12.5px;
  color: var(--ink-light);
  line-height: 1.6;
  margin: 0;
}
.wpa-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--forest);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  flex-shrink: 0;
  opacity: .6;
  transition: opacity .2s;
}
.wpa-close:hover { opacity: 1; }
.wpa-body {
  padding: 22px 28px 28px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-light);
}
.wpa-body p { margin-bottom: 12px; }
.wpa-body strong { color: var(--forest); font-weight: 500; }
.wpa-callout {
  background: var(--cream-alt);
  border-left: 2px solid var(--forest);
  padding: 14px 18px;
  margin-top: 16px;
  border-radius: 4px;
}
.wpa-callout-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--forest);
  margin-bottom: 6px;
}
.wpa-callout-body {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-light);
  margin: 0;
}
@media (max-width: 560px) {
  .wpa-box { max-height: 92vh; border-radius: 14px; }
  .wpa-hdr { padding: 20px 22px 14px; }
  .wpa-title { font-size: 22px; }
  .wpa-body { padding: 18px 22px 24px; }
}

/* ── Modal mock visualisations (illustrations of the problem) ── */
.wpa-mock { background:#f9f7f4; border:1px solid #e2ddd6; border-radius:6px; overflow:hidden; margin-bottom:16px; }
.wpa-mock-nav { background:#2c3e50; padding:9px 16px; display:flex; align-items:center; justify-content:space-between; }
.wpa-mock-nav-logo { font-size:13px; font-weight:500; color:#fff; }
.wpa-mock-nav-links { display:flex; gap:14px; }
.wpa-mock-nav-links span { font-size:11px; color:rgba(255,255,255,0.6); }
.wpa-mock-nav-links span.active { color:#fff; border-bottom:1px solid rgba(255,255,255,0.5); }
.wpa-mock-body { padding:18px 20px; background:#f9f7f4; }
.wpa-mock-body p { margin:0 0 10px; color:#444; }
.wpa-body h4 {
  font-family:'Playfair Display', serif;
  font-size:17px;
  color:var(--forest);
  font-weight:400;
  margin:18px 0 10px;
  letter-spacing:-.005em;
}
.wpa-body h5 {
  font-family:'Poppins', sans-serif;
  font-size:11px;
  color:var(--forest);
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:.16em;
  margin:16px 0 8px;
}
.wpa-body ul { margin:0 0 14px 18px; padding:0; }
.wpa-body li { font-size:13px; line-height:1.75; color:var(--ink-light); margin:0 0 4px; }
.wpa-body a { color:var(--forest); text-decoration:underline; text-underline-offset:2px; }
@media (max-width: 560px) {
  .wpa-mock-body { padding:12px 14px; }
  .wpa-mock-nav { padding:8px 12px; }
  .wpa-mock-nav-links { display:none; }
  .wpa-body div[style*="display:grid"],
  .wpa-body div[style*="display: grid"],
  .wpa-body div[style*="grid-template-columns:1fr 1fr"],
  .wpa-body div[style*="grid-template-columns: 1fr 1fr"],
  .wpa-body div[style*="grid-template-columns:1fr 1fr 1fr"],
  .wpa-body div[style*="grid-template-columns: 1fr 1fr 1fr"],
  .wpa-body div[style*="grid-template-columns:repeat"] {
    grid-template-columns:1fr !important;
  }
  .wpa-body div[style*="white-space:nowrap"],
  .wpa-body div[style*="white-space: nowrap"] { white-space:normal !important; }
}

/* ── HERO DIAGNOSTIC SCANNER ── */
.hero-scanner {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 40px 0 4px 0;
  padding: 4px 0 4px 20px;
  border-left: 1px solid rgba(47, 70, 62, .22);
  font-family: 'DM Mono', ui-monospace, monospace;
  color: rgba(47, 70, 62, .78);
  font-size: 11.5px;
  line-height: 1.85;
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 2;
}
.scanner-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(47, 70, 62, .5);
  margin-bottom: 20px;
}
.scanner-label { display: inline-flex; align-items: center; gap: 10px; }
.scanner-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #6f9075;
  box-shadow: 0 0 0 3px rgba(111, 144, 117, .18);
  animation: scanner-pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes scanner-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
.scanner-rescan {
  background: none;
  border: none;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: lowercase;
  color: rgba(47, 70, 62, .5);
  cursor: pointer;
  padding: 4px 0;
  transition: color .2s ease;
}
.scanner-rescan:hover { color: var(--forest); }
.scanner-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.scanner-lines li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity .35s ease, transform .35s ease;
  min-height: 1.9em;
}
.scanner-lines li.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.sl-prefix {
  color: rgba(47, 70, 62, .32);
  font-weight: 400;
  flex-shrink: 0;
}
.sl-label { flex: 1; }
.sl-val {
  font-weight: 500;
  margin-left: auto;
  white-space: nowrap;
}
.sl-ok { color: #5c7d60; }
.sl-num { color: rgba(47, 70, 62, .9); }
.sl-final {
  font-style: italic;
  color: var(--forest);
  letter-spacing: .005em;
  font-family: 'Playfair Display', serif;
  font-size: 14px;
}
.scanner-cursor {
  display: inline-block;
  width: 7px;
  height: 12px;
  background: var(--forest);
  margin-top: 6px;
  margin-left: 0;
  opacity: 0;
  vertical-align: middle;
}
.scanner-cursor.is-active {
  animation: scanner-blink 1.1s step-end infinite;
}
@keyframes scanner-blink {
  0%, 55% { opacity: 1; }
  56%, 100% { opacity: 0; }
}

/* Activate 2-col hero layout at wider viewports */
@media (min-width: 960px) {
  .hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
    gap: clamp(48px, 7vw, 110px);
    align-items: end;
  }
  .hero-scanner {
    display: block;
    align-self: center;
    margin: 0 0 0 auto;
    max-width: 360px;
    padding-left: 24px;
    font-size: 12px;
    line-height: 1.9;
  }
}
