
:root {
  --bg: #111827;
  --surface: rgba(255,255,255,0.06);
  --surface-strong: rgba(255,255,255,0.1);
  --surface-border: rgba(255,255,255,0.08);
  --ink: #f1f5f9;
  --ink-soft: #94a3b8;
  --line: rgba(14,107,79,0.15);
  --primary: #0e6b4f;
  --primary-light: #14a073;
  --primary-dark: #09553f;
  --primary-glow: rgba(14,107,79,0.3);
  --accent: #f0b429;
  --glass-blur: 20px;
  --radius: 20px;
  --shadow: 0 16px 40px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
  --shadow-soft: 0 4px 16px rgba(0,0,0,0.15);
  --max: 1180px;
  --section-max: 1240px;
  --measure-heading: 39ch;
  --measure-body: 73ch;
  --type-h1: clamp(2.2rem,5vw,3.4rem);
  --type-h2: clamp(1.68rem,3.05vw,2.3rem);
  --type-body-lg: clamp(1rem,2.2vw,1.14rem);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(14,107,79,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  background-attachment: fixed;
  line-height: 1.64;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 20% 10%, rgba(14,107,79,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(20,160,115,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 90%, rgba(14,107,79,0.05) 0%, transparent 50%);
}

h1, h2, h3 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  text-wrap: balance;
}

p { margin: 0 0 1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
img { max-width: 100%; display: block; }
a { color: var(--primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  background: rgba(17,24,39,0.85);
  border-bottom: 1px solid var(--surface-border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

/* ---- LOGO ---- */
.logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-light);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover { text-decoration: none; color: var(--primary-light); }

.logo-mark {
  padding: 0 0.6rem;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px var(--primary-glow);
  flex-shrink: 0;
}

.logo-wordmark { display: none; }

/* ---- NAV ---- */
.site-nav { display: none; }

.site-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 2rem;
  align-items: center;
}

.site-nav a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] { color: var(--ink); }

/* ---- NAV CTA ---- */
.nav-cta {
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.3rem;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.nav-cta.primary,
.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.nav-cta.primary:hover,
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--primary-glow);
  text-decoration: none;
  color: #fff;
}

/* ---- HAMBURGER ---- */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  cursor: pointer;
  padding: 0 10px;
  transition: border-color 0.2s;
  flex-shrink: 0;
}

.hamburger:hover { border-color: rgba(255,255,255,0.3); }

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- MOBILE NAV DRAWER ---- */
.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(17,24,39,0.97);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--surface-border);
  padding: 1.5rem;
  z-index: 90;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav ul a {
  display: block;
  padding: 0.85rem 0;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav ul a:hover,
.mobile-nav ul a[aria-current='page'] { color: var(--ink); text-decoration: none; }

.mobile-nav .btn.primary {
  width: 100%;
  justify-content: center;
  padding: 0.9rem;
  font-size: 1rem;
}

/* ---- BTN ROW ---- */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.2rem; }

/* ---- QUICK LINKS ---- */
.quick-links { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.1rem; }

.quick-links a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(14,107,79,0.25);
  padding: 0.45rem 0.75rem;
  background: rgba(14,107,79,0.08);
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s;
}

.quick-links a:hover { background: rgba(14,107,79,0.15); text-decoration: none; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.btn:focus-visible, .nav-cta:focus-visible {
  outline: 3px solid rgba(20,160,115,0.5);
  outline-offset: 2px;
}

.btn.secondary {
  color: var(--ink);
  background: transparent;
  border-color: rgba(14,107,79,0.3);
}

.btn.secondary:hover {
  background: rgba(14,107,79,0.08);
  transform: translateY(-1px);
  text-decoration: none;
}

/* ---- HERO ---- */
.hero { padding: 4.9rem 0 3.45rem; }

.eyebrow {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(14,107,79,0.12);
  border: 1px solid rgba(14,107,79,0.25);
  color: var(--primary-light);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.hero h1, .page-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--type-h1);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.85rem 0 0.92rem;
  color: var(--ink);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), #2dd4a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p, .page-hero p {
  font-size: var(--type-body-lg);
  max-width: var(--measure-body);
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

/* ---- PAGE LAYOUT ---- */
.home-page main .container,
.services-page main .container,
.about-page main .container,
.contact-page main .container {
  width: min(100% - 2rem, var(--section-max));
}

.page-hero-centered,
.services-center,
.about-center,
.contact-center,
.method-center { text-align: center; }

.page-hero-centered .btn-row,
.services-center .btn-row,
.about-center .btn-row,
.contact-center .btn-row,
.method-center .btn-row { justify-content: center; }

