:root {
  --ink: #17201c;
  --muted: #5f6d66;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #dfe4df;
  --river: #2a786f;
  --river-dark: #164e48;
  --cedar: #8a5f3f;
  --sun: #d89b41;
  --soft: #eef3ef;
  --shadow: 0 18px 55px rgba(23, 32, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
  scroll-snap-type: y mandatory;
}

html.is-jump-scroll {
  scroll-snap-type: none;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.snap-section {
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 250, 247, 0.94);
  box-shadow: 0 10px 35px rgba(23, 32, 28, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--river);
  box-shadow: 0 8px 24px rgba(23, 32, 28, 0.16);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  font-size: 0.74rem;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("assets/hero-ai-automation.jpg") center / cover;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 17, 14, 0.92), rgba(10, 17, 14, 0.58) 45%, rgba(10, 17, 14, 0.2)),
    linear-gradient(180deg, rgba(10, 17, 14, 0.38), rgba(10, 17, 14, 0.62));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 84px);
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.hero h1,
.section h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.8vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p:not(.eyebrow),
.copy,
.local-message p,
.founder p,
.contact p {
  color: inherit;
  font-size: 1.06rem;
  line-height: 1.72;
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions,
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button-primary {
  color: #fff;
  background: var(--river);
  border-color: var(--river);
}

.button-primary:hover {
  background: var(--river-dark);
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  overflow: hidden;
}

.proof-strip div {
  min-height: 112px;
  padding: 24px clamp(18px, 4vw, 56px);
  background: #fff;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.proof-strip span,
.copy,
.card-grid p,
.timeline p,
.log-list p,
.package-grid p,
.founder p,
.contact p,
.form-note {
  color: var(--muted);
}

.section {
  display: grid;
  align-content: center;
  padding: clamp(86px, 9vw, 116px) clamp(18px, 5vw, 72px) clamp(42px, 6vw, 72px);
}

.outcomes {
  gap: clamp(28px, 5vw, 56px);
}

.split,
.founder,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.75fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
}

.services,
.process,
.packages,
.site-log,
.contact {
  background: #fff;
}

.card-grid,
.package-grid,
.timeline,
.log-list {
  display: grid;
  gap: 16px;
  margin-top: 38px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.log-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid article,
.package-grid article,
.timeline article,
.log-list article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(23, 32, 28, 0.04);
}

.card-grid article,
.package-grid article,
.timeline article,
.log-list article {
  min-height: 190px;
  padding: 24px;
}

.card-grid svg {
  width: 30px;
  height: 30px;
  color: var(--river);
}

.card-grid h3,
.package-grid h3,
.timeline h3,
.log-list h3 {
  margin: 20px 0 10px;
  font-size: 1.18rem;
}

.log-list time {
  color: var(--river-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.local-message {
  color: #fff;
  background: var(--river-dark);
}

.site-log {
  background: var(--soft);
}

.local-message p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.82);
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: var(--river);
  font-weight: 800;
}

.founder img {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pills span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid #cfd8d1;
  border-radius: 999px;
  background: var(--soft);
  font-weight: 800;
}

.package-grid .featured {
  border-color: rgba(42, 120, 111, 0.42);
  box-shadow: var(--shadow);
}

.price {
  margin: 16px 0 12px;
  color: var(--river-dark) !important;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
}

.contact-methods,
.contact-form {
  display: grid;
  gap: 16px;
}

.contact-methods {
  margin-top: 28px;
}

.contact-methods a,
.contact-methods span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.contact-methods svg {
  width: 20px;
  height: 20px;
  color: var(--river);
}

.contact-form {
  padding: 30px;
  background: var(--paper);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfd8d1;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #111813;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 980px) {
  .card-grid,
  .package-grid,
  .timeline,
  .log-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .founder,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  html {
    scroll-snap-type: y mandatory;
    overscroll-behavior-y: contain;
  }

  body {
    overscroll-behavior-y: contain;
  }

  .site-header {
    padding: 14px 16px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 10px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding-top: 84px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10.4vw, 3.25rem);
    line-height: 1.06;
  }

  .button {
    width: 100%;
  }

  .proof-strip,
  .card-grid,
  .package-grid,
  .timeline,
  .log-list {
    grid-template-columns: 1fr;
  }

  .section {
    min-height: 100svh;
    max-height: 100svh;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding: 92px 16px 32px;
  }

  .hero,
  .site-footer {
    max-height: 100svh;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .section h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .proof-strip div {
    min-height: auto;
    padding: 18px;
  }

  .proof-strip strong {
    font-size: 1.45rem;
  }

  .card-grid article,
  .package-grid article,
  .timeline article,
  .log-list article,
  .contact-form {
    min-height: auto;
    padding: 18px;
  }

  .site-footer {
    flex-direction: column;
  }
}
