:root {
  --ink: #0d1410;
  --muted: #5a675f;
  --paper: #eef1ed;
  --white: #f7f8f6;
  --green: #2e8a45;
  --green-deep: #1b5c30;
  --line: rgba(13, 20, 16, 0.1);
  --header: 68px;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.8rem);
}

section[id],
.hero {
  scroll-margin-top: calc(var(--header) + 0.8rem);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 1.02rem;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.045em;
  line-height: 1.05;
  font-weight: 800;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--white);
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  border: 0;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-deep);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(238, 241, 237, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
}

.header-inner,
.footer-inner,
.services,
.work,
.scope,
.about,
.contact {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand em {
  font-style: normal;
  font-weight: 600;
  color: var(--green);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle .bar {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

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

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

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(8, 14, 11, 0.15), rgba(8, 14, 11, 0.72)),
    linear-gradient(90deg, rgba(8, 14, 11, 0.55), transparent 60%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto 4.5rem;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.2rem);
  max-width: 10ch;
}

.hero .lede {
  max-width: 36ch;
  margin: 1.15rem 0 1.7rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero .eyebrow {
  color: #b7e08a;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--white);
  padding: 0.95rem 0;
}

.ticker-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  animation: ticker 28s linear infinite;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ticker-track span {
  position: relative;
  padding-left: 1.2rem;
}

.ticker-track span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker-track,
  .bento-card img,
  .work-grid img,
  .btn {
    animation: none;
    transition: none;
  }
}

.services,
.work,
.about {
  padding-top: 5rem;
}

.section-heading {
  max-width: 34rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2,
.scope-copy h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
}

.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 0.8rem;
}

.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 240px;
  color: #fff;
}

.bento-card.landscape {
  grid-row: span 2;
}

.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.bento-card:hover img {
  transform: scale(1.05);
}

.bento-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 1.15rem 1.15rem 1.25rem;
  background: linear-gradient(transparent, rgba(8, 14, 11, 0.88));
}

.bento-card h3 {
  font-size: 1.45rem;
  margin: 0.15rem 0 0.35rem;
}

.bento-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.bento-card div p:first-child {
  color: #b7e08a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.scope {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.scope ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.scope li {
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 0.75rem;
}

.work-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.work-grid .tall {
  grid-row: span 2;
}

.work-grid .wide {
  grid-column: span 2;
}

.work-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-grid figure:hover img {
  transform: scale(1.04);
}

.work-grid figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.7rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 1rem;
}

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 18px;
}

.about-copy p + p {
  margin-top: 0.9rem;
}

.about-copy h2 {
  margin-bottom: 1rem;
}

.about-copy p {
  color: var(--muted);
}

.checklist {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--green);
}

.contact {
  margin: 5rem auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 2.4rem;
}

.contact .eyebrow {
  color: #b7e08a;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.9rem;
}

.email-link {
  display: inline-block;
  margin-top: 1.4rem;
  color: #d4f0ae;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  padding: 1.2rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-form .full,
.contact-form .btn,
.form-status {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid var(--green);
  border-color: transparent;
}

.contact-form .btn {
  justify-self: start;
}

.form-status {
  margin: 0;
  color: var(--green-deep);
  font-weight: 600;
}

.site-footer {
  padding: 2rem 0 2.2rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  gap: 0.55rem;
}

.footer-inner p {
  color: var(--muted);
}

.copyright {
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.1rem 1.2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .nav.open {
    display: flex;
  }

  .bento,
  .scope,
  .scope ul,
  .about,
  .contact,
  .contact-form,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .bento {
    grid-template-rows: none;
  }

  .bento-card,
  .bento-card.landscape,
  .work-grid .tall,
  .work-grid .wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 280px;
  }

  .work-grid {
    grid-auto-rows: 220px;
  }

  .about-image img {
    height: 260px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .contact {
    padding: 1.3rem;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .bento-card.landscape {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 320px;
  }

  .work-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-grid .tall,
  .work-grid .wide {
    grid-column: auto;
    grid-row: auto;
  }
}