.page-hero-centered p,
.services-center p,
.about-center p,
.contact-center p,
.method-center p {
  margin-left: auto;
  margin-right: auto;
}

.services-center .quick-links { justify-content: center; }
.method-center .card { text-align: center; }
.method-center .card ul,
.method-center .card ol { max-width: 32ch; margin-left: auto; margin-right: auto; text-align: left; }
.contact-center .form-wrap { text-align: left; }
.contact-center .form-wrap form { text-align: left; }

/* ---- HERO GRID ---- */
.hero-grid { display: grid; gap: 2.5rem; }
.hero-copy { display: flex; flex-direction: column; gap: 1rem; }

/* ---- TRUST PILLS ---- */
.trust-pill-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.4rem;
}

.trust-pill {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(14,107,79,0.12);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ---- SECTION ---- */
.section { padding: clamp(1.5rem, 3vw, 2rem) 0; }

.services-page .section,
.about-page .section,
.contact-page .section { padding: clamp(1.2rem, 2.2vw, 1.6rem) 0; }

/* Tighten gap between hero and first section on inner pages */
.services-page .hero { padding-bottom: 1.5rem; }
.page-hero + .section { padding-top: 1rem; }

.section h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--type-h2);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 0.92rem;
}

.section p.lead { color: var(--ink-soft); max-width: 74ch; }

/* ---- META ---- */
.meta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.75rem 0 0; }

.meta-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.3rem 0.65rem;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
}

/* ---- CONTENT SHELL ---- */
.content-shell { display: grid; gap: 1.1rem; }

.content-prose {
  background: var(--surface);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.content-prose h2 { margin-top: 1.2rem; }
.content-prose h3 { margin-top: 1rem; margin-bottom: 0.5rem; font-size: 1.08rem; letter-spacing: -0.01em; }
.content-prose p, .content-prose li { color: var(--ink-soft); }

.author-block {
  background: var(--surface);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.author-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.author-block h2 { margin: 0.45rem 0 0.55rem; }
.author-block p { margin: 0.6rem 0; color: var(--ink-soft); }
.author-block p:last-child { margin-bottom: 0; }

/* ---- CARDS ---- */
.card-grid { display: grid; gap: 1.3rem; margin-top: 1.6rem; align-items: stretch; }
.card-grid > .card { height: 100%; }

.card {
  background: var(--surface);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h2 { font-size: 1.25rem; margin-bottom: 1rem; }

.card h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  line-height: 1.28;
  text-wrap: pretty;
}

.card ul { margin: 0; padding-left: 1rem; }
.card li { color: var(--ink-soft); }

/* ---- EXPECT LIST (homepage hero card) ---- */
.expect-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; padding: 0; }

.expect-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(14,107,79,0.15);
  color: var(--primary-light);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 2px;
}

/* ---- PROCESS ---- */
.process {
  counter-reset: steps;
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
  display: grid;
  gap: 0.72rem;
}

.process li {
  counter-increment: steps;
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.84rem 0.92rem;
  box-shadow: var(--shadow-soft);
  color: var(--ink-soft);
}

.process li::before {
  content: counter(steps);
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

/* ---- HOME CENTER ---- */
body.home-page .home-center { text-align: center; }
body.home-page .hero-copy { text-align: left; }
body.home-page .hero-copy h1 { max-width: 26ch; }
body.home-page .hero-copy .btn-row { justify-content: flex-start; }
body.home-page .home-center .card,
body.home-page .home-center .process li { text-align: center; }
body.home-page .home-center .btn-row { justify-content: center; }
body.home-page .home-center > h2,
body.home-page .home-center > p.lead { margin-left: auto; margin-right: auto; }
body.home-page .home-center > h2 { max-width: var(--measure-heading); }
body.home-page .home-center > p.lead { max-width: var(--measure-body); }
body.home-page .home-center .card-grid + .btn-row { margin-top: 1.3rem; }
body.home-page .home-center .cred-pill,
body.home-page .home-center .trust-diff-item { text-align: center; }
body.home-page .home-center .trust-diff-list { max-width: 78ch; margin: 1.1rem auto 0; }
body.home-page .home-center .process li::before { margin: 0 auto 0.6rem; display: flex; }

/* ---- BAND ---- */
.band {
  background: linear-gradient(135deg, rgba(14,107,79,0.18), rgba(14,107,79,0.08));
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(14,107,79,0.3);
  color: var(--ink);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  box-shadow: var(--shadow);
  text-align: center;
}

.band h2 { max-width: 26ch; margin: 0 auto 0.62rem; color: var(--ink); }
.band p { max-width: 54ch; margin-left: auto; margin-right: auto; color: var(--ink-soft); margin-bottom: 0.56rem; }
.band .btn.primary { background: var(--primary); color: #fff; border-color: transparent; box-shadow: 0 6px 24px var(--primary-glow); }
.band .btn.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px var(--primary-glow); }
.band .btn.secondary { border-color: rgba(255,255,255,0.2); color: var(--ink); }
.band .btn.secondary:hover { background: rgba(255,255,255,0.08); }
.band .btn-row { margin-top: 0.95rem; }
.band ul { margin: 0.75rem auto 0; max-width: 36rem; padding-left: 1rem; text-align: left; }
.band ul li { margin-bottom: 0.45rem; color: var(--ink-soft); }

/* ---- NOTICE ---- */
.notice {
  border-left: 4px solid var(--primary-light);
  background: rgba(14,107,79,0.08);
  border-radius: 10px;
  padding: 1rem 1.05rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin-top: 1.2rem;
  margin-bottom: 0.25rem;
}

/* ---- FORMS ---- */
.form-wrap {
  background: var(--surface);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

form { display: grid; gap: 0.8rem; }
label { font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); }

input, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0.72rem 0.78rem;
  font: inherit;
  color: var(--ink);
  background: rgba(255,255,255,0.05);
}

