@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/InterVariable.woff2?v=1') format('woff2');
}

:root {
  --bg: #FAFAF7;
  --bg-alt: #F0EFEA;
  --text: #1A1A1A;
  --text-muted: #5A5A5A;
  --accent: #014421;
  --accent-dark: #012C16;
  --accent-tint: #F0F5F0;
  --border: #E0DCD2;
  --max-width: 1140px;
  --nav-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
p { margin-bottom: 1rem; }

a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-dark); }
.footer a { text-decoration: underline; text-underline-offset: 3px; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* NAV - floating pill (white on cream page bg) */
.nav {
  position: sticky;
  top: 16px;
  z-index: 100;
  padding: 16px 24px 0;
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 28px;
  background: #FFFFFF;
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
body.nav-over-hero .nav-inner {
  background: transparent;
  box-shadow: none;
}
.nav-brand {
  grid-column: 1;
  justify-self: start;
}
.nav-links {
  grid-column: 2;
  justify-self: center;
}
.nav-cta {
  grid-column: 3;
  justify-self: end;
}
.nav-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-brand:hover { color: var(--text); }
.nav-brand .accent { color: var(--accent); }
.nav-brand { display: flex; align-items: center; }
.nav-logo { height: 30px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover {
  color: var(--accent);
  background: var(--accent-tint);
}
.nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  color: white !important;
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--accent-dark); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
  border-radius: 999px;
  transition: background 0.15s;
}
.nav-toggle svg { width: 24px; height: 24px; display: block; }
.nav-toggle:hover { background: var(--accent-tint); color: var(--accent); }
body.nav-over-hero .nav-toggle { color: var(--text); }

@media (max-width: 900px) {
  .nav { padding: 12px 12px 0; }
  .nav-inner {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px 14px;
    gap: 6px;
  }
  .nav-logo { height: 24px; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 99;
    flex-direction: column;
    gap: 4px;
    margin: 0;
  }
  body.menu-open .nav-links { display: flex; }
  .nav-links li { width: 100%; list-style: none; }
  .nav-links a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 1.05rem;
    border-radius: 12px;
  }
  .nav-toggle {
    display: flex;
    order: 2;
  }
  .nav-cta {
    padding: 6px 14px;
    font-size: 0.85rem;
    order: 1;
    margin-left: auto;
  }
  .nav-toggle { padding: 6px; }
  .nav-toggle svg { width: 22px; height: 22px; }
}

