:root {
  --ink: #f4f8f1;
  --muted: #bac5b7;
  --soft: rgba(244, 248, 241, 0.72);
  --black: #0d100f;
  --panel: rgba(20, 25, 23, 0.72);
  --panel-strong: rgba(17, 21, 19, 0.9);
  --line: rgba(244, 248, 241, 0.16);
  --green: #52c94e;
  --green-dark: #1b5f2a;
  --yellow: #e9ba28;
  --steel: #75a8b8;
  --light: #eff2ec;
  --light-ink: #111611;
  --light-muted: #556054;
  --radius: 8px;
  --max: 1760px;
  --header-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

::selection {
  background: rgba(82, 201, 78, 0.35);
  color: var(--ink);
}

.cursor-light {
  position: fixed;
  width: 420px;
  height: 420px;
  left: 0;
  top: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 201, 78, 0.15), rgba(82, 201, 78, 0) 62%);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 180ms ease;
  z-index: 100;
  mix-blend-mode: screen;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  height: var(--header-height);
  padding: 0 clamp(20px, 4.2vw, 80px);
  background: linear-gradient(180deg, rgba(8, 11, 10, 0.8), rgba(8, 11, 10, 0));
  transition: background 260ms ease, border-color 260ms ease, height 260ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  height: 74px;
  background: rgba(11, 15, 13, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 190px;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0;
}

.brand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 62px;
  height: 4px;
  background: var(--green);
  box-shadow: 0 0 24px rgba(82, 201, 78, 0.65);
}

.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 64px);
  color: rgba(244, 248, 241, 0.88);
  font-size: 16px;
}

.main-nav a {
  position: relative;
  padding: 12px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.header-call {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 170px;
  height: 48px;
  color: #071107;
  background: var(--green);
  border-radius: var(--radius);
  font-weight: 800;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 70px rgba(82, 201, 78, 0.24);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(244, 248, 241, 0.06);
  color: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

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

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

.section-dark,
.section-light {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: 100svh;
  padding: 180px clamp(20px, 4.4vw, 84px) 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 560px);
  grid-template-rows: 1fr auto;
  gap: 42px 72px;
  align-items: center;
}

.hero-media,
.hero-media::before,
.hero-media::after,
.noise,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: 0;
  background: #101412;
}

.hero-image,
.hero-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.08);
  transform: scale(1.035);
}

.hero-image {
  object-position: center 54%;
  animation: heroImageDrift 18s ease-in-out infinite alternate;
}

.hero-fallback {
  object-position: center;
}

.hero-fallback {
  display: none;
}

.hero-media::before {
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 11, 10, 0.94) 0%, rgba(8, 11, 10, 0.72) 34%, rgba(8, 11, 10, 0.34) 65%, rgba(8, 11, 10, 0.72) 100%),
    linear-gradient(180deg, rgba(8, 11, 10, 0.78), rgba(8, 11, 10, 0.08) 42%, rgba(8, 11, 10, 0.88));
  z-index: 1;
}

.hero-media::after {
  content: "";
  background:
    radial-gradient(circle at 74% 34%, rgba(82, 201, 78, 0.14), transparent 28%),
    radial-gradient(circle at 14% 78%, rgba(233, 186, 40, 0.08), transparent 25%);
  z-index: 2;
}

.noise {
  z-index: 1;
  opacity: 0.11;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 16px),
    linear-gradient(25deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px);
  mix-blend-mode: overlay;
}

