/* ============================================================
   GrowthCFO — Forest & Cream
   #1B3A2D forest · #F2EDE4 cream · #2B2B28 charcoal
   Headlines: Fraunces · Body: Inter
   ============================================================ */

:root {
  --forest: #1B3A2D;
  --forest-deep: #142B21;
  --forest-soft: #2A4F3E;
  --cream: #F2EDE4;
  --cream-bright: #FAF7F1;
  --charcoal: #2B2B28;
  --muted: #6B6A60;
  --line: rgba(43, 43, 40, 0.14);
  --line-light: rgba(242, 237, 228, 0.18);
  --gold: #B98A2F;

  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1120px;
  --radius: 6px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 480;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.3rem; font-weight: 560; }

h1 em, h2 em {
  font-style: italic;
  font-weight: 400;
}

p { max-width: 65ch; }

a { color: inherit; }

.kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 1rem;
}

section { padding: 96px 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1.5px solid var(--forest);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  cursor: pointer;
}

.btn-solid {
  background: var(--forest);
  color: var(--cream);
}
.btn-solid:hover { background: var(--forest-soft); border-color: var(--forest-soft); }

.btn-ghost {
  background: transparent;
  color: var(--forest);
}
.btn-ghost:hover { background: rgba(27, 58, 45, 0.07); }

.btn-wide { width: 100%; text-align: center; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 237, 228, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark { width: 34px; height: 34px; flex: none; }

.logo-word {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 560;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
.logo-word span { color: var(--forest); font-weight: 480; font-style: italic; }

.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--charcoal);
  opacity: 0.82;
  transition: opacity 0.15s ease;
}
.site-nav a:hover { opacity: 1; }

.header-cta { padding: 10px 22px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  transition: transform 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-nav[hidden] { display: none; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.mobile-nav a {
  text-decoration: none;
  font-weight: 500;
  padding: 10px 0;
}
.mobile-nav .btn { margin-top: 10px; text-align: center; }

/* ---------- Hero ---------- */

.hero { padding: 130px 0 110px; }

.hero h1 { max-width: 18ch; margin-bottom: 1.6rem; }

.hero .lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 2.4rem;
}

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

/* ---------- Stats ---------- */

.stats {
  background: var(--forest);
  color: var(--cream);
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 480;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

.stat-label {
  font-size: 0.88rem;
  line-height: 1.5;
  opacity: 0.78;
}

/* ---------- Difference ---------- */

.difference { background: var(--cream-bright); }

.difference h2 { max-width: 26ch; }

.difference-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 2.4rem 0 3.2rem;
}

.difference-cols p { color: var(--muted); }

.contrast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contrast-col {
  border-radius: var(--radius);
  padding: 32px 34px;
}

.contrast-no {
  border: 1px solid var(--line);
  background: transparent;
}

.contrast-yes {
  background: var(--forest);
  color: var(--cream);
}

.contrast-col h3 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  opacity: 0.85;
}

.contrast-col ul { list-style: none; }

.contrast-col li {
  padding: 9px 0 9px 26px;
  position: relative;
  font-size: 0.98rem;
  line-height: 1.5;
}

.contrast-no li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.contrast-yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cream);
  opacity: 0.85;
}

/* ---------- Services ---------- */

.service-list {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.service-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--forest);
  opacity: 0.55;
}

.service-body h3 { margin-bottom: 0.4rem; font-size: 1.55rem; }

.service-tag {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.9rem;
}

.service-body p:last-child { color: var(--muted); }

/* ---------- Fit ---------- */

.fit { background: var(--cream-bright); }

.fit-lede { color: var(--muted); font-size: 1.12rem; margin-bottom: 3rem; }

.fit-close { color: var(--muted); font-size: 1.12rem; margin-top: 2.4rem; }

.fit-cols {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
}

.fit-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 36px;
  background: var(--cream);
}

.fit-col h3 {
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
  color: var(--forest);
}

.fit-col ul { list-style: none; }

.fit-col li {
  padding: 10px 0 10px 26px;
  position: relative;
  font-size: 0.98rem;
  line-height: 1.55;
  border-top: 1px solid var(--line);
}
.fit-col li:first-child { border-top: none; }

.fit-col li::before {
  content: "·";
  position: absolute;
  left: 6px;
  font-weight: 700;
  color: var(--forest);
}

/* ---------- Track record ---------- */