input:focus, textarea:focus {
  outline: 2px solid var(--primary-light);
  outline-offset: 1px;
  border-color: var(--primary);
}

textarea { min-height: 150px; resize: vertical; }

/* ---- CALENDLY ---- */
.calendly-shell {
  background: var(--surface);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.scheduler-layout { padding: 1.15rem clamp(0.85rem, 1.8vw, 1.3rem); }
.calendly-frame-wrap { margin-top: 1rem; }

.calendly-embed {
  width: 100%;
  max-width: 100%;
  min-height: 680px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}

.calendly-embed iframe { width: 100% !important; min-height: 680px !important; border: 0; }

.calendly-empty {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 1.1rem;
  text-align: center;
  color: var(--ink-soft);
}

/* ---- WORKFLOW ---- */
.workflow-section .lead { margin-bottom: 1.25rem; }
.workflow-grid { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }

.workflow-step {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.workflow-step h3 { margin: 0.6rem 0 0.4rem; }
.workflow-step p { margin: 0; color: var(--ink-soft); }

.workflow-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

/* ---- CRED STRIP ---- */
.cred-strip { display: grid; gap: 0.95rem; grid-template-columns: 1fr; margin-top: 0.95rem; }

.cred-pill {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.88rem 1rem;
  box-shadow: var(--shadow-soft);
}

.cred-pill strong { display: block; margin-bottom: 0.2rem; color: var(--ink); }
.cred-pill p { color: var(--ink-soft); }

/* ---- PROOF ---- */
.proof-frame { margin-top: 0.35rem; }
.proof-frame.container { width: min(100% - 2rem, var(--section-max)); }
.proof-frame h2, .proof-frame p { text-align: center; }
.proof-frame p { max-width: var(--measure-body); margin-left: auto; margin-right: auto; }

.proof-frame .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: left;
  padding: 1.32rem 1.24rem;
}

.proof-frame .card-grid { align-items: stretch; }
.proof-frame .card p { text-align: left; max-width: none; margin-left: 0; margin-right: 0; }

.proof-frame .card h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.12rem, 1.4vw, 1.34rem);
  line-height: 1.26;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.proof-result {
  margin-top: 1.5rem;
  margin-bottom: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  color: var(--primary-light);
  font-weight: 600;
}

/* ---- SECTION HEADING ALIGNMENT ---- */
.home-page .section > .container > h2,
.services-page .section > .container > h2,
.about-page .section > .container > h2,
.contact-page .section > .container > h2,
.methodology-page .section > .container > h2 {
  max-width: var(--measure-heading);
  margin-left: auto;
  margin-right: auto;
}

.home-page .section > .container > p.lead,
.services-page .section > .container > p.lead,
.about-page .section > .container > p.lead,
.contact-page .section > .container > p.lead,
.methodology-page .section > .container > p.lead {
  max-width: var(--measure-body);
  margin-left: auto;
  margin-right: auto;
}

/* ---- ABOUT PAGE ---- */
.about-page .split.about-center { align-items: stretch; gap: 1.45rem; }
.about-page .split.about-center > .card { display: flex; flex-direction: column; min-height: 100%; padding: 1.25rem 1.18rem; }
.about-page .split.about-center > .card p,
.about-page .split.about-center > .card ul { max-width: none; margin-left: 0; margin-right: 0; }

.about-family-section { padding-top: 0.45rem; padding-bottom: 2rem; }