.hero-grid {
  z-index: 1;
  opacity: 0.15;
  background:
    linear-gradient(rgba(244, 248, 241, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 248, 241, 0.07) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, transparent, #000 26%, transparent 72%);
}

.hero-content,
.hero-panel,
.hero-stats {
  position: relative;
  z-index: 4;
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-title {
  max-width: 820px;
  margin: 0;
  font-size: clamp(52px, 7.4vw, 126px);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-lead {
  max-width: 790px;
  margin: 26px 0 0;
  color: var(--soft);
  font-size: clamp(19px, 1.55vw, 27px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  min-width: 190px;
  padding: 0 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 19px;
  font-weight: 900;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -80% -40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: translateX(-70%) rotate(18deg);
  transition: transform 620ms ease;
}

.btn:hover::before {
  transform: translateX(70%) rotate(18deg);
}

.btn-primary {
  color: #071107;
  background: var(--green);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(244, 248, 241, 0.08);
  border-color: rgba(244, 248, 241, 0.18);
  backdrop-filter: blur(14px);
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  color: rgba(244, 248, 241, 0.8);
  font-size: 15px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(244, 248, 241, 0.14);
  border-radius: 999px;
  background: rgba(8, 11, 10, 0.26);
}

.hero-tags span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(82, 201, 78, 0.72);
}

.hero-panel {
  align-self: center;
  padding: 36px;
  border: 1px solid rgba(244, 248, 241, 0.18);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(21, 26, 24, 0.78), rgba(21, 26, 24, 0.42));
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.panel-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-panel h2 {
  margin: 0;
  font-size: clamp(28px, 2.6vw, 46px);
  line-height: 1.05;
}

.hero-panel p {
  margin: 18px 0 0;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.5;
}

.panel-media {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 30px;
}

.panel-media img {
  width: 180px;
  aspect-ratio: 1.55;
  object-fit: cover;
  border-radius: 6px;
}

.panel-media ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--green);
  font-weight: 900;
}

.hero-stats {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-self: start;
}

.hero-stats div {
  min-height: 112px;
  padding: 20px 16px;
  border: 1px solid rgba(244, 248, 241, 0.18);
  border-radius: 10px;
  background: rgba(18, 23, 21, 0.56);
  backdrop-filter: blur(16px);
}

.hero-stats strong {
  display: block;
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 10px;
  color: rgba(244, 248, 241, 0.72);
  font-size: 14px;
}

.services,
.pricing,
.gallery {
  padding: clamp(84px, 8vw, 140px) clamp(20px, 4.4vw, 84px);
  background:
    linear-gradient(110deg, rgba(82, 201, 78, 0.045), transparent 28%),
    linear-gradient(180deg, #121613, #0c100f);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 44px;
}

.section-heading h2,
.machine-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 78px);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-heading p,
.machine-copy p,
.contact-copy p {
  max-width: 780px;
  margin: 20px 0 0;
  color: var(--soft);
  font-size: clamp(18px, 1.4vw, 23px);
  line-height: 1.5;
}

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

.service-card {
  position: relative;
  min-height: 390px;
  border: 1px solid rgba(244, 248, 241, 0.14);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(244, 248, 241, 0.05);
  isolation: isolate;
  transition: transform 260ms ease, border-color 260ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(82, 201, 78, 0.58);
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.05);
  transform: scale(1.04);
  transition: transform 500ms ease;
  z-index: -2;
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 12, 11, 0.08), rgba(9, 12, 11, 0.92));
  z-index: -1;
}

.service-card div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.service-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
}

.service-card p {
  margin: 12px 0 0;
  color: rgba(244, 248, 241, 0.76);
  font-size: 17px;
  line-height: 1.45;
}

.section-light {
  color: var(--light-ink);
  background:
    radial-gradient(circle at 86% 12%, rgba(82, 201, 78, 0.15), transparent 28%),
    linear-gradient(135deg, #f3f5ef, #e7ebe3);
}

.section-light .eyebrow {
  color: var(--green-dark);
}

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

.machine {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  padding: clamp(84px, 8vw, 150px) clamp(20px, 4.4vw, 84px);
}

.machine-copy {
  max-width: 720px;
}

.machine-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.machine-specs div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(17, 22, 17, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 54px rgba(15, 18, 15, 0.08);
}

.machine-specs strong {
  display: block;
  color: var(--light-ink);
  font-size: clamp(23px, 2.1vw, 32px);
  line-height: 1.06;
}

.machine-specs span {
  display: block;
  margin-top: 8px;
  color: var(--light-muted);
  font-weight: 800;
  line-height: 1.35;
}

.equipment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.equipment-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(17, 22, 17, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--light-ink);
  font-weight: 800;
}