.cases {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.case {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 38px;
  background: var(--cream-bright);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.case:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(27, 58, 45, 0.10);
}

.case-tag {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.case h3 { margin-bottom: 0.8rem; }

.case p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Founder ---------- */

.founder { background: var(--forest); color: var(--cream); }

.founder .kicker { color: var(--cream); opacity: 0.7; }

.founder-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: start;
}

.founder-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.founder-photo svg { width: 50%; opacity: 0.8; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.founder-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.founder-creds span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border: 1px solid var(--line-light);
  border-radius: 100px;
  opacity: 0.9;
}

.founder-text h2 { margin-bottom: 1.6rem; }

.founder-text p {
  opacity: 0.88;
  margin-bottom: 1.2rem;
}

.founder-text blockquote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.45;
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin-top: 2rem;
  max-width: 36ch;
}

/* ---------- How ---------- */

.steps {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step {
  border-top: 2px solid var(--forest);
  padding-top: 24px;
}

.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--forest);
  opacity: 0.6;
  margin-bottom: 0.6rem;
}

.step h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }

.step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Contact ---------- */

.contact { background: var(--cream-bright); border-top: 1px solid var(--line); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.contact-text p { color: var(--muted); margin-bottom: 1rem; }

.contact-meta {
  font-size: 0.88rem;
  margin-top: 2rem;
  color: var(--muted);
}

.contact-form {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--cream-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest);
}

.field textarea { resize: vertical; }

.form-status {
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  min-height: 1.4em;
}
.form-status.ok { color: var(--forest); }
.form-status.err { color: #9B3324; }

/* ---------- Tools page ---------- */

.tools-hero { padding: 110px 0 70px; }

.tool-section { background: var(--cream-bright); border-top: 1px solid var(--line); }

.tool-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

.tool-card h2 { margin-top: 0.4rem; }

.tool-lede { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.6rem; }

.tool-features { list-style: none; margin-bottom: 1.6rem; }

.tool-features li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
  line-height: 1.55;
}
.tool-features li:first-child { border-top: none; }
.tool-features li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--forest);
  font-weight: 700;
}

.tool-note { font-size: 0.9rem; color: var(--muted); font-style: italic; }

.gate-title {
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 4px 0 18px;
  cursor: pointer;
}
.consent input { margin-top: 3px; accent-color: var(--forest); }

.gate-unlocked {
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
}
.gate-unlocked p { opacity: 0.88; margin-bottom: 1.4rem; }
.gate-unlocked .btn-solid {
  background: var(--cream);
  color: var(--forest);
  border-color: var(--cream);
}
.gate-unlocked .btn-solid:hover { background: var(--cream-bright); }
.gate-after { font-size: 0.9rem; margin-top: 1.4rem; }
.gate-after a { color: var(--cream); }

/* Homepage tools teaser */
.tools-teaser {
  background: var(--forest);
  color: var(--cream);
  padding: 72px 0;
}
.tools-teaser .kicker { color: var(--cream); opacity: 0.7; }
.tools-teaser-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.tools-teaser h2 { margin-bottom: 0.6rem; }
.tools-teaser p { opacity: 0.85; max-width: 52ch; }
.tools-teaser .btn-solid {
  background: var(--cream);
  color: var(--forest);
  border-color: var(--cream);
  flex: none;
}
.tools-teaser .btn-solid:hover { background: var(--cream-bright); }

@media (max-width: 920px) {
  .tool-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--forest-deep);
  color: var(--cream);
  padding: 56px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.logo-word-footer { font-size: 1.25rem; color: var(--cream); }
.logo-word-footer span { color: var(--cream); opacity: 0.75; }

.footer-brand p {
  font-size: 0.88rem;
  opacity: 0.65;
  margin-top: 8px;
}

.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }

.footer-nav a {
  font-size: 0.9rem;
  text-decoration: none;
  opacity: 0.75;
}
.footer-nav a:hover { opacity: 1; }

.footer-legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}

.footer-legal p { font-size: 0.82rem; opacity: 0.5; }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

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

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .difference-cols,
  .contrast,
  .fit-cols,
  .cases,
  .contact-grid { grid-template-columns: 1fr; }

  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-media { max-width: 380px; }

  .steps { grid-template-columns: 1fr; }

  .contact-grid { gap: 40px; }
}

@media (max-width: 760px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 84px 0 72px; }

  .service { grid-template-columns: 1fr; gap: 8px; padding: 36px 0; }
  .service-num { font-size: 1.2rem; }

  .contact-form { padding: 28px 22px; }

  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- WhatsApp + direct-contact CTAs ---------- */

.record-cta {
  margin-top: 56px;
  text-align: center;
}

.contact-direct { margin: 18px 0 22px; }

.btn-wa {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}
.btn-wa:hover {
  background: #1eb958;
  border-color: #1eb958;
  color: #fff;
}

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: background 0.18s ease, transform 0.18s ease;
}
.wa-float:hover {
  background: #1eb958;
  transform: translateY(-1px);
}

/* Honeypot: parked offscreen, invisible to humans, filled by bots */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.tools-teaser-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

