:root {
  --black: #0b0c0d;
  --graphite: #141618;
  --graphite-2: #101315;
  --slate: #2a2d31;
  --line: rgba(167, 172, 179, 0.16);
  --line-strong: rgba(45, 178, 109, 0.46);
  --text: #ededee;
  --muted: #a7acb3;
  --muted-2: #7e858c;
  --green: #2db26d;
  --green-soft: rgba(45, 178, 109, 0.16);
  --max-width: 1440px;
  --page-pad: clamp(24px, 4vw, 58px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 18%, rgba(45, 178, 109, 0.08), transparent 30%),
    radial-gradient(circle at 12% 42%, rgba(167, 172, 179, 0.05), transparent 28%),
    var(--black);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 58%);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.site-header,
.section-shell,
.site-footer {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding-inline: var(--page-pad);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: clamp(18px, 3vw, 54px);
  align-items: center;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 12, 13, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-width: 0;
}

.brand-logo {
  width: clamp(218px, 24vw, 318px);
  max-width: 100%;
  height: auto;
}

.work-items svg path,
.service-card svg path,
.contact-details svg path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.site-nav {
  display: flex;
  gap: clamp(24px, 4vw, 68px);
  color: var(--text);
  font-size: 15px;
}

.site-nav a,
.site-footer nav a,
.text-link {
  color: var(--text);
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-footer nav a:hover,
.text-link:hover {
  color: var(--green);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 30px;
  border: 1px solid var(--green);
  border-radius: 6px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(45, 178, 109, 0.1), rgba(45, 178, 109, 0.02));
  font-weight: 650;
  gap: 18px;
  white-space: nowrap;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.button:hover {
  border-color: rgba(237, 237, 238, 0.84);
  background: rgba(45, 178, 109, 0.14);
  transform: translateY(-1px);
}

.button-header {
  min-height: 52px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: center;
  min-height: calc(100vh - 112px);
  padding-block: clamp(72px, 10vw, 132px);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--green);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(48px, 6.6vw, 82px);
  font-weight: 430;
  line-height: 1.08;
}

h1::after {
  color: var(--green);
  content: ".";
}

.hero-text {
  max-width: 620px;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 42px;
  align-items: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--text);
  font-weight: 540;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  overflow: hidden;
}

.grid-field {
  position: absolute;
  inset: 2% 0 0 2%;
  opacity: 0.78;
  background:
    linear-gradient(rgba(45, 178, 109, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 178, 109, 0.11) 1px, transparent 1px),
    radial-gradient(circle, rgba(45, 178, 109, 0.4) 1px, transparent 1.5px);
  background-size:
    64px 64px,
    64px 64px,
    28px 28px;
  mask-image: radial-gradient(circle at 46% 46%, rgba(0, 0, 0, 0.9), transparent 68%);
}

.hero-mark {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 38%;
  width: min(34vw, 360px);
  max-width: 78%;
  filter: drop-shadow(0 0 32px rgba(45, 178, 109, 0.15));
  transform: translate(-50%, -50%);
}

.signal-lines {
  position: absolute;
  inset: auto 22% 12% 8%;
  height: 190px;
  opacity: 0.34;
}

.signal-lines span {
  position: absolute;
  right: 0;
  left: 0;
  height: 68px;
  border: 1px solid rgba(45, 178, 109, 0.3);
  border-top: 0;
  border-right: 0;
  border-radius: 0 0 0 42px;
}

.signal-lines span:nth-child(1) {
  top: 0;
}

.signal-lines span:nth-child(2) {
  top: 58px;
  left: 14%;
}

.signal-lines span:nth-child(3) {
  top: 116px;
  left: 28%;
}

.hero-notes {
  position: absolute;
  z-index: 2;
  top: 22%;
  right: 0;
  display: grid;
  gap: 52px;
  width: 210px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  list-style: none;
}

.hero-notes li {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 0 18px;
  align-items: start;
}

.hero-notes span {
  width: 7px;
  height: 7px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--green);
}

.hero-notes strong,
.hero-notes small {
  grid-column: 2;
}