/* HERO */
.hero {
  padding: 140px 0 110px;
}
.hero-full {
  min-height: 100vh;
  min-height: 100dvh;
  margin-top: calc(-1 * var(--nav-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(60px + var(--nav-height)) 0 60px;
  text-align: center;
}
.hero-full .hero-actions { justify-content: center; }
.hero-center {
  text-align: center;
  padding: 140px 0 130px;
}
.hero-center .container {
  max-width: 760px;
}
.hero-center h1 {
  margin-bottom: 28px;
}
.hero-center .hero-subhead {
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}
.hero h1 { margin-bottom: 32px; }
.hero-subhead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 44px;
}
.hero-full > .container { width: 100%; }
.hero-full h1 { max-width: 1060px; margin-left: auto; margin-right: auto; }
.hero-full .hero-subhead { max-width: 900px; margin-left: auto; margin-right: auto; }

/* BUTTONS */
.btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}
.btn:hover { background: var(--accent-dark); color: white; }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
}
.btn-secondary:hover { background: var(--text); color: white; }
.btn-light {
  background: white;
  color: var(--text);
  box-shadow: inset 0 0 0 1px #B5B0A5;
}
.btn-light:hover {
  background: #ECE7DC;
  color: var(--text);
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-actions .btn {
  min-width: 200px;
  text-align: center;
}

/* Section-end "see more" link with button-fill hover */
.link-cta {
  display: inline-block;
  padding: 10px 24px;
  font-weight: 500;
  color: var(--accent);
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.link-cta:hover {
  background-color: var(--accent);
  color: white;
}

/* SECTIONS */
.section {
  padding: 90px 0;
}
.section-eyebrow {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.section-headline {
  margin-bottom: 64px;
}
.section-headline h2,
.about-preview-header h2 {
  font-size: clamp(1.6rem, 2.3vw, 1.95rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-align: center;
}
.problem-hook .problem-resolution {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text);
  font-weight: 700;
  margin-top: 16px;
}

/* SCROLL REVEAL */
.reveal-init {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-in {
  opacity: 1;
  transform: none;
}

/* IMPACT PROOF */
.impact-proof { padding: 116px 0; }
.impact-proof-strap {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 12px 0 0;
}
.impact-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.impact-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.impact-stat-num {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.impact-stat-label {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}
@media (max-width: 640px) {
  .impact-stats {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .impact-stat-num {
    font-size: 2.25rem;
  }
}

/* APPROACH */
.approach-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 8px;
  align-items: stretch;
}
.approach-phase {
  padding: 28px;
  border-radius: 12px;
  position: relative;
  outline: none;
  background: transparent;
  transition: background .25s ease;
  display: flex;
  flex-direction: column;
}
.approach-phase:hover,
.approach-phase:focus-visible {
  background: var(--accent-tint);
}
.approach-phase:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -21px;
  top: 76px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--border);
  border-right: 2px solid var(--border);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}
.approach-icon {
  color: var(--text);
  margin-bottom: 20px;
  line-height: 0;
  display: inline-block;
  transform-origin: left center;
  transition: color .25s ease, transform .25s ease;
}
.approach-icon svg {
  width: 36px;
  height: 36px;
}
.approach-phase:hover .approach-icon,
.approach-phase:focus-visible .approach-icon {
  color: var(--accent);
  transform: scale(1.15);
}
.approach-headline {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--text);
  line-height: 1.4;
  transition: color .25s ease;
}
.approach-phase:hover .approach-headline,
.approach-phase:focus-visible .approach-headline {
  color: var(--accent);
}
.approach-reveal {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  opacity: 0;
  transition: opacity .25s ease;
}
.approach-phase:hover .approach-reveal,
.approach-phase:focus-visible .approach-reveal {
  opacity: 1;
}
@media (max-width: 880px) {
  .approach-phases {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .approach-phase {
    background: var(--accent-tint);
  }
  .approach-phase .approach-icon,
  .approach-phase .approach-headline {
    color: var(--accent);
  }
  .approach-reveal {
    opacity: 1;
  }
  .approach-phase:not(:last-child)::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -14px;
    transform: translateX(-50%) rotate(135deg);
  }
}

/* CRYSTALS */
.crystals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.crystal {
  padding: 20px;
  margin: -20px;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.crystal:hover {
  background-color: var(--bg-alt);
  transform: translateY(-3px);
}
.crystal h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  transition: color 0.2s ease;
}
.crystal:hover h3 {
  color: var(--accent);
}
.crystal p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* TIERS */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tier {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  background: white;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tier:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}
.tier.featured:hover {
  box-shadow: 0 14px 36px rgba(1, 68, 33, 0.18);
}
.tier.featured {
  border-color: var(--accent);
  border-width: 2px;
  background: var(--accent-tint);
  box-shadow: 0 4px 24px rgba(1, 68, 33, 0.08);
}
.tier-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--accent);
  color: white;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tier-name {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.tier-tagline {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.98rem;
}
.tier-includes-title {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  margin-top: 18px;
}
.tier-includes-title:first-of-type { margin-top: 0; }
.tier-for {
  font-size: 0.95rem;
  margin-top: auto;
  padding-top: 20px;
  margin-bottom: 0;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.tier ul {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
}
.tier ul li {
  font-size: 0.92rem;
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text);
}
.tier ul li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.tier-price {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 4px;
  margin-top: auto;
}
.tier-term {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.tiers-explore {
  text-align: center;
  margin-top: 16px;
}
.tier-cta {
  display: inline-block;
  align-self: flex-start;
  margin-top: 20px;
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, background-color 0.15s ease;
}
.tier:hover .tier-cta,
.tier:focus-within .tier-cta {
  opacity: 1;
  pointer-events: auto;
}
.tier-cta:hover {
  background: var(--accent-dark);
  color: #fff;
}
.tier-arrow-note {
  text-align: center;
  color: var(--text-muted);
  margin-top: 36px;
  font-size: 0.95rem;
}

/* INDUSTRIES */
.industries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.industry {
  padding: 24px;
  border-radius: 12px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.industry:hover {
  background-color: var(--accent-tint);
  transform: translateY(-3px);
}
.industry-icon {
  width: 28px;
  height: 28px;
  color: var(--text);
  margin-bottom: 16px;
  transition: color 0.2s ease;
}
.industry-icon svg { width: 100%; height: 100%; display: block; }
.industry:hover .industry-icon { color: var(--accent); }
.industry h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.industry:hover h3 {
  color: var(--accent);
}
.industry p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* RESULTS CARDS */
.results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.result-card {
  border: 1px solid var(--border);
  padding: 28px;
  background: white;
  transition: transform 0.15s, box-shadow 0.15s;
  border-radius: 6px;
  display: block;
  color: inherit;
}
.result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  color: inherit;
}
.result-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
}
.result-trigger {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 14px;
  font-style: italic;
}
.result-outcome {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text);
}
.result-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
}