.equipment-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.equipment-photo {
  position: relative;
  display: block;
  aspect-ratio: 1.18;
  padding: 0;
  border: 1px solid rgba(17, 22, 17, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 20px 58px rgba(15, 18, 15, 0.1);
}

.equipment-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  filter: saturate(1.04) contrast(1.02);
  transition: transform 420ms ease;
}

.equipment-photo:hover img {
  transform: scale(1.04);
}

.equipment-photo span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(17, 22, 17, 0.78);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
}

.equipment-panel {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(17, 22, 17, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 22px 70px rgba(15, 18, 15, 0.1);
}

.equipment-panel h3 {
  margin: 0 0 18px;
  color: var(--light-ink);
  font-size: 24px;
  line-height: 1.15;
}

.equipment-panel dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.equipment-panel dl > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 22, 17, 0.1);
}

.equipment-panel dl > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.equipment-panel dt {
  color: var(--light-ink);
  font-weight: 900;
}

.equipment-panel dd {
  margin: 0;
  color: var(--light-muted);
  line-height: 1.45;
}

.machine-stage {
  position: relative;
  min-height: 600px;
}

.machine-stage img {
  width: min(100%, 760px);
  height: 600px;
  margin-left: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 32px 92px rgba(15, 18, 15, 0.28);
}

.machine-outline {
  position: absolute;
  inset: 42px 34px auto auto;
  width: min(82%, 650px);
  height: 410px;
  border: 2px solid rgba(82, 201, 78, 0.72);
  border-radius: 50% 44% 38% 54%;
  transform: rotate(-6deg);
  opacity: 0.7;
  animation: outlinePulse 3.5s ease-in-out infinite;
  pointer-events: none;
}

