@font-face {
  font-family: "Space Mono";
  src: url("fonts/SpaceMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("fonts/SpaceMono-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-VariableFont_wght.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black:  #000000;
  --white:  #ffffff;
  --purple: #c1beff;
  --green:  #00ffa3;

  --mute-on-white:  rgba(0,0,0,.62);
  --mute-on-black:  rgba(255,255,255,.65);
  --rule-on-white:  rgba(0,0,0,.16);
  --rule-on-black:  rgba(255,255,255,.22);

  --font-head: "Space Mono", "Courier New", Courier, monospace;
  --font-ui:   "Space Grotesk", "Helvetica Neue", Arial, sans-serif;

  --t-h1:      clamp(34px, 4.6vw, 64px);
  --t-h2:      clamp(26px, 3vw, 42px);
  --t-h3:      17px;
  --t-mission: clamp(22px, 2.6vw, 36px);
  --t-stat:    clamp(40px, 4.6vw, 64px);
  --t-body:    17px;
  --t-small:   14px;
  --t-eyebrow: 12px;

  --pad-x: clamp(24px, 6vw, 80px);
  --section-y: clamp(64px, 9vw, 120px);
  --header-h: 72px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--green); color: var(--black); }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.section--purple :focus-visible,
.mission :focus-visible { outline-color: var(--black); }

section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
a.sr-only:focus {
  width: auto; height: auto; clip: auto; margin: 0;
  position: fixed !important; top: 8px; left: 8px; z-index: 100;
  background: var(--green); color: var(--black);
  padding: 10px 16px; font-weight: 500;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }

.section--white  { background: var(--white);  color: var(--black); }
.section--black  { background: var(--black);  color: var(--white); }
.section--purple { background: var(--purple); color: var(--black); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.measure { max-width: 640px; }

h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

.t-h2 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: var(--t-h2);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}

.section p { color: inherit; }
.section--white .two-col > div > p,
.section--purple .two-col > div > p { color: rgba(0,0,0,.78); }
.section--black .two-col > div > p { color: var(--mute-on-black); }
.section--black strong { color: var(--white); font-weight: 600; }

.text-link { text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { background: var(--green); }

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  padding: 16px 26px;
  border: 2px solid var(--black);
  transition: transform .14s var(--ease), background .14s var(--ease), color .14s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); }
.btn:active { transform: translate(0, 0); }

.btn--black { background: var(--black); color: var(--white); }
.btn--black:hover { box-shadow: 4px 4px 0 0 var(--green); }

.btn--green { background: var(--green); color: var(--black); border-color: var(--green); }
.btn--green:hover { box-shadow: 4px 4px 0 0 var(--purple); }

.btn--ghost-black { background: transparent; color: var(--black); }
.btn--ghost-black:hover { box-shadow: 4px 4px 0 0 var(--black); }

.btn--big { font-size: 16px; padding: 20px 32px; }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
}
.site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark img { width: 132px; height: auto; }

.site-nav { display: flex; gap: clamp(16px, 2.4vw, 32px); }
.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .14s var(--ease), color .14s var(--ease);
}
.site-nav a:hover { border-bottom-color: var(--green); color: var(--green); }

.site-header__cta { padding: 12px 20px; font-size: 13px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  min-height: calc(100svh - var(--header-h));
}
.hero__green {
  background: var(--green);
  padding: clamp(48px, 7vw, 96px) clamp(32px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__headline {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: var(--t-h1);
  line-height: 1.04;
  letter-spacing: -.015em;
  margin-bottom: 28px;
}
.hero__line { display: block; }
.hero__sub {
  max-width: 560px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(0,0,0,.78);
  margin: 0;
}

.hero__purple {
  background: var(--purple);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(16px, 2.5vw, 32px);
  padding: clamp(32px, 5vw, 64px);
  align-items: center;
  justify-items: center;
}
.hero__shape { background: var(--black); width: 100%; aspect-ratio: 1; }
.hero__shape--circle { border-radius: 50%; }
.hero__shape--tall { aspect-ratio: auto; height: 100%; }

.marquee {
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  padding: 18px 0;
  border-top: 2px solid var(--black);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  white-space: nowrap;
}
.marquee__item {
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: .04em;
}
.marquee__dot {
  width: 10px; height: 10px;
  background: var(--green);
  border-radius: 50%;
  flex: none;
}
.marquee__dot:nth-of-type(4n) { background: var(--purple); border-radius: 0; }

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid var(--black);
}
.service {
  padding: 28px;
  border: 0 solid var(--black);
  transition: background .14s var(--ease);
}
.service:nth-child(odd)  { border-right-width: 2px; }
.service:nth-child(-n+2) { border-bottom-width: 2px; }
.service:hover { background: var(--green); }
.service__title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: var(--t-h3);
  margin-bottom: 10px;
}
.service__desc { font-size: var(--t-small); line-height: 1.55; color: var(--mute-on-white); margin: 0; }
.service:hover .service__desc { color: rgba(0,0,0,.75); }

