:root {
  --ink: #111111;
  --paper: #fbfaf6;
  --muted: #edeae2;
  --line: #d8d2c6;
  --subtle: #665f53;
  --green: #9cff3c;
  --cyan: #39d5ff;
  --coral: #ff6b4a;
  --amber: #f7b733;
  --white: #ffffff;
  --radius: 8px;
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  letter-spacing: 0;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(18px, 4vw, 48px);
  color: var(--white);
  background: rgba(17, 17, 17, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.topbar.scrolled {
  color: var(--ink);
  background: rgba(251, 250, 246, 0.94);
  border-color: rgba(17, 17, 17, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--green);
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: var(--radius);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  opacity: 0.78;
}

.nav-links a:hover {
  opacity: 1;
}

.ghost-button,
.secondary-button,
.primary-button,
.text-link {
  border: 0;
  background: transparent;
}

.ghost-button {
  padding: 11px 18px;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #080808;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04) brightness(0.9);
}

.signal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12;
  mix-blend-mode: screen;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.42)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.5)),
    radial-gradient(circle at 72% 34%, rgba(156, 255, 60, 0.08), transparent 32%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 206px;
}

.eyebrow,
.section-kicker p,
.panel-category {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 800;
}

.eyebrow {
  color: var(--green);
  margin-bottom: 22px;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 28px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h1 em,
h2 em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

h1 em {
  color: var(--green);
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-button,
.secondary-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.primary-button {
  color: var(--ink);
  background: var(--green);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.secondary-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.secondary-button.dark {
  color: var(--ink);
  border-color: var(--line);
}

.primary-button.light {
  background: var(--white);
}

.hero-metrics {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 26px;
  width: min(var(--max), calc(100% - 36px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
}

.hero-metrics div {
  min-height: 118px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 34px;
  letter-spacing: -0.05em;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.4;
}

.section-pad {
  padding: clamp(82px, 10vw, 132px) 0;
}

.section-shell {
  width: min(var(--max), calc(100vw - 36px));
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(38px, 6vw, 88px);
  align-items: start;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--subtle);
}

.section-kicker span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.052em;
}

h2 em {
  color: #138a00;
}

.intro-copy {
  padding-top: 66px;
}

.intro-copy p {
  color: var(--subtle);
  font-size: 18px;
  line-height: 1.65;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.muted-section {
  background: var(--muted);
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 44px;
}

.text-link {
  flex: none;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-grid article {
  min-height: 255px;
  padding: 30px;
  background: var(--paper);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 38px;
  color: #0d7a00;
  font-size: 13px;
  font-weight: 900;
}

.service-grid h3,
.method-grid h3 {
  margin-bottom: 14px;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.service-grid p,
.method-grid p,
.panel-copy p,
.comparison-table span {
  color: var(--subtle);
  line-height: 1.55;
}

.project-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
}

.project-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
  border-right: 1px solid var(--line);
  padding-right: 18px;
}

.project-tab {
  width: 100%;
  min-height: 58px;
  padding: 16px;
  text-align: left;
  color: var(--subtle);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
}

.project-tab.active {
  color: var(--ink);
  background: var(--green);
  border-color: rgba(17, 17, 17, 0.14);
}

.project-panel {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 38px;
  align-items: stretch;
}

.panel-visual {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.95), rgba(17, 17, 17, 0.72)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 72px);
  border-radius: var(--radius);
}

.project-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 0;
  transform: none;
  box-shadow: none;
}

.project-image.contain-view {
  object-fit: contain;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 36%, rgba(156, 255, 60, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(17, 17, 17, 0.95), rgba(17, 17, 17, 0.72));
}

.flow-card {
  position: absolute;
  right: 12%;
  bottom: 14%;
  width: 230px;
  padding: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.flow-card span {
  display: block;
  margin-bottom: 20px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.flow-card strong {
  display: block;
  font-size: 74px;
  letter-spacing: -0.07em;
}

.panel-copy {
  padding: 10px 0;
}

.panel-category {
  color: #138a00;
  margin-bottom: 18px;
}

.panel-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.panel-copy p {
  font-size: 18px;
}

.panel-copy ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.panel-copy li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-weight: 700;
}

.method-title {
  margin-bottom: 52px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.method-grid article {
  min-height: 260px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.method-grid span {
  display: inline-block;
  margin-bottom: 44px;
  color: #0d7a00;
  font-weight: 900;
}

.comparison-section h2 {
  margin-bottom: 48px;
}

.comparison-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.table-row > * {
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 22px;
  background: var(--paper);
}

.table-head > * {
  color: var(--ink);
  background: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.table-row strong {
  color: var(--ink);
  background: var(--green);
}

.final-cta {
  min-height: 76svh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #10100f;
}

.service-page {
  background: var(--paper);
}

.service-topbar {
  color: var(--ink);
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.service-hero {
  padding: 134px 0 72px;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 35%, rgba(156, 255, 60, 0.18), transparent 26%),
    linear-gradient(135deg, #080808, #181a15 58%, #090909);
}

.service-hero .section-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: end;
}

.service-hero .section-shell > *,
.content-grid > * {
  min-width: 0;
}

.breadcrumb {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--green);
}

.service-hero h1 {
  max-width: 880px;
  margin-bottom: 24px;
}

.service-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.62;
}

.service-aside {
  padding: 26px;
  color: var(--ink);
  background: var(--green);
  border-radius: var(--radius);
}

.service-aside strong {
  display: block;
  margin-bottom: 8px;
  font-size: 34px;
  letter-spacing: -0.05em;
}

.content-section {
  padding: 82px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 60px;
  align-items: start;
}

.content-grid h2,
.content-section > .section-shell > h2 {
  font-size: clamp(34px, 4vw, 56px);
}

.rich-copy p,
.rich-copy li {
  color: var(--subtle);
  font-size: 18px;
  line-height: 1.65;
}

.rich-copy ul,
.rich-copy ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.topic-grid article {
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.topic-grid h3 {
  margin-bottom: 12px;
}

.faq-grid {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.faq-grid details {
  padding: 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-grid p {
  margin: 14px 0 0;
  color: var(--subtle);
  line-height: 1.6;
}

.internal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.internal-links a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 25% 45%, rgba(156, 255, 60, 0.28), transparent 24%),
    radial-gradient(circle at 72% 55%, rgba(57, 213, 255, 0.20), transparent 22%),
    linear-gradient(135deg, #111, #252017 46%, #111);
}

.final-content {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 36px));
  text-align: center;
}

.final-content h2 {
  margin: 0 auto 34px;
  color: var(--white);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 46px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 58px 0 34px;
}

.site-footer p {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--subtle);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  font-weight: 800;
}

.footer-links button {
  color: inherit;
  background: transparent;
  border: 0;
  font-weight: 800;
}

.copyright {
  grid-column: 1 / -1;
  font-size: 13px;
}

.lead-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(17, 17, 17, 0.56);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lead-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lead-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: 92svh;
  overflow: auto;
  padding: 32px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.34);
}