.spec {
  position: absolute;
  width: 240px;
  padding: 18px;
  border: 1px solid rgba(17, 22, 17, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 60px rgba(15, 18, 15, 0.13);
  backdrop-filter: blur(14px);
}

.spec strong {
  display: block;
  font-size: 18px;
}

.spec span {
  display: block;
  margin-top: 6px;
  color: var(--light-muted);
  font-size: 14px;
  line-height: 1.35;
}

.spec-one {
  top: 52px;
  left: 0;
}

.spec-two {
  right: 0;
  bottom: 54px;
}

.spec-three {
  left: 24px;
  bottom: 92px;
}

.pricing {
  background:
    radial-gradient(circle at 12% 20%, rgba(82, 201, 78, 0.12), transparent 32%),
    linear-gradient(180deg, #0d100f, #151a17);
}

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

.price-card {
  position: relative;
  min-height: 310px;
  padding: 34px;
  border: 1px solid rgba(244, 248, 241, 0.14);
  border-radius: 12px;
  background: rgba(244, 248, 241, 0.06);
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%);
  pointer-events: none;
}

.price-card.featured {
  background: var(--light);
  color: var(--light-ink);
}

.price-label {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #071107;
  background: var(--green);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-card h3 {
  margin: 26px 0 0;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1;
}

.price-card p {
  color: rgba(244, 248, 241, 0.72);
}

.price-card.featured p {
  color: var(--light-muted);
}

.price {
  margin: 24px 0 16px;
  color: inherit;
  font-size: clamp(34px, 4.2vw, 64px);
  font-weight: 900;
  line-height: 1;
}

.price span,
.price small {
  color: var(--light-muted);
  font-size: 0.38em;
}

.price.small {
  font-size: clamp(34px, 3.1vw, 44px);
}

.price.pending {
  max-width: 420px;
  color: #344034;
  font-size: clamp(34px, 3.8vw, 56px);
}

.price-breakdown {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.price-breakdown span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(17, 22, 17, 0.12);
  border-radius: 8px;
  background: rgba(17, 22, 17, 0.06);
  color: var(--light-muted);
  font-weight: 800;
}

.price-breakdown strong {
  color: var(--light-ink);
  white-space: nowrap;
}

.pricing-note {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) 1fr;
  gap: 24px;
  margin-top: 18px;
  padding: 24px 28px;
  border: 1px solid rgba(244, 248, 241, 0.14);
  border-radius: 12px;
  background: rgba(244, 248, 241, 0.06);
  color: rgba(244, 248, 241, 0.76);
}

.pricing-note strong {
  color: var(--green);
  font-size: 19px;
  line-height: 1.3;
}

.pricing-note span {
  line-height: 1.55;
}

.terrain-sample {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(58px, 6vw, 96px) clamp(20px, 4.4vw, 84px);
  background:
    linear-gradient(140deg, rgba(82, 201, 78, 0.06), transparent 30%),
    linear-gradient(180deg, #151a17, #0d100f);
}

.terrain-copy {
  max-width: 620px;
}

.terrain-copy h2 {
  margin: 0;
  font-size: clamp(34px, 3.8vw, 62px);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.terrain-copy p {
  margin: 18px 0 0;
  color: var(--soft);
  font-size: clamp(17px, 1.2vw, 21px);
  line-height: 1.5;
}

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

.terrain-shot {
  position: relative;
  display: block;
  aspect-ratio: 0.82;
  padding: 0;
  border: 1px solid rgba(244, 248, 241, 0.14);
  border-radius: 10px;
  background: rgba(244, 248, 241, 0.05);
  cursor: pointer;
  overflow: hidden;
}

.terrain-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.04);
  transition: transform 520ms ease, filter 520ms ease;
}

.terrain-shot-focus img {
  object-position: center;
  transform: scale(1.06);
  transform-origin: center;
}

.terrain-shot:hover img {
  transform: scale(1.045);
  filter: saturate(1.12) contrast(1.08);
}

.terrain-shot-focus:hover img {
  transform: scale(1.12);
}

.terrain-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(5, 8, 7, 0.72));
  pointer-events: none;
}

.terrain-shot span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(7, 10, 8, 0.72);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 260px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid rgba(244, 248, 241, 0.14);
  border-radius: 10px;
  background: rgba(244, 248, 241, 0.05);
  cursor: pointer;
  overflow: hidden;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.05);
  transform: scale(1.02);
  transition: transform 520ms ease, filter 520ms ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.08);
  filter: saturate(1.14) contrast(1.1);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.34));
  opacity: 0;
  transition: opacity 220ms ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.video-item span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(7, 10, 8, 0.68);
  color: var(--ink);
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.video-item span::before {
  content: "";
  width: 0;
  height: 0;
  margin-right: 8px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid var(--green);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 560px);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
  padding: clamp(84px, 8vw, 150px) clamp(20px, 4.4vw, 84px);
}