/* ABOUT PREVIEW */
.about-preview {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.about-preview-header h2 {
  margin-top: 0;
}
.about-preview-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about-photo {
  width: 100%;
  min-height: 180px;
  background: var(--bg-alt);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.9rem;
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-preview h2 {
  margin-bottom: 20px;
}

/* CLOSING CTA */
.closing-cta {
  text-align: center;
  padding: 90px 0;
  background: var(--bg-alt);
}
.closing-cta h2 {
  max-width: 700px;
  margin: 0 auto 24px;
}
.closing-cta-subhead {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
}

/* FOOTER */
.footer {
  padding: 48px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer-motif {
  font-style: italic;
  color: var(--accent);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

/* SERVICES PAGE */
.services-detail { padding: 56px 0; }
.service-block {
  padding: 36px 40px;
  background: var(--bg-alt);
  border: 2px solid #BCB6A8;
  border-radius: 8px;
  margin-bottom: 20px;
  position: relative;
}
.service-block h2 { font-size: 1.6rem; }
.service-block:last-child { margin-bottom: 0; }
.service-block.featured {
  background: var(--accent-tint);
  border-color: var(--accent);
  margin-bottom: 20px;
}
.service-badge-inline {
  position: absolute;
  top: -14px;
  left: 40px;
  background: var(--accent);
  color: white;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.service-block-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 36px;
}
.service-block-tagline {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin: 10px 0 18px;
}
.service-block-price {
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.service-block-price.price-simple {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.price-prefix,
.price-suffix {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}
.price-main {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.service-block-term {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.service-block-best {
  font-size: 0.95rem;
}
.service-includes-title {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.service-includes {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
}
.service-includes li {
  padding: 5px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.92rem;
}
.service-includes li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.service-end-note {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Services page hover-to-expand details */
.service-expanded {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.5s ease, opacity 0.3s ease 0.05s, margin-top 0.3s ease;
}
.service-block {
  transition: box-shadow 0.25s ease;
  cursor: default;
}
.service-block:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.service-block:hover .service-expanded,
.service-block:focus-within .service-expanded {
  max-height: 1500px;
  opacity: 1;
  margin-top: 22px;
}
.service-expand-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent);
  transition: opacity 0.2s ease;
}
.service-expand-hint::after {
  content: "↓";
  transition: transform 0.25s ease;
}
.service-block:hover .service-expand-hint,
.service-block:focus-within .service-expand-hint {
  opacity: 0;
}
@media (hover: none) {
  .service-expanded {
    max-height: none;
    opacity: 1;
    margin-top: 22px;
    overflow: visible;
  }
  .service-expand-hint { display: none; }
}

/* ANTI-POSITIONING */
.anti-positioning {
  padding: 60px 0;
  background: var(--accent);
  text-align: center;
}
.anti-positioning .section-eyebrow {
  color: rgba(250, 250, 247, 0.6);
}
.anti-positioning blockquote {
  margin: 0 auto;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--bg);
  font-weight: 400;
}

/* CASE STUDIES (preview blocks on /results) */
.case-study {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 0;
}
.case-study h2 { margin-bottom: 24px; }
.case-study-section { margin-bottom: 24px; }
.case-study-eyebrow {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.case-study-running {
  padding: 24px;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  font-style: italic;
  margin-top: 24px;
  font-size: 0.97rem;
}
.case-study p {
  font-size: 1.02rem;
  line-height: 1.7;
}
.case-study-stats {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin: 28px 0 24px;
  padding: 28px 32px;
  background: var(--accent-tint);
  border-radius: 8px;
}
.case-study-stat-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.case-study-stat-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.case-study-stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.case-study-cta {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 999px;
  margin-top: 8px;
  transition: background 0.15s;
}
.case-study-cta:hover {
  background: var(--accent-dark);
  color: white;
}
@media (max-width: 600px) {
  .case-study-stats {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }
  .case-study-stat-num { font-size: 1.5rem; }
}

/* CASE STUDY DETAIL PAGE */
.case-study-detail {
  max-width: 750px;
  margin: 0 auto;
  padding: 80px 24px;
}
.case-study-detail h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
}
.case-study-detail .case-study-section h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  margin-top: 32px;
}
.case-study-detail p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.case-study-back {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.case-study-back:hover { color: var(--accent); }

/* ABOUT — MISSION BOX */
.mission-box {
  padding: 48px 56px;
  background: var(--accent-tint);
  border: 2px solid var(--accent);
  border-radius: 8px;
}
.section-no-border { border-bottom: none; }
.mission-box .section-eyebrow {
  margin-bottom: 16px;
}
.mission-statement {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  color: var(--text);
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.mission-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 700px) {
  .mission-box { padding: 32px 28px; }
}

/* IMPACT GRID (About) */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 16px;
}
.impact-item {
  padding: 20px 0;
  border-top: 2px solid var(--accent);
}
.impact-num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.impact-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* INDUSTRY TAGS (About) */
.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 16px;
}
.industry-tags span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text);
  background: white;
}

/* VALUES LIST (About) */
.values-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.values-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  line-height: 1.65;
}
.values-list li:last-child { border-bottom: none; }
.values-list strong {
  display: inline;
  color: var(--accent);
  font-weight: 600;
}

/* MODES + CAPABILITIES (Home) */
.modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.mode h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.mode p {
  color: var(--text-muted);
  font-size: 1rem;
}
.capabilities-title {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
}
.capability {
  padding: 32px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.capability:hover {
  background-color: var(--accent-tint);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(1, 68, 33, 0.12);
}
.capability-icon {
  width: 36px;
  height: 36px;
  color: var(--text);
  margin-bottom: 16px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.capability-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.capability:hover .capability-icon {
  color: var(--accent);
  transform: scale(1.15);
}
.capability h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text);
  transition: color 0.2s ease;
}
.capability:hover h4 {
  color: var(--accent);
}
.capability p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ABOUT — ORIGIN STORY */
.origin-story-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: stretch;
  margin-top: 24px;
}
.origin-story-image {
  width: 100%;
  align-self: stretch;
  min-height: 0;
  background: var(--bg-alt) url('/assets/images/origin-story.jpg?v=3') center / cover no-repeat;
  border-radius: 8px;
}
.origin-story-body p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}
.origin-story-body p + p {
  margin-top: 16px;
}
.origin-story-body .origin-lead {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

/* ABOUT — TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
  margin: 8px auto 0;
  max-width: 820px;
}
.team-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: center;
}
.team-photo {
  width: 220px;
  height: 220px;
  background: var(--bg-alt);
  border-radius: 8px;
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}
.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}
.team-linkedin {
  display: inline-flex;
  color: var(--text-muted);
  transition: color 0.15s;
}
.team-linkedin:hover { color: var(--accent); }
.team-linkedin svg { width: 18px; height: 18px; display: block; }
.team-title {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0 0 10px;
}
.team-bio {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

/* ABOUT — VALUES GRID (How we work) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.value-card {
  padding: 24px;
  background: transparent;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.value-card:hover {
  background: var(--accent-tint);
  transform: translateY(-2px);
}
.value-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 14px;
}
.value-icon svg { width: 100%; height: 100%; display: block; }
.value-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.value-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ABOUT — CAPABILITIES FLIP */
.about-section-lede {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 32px;
}
.capability-swap {
  display: grid;
  min-height: 80px;
  margin-bottom: 8px;
}
.capability-swap > * {
  grid-area: 1 / 1;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.capability-default {
  opacity: 1;
  transform: translateY(0);
  margin: 0;
}
.capability-metric {
  opacity: 0;
  transform: translateY(6px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.capability:hover .capability-default {
  opacity: 0;
  transform: translateY(-6px);
}
.capability:hover .capability-metric {
  opacity: 1;
  transform: translateY(0);
}
.capability-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 18px;
  margin-left: -18px;
  border-radius: 999px;
  background: transparent;
  transition: color 0.15s, background-color 0.15s;
}
.capability:hover .capability-link {
  color: white;
  background-color: var(--accent);
}
.capability:hover .capability-link:hover {
  background-color: var(--accent-dark);
}
.metric-num {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}
.metric-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .origin-story-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .origin-story-image {
    aspect-ratio: 4 / 5;
    min-height: 220px;
  }
  .team-card {
    grid-template-columns: 160px 1fr;
    gap: 24px;
  }
  .team-photo {
    width: 160px;
    height: 160px;
  }
}
@media (max-width: 600px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  .team-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .team-photo {
    width: 120px;
    height: 120px;
  }
}

/* PROBLEM-SOLUTION HOOK (Services intro) */
.problem-hook {
  text-align: center;
}
.problem-hook h2 {
  font-size: clamp(1.6rem, 2.3vw, 1.95rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 28px;
}
.problem-hook p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text);
}
.problem-hook p + p {
  margin-top: 16px;
}

/* WRITING PAGE */
.writing-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px;
}
.writing-content h2 { margin-bottom: 24px; }
.writing-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.writing-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}
.writing-list li {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.writing-thumb {
  flex-shrink: 0;
  width: 150px;
  display: block;
}
.writing-thumb img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.writing-list h4 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.writing-list p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}
@media (max-width: 560px) {
  .writing-list li {
    gap: 16px;
  }
  .writing-thumb {
    width: 96px;
  }
}

