:root {
  --bg: #050505;
  --bg-2: #0c0d0d;
  --text: #f6f6f1;
  --muted: #b7b7ad;
  --dark-text: #111111;
  --dark-muted: #5f625c;
  --line: rgba(255,255,255,0.12);
  --line-dark: rgba(0,0,0,0.12);
  --paper: #f4f1e9;
  --paper-2: #ffffff;
  --accent: #d7ff45;
  --accent-2: #baff1e;
  --radius: 28px;
  --container: 1180px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--dark-text);
  background: var(--paper);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  color: var(--bg);
  background: var(--accent);
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity .45s var(--ease), visibility .45s var(--ease);
}

.site-loader::before {
  content: "";
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}

.site-loader span {
  display: none;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.section-container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 128px 0;
}

.section-dark {
  color: var(--text);
  background: var(--bg);
}

.section-light {
  color: var(--dark-text);
  background: var(--paper);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 86px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 64px);
  color: var(--text);
  transition: background .3s var(--ease), border-color .3s var(--ease), height .3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(5,5,5,.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--bg);
  background: var(--accent);
  font-size: 13px;
  letter-spacing: -.02em;
}

.brand-text {
  font-size: 18px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a,
.mobile-nav a {
  position: relative;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 700;
  transition: color .25s var(--ease);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
  color: #fff;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-content: center;
  gap: 24px;
  background: rgba(5,5,5,.96);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .3s var(--ease), visibility .3s var(--ease), transform .3s var(--ease);
}

.mobile-nav a {
  font-size: clamp(34px, 10vw, 68px);
  letter-spacing: -.06em;
}

.menu-open .mobile-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 150px 0 42px;
  overflow: hidden;
}

.hero-bg,
.grid-lines,
.orb {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-lines {
  opacity: .28;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 72%);
}

.orb {
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .2;
}

.orb-one {
  inset: auto auto 8% -160px;
  background: var(--accent);
}

.orb-two {
  inset: 8% -190px auto auto;
  background: #ffffff;
  opacity: .12;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .56fr);
  align-items: center;
  gap: 60px;
}

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

.eyebrow.dark {
  color: #53610b;
}

.hero h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(64px, 12vw, 152px);
  line-height: .85;
  letter-spacing: -.085em;
}

.hero h1 span {
  color: var(--accent);
}

.hero-lead {
  max-width: 640px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -.03em;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 16px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.btn small {
  color: inherit;
  opacity: .62;
  font-size: 12px;
  font-weight: 700;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: var(--bg);
  background: var(--accent);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,.06);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: rgba(255,255,255,.22);
}

.hero-panel {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  box-shadow: 0 28px 100px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
}

.panel-topline {
  width: 56px;
  height: 5px;
  margin-bottom: 32px;
  border-radius: 10px;
  background: var(--accent);
}

.mini-label {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-panel h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: .98;
  letter-spacing: -.06em;
}

.hero-panel p:not(.mini-label) {
  color: var(--muted);
  line-height: 1.8;
}

.panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.panel-tags span {
  padding: 9px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.hero-footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 80px;
  color: var(--muted);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.social-row span {
  color: var(--text);
  font-weight: 900;
}

.social-row a,
.scroll-down {
  color: var(--muted);
  transition: color .25s var(--ease);
}

.social-row a:hover,
.scroll-down:hover {
  color: var(--accent);
}

.scroll-down {
  font-size: 14px;
  font-weight: 900;
}

.split-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 70px;
}

.section-kicker {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  border-top: 1px solid var(--line-dark);
  padding-top: 28px;
}

.section-number {
  color: rgba(0,0,0,.18);
  font-size: 74px;
  font-weight: 900;
  letter-spacing: -.08em;
}

.section-copy h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 84px);
  line-height: .94;
  letter-spacing: -.075em;
}

.section-copy p,
.section-heading p {
  max-width: 840px;
  margin: 30px 0 0;
  color: var(--dark-muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 76px;
}

.process-card,
.service-card,
.job-card,
.location-card,
.contact-form {
  border-radius: var(--radius);
}

.process-card {
  min-height: 310px;
  padding: 30px;
  background: var(--paper-2);
  border: 1px solid var(--line-dark);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.process-card:hover,
.service-card:hover,
.job-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 80px rgba(0,0,0,.09);
}

.process-card span,
.service-card span,
.job-head span {
  display: inline-flex;
  margin-bottom: 28px;
  color: #59680d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.process-card h3,
.service-card h3,
.job-card h3,
.location-card h3 {
  margin: 0;
  font-size: 31px;
  line-height: 1;
  letter-spacing: -.055em;
}

.process-card p,
.service-card p,
.job-card p,
.location-card p {
  margin: 22px 0 0;
  color: var(--dark-muted);
  line-height: 1.75;
}

.careers {
  position: relative;
  overflow: hidden;
}

.careers::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(215,255,69,.14), transparent 34%);
  pointer-events: none;
}