.contact-copy {
  max-width: 820px;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(17, 22, 17, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 26px 80px rgba(15, 18, 15, 0.16);
}

.contact-line {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(17, 22, 17, 0.12);
}

.contact-line span {
  color: var(--light-muted);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-line strong {
  color: var(--light-ink);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.1;
}

.contact-line small {
  color: var(--light-muted);
  font-size: 16px;
  line-height: 1.45;
}

.contact-panel .btn {
  margin-top: 12px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 28px clamp(20px, 4.4vw, 84px);
  border-top: 1px solid rgba(244, 248, 241, 0.12);
  background: #0b0f0d;
  color: rgba(244, 248, 241, 0.72);
  font-size: 15px;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.site-footer a {
  transition: color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--green);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(5, 7, 6, 0.86);
  backdrop-filter: blur(18px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-stage {
  width: min(1120px, 92vw);
  max-height: 86vh;
}

.lightbox-stage img,
.lightbox-stage video {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.48);
}

.lightbox-close {
  position: fixed;
  top: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(244, 248, 241, 0.2);
  border-radius: 50%;
  background: rgba(244, 248, 241, 0.1);
  cursor: pointer;
}

.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 23px;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--delay, 0ms);
}

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

@keyframes outlinePulse {
  0%,
  100% {
    transform: rotate(-6deg) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: rotate(-4deg) scale(1.035);
    opacity: 0.9;
  }
}

@keyframes heroImageDrift {
  from {
    transform: scale(1.035) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.085) translate3d(-1.2%, 1.4%, 0);
  }
}

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

  .header-call {
    grid-column: 3;
    justify-self: end;
    width: 170px;
    min-width: 170px;
    max-width: 170px;
  }

  .menu-toggle {
    grid-column: 4;
  }

  .main-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 84px;
    display: grid;
    gap: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(11, 15, 13, 0.96);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(18px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.is-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 16px;
    border-bottom: 1px solid rgba(244, 248, 241, 0.1);
    font-size: 20px;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 150px;
  }

  .hero-panel,
  .hero-stats {
    grid-column: 1;
    max-width: 760px;
  }

  .service-grid,
  .price-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .terrain-sample {
    grid-template-columns: 1fr;
  }

  .terrain-copy {
    max-width: 760px;
  }

  .machine,
  .contact {
    grid-template-columns: 1fr;
  }

  .machine-stage img {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 74px;
  }

  .cursor-light {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 0 18px;
  }

  .brand {
    min-width: 0;
    font-size: 22px;
  }

  .header-call {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 130px 20px 58px;
    gap: 26px;
  }

  .hero-media::before {
    background:
      linear-gradient(90deg, rgba(8, 11, 10, 0.92), rgba(8, 11, 10, 0.72)),
      linear-gradient(180deg, rgba(8, 11, 10, 0.42), rgba(8, 11, 10, 0.92));
  }

  .hero-title {
    font-size: clamp(48px, 15vw, 72px);
  }

  .hero-lead {
    font-size: 18px;
  }

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

  .btn {
    width: 100%;
  }

  .hero-panel {
    padding: 22px;
  }

  .panel-media {
    grid-template-columns: 1fr;
  }

  .panel-media img {
    width: 100%;
  }

  .hero-stats,
  .service-grid,
  .price-layout,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 10px;
  }

  .hero-stats div {
    min-height: 94px;
  }

  .services,
  .pricing,
  .terrain-sample,
  .gallery,
  .machine,
  .contact {
    padding: 72px 20px;
  }

  .section-heading h2,
  .machine-copy h2,
  .contact-copy h2 {
    font-size: clamp(36px, 12vw, 54px);
  }

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

  .machine-stage {
    min-height: auto;
  }

  .machine-stage img {
    height: 470px;
  }

  .machine-specs {
    grid-template-columns: 1fr;
  }

  .equipment-photos {
    grid-template-columns: 1fr;
  }

  .machine-outline {
    display: none;
  }

  .spec {
    position: relative;
    width: auto;
    margin-top: 12px;
    inset: auto;
  }

  .equipment-panel {
    padding: 20px;
  }

  .equipment-panel dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .gallery-grid {
    grid-auto-rows: 300px;
  }

  .terrain-shots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .terrain-shot {
    aspect-ratio: 0.78;
  }

  .terrain-shot span {
    left: 8px;
    bottom: 8px;
    min-height: 28px;
    padding: 0 8px;
    font-size: 11px;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-row: auto;
    grid-column: auto;
  }

  .pricing-note {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
  }

  .contact-panel {
    padding: 20px;
  }
}

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

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