/* ---------- design tokens ---------- */
:root {
  --ink:            #100F0C;
  --ink-raised:     #1C1B16;
  --lime:           #C4F042;
  --paper:          #F2F0E8;
  --paper-raised:   #FBFAF7;
  --slate:          #8A8A82;
  --hairline-dark:  #262521;
  --hairline-light: #DEDCD3;

  --r-card: 6px;
  --r-btn:  6px;

  --gutter: 16px;
  --max-w:  1100px;

  --pad-section: 56px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* type scale: mobile values; bumped at md breakpoint */
  --fs-hero:    33px;
  --fs-section: 22px;
  --fs-card:    19px;
  --fs-body:    15px;
  --fs-label:   10px;
}

@media (min-width: 768px) {
  :root {
    --gutter: 24px;
    --pad-section: 96px;
    --fs-hero:    72px;
    --fs-section: 38px;
    --fs-card:    24px;
    --fs-body:    17px;
    --fs-label:   11px;
  }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--paper);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
img, svg { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
h1, h2, h3, p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--lime); color: var(--ink);
  padding: 10px 14px; border-radius: var(--r-btn);
  font-weight: 500;
}
.skip:focus { left: 16px; top: 16px; z-index: 100; }

/* ---------- layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- shared type ---------- */
.eyebrow {
  font-size: var(--fs-label);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
  margin: 0 0 28px;
}
.eyebrow-dark { color: var(--slate); }

.section-headline {
  font-size: var(--fs-section);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 40px;
  max-width: 22ch;
}

/* ---------- brand mark ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
}
.brand-mark {
  width: 28px;
  height: 28px;
  color: var(--paper);
  flex-shrink: 0;
}
.brand-notch { fill: var(--lime); }
.brand-word {
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.02em;
}
@media (max-width: 360px) {
  .brand-word { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: var(--r-btn);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  line-height: 1;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease, border-color 120ms ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--lime);
  color: var(--ink);
}
.btn-primary:hover { background: #d3ff5a; }
.btn-secondary {
  background: transparent;
  color: var(--paper);
  border-color: var(--hairline-dark);
}
.btn-secondary:hover { border-color: var(--paper); }
.btn-inverted {
  background: var(--ink);
  color: var(--paper);
}
.btn-inverted:hover { background: var(--ink-raised); }

@media (prefers-reduced-motion: no-preference) {
  .btn:active { transform: translateY(1px); }
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: var(--ink);
  z-index: 50;
  border-bottom: 1px solid var(--hairline-dark);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-links { display: none; }
@media (min-width: 768px) {
  .nav { height: 80px; }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .nav-links ul {
    display: flex;
    gap: 32px;
  }
  .nav-links a {
    color: var(--slate);
    font-size: 15px;
    transition: color 120ms ease;
  }
  .nav-links a:hover { color: var(--paper); }
  .nav-cta {
    padding: 10px 18px;
    font-size: 14px;
  }
}

/* hamburger */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
}
.hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--paper);
  transition: transform 180ms ease, opacity 180ms ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
@media (min-width: 768px) {
  .hamburger { display: none; }
}

.mobile-menu {
  background: var(--ink);
  border-top: 1px solid var(--hairline-dark);
  padding: 8px var(--gutter) 24px;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu a {
  display: block;
  padding: 14px 4px;
  color: var(--paper);
  font-size: 17px;
  border-bottom: 1px solid var(--hairline-dark);
}
.mobile-menu .btn {
  margin-top: 12px;
  width: 100%;
  border-bottom: 0;
  padding: 16px 22px;
}
.mobile-menu .btn-primary { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  background: var(--ink);
  padding: 64px 0 0;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-headline {
  font-size: var(--fs-hero);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 24px;
  max-width: 14ch;
}
.accent-dot {
  display: inline-block;
  position: relative;
  color: transparent;
  width: 0.32em;
  margin-left: 0.04em;
}
.accent-dot::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.16em;
  width: 0.22em;
  height: 0.22em;
  background: var(--lime);
  border-radius: 2px;
}
.hero-sub {
  color: var(--slate);
  max-width: 46ch;
  margin: 0 0 36px;
  font-size: var(--fs-body);
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  margin: 0 0 64px;
}
.hero-ctas .btn { width: 100%; }

@media (min-width: 768px) {
  .hero { padding: 96px 0 0; }
  .hero-headline { margin-bottom: 32px; }
  .hero-sub { font-size: 19px; margin-bottom: 48px; max-width: 52ch; }
  .hero-ctas {
    flex-direction: row;
    width: auto;
    max-width: none;
    gap: 14px;
    margin-bottom: 96px;
  }
  .hero-ctas .btn {
    width: auto;
    padding: 16px 28px;
    font-size: 16px;
  }
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  padding: 32px 0;
  border-top: 1px solid var(--hairline-dark);
}
.stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.stat-num {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  color: var(--slate);
  text-transform: lowercase;
}
@media (min-width: 768px) {
  .stats { padding: 40px 0; gap: 24px; }
  .stat-num { font-size: 40px; }
  .stat-label { font-size: 13px; }
}

/* ---------- trust strip ---------- */
.trust {
  width: 100%;
  padding: 24px 0 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.trust-label {
  font-size: var(--fs-label);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
  margin: 0;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 24px;
  color: var(--slate);
  font-size: 14px;
}
.trust-list li {
  white-space: nowrap;
}
@media (min-width: 768px) {
  .trust { padding: 28px 0 64px; }
  .trust-list { gap: 16px 40px; font-size: 15px; }
}

/* ---------- services ---------- */
.services {
  background: var(--paper);
  color: var(--ink);
  padding: var(--pad-section) 0;
}
.services .eyebrow { color: var(--slate); }

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

/* ---------- cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: var(--r-card);
  min-height: 220px;
}
@media (min-width: 768px) {
  .card { padding: 36px 32px; min-height: 280px; }
}
.card-label {
  font-size: var(--fs-label);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}
.card-title {
  font-size: var(--fs-card);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: auto 0 12px;
}
.card-body {
  font-size: var(--fs-body);
  line-height: 1.5;
  max-width: 32ch;
}
.card-light {
  background: var(--paper-raised);
  color: var(--ink);
  border: 1px solid var(--hairline-light);
}
.card-light .card-body { color: #3a3a33; }
.card-dark {
  background: var(--ink-raised);
  color: var(--paper);
  border: 1px solid var(--hairline-dark);
}
.card-dark .card-body { color: #c8c8c0; }

.card-arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  font-size: 22px;
  color: var(--lime);
  line-height: 1;
}
@media (min-width: 768px) {
  .card-arrow { right: 32px; bottom: 32px; }
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
@media (min-width: 768px) {
  .section-cta { margin-top: 56px; }
}

/* ---------- process ---------- */
.process {
  background: var(--paper);
  color: var(--ink);
  padding: var(--pad-section) 0;
  border-top: 1px solid var(--hairline-light);
}
.process .eyebrow { color: var(--slate); }

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  counter-reset: step;
}
@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
}
.process-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-light);
}
.process-num {
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--slate);
  font-weight: 500;
}
.process-title {
  font-size: var(--fs-card);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}
