:root {
  --ink: #171a18;
  --paper: #f5f7f4;
  --muted: #657069;
  --line: #d3dad5;
  --green: #2f6a4d;
  --lime: #cce86b;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Arial, system-ui, sans-serif;
  letter-spacing: 0;
}
a { color: inherit; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 14px; font-weight: 650; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.7); font-size: 12px; }
nav { display: flex; gap: 30px; }
nav a { text-decoration: none; font-size: 14px; color: rgba(255,255,255,.82); }
nav a:hover { color: var(--white); }

.hero { position: relative; min-height: min(860px, 94vh); color: var(--white); display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: url('/assets/development-workspace.jpg') center 52% / cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,12,10,.86) 0%, rgba(8,12,10,.58) 48%, rgba(8,12,10,.18) 100%); }
.hero-content { position: relative; z-index: 2; width: min(1080px, 86vw); padding: 150px 4vw 100px; }
.availability { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; font-size: 14px; color: rgba(255,255,255,.82); }
.availability span { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(204,232,107,.13); }
h1 { max-width: 1000px; margin: 0; font-size: clamp(60px, 7.2vw, 108px); line-height: .96; font-weight: 720; }
.hero-copy { max-width: 610px; margin: 34px 0; font-size: clamp(18px, 2vw, 24px); line-height: 1.55; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; text-decoration: none; font-size: 15px; font-weight: 650; }
.button-primary { color: #172016; background: var(--lime); }
.button-primary:hover { background: #ddf58c; }
.button-secondary { border: 1px solid rgba(255,255,255,.55); color: var(--white); }
.button-secondary:hover { background: rgba(255,255,255,.1); }
.hero-next { position: absolute; z-index: 2; right: 4vw; bottom: 34px; display: flex; gap: 14px; text-decoration: none; font-size: 13px; color: rgba(255,255,255,.75); }

.section { padding: 110px 6vw; }
.intro { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; align-items: end; }
.eyebrow { margin: 0 0 22px; color: var(--green); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
h2 { margin: 0; font-size: clamp(38px, 5vw, 72px); line-height: 1.08; font-weight: 680; }
.section-lead { margin: 0 0 8px; max-width: 600px; color: var(--muted); font-size: 20px; line-height: 1.7; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services-grid article { min-width: 0; padding: 42px 3vw 52px; border-right: 1px solid var(--line); }
.services-grid article:last-child { border-right: 0; }
.service-number { color: var(--green); font: 700 12px ui-monospace, monospace; }
.services-grid h3 { min-height: 58px; margin: 30px 0 14px; font-size: 22px; line-height: 1.2; }
.services-grid p, .services-grid li { color: var(--muted); line-height: 1.7; }
.services-grid ul { list-style: none; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.services-grid li { margin: 7px 0; font-size: 14px; }
.services-grid li::before { content: "—"; margin-right: 8px; color: var(--green); }

.fit { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; background: #e8ede9; }
.fit-list { border-top: 1px solid #bdc8c0; }
.fit-list div { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid #bdc8c0; }
.fit-list span { font-weight: 700; }
.fit-list p { margin: 0; color: var(--muted); line-height: 1.6; }

.process { display: grid; grid-template-columns: .75fr 1.25fr; gap: 10vw; }
.process-heading { position: sticky; top: 40px; align-self: start; }
.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--green); font: 700 12px ui-monospace, monospace; padding-top: 4px; }
.process-list h3 { margin: 0 0 8px; font-size: 22px; }
.process-list p { margin: 0; color: var(--muted); line-height: 1.65; }

.principles { display: flex; justify-content: space-around; align-items: center; gap: 24px; padding: 34px 5vw; overflow: hidden; color: var(--white); background: var(--green); }
.principles p { margin: 0; white-space: nowrap; font-size: clamp(18px, 2.2vw, 30px); font-weight: 650; }
.principles span { color: var(--lime); }

.contact { color: var(--white); background: #101311; }
.contact .eyebrow { color: var(--lime); }
.contact h2 { max-width: 900px; }
.contact > p:not(.eyebrow) { max-width: 680px; margin: 30px 0 48px; color: #aab4ad; font-size: 18px; line-height: 1.7; }
.email-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 980px; padding: 24px 0; border-top: 1px solid #465049; border-bottom: 1px solid #465049; text-decoration: none; font-size: clamp(20px, 3vw, 42px); font-weight: 620; overflow-wrap: anywhere; }
.email-link span { color: var(--lime); }

footer { display: flex; justify-content: space-between; padding: 28px 4vw; color: #849087; background: #101311; border-top: 1px solid #2b322d; font-size: 13px; }

@media (max-width: 900px) {
  .site-header { min-height: 64px; }
  nav { gap: 16px; }
  .hero { min-height: 780px; }
  .hero-content { width: 100%; padding: 130px 6vw 115px; }
  .hero-overlay { background: rgba(8,12,10,.67); }
  .intro, .fit, .process { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid article:nth-child(2) { border-right: 0; }
  .services-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process-heading { position: static; }
}

@media (max-width: 560px) {
  .site-header { padding: 0 18px; }
  .brand > span:last-child { display: none; }
  nav a { font-size: 13px; }
  .hero { min-height: 720px; }
  h1 { font-size: 48px; line-height: 1; }
  .hero-copy { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-next { display: none; }
  .section { padding: 78px 22px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid article { border-right: 0; border-bottom: 1px solid var(--line); padding: 36px 22px; }
  .services-grid article:last-child { border-bottom: 0; }
  .fit-list div { grid-template-columns: 1fr; gap: 8px; }
  .principles { justify-content: flex-start; overflow-x: auto; }
  .email-link { font-size: 19px; }
  footer { gap: 20px; flex-direction: column; }
}

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