:root {
  --ink: #0b1613;
  --ink-soft: #263c36;
  --paper: #f7f8f3;
  --paper-warm: #eef2e7;
  --green: #1f6b4f;
  --green-dark: #0f3d31;
  --teal: #3c8d89;
  --lime: #b7d36b;
  --brass: #c49a4a;
  --white: #ffffff;
  --line: rgba(11, 22, 19, 0.14);
  --shadow: 0 22px 70px rgba(7, 25, 19, 0.18);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(9, 20, 17, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(9, 20, 17, 0.88);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

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

.brand-logo {
  display: block;
  max-height: 48px;
  width: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--lime), var(--brass));
  border-radius: 50%;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: 150px 16px 44px;
  overflow: hidden;
  color: var(--white);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 18, 15, 0.95) 0%, rgba(7, 18, 15, 0.78) 37%, rgba(7, 18, 15, 0.36) 68%, rgba(7, 18, 15, 0.24) 100%),
    linear-gradient(0deg, rgba(7, 18, 15, 0.72) 0%, rgba(7, 18, 15, 0) 44%);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.hero-content {
  padding-bottom: 72px;
}

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

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.85rem, 8vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--ink);
  background: var(--lime);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.09);
}

.button.dark {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(7, 18, 15, 0.58);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-panel div:last-child {
  border-right: 0;
}

.hero-panel span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 1.02rem;
}

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

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.proof h2,
.contact h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.5vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.intro-copy {
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.intro-copy p:first-child {
  margin-top: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.service-card {
  min-height: 320px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(22, 55, 45, 0.06);
}

.service-card .icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 50%;
  font-weight: 900;
}

.service-card h3,
.timeline-item h3 {
  margin: 26px 0 10px;
  font-size: 1.22rem;
  line-height: 1.18;
}

.service-card p,
.timeline-item p,
.proof-grid span,
.contact p {
  margin: 0;
  color: var(--ink-soft);
}

.band {
  padding: 96px 16px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(183, 211, 107, 0.2), transparent 28%),
    linear-gradient(135deg, #0b1613 0%, #123d34 55%, #164d45 100%);
}

.band .section-heading h2 {
  color: var(--white);
}

.band-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.framework-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.framework-list span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 42px;
}

.timeline-item {
  position: relative;
  padding-top: 24px;
  border-top: 2px solid var(--green);
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-weight: 900;
}

.proof {
  padding: 96px 16px;
  background: var(--paper-warm);
}

.proof-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.proof-grid div {
  padding: 24px;
  border-left: 4px solid var(--brass);
  background: rgba(255, 255, 255, 0.62);
}

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

.proof-grid strong {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.contact-copy {
  max-width: 780px;
}

.contact p {
  max-width: 700px;
  margin-top: 20px;
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .service-grid,
  .timeline,
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-actions {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(9, 20, 17, 0.94);
  }

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

  .nav-links a {
    border-radius: var(--radius);
  }

  .hero {
    min-height: 100vh;
    padding-top: 132px;
  }

  .hero-content {
    width: min(calc(100% - 8px), var(--max));
    padding-bottom: 36px;
  }

  h1 {
    font-size: clamp(2.35rem, 15vw, 4.2rem);
  }

  .hero-panel,
  .service-grid,
  .timeline,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-panel div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 68px 0;
  }

  .service-card {
    min-height: auto;
  }

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

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