.close-button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 26px;
  line-height: 1;
}

.lead-header {
  padding-right: 46px;
  margin-bottom: 24px;
}

.lead-header h2 {
  margin: 28px 0 12px;
  font-size: clamp(32px, 5vw, 48px);
}

.lead-header p,
.success-state p {
  color: var(--subtle);
  line-height: 1.55;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--subtle);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-form .full {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.lead-form textarea {
  min-height: 104px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: #138a00;
  box-shadow: 0 0 0 3px rgba(156, 255, 60, 0.24);
}

.success-state {
  padding: 32px 0 8px;
}

.success-state strong {
  display: block;
  margin-bottom: 10px;
  font-size: 38px;
  letter-spacing: -0.045em;
}

.reveal,
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero-content {
    padding-bottom: 296px;
  }

  .hero-metrics,
  .two-col,
  .project-layout,
  .project-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-hero .section-shell,
  .content-grid,
  .topic-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-metrics {
    bottom: 18px;
  }

  .hero-metrics div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .intro-copy {
    padding-top: 0;
  }

  .section-heading-row {
    display: block;
  }

  .section-heading-row .text-link {
    margin-top: 24px;
  }

  .service-grid,
  .method-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-tabs {
    grid-template-columns: 1fr 1fr;
    border-right: 0;
    padding-right: 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .topbar {
    height: 68px;
  }

  .ghost-button {
    padding: 9px 13px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero-content {
    padding-top: 118px;
    padding-bottom: 76px;
  }

  .hero-metrics {
    display: none;
  }

  .hero-actions,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .service-grid,
  .method-grid,
  .project-tabs,
  .lead-form,
  .table-row {
    grid-template-columns: 1fr;
  }

  .panel-visual {
    min-height: 410px;
  }

  .flow-card {
    right: 7%;
    bottom: 9%;
    width: 190px;
  }

  .flow-card strong {
    font-size: 56px;
  }

  .lead-panel {
    padding: 24px;
  }
}