.two-col--story { align-items: center; }
.pull-quote {
  margin: 0;
  border-left: 4px solid var(--green);
  padding-left: clamp(24px, 3vw, 40px);
}
.pull-quote__mark {
  font-family: var(--font-head);
  font-size: clamp(72px, 8vw, 120px);
  line-height: .6;
  color: var(--green);
  margin-bottom: 8px;
}
.pull-quote blockquote {
  margin: 0 0 20px;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.5;
  color: var(--white);
}
.pull-quote figcaption {
  font-size: var(--t-small);
  color: var(--mute-on-black);
}

.story-aside { display: grid; gap: clamp(40px, 5vw, 64px); }

.photo { margin: 0; }
.photo img { width: 100%; height: auto; }
.photo--green  { box-shadow: 12px 12px 0 0 var(--green); }
.photo--purple { box-shadow: 12px 12px 0 0 var(--purple); }
.photo--below { margin-top: clamp(36px, 4vw, 56px); }

.steps { list-style: none; margin: 0; padding: 0; }
.step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 2px solid var(--black);
}
.step:first-child { padding-top: 0; }
.step__num {
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--black);
  background: var(--green);
  align-self: flex-start;
  padding: 6px 10px;
  flex: none;
}
.step__title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: var(--t-h3);
  margin-bottom: 6px;
}
.step__desc { font-size: var(--t-small); line-height: 1.55; color: var(--mute-on-white); margin: 0; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  margin-top: 56px;
}
.stat { border-top: 4px solid var(--black); padding-top: 20px; }
.stat__n {
  font-family: var(--font-head);
  font-size: var(--t-stat);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
.stat__l { font-size: var(--t-small); line-height: 1.5; color: rgba(0,0,0,.7); margin: 0; }

.impact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
  margin-top: 56px;
}
.card { padding: 32px; }
.card__label {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: var(--t-h3);
  margin-bottom: 12px;
}
.card p { font-size: var(--t-small); line-height: 1.55; margin: 0; }
.card--green   { background: var(--green); color: var(--black); }
.card--white   { background: var(--white); color: var(--black); }
.card--black   { background: var(--black); color: var(--white); }
.card--black p { color: var(--mute-on-black); }
.card--outline { background: transparent; border: 2px solid var(--black); color: var(--black); }

.mission {
  background: var(--green);
  padding: var(--section-y) 0;
}
.mission__text {
  font-family: var(--font-head);
  font-size: var(--t-mission);
  line-height: 1.35;
  max-width: 980px;
  margin: 0;
}

.info-boxes { display: grid; gap: 16px; }
.info-box { border: 2px solid var(--black); padding: 24px 28px; }
.info-box__label {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 15px;
  margin-bottom: 8px;
}
.info-box p { font-size: var(--t-small); line-height: 1.55; color: var(--mute-on-white); margin: 0; }

.rates-table-wrap { margin-top: 48px; overflow-x: auto; }
.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-small);
}
.rates-table th, .rates-table td {
  text-align: left;
  padding: 18px 16px;
  border-bottom: 1px solid var(--rule-on-black);
}
.rates-table thead th {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--t-eyebrow);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute-on-black);
  border-bottom: 2px solid var(--white);
}
.rates-table tbody th {
  font-weight: 500;
  color: var(--white);
}
.rates-table__time {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--mute-on-black);
  margin-top: 2px;
}
.rates-table td {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--white);
}
.rates-table__highlight th,
.rates-table__highlight td { background: var(--green); color: var(--black) !important; }
.rates-table__highlight .rates-table__time { color: rgba(0,0,0,.65); }

.rates-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: 48px;
}
.rates-note { border-top: 2px solid var(--green); padding-top: 18px; }
.rates-note__label {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 15px;
  margin-bottom: 8px;
}
.rates-note p { font-size: 13px; line-height: 1.6; color: var(--mute-on-black); margin: 0; }

.section--contact { border-top: 2px solid var(--black); }
.contact-copy { max-width: 720px; margin: 0 auto; text-align: center; }
.contact-copy p { color: rgba(0,0,0,.78); }
.contact-copy .text-link { color: var(--black); font-weight: 600; }

.footer {
  background: var(--black);
  color: var(--white);
  border-top: 2px solid var(--green);
  padding: 56px 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__logo { width: 150px; height: auto; margin-bottom: 16px; }
.footer__brand p { font-size: 13px; color: var(--mute-on-black); line-height: 1.6; margin: 0; }
.footer__marks { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.footer__marks img { height: 72px; width: auto; }
.footer__links { text-align: right; }
.footer__links a {
  display: block;
  font-size: 14px;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 8px;
}
.footer__links a:hover { color: var(--green); }
.footer__copy { font-size: 12px; color: rgba(255,255,255,.4); margin: 16px 0 0; }

@media (max-width: 960px) {
  .site-nav { display: none; }

  .hero { grid-template-columns: 1fr; }
  .hero__purple {
    min-height: 280px;
    grid-template-rows: 1fr;
    grid-template-columns: repeat(4, 1fr);
  }
  .hero__shape--tall { height: auto; aspect-ratio: 1; }

  .two-col { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 32px; }
  .impact-cards { grid-template-columns: 1fr; }
  .rates-notes { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__links { text-align: left; }
}

@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .service:nth-child(odd) { border-right-width: 0; }
  .service:not(:last-child) { border-bottom-width: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero__line, .hero__shape { opacity: 1 !important; transform: none !important; }
}
