/* ===== Design tokens ===== */
:root {
  --forest: #2F5233;
  --forest-dark: #223d26;
  --olive: #8FA83E;
  --olive-dark: #6d8730;
  --cream: #FAF9F5;
  --sage: #DEE8D9;
  --sage-deep: #C9D8C4;
  --ink: #17170F;
  --ink-soft: #4A4E42;
  --white: #FFFFFF;

  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 3px rgba(23, 23, 15, 0.08);
  --shadow-md: 0 12px 32px rgba(23, 23, 15, 0.10);
  --shadow-lg: 0 24px 64px rgba(23, 23, 15, 0.14);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea { font: inherit; }

.text-balance { text-wrap: balance; }
p, li { text-wrap: pretty; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Skip link ===== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* ===== Focus states ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  min-height: 48px;
  transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out), border-color 180ms var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--forest);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--forest-dark); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn-outline:hover { background: var(--forest); color: var(--white); }
.btn-small { padding: 10px 20px; min-height: 40px; font-size: 0.875rem; }
.btn-full { width: 100%; }

/* ===== Eyebrow ===== */
.eyebrow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive-dark);
  margin-bottom: 18px;
}
.eyebrow-on-dark { color: var(--olive); }
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--olive);
  margin-top: 6px;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--forest-dark);
  max-width: 32ch;
}
.section-lead {
  max-width: 60ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-top: 18px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(23, 23, 15, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo-img { height: 40px; width: auto; }
.main-nav .nav-links {
  display: flex;
  gap: 32px;
}
.main-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  transition: color 160ms var(--ease-out);
}
.main-nav a:hover { color: var(--forest); }
.header-ctas { display: flex; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}
.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--forest-dark);
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  background: var(--cream);
  border-top: 1px solid rgba(23, 23, 15, 0.08);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 18px; }
.mobile-nav ul a { text-decoration: none; font-weight: 500; font-size: 1.05rem; color: var(--ink); }
.mobile-nav-ctas { display: flex; flex-direction: column; gap: 12px; }
.mobile-nav-ctas .btn { width: 100%; }
.mobile-nav-ctas .btn-primary { color: var(--white); }
.mobile-nav-ctas .btn-outline { color: var(--forest); }

/* ===== Hero (full-bleed) ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--forest-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,6,0.94) 0%, rgba(10,10,6,0.74) 42%, rgba(10,10,6,0.34) 68%, rgba(10,10,6,0.16) 100%),
    linear-gradient(0deg, rgba(10,10,6,0.78) 0%, rgba(10,10,6,0.12) 45%),
    rgba(10,10,6,0.18);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 96px;
  color: var(--white);
}
.hero-inner > * {
  animation: hero-fade-up 900ms var(--ease-out) both;
}
.hero-inner > *:nth-child(1) { animation-delay: 60ms; }
.hero-inner > *:nth-child(2) { animation-delay: 140ms; }
.hero-inner > *:nth-child(3) { animation-delay: 220ms; }
.hero-inner > *:nth-child(4) { animation-delay: 300ms; }
.hero-inner > *:nth-child(5) { animation-delay: 380ms; }
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-inner > * { animation: none; }
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 22px;
  max-width: 18ch;
}
.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.82);
  max-width: 52ch;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.btn-outline-on-dark { color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline-on-dark:hover { background: var(--white); color: var(--forest-dark); }
.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.22);
  flex-wrap: wrap;
}
.hero-stat dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}
.hero-stat dd {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--olive);
}
.hero-scroll-cue {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.hero-scroll-arrow {
  width: 1px;
  height: 34px;
  background: rgba(255,255,255,0.5);
  position: relative;
  animation: hero-scroll-bounce 2.2s ease-in-out infinite;
}
.hero-scroll-arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 7px;
  height: 7px;
  border-right: 1px solid rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.8);
  transform: translateX(-50%) rotate(45deg);
}
@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-arrow { animation: none; }
}

/* ===== Trusted by ===== */
.trusted-by { padding: 32px 0 56px; }
.trusted-by-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.trusted-by-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(23, 23, 15, 0.10);
}
.trusted-by-logos img {
  height: 42px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: opacity 200ms var(--ease-out), filter 200ms var(--ease-out);
}
.trusted-by-logos img:hover { filter: grayscale(0); opacity: 1; }

/* ===== Problem ===== */
.problem { padding: 72px 0; background: var(--sage); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.problem-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.problem-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--olive-dark);
  font-weight: 500;
  display: block;
  margin-bottom: 14px;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--forest-dark);
  margin-bottom: 10px;
}
.problem-card p { color: var(--ink-soft); }

/* ===== Services ===== */
.services { padding: 84px 0; }
.services-list {
  margin-top: 40px;
  border-top: 1px solid rgba(23, 23, 15, 0.12);
}
.service-row {
  padding: 28px 0;
  border-bottom: 1px solid rgba(23, 23, 15, 0.12);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
}
.service-row h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--forest-dark);
}
.service-row p { color: var(--ink-soft); margin: 0; }

.who-we-work-with { margin-top: 56px; }
.who-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--forest-dark);
  margin-bottom: 24px;
}
.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.who-card {
  background: var(--sage);
  border-radius: var(--radius-md);
  padding: 28px;
}
.who-card h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--forest-dark);
  margin-bottom: 10px;
}
.who-card p { color: var(--ink-soft); margin: 0; }

/* ===== How we work ===== */
.how-we-work { padding: 84px 0; background: var(--forest-dark); color: var(--white); }
.how-we-work .eyebrow { color: var(--olive); }
.how-we-work .section-title { color: var(--white); }
.steps-list {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step { border-top: 2px solid var(--olive); padding-top: 20px; }
.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 500;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  margin: 12px 0 10px;
}
.step p { color: rgba(255,255,255,0.78); margin: 0; }