.about-family-photo {
  margin: 0 auto;
  width: min(100%, 560px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.32rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--surface);
}

.about-family-photo img { width: 100%; height: auto; border-radius: calc(var(--radius) - 6px); }

/* ---- HOME CARD STYLES ---- */
.home-page .home-center .card-grid.cols-3 > .card,
.home-page .trust-pill,
.home-page .cred-pill,
.home-page .trust-diff-item { text-align: center; }

.home-page .home-center .card-grid.cols-3 > .card p,
.home-page .trust-diff-item p { max-width: 35ch; margin-left: auto; margin-right: auto; }

/* ---- SERVICES / ABOUT / CONTACT CARD OVERRIDES ---- */
.services-page .card-grid.cols-2 > .card,
.services-page .split.services-center > .card,
.services-page .container.card.services-center,
.about-page .card-grid.cols-2 > .card,
.about-page .split.about-center > .card,
.about-page .container.card.about-center,
.contact-page .split.contact-center > .card,
.contact-page .container.card.contact-center,
.contact-page .form-wrap,
.contact-page .calendly-shell { text-align: left; }

.services-page .card-grid.cols-2 > .card p,
.services-page .card-grid.cols-2 > .card ul,
.services-page .card-grid.cols-2 > .card ol,
.services-page .split.services-center > .card p,
.services-page .split.services-center > .card ul,
.services-page .split.services-center > .card ol,
.services-page .container.card.services-center p,
.services-page .container.card.services-center ul,
.services-page .container.card.services-center ol,
.about-page .card-grid.cols-2 > .card p,
.about-page .card-grid.cols-2 > .card ul,
.about-page .card-grid.cols-2 > .card ol,
.about-page .split.about-center > .card p,
.about-page .split.about-center > .card ul,
.about-page .split.about-center > .card ol,
.about-page .container.card.about-center p,
.about-page .container.card.about-center ul,
.about-page .container.card.about-center ol,
.contact-page .split.contact-center > .card p,
.contact-page .split.contact-center > .card ul,
.contact-page .split.contact-center > .card ol,
.contact-page .container.card.contact-center p,
.contact-page .container.card.contact-center ul,
.contact-page .container.card.contact-center ol,
.contact-page .form-wrap p,
.contact-page .calendly-shell p { margin-left: 0; margin-right: 0; max-width: none; }

.services-page .card h3,
.about-page .card h3,
.contact-page .card h3 { line-height: 1.32; max-width: none; text-wrap: balance; }

.services-page .split.services-center > .card,
.about-page .split.about-center > .card,
.contact-page .split.contact-center > .card { padding: 1.28rem 1.2rem; }

.home-page .container.card.home-center { text-align: left; }
.home-page .container.card.home-center h2,
.home-page .container.card.home-center p.lead { margin-left: 0; margin-right: 0; }
.home-page .container.card.home-center .btn-row { justify-content: flex-start; }
body.home-page .home-center.proof-frame .card { text-align: left; }

/* ---- SERVICES HOW WORK ---- */
.services-how-work-card { display: flex; flex-direction: column; align-content: start; gap: 0.82rem; }
.services-how-work-card > h2, .services-how-work-card > ul, .services-how-work-link { margin: 0; }
.services-how-work-link { margin-top: 0.12rem; padding-top: 0.62rem; border-top: 1px solid var(--line); }
.services-how-work-link a { font-weight: 700; }

/* ---- CONTACT BOOKING ---- */
.contact-booking-card .process { margin-top: 1rem; margin-bottom: 2.4rem; gap: 1.08rem; }
.contact-booking-card .process li { padding: 0.96rem 1rem; }
.contact-page .contact-scheduler-section { padding-top: clamp(2.15rem, 3.5vw, 2.55rem); padding-bottom: clamp(2.1rem, 3.4vw, 2.45rem); }
.contact-page .contact-email-section { padding-top: clamp(2.1rem, 3.4vw, 2.45rem); padding-bottom: clamp(2.2rem, 3.5vw, 2.6rem); }
.contact-booking-card .process + h3 { margin-top: 0.2rem; }
.contact-booking-card h3 { margin-bottom: 0.65rem; }
.contact-booking-card p + h3 { margin-top: 1.65rem; }
.contact-booking-card .notice { margin-top: 1.35rem; }

/* ---- TRUST DIFF ---- */
.trust-diff-list { display: grid; gap: 0.95rem; margin-top: 1.1rem; }

.trust-diff-item {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-soft);
}

.trust-diff-item h3 { margin: 0 0 0.4rem; }
.trust-diff-item p { color: var(--ink-soft); }

