:root {
  --green: #09c670;
  --green-dark: #05884f;
  --ink: #050706;
  --black: #000;
  --white: #fff;
  --muted: #b8c5be;
  --panel: rgba(7, 13, 10, 0.78);
  --line: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "Lato", Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    radial-gradient(circle at 75% 15%, rgba(9, 198, 112, 0.16), transparent 28%),
    linear-gradient(135deg, #030403 0%, #09110d 50%, #000 100%);
}

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

img,
video,
canvas {
  display: block;
  max-width: 100%;
}

#water-scene {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px);
}

.brand img {
  width: clamp(150px, 16vw, 220px);
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

nav a {
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--green);
}

.header-cta,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 6px;
  font-weight: 900;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.header-cta {
  padding: 0 18px;
  background: var(--green);
  color: #00190d;
  white-space: nowrap;
}

.primary-button {
  padding: 0 22px;
  background: var(--green);
  color: #00190d;
  box-shadow: 0 20px 60px rgba(9, 198, 112, 0.28);
}

.ghost-button {
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.header-cta:hover,
.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-3px);
}

.ghost-button:hover {
  border-color: var(--green);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: 36px;
  padding: 150px clamp(20px, 6vw, 92px) 86px;
  overflow: hidden;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: -2;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(1.06) contrast(1.08);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.62) 48%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 34%);
}

.hero-pattern {
  position: absolute;
  z-index: -1;
  opacity: 0.18;
  mix-blend-mode: screen;
  pointer-events: none;
}

.pattern-a {
  width: min(46vw, 650px);
  right: -120px;
  top: 130px;
}

.pattern-b {
  width: min(52vw, 760px);
  left: -200px;
  bottom: -120px;
}

.hero-content {
  max-width: 850px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  content: "";
  background: var(--green);
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 5vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.05;
}

p {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.7;
}

.hero-content p {
  max-width: 680px;
  margin-bottom: 32px;
}

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

.hero-panel {
  align-self: end;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: blur(20px);
}

.hero-panel span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin: 10px 0 14px;
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--green);
  color: #00190d;
}

.ticker div {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker span {
  padding: 16px 36px;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section,
.maintenance,
.final-cta {
  padding: clamp(72px, 10vw, 140px) clamp(20px, 6vw, 92px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

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

.service-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 100%),
    rgba(255, 255, 255, 0.045);
  overflow: hidden;
  position: relative;
}

.service-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, rgba(9, 198, 112, 0.18), transparent 38%),
    url("assets/traction.svg") center / 120% no-repeat;
  opacity: 0.16;
}

.service-card > * {
  position: relative;
}

.service-card.featured {
  background:
    linear-gradient(180deg, rgba(9, 198, 112, 0.16), rgba(0, 0, 0, 0.7)),
    rgba(9, 198, 112, 0.08);
  border-color: rgba(9, 198, 112, 0.48);
}

.service-number {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}

.maintenance {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: linear-gradient(180deg, rgba(9, 198, 112, 0.06), rgba(0, 0, 0, 0));
}

.maintenance-media {
  position: relative;
  min-height: 620px;
  border-radius: 8px;
  overflow: hidden;
}

.maintenance-media img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.maintenance-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 46%),
    linear-gradient(90deg, rgba(9, 198, 112, 0.16), transparent 45%);
}

.drill-line {
  position: absolute;
  left: 52%;
  top: 8%;
  bottom: 10%;
  z-index: 2;
  width: 3px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.drill-line span {
  display: block;
  width: 100%;
  height: 40%;
  background: linear-gradient(180deg, transparent, var(--green), transparent);
  animation: drill 2.2s ease-in-out infinite;
}

@keyframes drill {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(260%);
  }
}

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

.maintenance-copy li {
  position: relative;
  padding-left: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.5;
}

.maintenance-copy li::before {
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 50%;
  background: var(--green);
  transform: translateY(-50%);
}

.process {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}

.process-photo {
  height: 560px;
  border-radius: 8px;
  overflow: hidden;
}

.process-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.steps {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.steps div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.steps span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  color: #00190d;
  font-weight: 900;
}

.steps p {
  margin: 0;
  font-size: 1rem;
}

.final-cta {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  background: #020302;
}

.final-cta img {
  position: absolute;
  width: min(44vw, 430px);
  opacity: 0.08;
}

.final-cta div {
  position: relative;
  max-width: 860px;
}

.final-cta .eyebrow {
  justify-content: center;
}

.final-cta .eyebrow::before {
  display: none;
}

.final-cta strong {
  color: var(--green);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 6vw, 92px);
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.creator-bar {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 12px 18px;
  background: #000;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

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

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

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

  nav {
    display: none;
  }

  .hero,
  .maintenance,
  .process,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
  }

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

  .maintenance-media,
  .maintenance-media img,
  .process-photo {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
  }

  .brand img {
    width: 132px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 112px 18px 58px;
  }

  h1 {
    font-size: clamp(2.55rem, 12.5vw, 3.55rem);
    line-height: 0.96;
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.7rem);
  }

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

  .section,
  .maintenance,
  .final-cta {
    padding-inline: 18px;
  }

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

  footer {
    flex-direction: column;
  }

  .creator-bar {
    flex-direction: column;
    gap: 6px;
  }
}