.section-heading {
  position: relative;
  text-align: left;
  margin-bottom: 64px;
}

.section-heading p {
  color: var(--muted);
}

.jobs-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.job-card {
  padding: 34px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.055);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.job-card:hover {
  border-color: rgba(215,255,69,.45);
  box-shadow: 0 28px 70px rgba(0,0,0,.22);
}

.job-card h4 {
  margin: 28px 0 12px;
  color: var(--text);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.job-card p,
.job-card li {
  color: var(--muted);
}

.job-card ul {
  padding-left: 18px;
  margin: 0;
}

.job-card li {
  margin: 10px 0;
  line-height: 1.65;
}

.apply-text {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.apply-text a {
  color: var(--accent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 74px;
}

.service-card {
  min-height: 290px;
  padding: 32px;
  background: var(--paper-2);
  border: 1px solid var(--line-dark);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.stats {
  padding: 86px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.stat {
  padding: 30px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--accent);
  font-size: clamp(54px, 7vw, 96px);
  line-height: .9;
  letter-spacing: -.075em;
}

.stat span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 26px;
  margin-top: 72px;
}

.contact-form,
.location-card {
  padding: 34px;
  background: var(--paper-2);
  border: 1px solid var(--line-dark);
}

.form-row {
  margin-bottom: 22px;
}

.form-row label {
  display: block;
  margin-bottom: 10px;
  color: var(--dark-text);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .04em;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  outline: none;
  padding: 18px 18px;
  color: var(--dark-text);
  background: #fbfaf6;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: #8da817;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(215,255,69,.25);
}

.form-row.has-error input,
.form-row.has-error textarea {
  border-color: #d53434;
}

.error-message {
  display: none;
  margin-top: 8px;
  color: #d53434;
  font-size: 13px;
  font-weight: 700;
}

.form-row.has-error .error-message {
  display: block;
}

.btn-submit {
  width: 100%;
  cursor: pointer;
  color: var(--bg);
  background: var(--accent);
}

.form-success {
  min-height: 24px;
  margin: 18px 0 0;
  color: #4e6500;
  font-weight: 800;
}

.location-card {
  position: relative;
  overflow: hidden;
}

.location-card::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(215,255,69,.5);
  filter: blur(35px);
}

.contact-links {
  display: grid;
  gap: 12px;
  margin: 30px 0;
}

.contact-links a {
  color: var(--dark-text);
  font-weight: 900;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 12px;
}

.map-placeholder {
  position: relative;
  min-height: 230px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(0,0,0,.8), rgba(0,0,0,.55)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.14) 0 1px, transparent 1px 18px);
}

.map-placeholder span {
  color: var(--accent);
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -.07em;
}

.site-footer {
  padding: 84px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .55fr .55fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 20px;
}

.site-footer p {
  max-width: 470px;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer h4 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .17em;
}

.site-footer a:not(.brand) {
  display: block;
  width: fit-content;
  margin: 10px 0;
  color: var(--muted);
  transition: color .25s var(--ease);
}

.site-footer a:hover {
  color: var(--accent);
}

.copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.copyright p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

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

.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 1040px) {
  .hero-grid,
  .split-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 620px;
  }

  .process-grid,
  .services-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .section-kicker {
    min-height: auto;
    gap: 18px;
  }

  .section-number {
    font-size: 54px;
  }
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .site-header {
    height: 74px;
    padding: 0 20px;
  }

  .brand-text {
    font-size: 16px;
  }

  .section-container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 86px 0;
  }

  .hero {
    padding: 118px 0 34px;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-panel,
  .job-card,
  .contact-form,
  .location-card {
    padding: 24px;
  }

  .hero-footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 44px;
  }

  .social-row {
    gap: 12px;
  }

  .process-grid,
  .services-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .process-card,
  .service-card {
    min-height: auto;
    padding: 24px;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .copyright {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
