:root {
  --blue: #39bfe2;
  --blue-deep: #248cb8;
  --blue-soft: #98e8f4;
  --green: #a7cf3a;
  --green-deep: #127a45;
  --charcoal: #242625;
  --charcoal-2: #343736;
  --mist: #f3faf7;
  --white: #ffffff;
  --text: #1f2926;
  --muted: #5c6965;
  --shadow: 0 24px 60px rgba(20, 34, 29, 0.24);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--mist);
  font-family: "Segoe UI", Aptos, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::selection {
  color: var(--charcoal);
  background: var(--blue-soft);
}

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

[id] {
  scroll-margin-top: 96px;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: var(--white);
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  padding-block: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(21, 38, 34, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(220px, 22vw, 330px);
  flex: 0 1 auto;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  font-size: 0.95rem;
  font-weight: 800;
}

.nav-links a {
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 11px 16px;
  color: var(--charcoal);
  background: var(--green);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/lune-valley-drilling-hero.png");
  background-position: center right;
  background-size: cover;
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(21, 31, 29, 0.43) 0%, rgba(21, 31, 29, 0.12) 40%, rgba(21, 31, 29, 0.2) 72%), linear-gradient(180deg, rgba(6, 20, 16, 0.35), rgba(6, 20, 16, 0.01))
}

.hero-content {
  width: auto;
  max-width: 760px;
  padding: clamp(150px, 19vh, 210px) 0 clamp(80px, 15vh, 140px);
  margin-left: clamp(18px, 7vw, 92px);
  margin-right: 18px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue-soft);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.support-copy h2,
.quote-copy h2,
.statement-panel h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3rem, 6.4vw, 5.9rem);
  font-weight: 950;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 1.8vw, 1.38rem);
  font-weight: 650;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--charcoal);
  background: var(--green);
  box-shadow: 0 14px 30px rgba(166, 207, 58, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #b9dd45;
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(10px);
}

.section-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--charcoal), #202725);
  isolation: isolate;
}

.section-band::before,
.process::before,
.support::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("assets/lune-valley-drilling-hero.png");
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  pointer-events: none;
}

.section-band::before {
  background-position: right 34%;
  opacity: 0.16;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
  gap: clamp(22px, 4vw, 54px);
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0;
}

.statement-panel {
  padding: clamp(28px, 5vw, 56px);
  color: var(--white);
  background: var(--charcoal-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.statement-panel h2 {
  max-width: 760px;
  color: var(--blue-soft);
  font-size: clamp(2.5rem, 6vw, 5.4rem);
}

.statement-panel p,
.why-panel li,
.support-copy p,
.quote-copy p,
.feature-card p,
.process-item p {
  font-size: 1.05rem;
}

.statement-panel p {
  max-width: 780px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 750;
}

.why-panel {
  align-self: center;
  color: var(--white);
}

.why-panel .section-kicker {
  color: var(--green);
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: 0;
  text-transform: none;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 900;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 20px;
  height: 20px;
  color: var(--charcoal);
  background: var(--green);
  border-radius: 50%;
  content: "\2713";
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 950;
}

.process {
  position: relative;
  padding: clamp(58px, 8vw, 102px) clamp(18px, 5vw, 64px);
  color: var(--charcoal);
  background:
    radial-gradient(circle at 10% 10%, rgba(57, 191, 226, 0.16), transparent 32%),
    linear-gradient(180deg, #b5d747, var(--green));
  overflow: hidden;
  isolation: isolate;
}

.process::before {
  background-position: center;
  opacity: 0.12;
  mix-blend-mode: multiply;
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto 34px;
}

.section-heading .section-kicker,
.support .section-kicker,
.quote-section .section-kicker {
  color: var(--green-deep);
}

.section-heading h2,
.support-copy h2,
.quote-copy h2 {
  max-width: 900px;
  font-size: clamp(2.45rem, 5vw, 5.6rem);
  font-weight: 950;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  width: min(var(--max), 100%);
  padding: 0;
  margin: 0 auto;
  list-style: none;
  counter-reset: process;
}

.process-item {
  position: relative;
  min-height: 238px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: 0 14px 28px rgba(50, 81, 29, 0.14);
  overflow: hidden;
}

.process-item::after {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: rgba(36, 38, 37, 0.18);
  content: "\203A";
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.step-number {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.process-item h3,
.feature-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.05;
}

.process-item p,
.feature-card p {
  margin: 14px 0 0;
  color: #36413d;
}

.support {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  width: 100%;
  padding: clamp(64px, 9vw, 122px) max(18px, calc((100vw - var(--max)) / 2));
  margin: 0 auto;
  isolation: isolate;
  overflow: hidden;
}

.support::before {
  inset: 0;
  background-position: center right;
  opacity: 0.08;
  filter: saturate(0.85);
}

.support-copy p,
.quote-copy p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
}

.feature-stack {
  display: grid;
  gap: 16px;
}

.feature-card {
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(25, 45, 38, 0.1);
}

.feature-icon {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: var(--charcoal);
  background: var(--blue-soft);
  border-radius: 50%;
  place-items: center;
  font-weight: 950;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(62px, 8vw, 116px) max(18px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(36, 38, 37, 0.94), rgba(22, 36, 32, 0.92)),
    url("assets/lune-valley-drilling-hero.png") center / cover;
}

.quote-section .section-kicker,
.quote-copy h2 {
  color: var(--blue-soft);
}

.quote-copy p {
  color: rgba(255, 255, 255, 0.84);
}

.phone-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 950;
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--text);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  font-size: 0.92rem;
  font-weight: 900;
}

label span {
  color: var(--muted);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 2px solid #dde8e4;
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  background: var(--white);
  font: inherit;
  transition: border 160ms ease, box-shadow 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(57, 191, 226, 0.16);
}

.form-submit {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-note.is-success {
  color: var(--green-deep);
  font-weight: 850;
}

.form-note.is-error {
  color: #a62d2d;
  font-weight: 850;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.84);
  background: #181b1a;
  font-weight: 800;
}

.footer-brand {
  width: min(260px, 58vw);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@keyframes hero-drift {
  from {
    background-position: center right;
  }

  to {
    background-position: 48% center;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow: visible;
    padding-bottom: 0;
  }

  .content-grid,
  .support,
  .quote-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  [id] {
    scroll-margin-top: 132px;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    padding: 12px 16px;
    gap: 12px;
  }

  .brand {
    width: clamp(170px, 48vw, 225px);
    min-width: 0;
  }

  .nav-links {
    width: auto;
    justify-content: flex-end;
    overflow: visible;
    padding-bottom: 0;
    font-size: 0.85rem;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
    padding: 11px 14px;
    white-space: nowrap;
  }

  .hero {
    min-height: 760px;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(21, 31, 29, 0.9), rgba(21, 31, 29, 0.58)),
      linear-gradient(180deg, rgba(6, 20, 16, 0.34), rgba(6, 20, 16, 0.78));
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-top: 168px;
    margin-inline: 16px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.65rem);
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .content-grid {
    width: calc(100% - 32px);
  }

  .statement-panel,
  .quote-form,
  .feature-card,
  .process-item {
    padding: 22px;
  }

  .process {
    padding-inline: 16px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-item {
    min-height: auto;
  }

  .support {
    padding-inline: 16px;
  }

  .quote-section {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

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