/* ---- FLYWHEEL ---- */
.flywheel-path h2 { margin-bottom: 0.55rem; }
.flywheel-links { display: grid; gap: 0.72rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.flywheel-links li { border: 1px solid var(--line); border-radius: 12px; padding: 0.74rem 0.84rem; background: var(--surface); }
.flywheel-links span { font-weight: 700; color: var(--ink); }

/* ---- BUG FIXES ---- */

/* Bug 1: Homepage section headings — explicit centering */
body.home-page .section > .container.home-center > h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--measure-heading);
}

/* Bug 2: Services page — more space between section heading and card grid */
.services-page .section h2 {
  margin-bottom: 1.5rem;
}
.services-page .section p.lead {
  margin-bottom: 1.5rem;
}

/* Bug 4 + 5: About page — equal-height cards and heading centering */
.about-page .card-grid.cols-2 {
  align-items: stretch;
}
.about-page .card-grid.cols-2 > .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
body.about-page .section > .container > h2,
body.about-page .section > .container.about-center > h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--measure-heading);
}
.about-page .section > .container > p.lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Service icon badge */
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 4px 16px var(--primary-glow);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* Featured service card (lead service) */
.card.featured-service {
  border-color: rgba(14,107,79,0.35);
  background: rgba(14,107,79,0.08);
}
.card.featured-service .service-tag {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(14,107,79,0.2);
  border: 1px solid rgba(14,107,79,0.4);
  color: var(--primary-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* About page photo placeholder */
.photo-placeholder {
  width: min(100%, 380px);
  aspect-ratio: 3/4;
  margin: 0 auto;
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.photo-placeholder svg {
  opacity: 0.3;
}

/* Methodology page — .brand compatibility shim (legacy) */
.methodology-page .brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-light);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

/* ---- FOOTER ---- */
.site-footer {
  border-top: 1px solid var(--surface-border);
  margin-top: 3.5rem;
  padding: 1.6rem 0 2.2rem;
  color: var(--ink-soft);
}

.footer-grid { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); transition: color 0.2s; }
.footer-links a:hover { color: var(--ink); text-decoration: none; }

/* ---- MOBILE DOCK ---- */
.mobile-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.7rem 1rem;
  background: rgba(17,24,39,0.95);
  border-top: 1px solid var(--surface-border);
  backdrop-filter: blur(8px);
  z-index: 60;
}

.mobile-dock .btn { width: 100%; }

/* ---- SKIP LINK ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.skip-link:focus { top: 8px; }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: fadeUp 0.7s ease-out both; }
  .hero-copy > *:nth-child(1) { animation-delay: 0.1s; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.2s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.3s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.4s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.5s; }
  .hero-grid > .card { animation: fadeUp 0.7s ease-out 0.3s both; }
  .trust-pill-row .trust-pill:nth-child(1) { animation: fadeUp 0.5s ease-out 0.5s both; }
  .trust-pill-row .trust-pill:nth-child(2) { animation: fadeUp 0.5s ease-out 0.6s both; }
  .trust-pill-row .trust-pill:nth-child(3) { animation: fadeUp 0.5s ease-out 0.7s both; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- RESPONSIVE ---- */
@media (min-width: 820px) {
  .site-nav { display: block; }
  .hamburger { display: none; }
  .mobile-dock { display: none; }
  .logo-wordmark { display: inline; }

  .nav-cta { display: inline-flex; }

  .hero { padding-top: 5.2rem; }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .trust-pill-row { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
  .workflow-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cred-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .calendly-shell { padding: 1rem; }
  .calendly-embed { min-height: 620px; }
  .calendly-embed iframe { min-height: 620px !important; }
}

@media (min-width: 1100px) {
  .workflow-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ---- QUICK LINKS: force 4+4 row split at full desktop, tight row gap ---- */
@media (min-width: 900px) {
  .services-center .quick-links {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    justify-content: center;
    gap: 0.35rem 0.55rem;
  }
}

/* ---- CARD TYPOGRAPHY: white heading, soft body — consistent everywhere ---- */
.card h3 { color: var(--ink); }
.card p,
.card ul li,
.card ol li { color: var(--ink-soft); }
.card li strong { color: var(--ink); }
.proof-result { color: var(--primary-light); }

/* ---- SPACING ---- */
.section h2 {
  margin-bottom: 0.75rem;
}

.section p.lead {
  margin-bottom: 0.5rem;
}

.section .card-grid {
  margin-top: 0.8rem;
}

.cred-strip {
  margin-top: 0.8rem;
}

.trust-diff-list {
  margin-top: 0.8rem;
}

/* ---- ABOUT PHOTOS ---- */
.about-photo {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}