.hero-notes strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-notes small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.mission,
.work-strip,
.services,
.approach,
.contact {
  scroll-margin-top: 112px;
  border-bottom: 1px solid var(--line);
}

.mission {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: clamp(40px, 8vw, 108px);
  align-items: center;
  padding-block: clamp(72px, 10vw, 104px);
}

.mission > p {
  max-width: 660px;
  padding-left: clamp(32px, 5vw, 76px);
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 21px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 430;
  line-height: 1.12;
}

.work-strip {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding-block: 54px;
}

.work-intro p:last-child {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.work-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.work-items article,
.principles article {
  min-width: 0;
  padding-inline: clamp(20px, 2.5vw, 34px);
  border-left: 1px solid var(--line);
}

.work-items svg,
.service-card svg,
.contact-details svg {
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  color: var(--green);
}

.work-items svg path,
.service-card svg path,
.contact-details svg path {
  stroke-width: 1.6;
}

.work-items p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
}

.services {
  padding-block: clamp(72px, 8vw, 104px) 54px;
}

.services h2 {
  margin-bottom: 24px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.service-card {
  position: relative;
  min-height: 284px;
  padding: 38px 30px 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(20, 22, 24, 0.42);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.service-card:hover {
  border-color: var(--line-strong);
  background:
    linear-gradient(145deg, rgba(45, 178, 109, 0.07), rgba(255, 255, 255, 0.01)),
    rgba(20, 22, 24, 0.52);
  transform: translateY(-2px);
}

.service-card h3 {
  max-width: 240px;
  margin-bottom: 18px;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.12;
}

.service-card p {
  max-width: 290px;
  color: var(--muted);
}

.service-card > span {
  position: absolute;
  right: 28px;
  bottom: 26px;
  color: var(--text);
}

.approach {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.55fr);
  gap: clamp(38px, 5vw, 72px);
  padding-block: 0 62px;
}

.approach-title {
  padding-top: 18px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.principles h3 {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 650;
}

.principles p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(260px, 0.9fr) auto;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-block: 52px 0;
  padding: clamp(34px, 4vw, 50px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(20, 22, 24, 0.32);
}

.contact-copy h2 {
  margin-bottom: 10px;
}

.contact-copy p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 22px;
  padding-left: clamp(28px, 4vw, 54px);
  border-left: 1px solid var(--line);
  color: var(--text);
  font-style: normal;
}

.contact-details a,
.contact-details span {
  display: inline-flex;
  gap: 18px;
  align-items: center;
}

.contact-details svg {
  width: 23px;
  height: 23px;
  margin: 0;
  flex: 0 0 auto;
}

.contact-button {
  justify-self: end;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(260px, 0.8fr) auto auto;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-block: 48px;
  color: var(--muted);
}

.footer-brand .brand-logo {
  width: clamp(214px, 22vw, 286px);
}

.site-footer p {
  max-width: 360px;
  margin-bottom: 0;
}

.site-footer nav {
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.copyright {
  text-align: right;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

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

  .hero-visual {
    min-height: 460px;
  }

  .hero-mark {
    left: 36%;
    max-width: 360px;
  }

  .card-grid,
  .work-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .approach,
  .contact,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 0;
  }

  .contact-button {
    justify-self: start;
  }

  .copyright {
    text-align: left;
  }
}

@media (max-width: 720px) {
  :root {
    --page-pad: 20px;
  }

  .site-header {
    min-height: 84px;
  }

  .brand {
    width: 252px;
    max-width: calc(100vw - 40px);
  }

  .brand-logo {
    width: 100%;
  }

  .button-header {
    display: none;
  }

  .hero {
    min-height: 0;
    padding-block: 64px 42px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-mark {
    top: 45%;
    left: 50%;
    max-width: 260px;
    width: 66vw;
  }

  .hero-notes {
    position: relative;
    top: auto;
    right: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    width: auto;
    padding-top: 300px;
  }

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

  .mission > p,
  .contact-details {
    padding-left: 0;
    border-left: 0;
  }

  .card-grid,
  .work-items,
  .principles {
    grid-template-columns: 1fr;
  }

  .work-items article,
  .principles article {
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-card {
    min-height: 250px;
  }

  .contact {
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