.process-body {
  font-size: var(--fs-body);
  line-height: 1.5;
  color: #3a3a33;
  max-width: 28ch;
  margin: 0;
}

/* ---------- work ---------- */
.work {
  background: var(--ink);
  color: var(--paper);
  padding: var(--pad-section) 0;
}
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .work-feature { grid-column: 1 / -1; }
}
.work-feature { min-height: 280px; }
@media (min-width: 768px) {
  .work-feature { min-height: 360px; padding: 48px 40px; }
}
.work-num {
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: auto 0 12px;
}
.work-num-accent { color: var(--lime); }
.work-feature .work-num { font-size: 72px; }
@media (min-width: 768px) {
  .work-num { font-size: 72px; }
  .work-feature .work-num { font-size: 112px; }
}
.work-context {
  font-size: var(--fs-body);
  color: #c8c8c0;
  max-width: 40ch;
  line-height: 1.5;
}

/* ---------- founder ---------- */
.founder {
  background: var(--ink);
  color: var(--paper);
  padding: var(--pad-section) 0;
  border-top: 1px solid var(--hairline-dark);
}
.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 768px) {
  .founder-grid {
    grid-template-columns: 320px 1fr;
    gap: 64px;
  }
}
.founder-portrait {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--hairline-dark);
}
.founder-portrait svg {
  width: 100%;
  height: 100%;
  display: block;
}
@media (min-width: 768px) {
  .founder-portrait { max-width: 320px; }
}
.founder-headline {
  font-size: var(--fs-section);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 20px;
}
.founder-body {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: #c8c8c0;
  max-width: 56ch;
  margin: 0 0 16px;
}
.founder-body:last-of-type { margin-bottom: 24px; }
.founder-sign {
  font-size: var(--fs-body);
  color: var(--slate);
  margin: 0;
}
.founder-sign a {
  color: var(--paper);
  transition: color 120ms ease;
}
.founder-sign a:hover { color: var(--lime); }
.founder-sep {
  margin: 0 10px;
  color: var(--hairline-dark);
}

/* ---------- cta ---------- */
.cta {
  background: var(--lime);
  color: var(--ink);
  padding: var(--pad-section) 0;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cta-headline {
  font-size: var(--fs-section);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 16px;
  max-width: 20ch;
}
@media (min-width: 768px) {
  .cta-headline { font-size: 56px; margin-bottom: 20px; }
}
.cta-sub {
  font-size: var(--fs-body);
  margin: 0 0 32px;
  max-width: 44ch;
  color: #1a1914;
}
@media (min-width: 768px) {
  .cta-sub { font-size: 18px; margin-bottom: 40px; }
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 24px;
  border-top: 1px solid var(--hairline-dark);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hairline-dark);
}
.brand-footer { color: var(--paper); }

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.footer-label {
  font-size: var(--fs-label);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
  margin: 0 0 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--paper);
  font-size: 14px;
}
.footer-col a:hover { color: var(--lime); }

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .footer-cols { gap: 80px; }
  .footer-col a { font-size: 15px; }
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12px;
  color: var(--slate);
}
.socials {
  display: flex;
  gap: 16px;
}
.socials a {
  display: inline-flex;
  padding: 6px;
  color: var(--slate);
  transition: color 120ms ease;
}
.socials a:hover { color: var(--paper); }

/* ---------- motion ---------- */
@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;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
@media (max-width: 767px) {
  html { scroll-padding-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