/* CONTACT PAGE */
.contact-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 120px 24px 100px;
  text-align: center;
}
.contact-content h2 { margin-bottom: 24px; }
.contact-content > p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 36px;
}
.contact-email {
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 404 */
.not-found {
  max-width: 600px;
  margin: 0 auto;
  padding: 140px 24px 100px;
  text-align: center;
}
.not-found h1 {
  font-size: 5rem;
  color: var(--accent);
  margin-bottom: 16px;
}
.not-found h2 {
  margin-bottom: 16px;
}
.not-found p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .crystals,
  .tiers,
  .industries,
  .results,
  .modes {
    grid-template-columns: 1fr;
  }
  .capabilities {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-preview,
  .service-block-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-stats {
    grid-template-columns: 1fr;
  }
  .service-block { padding: 28px 24px; }
  .service-badge-inline { left: 24px; }
  .hero { padding: 70px 0; }
  .hero-full { padding: 40px 0; }
  .section { padding: 60px 0; }
}
@media (max-width: 600px) {
  .impact-grid { grid-template-columns: 1fr; }
  .capabilities { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .hero-actions .btn { min-width: 0; }
  .hero-subhead { font-size: 1rem; }
  .hide-mobile { display: none; }
}

/* HERO FX — ambient confetti dots behind the hero text */
.hero-full { position: relative; overflow: hidden; }
.hero-full > .container { position: relative; z-index: 2; }
/* Subtle background "orb": a very faint convex dome that arcs across the upper
   hero, reading as soft light/shadow for depth (inspired by workflows.io). */
.hero-accent { color: var(--accent); }

/* LEGAL PAGES (privacy, terms) */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.legal-content p,
.legal-content ul {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 18px;
}
.legal-content ul {
  padding-left: 24px;
}
.legal-content li {
  margin-bottom: 8px;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 14px;
}
.legal-effective {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 200;
  font-size: 0.95rem;
}
.cookie-banner p { margin: 0; flex: 1; color: var(--text); line-height: 1.4; }
.cookie-banner a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 9px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  white-space: nowrap;
}
.cookie-banner button:hover { background: var(--accent-dark); }
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
  .cookie-banner p { text-align: center; }
  .cookie-banner button { width: 100%; }
}

