:root {
  --green: #3ddc84;
  --black: #050505;
  --white: #ffffff;
  --ink: #090909;
  --muted: rgba(9, 9, 9, 0.72);
  --max: 1180px;
  --gutter: clamp(22px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--green);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.48;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: #fff;
  padding: 12px 18px;
  color: #000;
}
.skip-link:focus { top: 12px; }

.site-shell { overflow: hidden; }
.container { width: min(var(--max), calc(100% - (var(--gutter) * 2))); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 10;
  padding: 30px 0 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .19em;
}
.logo::before { content: ""; width: 80px; height: 7px; background: var(--white); display: block; }
.site-nav { display: flex; gap: 26px; align-items: center; font-size: 13px; }
.site-nav a { text-decoration: none; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible { border-color: currentColor; }
.nav-cta { padding: 11px 16px; background: var(--black); color: var(--white); }
.nav-cta:hover, .nav-cta:focus-visible { background: var(--white); color: var(--black); border-color: transparent !important; }

.hero { padding: clamp(68px, 9vw, 135px) 0 clamp(110px, 13vw, 190px); }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(45px, 8vw, 115px); align-items: center; }
.eyebrow {
  display: inline-block;
  margin: 0 0 24px;
  background: var(--white);
  padding: 4px 9px 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 700px;
  margin-bottom: 28px;
  font-size: clamp(50px, 6.4vw, 94px);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 400;
  text-wrap: balance;
}
.hero-copy { max-width: 640px; margin-bottom: 35px; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 17px 22px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.button:hover, .button:focus-visible { background: var(--white); color: var(--black); transform: translateY(-2px); }
.button-light { background: var(--green); color: var(--black); border-color: var(--green); }
.button-light:hover, .button-light:focus-visible { background: var(--white); border-color: var(--white); }
.microcopy { margin: 0; max-width: 260px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.hero-image-wrap { position: relative; }
.hero-image { width: 100%; height: clamp(500px, 55vw, 680px); object-fit: cover; filter: grayscale(1); }
.hero-image-wrap::after { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid rgba(0,0,0,.45); z-index: -1; }

.section { padding: clamp(105px, 13vw, 190px) 0; }
.section-tight { padding-top: 30px; }
.section-heading { max-width: 760px; margin-bottom: clamp(52px, 7vw, 90px); }
.kicker { display: block; margin-bottom: 7px; font-size: 18px; font-weight: 700; }
h2 { margin-bottom: 25px; font-size: clamp(42px, 5.2vw, 74px); line-height: .98; letter-spacing: -.045em; font-weight: 400; text-wrap: balance; }
.section-heading > p { max-width: 690px; font-size: 18px; }

.challenge-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; margin-bottom: 50px; }
.challenge-intro .lead { font-size: clamp(20px, 2.1vw, 28px); line-height: 1.35; }
.challenge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.challenge-card { min-height: 285px; padding: 30px; background: var(--black); color: var(--white); display: flex; flex-direction: column; }
.challenge-card h3 { margin: 16px 0 18px; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.challenge-card p { margin-bottom: 0; color: rgba(255,255,255,.8); }
.compass { width: 30px; height: 30px; display: inline-grid; place-items: center; border: 2px solid var(--green); border-radius: 50%; color: var(--green); font-size: 19px; line-height: 1; transform: rotate(-4deg); }

.project-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(38px, 8vw, 110px); align-items: end; }
.project-image { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.project-details { padding-bottom: 5px; }
.project-details ul { margin: 0 0 48px; padding-left: 18px; line-height: 1.9; }
.project-label { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 14px; background: var(--white); font-size: 13px; }
.project-arrow { font-size: 48px; line-height: 1; font-weight: 300; }

.services-head { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 80px; align-items: end; margin-bottom: 55px; }
.services-price { background: var(--white); padding: 12px 16px; font-size: clamp(20px, 2vw, 28px); max-width: 330px; }
.price-note { max-width: 440px; margin: 12px 0 0; font-size: 12px; }
.service-stack { display: grid; gap: 34px; }
.service-card { position: relative; background: var(--black); color: var(--white); padding: clamp(30px, 4vw, 56px); }
.service-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.service-name { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.service-tagline { margin: 15px 0 34px; font-size: clamp(24px, 3vw, 41px); line-height: 1.05; font-weight: 400; letter-spacing: -.025em; }
.service-label { margin-bottom: 17px; color: var(--green); font-size: 12px; font-weight: 700; }
.service-list { margin: 0 0 34px; padding: 0; list-style: none; }
.service-list li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.88); }
.service-list strong { color: var(--white); }
.service-actions { display: flex; justify-content: flex-end; }

.about-grid { display: grid; grid-template-columns: 1.5fr .5fr; gap: clamp(45px, 8vw, 110px); align-items: center; }
.about-copy { max-width: 760px; font-size: 17px; }
.about-copy p:last-of-type { margin-bottom: 30px; }
.signature { display: flex; flex-direction: column; align-items: flex-end; margin-top: 36px; font-size: 13px; }
.signature strong { font-size: 15px; }
.about-photo { width: 100%; max-width: 360px; aspect-ratio: .78 / 1; object-fit: cover; filter: grayscale(1); justify-self: end; }

.final-cta { padding: clamp(90px, 11vw, 160px) 0; }
.final-cta-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px 90px; align-items: end; }
.final-cta h2 { max-width: 760px; }
.final-cta p { max-width: 620px; font-size: 18px; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-email { font-size: 13px; }

.site-footer { background: var(--black); color: var(--white); padding: 42px 0; }
.footer-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; max-width: 450px; }
.footer-links a { color: rgba(255,255,255,.76); font-size: 12px; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--green); }
.footer-logo { color: var(--white); }
.footer-logo::before { background: var(--white); }

.legal-page { min-height: 72vh; padding: 90px 0 130px; }
.legal-page h1 { font-size: clamp(48px, 6vw, 82px); }
.legal-copy { max-width: 820px; }
.legal-copy h2 { margin-top: 48px; font-size: 30px; }
.legal-copy p, .legal-copy li { font-size: 16px; line-height: 1.7; }
.back-link { display: inline-block; margin-bottom: 38px; font-weight: 700; }

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

@media (max-width: 850px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .hero-grid, .project-grid, .about-grid, .final-cta-inner, .services-head, .challenge-intro { grid-template-columns: 1fr; }
  .hero-image-wrap { width: 80%; margin-left: auto; }
  .challenge-grid { grid-template-columns: 1fr; }
  .challenge-card { min-height: 0; }
  .project-details { padding-bottom: 0; }
  .about-photo { justify-self: start; width: min(72%, 330px); }
  .signature { align-items: flex-start; }
  .services-head { align-items: start; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .site-header { padding-top: 22px; }
  .nav-cta { padding: 10px 12px; font-size: 11px; }
  .hero { padding-top: 62px; }
  h1 { font-size: 49px; }
  .hero-image-wrap { width: 100%; }
  .hero-image { height: 440px; }
  .hero-image-wrap::after { inset: 10px -10px -10px 10px; }
  .section { padding: 95px 0; }
  h2 { font-size: 43px; }
  .service-card { padding: 30px 23px; }
  .service-actions { justify-content: stretch; }
  .service-actions .button { width: 100%; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