/* ===== About ===== */
.about { padding: 88px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about-media { position: relative; }
.about-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about-monogram {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 96px;
  height: 96px;
  border-radius: var(--radius-sm);
  background: var(--olive);
  color: var(--forest-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.about-copy .section-title { margin-bottom: 28px; }
.about-copy p { color: var(--ink-soft); margin-bottom: 18px; }
.about-pullquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--forest-dark) !important;
  border-left: 3px solid var(--olive);
  padding-left: 20px;
  margin-top: 28px !important;
}

/* ===== Pricing ===== */
.pricing { padding: 88px 0; background: var(--sage); }
.pricing-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.price-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  background: var(--forest-dark);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.price-badge {
  display: inline-block;
  background: var(--olive);
  color: var(--forest-dark);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  width: fit-content;
}
.price-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--forest-dark);
  margin-bottom: 10px;
}
.price-card-featured h3 { color: var(--white); }
.price-desc { color: var(--ink-soft); margin-bottom: 20px; }
.price-card-featured .price-desc { color: rgba(255,255,255,0.75); }
.price-amount { margin-bottom: 20px; }
.price-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--forest);
}
.price-card-featured .price-num { color: var(--olive); }
.price-period { color: var(--ink-soft); font-size: 0.95rem; }
.price-card-featured .price-period { color: rgba(255,255,255,0.65); }
.price-everything { font-weight: 600; margin-bottom: 12px; font-size: 0.92rem; }
.price-features { margin-bottom: 28px; flex-grow: 1; }
.price-features li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: 0.94rem;
  border-bottom: 1px solid rgba(23, 23, 15, 0.08);
}
.price-card-featured .price-features li { border-bottom-color: rgba(255,255,255,0.12); }
.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 8px;
  border-left: 2px solid var(--olive);
  border-bottom: 2px solid var(--olive);
  transform: rotate(-45deg);
}
.price-card .btn { align-self: flex-start; }
.price-card-featured .btn-primary { background: var(--olive); color: var(--forest-dark); }
.price-card-featured .btn-primary:hover { background: #a2c04a; }

/* ===== FAQ ===== */
.faq { padding: 88px 0; }
.faq-list { margin-top: 40px; border-top: 1px solid rgba(23, 23, 15, 0.12); }
.faq-item { border-bottom: 1px solid rgba(23, 23, 15, 0.12); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--forest-dark);
  min-height: 48px;
}
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--forest);
  transition: transform 220ms var(--ease-out);
}
.faq-icon::before { width: 100%; height: 2px; top: 9px; left: 0; }
.faq-icon::after { width: 2px; height: 100%; top: 0; left: 9px; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: scaleY(0); }
.faq-answer { padding: 0 4px 22px; max-width: 68ch; }
.faq-answer p { color: var(--ink-soft); margin: 0; }
.faq-answer[hidden] { display: none; }

/* ===== Final CTA ===== */
.final-cta { padding: 80px 0; background: var(--forest); color: var(--white); text-align: center; }
.final-cta-inner h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  max-width: 26ch;
  margin: 0 auto 32px;
}
.final-cta .hero-ctas { justify-content: center; margin-bottom: 0; }
.final-cta .btn-primary { background: var(--olive); color: var(--forest-dark); }
.final-cta .btn-primary:hover { background: #a2c04a; }
.final-cta .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.6); }
.final-cta .btn-outline:hover { background: var(--white); color: var(--forest); }

/* ===== Contact ===== */
.contact { padding: 88px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}
.contact-copy p { color: var(--ink-soft); margin-bottom: 12px; }
.contact-detail a { color: var(--forest); font-weight: 600; text-decoration: none; }
.contact-detail a:hover { text-decoration: underline; }
.contact-form {
  background: var(--sage);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 8px;
  color: var(--forest-dark);
}
.req { font-weight: 400; color: var(--ink-soft); font-size: 0.85rem; }
.form-row input, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(23, 23, 15, 0.18);
  background: var(--white);
  min-height: 48px;
}
.form-row textarea { min-height: 96px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 14px; text-align: center; }

/* ===== Footer ===== */
.site-footer { padding: 48px 0; background: var(--forest-dark); color: rgba(255,255,255,0.85); }
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-logo { height: 34px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-line { font-size: 0.9rem; max-width: 60ch; }
.footer-social { display: flex; gap: 20px; }
.footer-social a { text-decoration: none; font-size: 0.88rem; color: rgba(255,255,255,0.75); }
.footer-social a:hover { color: var(--olive); }
.footer-legal { font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.footer-legal a { color: rgba(255,255,255,0.75); text-decoration: underline; }

/* ===== Scroll reveal ===== */
.pre-reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.pre-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero { min-height: 78vh; align-items: flex-end; }
  .hero-inner { padding-top: 120px; padding-bottom: 72px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; margin: 0 auto; width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .steps-list { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .price-card-featured { transform: none; }
  .who-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav, .header-ctas { display: none; }
  .nav-toggle { display: flex; }
  .service-row { grid-template-columns: 1fr; gap: 10px; }
  .problem-grid { grid-template-columns: 1fr; }
  .steps-list { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 40px; }
  .hero-stats { gap: 24px; }
  .btn { width: 100%; }
  .header-ctas .btn { width: auto; }
  .hero-ctas .btn, .final-cta .btn { width: 100%; }
  .price-card .btn { width: 100%; }
  .trusted-by-logos { gap: 24px; }
  .trusted-by-logos img { height: 32px; max-width: 100px; }
  .hero-scroll-cue { display: none; }
  .hero-title { max-width: none; }
}
