:root {
  --ink: #f5f1e8;
  --muted: #c7c0ae;
  --soft: #908f86;
  --bg: #07110d;
  --bg-deep: #030604;
  --panel: #0d1510;
  --panel-soft: #121d16;
  --line: rgba(226, 217, 191, 0.14);
  --line-strong: rgba(226, 217, 191, 0.26);
  --green: #7f9b63;
  --green-deep: #243c2d;
  --cream: #efe4c8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(3, 6, 4, 0.82), rgba(3, 6, 4, 0.96) 48%, rgba(3, 6, 4, 0.99) 100%),
    linear-gradient(90deg, rgba(3, 6, 4, 0.96), rgba(3, 6, 4, 0.72), rgba(3, 6, 4, 0.94)),
    url("assets/sprout-hero.png") center / cover no-repeat;
  filter: saturate(0.62) contrast(1.03);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 82% 10%, rgba(127, 155, 99, 0.16), transparent 29%),
    linear-gradient(rgba(239, 228, 200, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 228, 200, 0.02) 1px, transparent 1px);
  background-size: auto, 86px 86px, 86px 86px;
}

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

img,
svg {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--cream);
  color: #08110d;
  transition: top 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(226, 217, 191, 0.11);
  background: rgba(3, 6, 4, 0.78);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-logo-wrapper,
.hero-logo-wrapper,
.contact-logo-wrapper,
.footer-brand {
  background: transparent;
}

.brand-logo {
  width: 128px;
  height: 70px;
  display: block;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: normal;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.3));
}

.brand-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.brand-text strong {
  font-size: 1rem;
  line-height: 1.05;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.74rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.91rem;
}

.nav-links a,
.footer-contact a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.footer-contact a:hover {
  color: var(--cream);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-cta {
  padding: 0 18px;
  border: 1px solid rgba(239, 228, 200, 0.24);
  color: var(--cream);
  background: rgba(239, 228, 200, 0.035);
}

.button {
  padding: 0 22px;
  border: 1px solid transparent;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--cream);
  color: #07110d;
}

.button-secondary {
  border-color: rgba(239, 228, 200, 0.28);
  color: var(--cream);
  background: rgba(239, 228, 200, 0.045);
}

.hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

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

.hero-bg {
  z-index: -3;
  background-image: url("assets/sprout-hero.png");
  background-size: cover;
  background-position: center;
  filter: saturate(0.72) contrast(1.04);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 6, 4, 0.98) 0%, rgba(3, 6, 4, 0.86) 38%, rgba(3, 6, 4, 0.52) 72%, rgba(3, 6, 4, 0.78) 100%),
    linear-gradient(180deg, rgba(3, 6, 4, 0.2) 0%, rgba(3, 6, 4, 0.93) 100%);
}

.hero-content {
  width: min(780px, calc(100% - 32px));
  margin: 0 auto;
  padding: 138px 0 122px;
  transform: translateX(calc((min(var(--max), calc(100vw - 32px)) - min(780px, calc(100vw - 32px))) / -2));
}

.hero-logo-wrapper {
  width: min(500px, 82vw);
  margin: 0 0 24px;
}