/* CONTACT FORM */
.hero-compact { padding-bottom: 32px; }
.contact-form {
  max-width: 640px;
  margin: 0 auto 80px;
  padding: 0 24px;
}
.contact-form-field {
  margin-bottom: 24px;
}
.contact-form-field label {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text);
}
.contact-form-field input,
.contact-form-field textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  color: var(--text);
  transition: border-color 0.15s;
}
.contact-form-field input:focus,
.contact-form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form-field textarea {
  resize: vertical;
  min-height: 160px;
  font-family: 'Inter', sans-serif;
}
.contact-form-honeypot {
  display: none;
}
.contact-form button {
  cursor: pointer;
}
.hero-orb {
  position: absolute;
  left: 50%;
  top: 120%;
  width: 200%;
  aspect-ratio: 1.6 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(58% 58% at 50% 50%,
    rgba(1, 68, 33, 0.30) 0%,
    rgba(1, 68, 33, 0.19) 46%,
    rgba(1, 68, 33, 0.08) 64%,
    transparent 76%);
  z-index: 0;
  pointer-events: none;
}
.hero-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* CIRCUIT FX — page-wide faint PCB field that resolves in a radius around the cursor */
main, .footer { position: relative; z-index: 1; }
.circuit-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  --x: 50%;
  --y: 42%;
  --r: 130px;
  background: url('/assets/images/circuit.svg') center center no-repeat;
  -webkit-mask: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, rgba(0,0,0,0.5) 50%, transparent 80%);
          mask: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, rgba(0,0,0,0.5) 50%, transparent 80%);
  opacity: 0;
  transition: opacity 0.45s ease;
}
body.circuit-active .circuit-fx { opacity: 1; }
.hero-fx-dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 68, 33, 0.75) 0%, rgba(1, 68, 33, 0.3) 42%, transparent 72%);
  opacity: 0;
  animation: heroDotRise var(--dur, 4s) ease-in-out var(--delay, 0s) infinite;
  will-change: opacity, transform;
}
@keyframes heroDotRise {
  0%   { opacity: 0;                transform: translate(-50%, 22px) scale(0.55); }
  22%  { opacity: var(--peak, 0.5); }
  78%  { opacity: var(--peak, 0.5); }
  100% { opacity: 0;                transform: translate(-50%, -80px) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-fx-dot { animation: none; opacity: var(--peak, 0.35); transform: translate(-50%, -50%); }
  .circuit-fx { display: none; }
}
