:root {
  --green: #274211;
  --lime: #8cff2e;
  --ink: #111;
  --body: #2f2f2f;
  --muted: #6b6b6b;
  --bg: #f8f8f8;
  --soft: #f5f5f5;
  --white: #fff;
  --dark: #111;
  --card: #fff;
  --line: rgba(17, 17, 17, 0.12);
  --radius: 18px;
  --max: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--body);
  font-family: "Manrope", "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font-family: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.03em;
  cursor: pointer;
  padding: 16px 16px 16px 28px;
  transition: transform 0.25s cubic-bezier(.12, .23, .5, 1), gap 0.25s ease, background 0.2s ease;
}
.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--ink);
}
.btn-icon svg { width: 16px; height: 16px; }
.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark .btn-icon { background: var(--white); color: var(--ink); }
.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green .btn-icon { background: var(--white); color: var(--green); }
.btn:hover { transform: translateY(-1px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 40px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
}
.wordmark img {
  height: 32px;
  width: auto;
}
.site-nav {
  display: flex;
  gap: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.site-nav a {
  text-decoration: none;
  color: var(--body);
}
.site-nav a:hover { color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 16px 8px;
}
.btn-ghost .btn-icon { display: none; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 86vh;
  padding: 40px 48px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(255,255,255,0.7), transparent 55%),
    linear-gradient(180deg, var(--bg), #f3f3f3);
}
.hero-art {
  position: absolute;
  right: -8%;
  top: -10%;
  width: min(72vw, 980px);
  height: auto;
  opacity: 0.55;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.hero-inner {
  position: relative;
  max-width: 820px;
  z-index: 1;
}
.orbit {
  --mark: 90px;
  --orbit: 186px;
  width: 240px;
  height: 156px;
  margin: 4px 0 32px;
  position: relative;
}
.orbit-spin {
  position: absolute;
  left: 12px;
  top: -6px;
  width: var(--orbit);
  height: var(--orbit);
  animation: orbit-spin 7.5s linear infinite;
}
.orbit-arm {
  position: absolute;
  inset: 0;
  transform: rotate(var(--a));
}
.orbit-mark,
.orbit-trail {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--mark);
  height: var(--mark);
  margin-left: calc(var(--mark) / -2);
  border-radius: 50%;
}
.orbit-mark {
  z-index: 5;
  overflow: hidden;
  background: #0c1a08;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  animation: orbit-counter 7.5s linear infinite;
}
.orbit-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.orbit-trail {
  background: #274211;
}
.orbit-trail.t1 { background: #274211; opacity: 0.92; }
.orbit-trail.t2 { background: #35561c; opacity: 0.62; }
.orbit-trail.t3 { background: #456b26; opacity: 0.38; }
.orbit-trail.t4 { background: #5a8034; opacity: 0.2; }
@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}
@keyframes orbit-counter {
  to { transform: rotate(-360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-spin,
  .orbit-mark { animation: none; }
  .orbit-spin { transform: rotate(28deg); }
}
.hero h1 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
  max-width: 16ch;
}
.lede {
  margin: 0 0 16px;
  max-width: 58ch;
  font-size: 18px;
  color: var(--body);
}
.meta {
  margin: 0 0 28px;
  font-size: 15px;
  font-style: italic;
  color: var(--muted);
}

/* Marquees */
.logo-marquee,
.skill-marquee,
.stat-marquee {
  overflow: hidden;
}
.proof-bar {
  margin: 0;
  padding: 18px 48px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--body);
  background: #ececec;
  border-top: 1px solid var(--line);
}
.skill-marquee,
.stat-marquee {
  background: var(--ink);
  color: var(--white);
  padding: 22px 0;
  border: 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}
.logo-marquee img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.skill-group,
.stat-group {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
  gap: 28px;
}
.sep { color: var(--lime); font-size: 16px; }
.stat { white-space: nowrap; padding-right: 48px; }
.stat strong { color: var(--lime); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Projects */
.projects {
  background: #0d0d0d;
  color: #fff;
  padding: 80px 48px 64px;
}
.eyebrow {
  margin: 0 0 12px;
  color: #8a9a7a;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.projects h2,
.help h2,
.why h2,
.faq h2,
.about h2,
.site-footer h2 {
  margin: 0;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.045em;
  color: inherit;
}
.section-head { margin-bottom: 48px; }
.project-featured,
.project-row {
  display: grid;
  gap: 28px;
}
.project-featured {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 48px;
}
.project-row {
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 36px;
}
.project-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.project-card h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.project-card p {
  margin: 0 0 8px;
  color: #b7b7b7;
  font-size: 15px;
  max-width: 42ch;
}
.project-media {
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a1a;
}
.project-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.project-card:hover .project-media img { transform: scale(1.03); }

/* Help */
.help {
  padding: 80px 48px 40px;
}
.help-intro {
  margin-bottom: 48px;
  max-width: 720px;
}
.help-intro p {
  margin: 16px 0 0;
  font-size: 18px;
  max-width: 52ch;
}
.eyebrow.light { color: var(--muted); }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.offer-card {
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}
.offer-card.featured {
  background: var(--green);
  color: #f3f7ee;
}
.offer-card.featured h3,
.offer-card.featured .offer-kicker { color: #fff; }
.offer-card.featured .offer-meta { color: #c5d4b4; }
.offer-kicker {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.offer-card h3 {
  margin: 0 0 12px;
  font-size: 28px;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.offer-card p { margin: 0 0 16px; }
.offer-meta {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Accordion */
.accordion { display: flex; flex-direction: column; }
.acc-item {
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}
.acc-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item .num {
  color: var(--muted);
  min-width: 42px;
  font-size: 16px;
}
.acc-item summary span:nth-last-child(2),
.acc-item summary > span:not(.num):not(.plus) { flex: 1; }
.plus {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  flex: none;
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.plus::before { width: 12px; height: 1.5px; }
.plus::after { width: 1.5px; height: 12px; }
.acc-item[open] .plus::after { display: none; }
.acc-item p,
.acc-item ul {
  margin: 0 0 18px;
  color: var(--body);
  max-width: 70ch;
}
.acc-item ul { padding-left: 18px; }

/* Why */
.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 40px 48px 80px;
}
.why .eyebrow { display: flex; align-items: center; gap: 8px; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3d7a1f;
  display: inline-block;
}
.why-left { position: sticky; top: 110px; align-self: start; }
.why-cards { display: grid; gap: 16px; }
.why-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.04);
}
.why-card img {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
}
.why-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.why-card p { margin: 0; }

/* FAQ */
.faq { padding: 80px 48px; }
.faq-head { margin-bottom: 28px; }

/* About */
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  padding: 40px 48px 80px;
  align-items: center;
}
.about-copy p { max-width: 54ch; }
.mail-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}
.mail-link:hover { color: var(--ink); }
.about-photo {
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.footer-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.footer-mail {
  color: #fff;
  font-weight: 600;
}

/* Case study */
.case {
  padding: 40px 48px 80px;
  max-width: 920px;
}
.case .eyebrow a { color: var(--green); text-decoration: none; }
.case h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
}
.case-hero {
  width: 100%;
  border-radius: 20px;
  margin: 28px 0 40px;
}
.case-body h2 {
  margin: 36px 0 12px;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.case-body p { max-width: 68ch; }
.case-next {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}
.case-next a { text-decoration: none; color: var(--green); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #ececec;
  padding: 72px 48px 28px;
}
.footer-top h2 {
  color: #fff;
  margin-bottom: 36px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.site-footer h3 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.35;
}
.footer-label {
  margin: 0 0 6px;
  color: #8d8d8d;
  font-size: 14px;
}
.site-footer a { color: #fff; text-underline-offset: 3px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 14px;
}
.footer-brand {
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 18px;
}
.back-top {
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

/* 404 */
.not-found {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 80px 24px;
}
.not-found p { color: var(--muted); }

@media (max-width: 1100px) {
  .project-featured,
  .project-row,
  .help-intro,
  .offer-grid,
  .why,
  .about,
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .why-left { position: static; }
}

@media (max-width: 809px) {
  .site-header,
  .hero,
  .projects,
  .help,
  .why,
  .faq,
  .about,
  .site-footer,
  .case,
  .proof-bar {
    padding-left: 24px;
    padding-right: 24px;
  }
  .site-header { flex-wrap: wrap; }
  .site-nav { width: 100%; order: 3; gap: 18px; font-size: 15px; }
  .site-header .btn { padding: 10px 10px 10px 16px; }
  .site-header .btn-icon { width: 32px; height: 32px; }
  .hero { padding-top: 16px; }
  .hero h1 { font-size: 40px; max-width: none; }
  .skill-group, .stat-group { font-size: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