.hero-logo,
.contact-logo,
.footer-brand img {
  display: block;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.38));
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 6vw, 6.2rem);
  font-weight: 500;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 4.6vw, 4.55rem);
  font-weight: 500;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-panel {
  position: absolute;
  right: max(16px, calc((100vw - var(--max)) / 2));
  bottom: 36px;
  width: min(416px, calc(100% - 32px));
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 17, 12, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel p {
  margin-bottom: 18px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.34rem;
  line-height: 1.2;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mini-metrics span,
.signal-list span {
  border: 1px solid rgba(239, 228, 200, 0.16);
  border-radius: 999px;
  background: rgba(239, 228, 200, 0.045);
  color: var(--muted);
}

.mini-metrics span {
  padding: 10px 11px;
  font-size: 0.84rem;
}

.section {
  padding: 108px 0;
}

.section-inner,
.cta-inner,
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.two-column,
.audit-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.body-copy,
.section-heading p,
.audit-card,
.system-card p,
.process-steps p,
.contact-card,
.contact-actions {
  color: var(--muted);
}

.body-copy p:last-child,
.section-heading p:last-child {
  margin-bottom: 0;
}

.problem-section {
  background:
    linear-gradient(180deg, rgba(7, 17, 13, 0.9), rgba(12, 22, 16, 0.82));
}

.signal-section,
.process-section {
  background: rgba(239, 228, 200, 0.032);
  border-block: 1px solid rgba(239, 228, 200, 0.08);
}

.systems-section {
  background:
    linear-gradient(135deg, rgba(36, 60, 45, 0.22), rgba(239, 228, 200, 0.025)),
    rgba(3, 6, 4, 0.72);
}

.audit-section {
  background:
    linear-gradient(90deg, rgba(40, 66, 49, 0.24), transparent 48%),
    rgba(7, 17, 13, 0.72);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.systems-heading {
  max-width: 880px;
}

.systems-heading p {
  max-width: 760px;
  font-size: 1.08rem;
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signal-list span {
  padding: 12px 14px;
}

.system-grid,
.process-steps,
.process-flow {
  display: grid;
  gap: 16px;
}

.system-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.system-card,
.process-steps article,
.process-flow article,
.audit-card,
.contact-actions {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 26, 20, 0.76);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.system-card {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: 24px;
}

.featured-card {
  background:
    linear-gradient(180deg, rgba(127, 155, 99, 0.16), rgba(16, 26, 20, 0.74)),
    rgba(16, 26, 20, 0.76);
  border-color: rgba(127, 155, 99, 0.34);
}

.system-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  border: 1px solid rgba(239, 228, 200, 0.16);
  border-radius: 50%;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  background: rgba(239, 228, 200, 0.045);
}

.system-card ul,
.audit-card ul {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.system-card li,
.audit-card li {
  position: relative;
  padding-left: 22px;
  margin-top: 11px;
  color: var(--muted);
}

.system-card li::before,
.audit-card li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 1px;
  content: "";
  background: var(--green);
}

.process-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.process-flow {
  position: relative;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.process-flow::before {
  position: absolute;
  top: 52px;
  left: 8%;
  right: 8%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(127, 155, 99, 0.55), transparent);
}

.process-steps article,
.process-flow article {
  position: relative;
  min-height: 264px;
  padding: 24px;
}

.process-flow article::after {
  position: absolute;
  top: 45px;
  right: -12px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(127, 155, 99, 0.32);
  border-radius: 50%;
  color: var(--green);
  content: "→";
  font-size: 0.86rem;
  background: rgba(3, 6, 4, 0.92);
}

.process-flow article:last-child::after {
  content: none;
}

.process-steps span,
.process-flow span {
  display: inline-block;
  margin-bottom: 46px;
  color: rgba(239, 228, 200, 0.46);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  line-height: 1;
}

.audit-card {
  padding: 34px;
}

.audit-card p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.06rem;
}

.audit-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
  margin-top: 30px;
}

.cta-band {
  padding: 96px 0;
  background:
    linear-gradient(135deg, rgba(127, 155, 99, 0.22), rgba(239, 228, 200, 0.04)),
    rgba(10, 18, 13, 0.84);
  border-block: 1px solid rgba(239, 228, 200, 0.12);
}

.cta-inner {
  max-width: 860px;
  margin-left: max(16px, calc((100vw - var(--max)) / 2));
}

.cta-inner p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 58px;
}

.contact-card {
  display: grid;
  gap: 8px;
  max-width: 430px;
  margin-top: 34px;
  padding: 0;
  font-style: normal;
}

.contact-logo-wrapper {
  width: min(340px, 100%);
  margin-bottom: 4px;
}

.contact-card strong {
  color: var(--ink);
}

.contact-card a {
  color: var(--cream);
  overflow-wrap: anywhere;
}

.contact-actions {
  display: grid;
  align-content: center;
  gap: 28px;
  min-height: 390px;
  padding: 34px;
}

.contact-actions h3 {
  max-width: 500px;
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  font-weight: 500;
}

.contact-actions p:not(.eyebrow) {
  max-width: 510px;
  margin-bottom: 0;
}

.action-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 42px;
  color: var(--soft);
  font-size: 0.94rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 150px;
  flex: 0 0 auto;
  filter: none;
}

.footer-brand p,
.footer-contact {
  margin: 0;
  display: grid;
  gap: 2px;
}

.footer-brand strong {
  display: block;
  color: var(--ink);
}

.footer-brand span {
  color: var(--muted);
}

.footer-contact {
  justify-items: end;
}

@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .hero-content {
    transform: none;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -72px auto 42px;
  }

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

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

  .process-flow::before,
  .process-flow article::after {
    content: none;
  }
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  body::after {
    background:
      radial-gradient(circle at 78% 7%, rgba(127, 155, 99, 0.12), transparent 34%),
      linear-gradient(rgba(239, 228, 200, 0.018) 1px, transparent 1px),
      linear-gradient(90deg, rgba(239, 228, 200, 0.014) 1px, transparent 1px);
    background-size: auto, 64px 64px, 64px 64px;
  }

  .nav-shell {
    width: min(var(--max), calc(100% - 28px));
    min-height: 64px;
  }

  .brand-logo {
    width: 96px;
    height: 52px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(3, 6, 4, 0.72) 0%, rgba(3, 6, 4, 0.92) 56%, rgba(3, 6, 4, 0.98) 100%),
      linear-gradient(90deg, rgba(3, 6, 4, 0.96), rgba(3, 6, 4, 0.74));
  }

  .hero-content {
    width: min(100% - 28px, 560px);
    padding: 84px 0 104px;
  }

  .hero-logo-wrapper {
    width: min(320px, 82vw);
    margin-bottom: 18px;
  }

  h1 {
    max-width: 11ch;
    font-size: 2.92rem;
    line-height: 0.98;
  }

  h2 {
    font-size: 2.22rem;
    line-height: 1;
  }

  .hero-copy {
    font-size: 1.04rem;
    line-height: 1.5;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .section {
    padding: 68px 0;
  }

  .section-inner,
  .cta-inner,
  .site-footer {
    width: min(var(--max), calc(100% - 28px));
  }

  .two-column,
  .audit-layout,
  .contact-layout,
  .system-grid,
  .process-steps,
  .process-flow,
  .audit-actions,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .two-column,
  .audit-layout,
  .contact-layout {
    gap: 34px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .signal-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .signal-list span,
  .mini-metrics span {
    border-radius: 12px;
  }

  .system-card,
  .process-steps article,
  .process-flow article {
    min-height: auto;
    padding: 22px;
  }

  .system-number,
  .process-steps span,
  .process-flow span {
    margin-bottom: 28px;
  }

  .process-flow {
    gap: 12px;
  }

  .audit-card {
    padding: 26px;
  }

  .audit-actions {
    margin-top: 26px;
  }

  .cta-band {
    padding: 76px 0;
  }

  .cta-inner {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
  }

  .site-footer,
  .footer-brand {
    align-items: flex-start;
  }

  .site-footer {
    flex-direction: column;
    gap: 18px;
  }

  .footer-contact {
    justify-items: start;
  }

  .footer-brand {
    gap: 12px;
  }

  .footer-brand img {
    width: 128px;
  }
}

@media (max-width: 460px) {
  .brand-text small {
    display: none;
  }

  .eyebrow {
    font-size: 0.7rem;
    line-height: 1.35;
  }

  h1 {
    font-size: 2.26rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  h3 {
    font-size: 1.08rem;
  }

  .hero-content {
    padding-top: 76px;
  }

  .hero-logo-wrapper {
    width: min(280px, 84vw);
  }

  .hero-panel {
    width: calc(100% - 28px);
    padding: 20px;
  }

  .hero-panel p {
    font-size: 1.18rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .mini-metrics {
    grid-template-columns: 1fr;
  }

  .contact-actions,
  .audit-card {
    padding: 22px;
  }

  .action-buttons {
    grid-template-columns: 1fr;
  }

  .contact-logo-wrapper {
    width: min(280px, 100%);
  }

  .footer-brand {
    display: grid;
  }
}

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