:root {
  --black: #0a0d0a;
  --base: #0e130e;
  --panel: #141a14;
  --panel-2: #1a221a;
  --line: #212c21;
  --paper: #eaefe8;
  --dim: #98a497;
  --dim-2: #6d786c;
  --green: #2e6b44;
  --green-mid: #3f8a58;
  --green-lt: #63c387;
  --ember: #c2703f;
  --display: "Archivo", sans-serif;
  --body: "Inter Tight", sans-serif;
  --wrap: min(1140px, calc(100% - 48px));
  --radius: 14px;
  --radius-lg: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

/* page loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--black);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader.is-skip {
  display: none;
}

.loader-inner {
  text-align: center;
  width: min(280px, 80vw);
}

.loader-logo {
  height: 56px;
  width: auto;
  margin: 0 auto 28px;
  object-fit: contain;
  animation: loader-pulse 1.6s ease-in-out infinite;
}

.loader-bar {
  height: 3px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}

.loader-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--green-lt));
  border-radius: inherit;
  transition: width 0.15s ease;
}

.loader-text {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim-2);
}

@keyframes loader-pulse {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 110;
  background: transparent;
  pointer-events: none;
}

.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--green-lt));
  box-shadow: 0 0 12px rgba(99, 195, 135, 0.45);
  transition: width 0.08s linear;
}

/* back to top */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(10, 13, 10, 0.92);
  backdrop-filter: blur(8px);
  color: var(--green-lt);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, border-color 0.2s, background 0.2s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--green-lt);
  background: var(--green);
  color: #f1f7ef;
}

.back-to-top[hidden] {
  display: grid;
}

@media (max-width: 600px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}

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

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

ul {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--green-lt);
  outline-offset: 3px;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

p {
  color: var(--dim);
}

p + p {
  margin-top: 16px;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-lt);
  margin-bottom: 14px;
}

.label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--green-lt);
}

.section-head {
  max-width: 34rem;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 14px;
}

.section-head p {
  font-size: 1.05rem;
  max-width: 52ch;
}

.sub {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--paper);
  line-height: 1.3;
  margin-bottom: 28px;
  max-width: 30ch;
}

.sub.wide {
  max-width: 38ch;
}

section p {
  margin-bottom: 20px;
}

section p:last-child {
  margin-bottom: 0;
}

.cols {
  columns: 2;
  column-gap: 40px;
}

.cols li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--dim);
  break-inside: avoid;
}

@media (max-width: 620px) {
  .cols {
    columns: 1;
  }
}

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

.tile {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 26px 24px 28px;
  border-radius: var(--radius);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.tile:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 195, 135, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.tile svg {
  height: 56px;
  margin-bottom: 20px;
}

.tile h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.tile p {
  font-size: 14.5px;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .tiles {
    grid-template-columns: 1fr;
  }
}

.steps {
  margin-top: 36px;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps b {
  font-family: var(--display);
  font-size: 13px;
  color: var(--green-lt);
  letter-spacing: 0.1em;
  padding-top: 4px;
}

.steps h3 {
  font-size: 17px;
  margin-bottom: 5px;
}

.steps p {
  font-size: 15px;
  margin: 0;
}

@media (max-width: 560px) {
  .steps li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

figure {
  border: 1px solid var(--line);
  background: var(--panel);
  margin: 36px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
}

figure .in {
  padding: 20px 18px 10px;
}

figcaption {
  padding: 12px 18px 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim-2);
}

.spin {
  transform-origin: center;
  animation: spin 2.6s linear infinite;
}

.spin.rev {
  animation-direction: reverse;
}

.spin.slow {
  animation-duration: 8s;
}

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

.fall {
  animation: fall 2.8s ease-in infinite;
}

.a2 {
  animation-delay: 1s;
}

.a3 {
  animation-delay: 1.6s;
}

@keyframes fall {
  0% {
    transform: translateY(-6px);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  86% {
    opacity: 1;
  }
  100% {
    transform: translateY(48px);
    opacity: 0;
  }
}

.belt {
  animation: belt 1.2s linear infinite;
}

@keyframes belt {
  to {
    transform: translateX(-32px);
  }
}

.ride {
  animation: ride 3.4s linear infinite;
}

@keyframes ride {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(298px);
    opacity: 0;
  }
}

.heat {
  animation: heat 2.6s ease-in-out infinite;
}

@keyframes heat {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.85;
  }
}

.details {
  margin-top: 26px;
}

.details div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.details div:last-child {
  border-bottom: 1px solid var(--line);
}

.details span:first-child {
  color: var(--dim-2);
  flex-shrink: 0;
}

.details span:last-child {
  text-align: right;
  color: var(--dim);
}

@media (max-width: 600px) {
  .details div {
    flex-direction: column;
    gap: 4px;
  }

  .details span:last-child {
    text-align: left;
  }
}

/* header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.site-header.is-scrolled {
  background: rgba(10, 13, 10, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 13.5px;
  color: var(--dim);
  letter-spacing: 0.02em;
  transition: color 0.18s;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--green-lt);
  border-radius: 999px;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--green-lt);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--paper);
  width: 42px;
  height: 42px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: background 0.18s;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s, top 0.2s;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 820px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 13, 10, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    border-top: 1px solid var(--line);
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
  }
}

/* buttons */
.btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  font-size: 14px;
  font-weight: 500;
  padding: 14px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}

.btn:hover {
  border-color: var(--green-lt);
  color: var(--green-lt);
  transform: translateY(-2px);
}

.btn.fill {
  background: var(--green);
  border-color: var(--green);
  color: #f1f7ef;
  position: relative;
  overflow: hidden;
}

.btn.fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.18) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.btn.fill:hover::after {
  transform: translateX(120%);
}

.btn.fill:hover {
  background: var(--green-lt);
  border-color: var(--green-lt);
  color: #08130c;
  box-shadow: 0 8px 28px rgba(99, 195, 135, 0.25);
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 110px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  animation: orb-drift 16s ease-in-out infinite alternate;
}

.orb-a {
  width: 420px;
  height: 420px;
  top: 8%;
  left: -8%;
  background: rgba(46, 107, 68, 0.35);
}

.orb-b {
  width: 320px;
  height: 320px;
  top: 20%;
  right: -5%;
  background: rgba(99, 195, 135, 0.18);
  animation-delay: -4s;
  animation-duration: 20s;
}

.orb-c {
  width: 260px;
  height: 260px;
  bottom: 10%;
  left: 35%;
  background: rgba(194, 112, 63, 0.12);
  animation-delay: -8s;
  animation-duration: 18s;
}

@keyframes orb-drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(28px, -22px) scale(1.1);
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 15% 40%, rgba(46, 107, 68, 0.28), transparent 60%),
    radial-gradient(40% 40% at 85% 20%, rgba(99, 195, 135, 0.1), transparent 55%),
    linear-gradient(180deg, var(--base) 0%, var(--black) 100%);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  max-width: 14ch;
  margin-bottom: 20px;
}

.hero-copy h1 span {
  color: var(--green-lt);
}

.hero-copy > p {
  font-size: 1.125rem;
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(99, 195, 135, 0.08) inset;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-visual:hover .hero-frame {
  transform: translateY(-6px);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(99, 195, 135, 0.12);
}

.hero-frame img,
.hero-img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 8s ease;
}

.hero-visual:hover .hero-frame img {
  transform: scale(1.06);
}

.hero-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(10, 13, 10, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--paper);
}

.hero-badge strong {
  display: block;
  font-family: var(--display);
  font-size: 15px;
  margin-bottom: 2px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy h1 {
    max-width: none;
  }
}

/* stats */
.stats {
  padding: 0 0 80px;
  margin-top: -20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 195, 135, 0.3);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--green-lt);
  margin-bottom: 6px;
}

.stat span {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.45;
}

@media (max-width: 700px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* sections */
section {
  padding: 88px 0;
}

section.alt {
  background: linear-gradient(180deg, rgba(20, 26, 20, 0.6), transparent);
  border-block: 1px solid var(--line);
}

/* products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 30px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 195, 135, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: transform 0.35s ease;
}

.product-card:hover .product-icon {
  transform: scale(1.1) rotate(-4deg);
}

.product-svg {
  height: 56px;
  margin-bottom: 18px;
}

.product-icon.black {
  background: rgba(99, 195, 135, 0.14);
  color: var(--green-lt);
}

.product-icon.crude {
  background: rgba(194, 112, 63, 0.16);
  color: var(--ember);
}

.product-icon.steel {
  background: rgba(152, 164, 151, 0.14);
  color: var(--dim);
}

.product-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.product-card p {
  font-size: 14.5px;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* statement banner */
.statement-banner {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.statement-banner img,
.statement-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken-burns 18s ease-in-out infinite alternate;
}

@keyframes ken-burns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.statement-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 10, 0.72), rgba(10, 13, 10, 0.88));
}

.statement-banner p {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 600;
  color: var(--paper);
  max-width: 20ch;
  line-height: 1.25;
  padding: 40px 24px;
}

/* split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.img-zoom:hover img {
  transform: scale(1.06);
}

.split-body h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 16px;
}

.split-body p {
  font-size: 1rem;
}

@media (max-width: 900px) {
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* process */
.process-list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.process-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 20px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.process-item:hover {
  transform: translateX(6px);
  border-color: rgba(99, 195, 135, 0.3);
  background: var(--panel-2);
}

.process-item b {
  font-family: var(--display);
  font-size: 13px;
  color: var(--green-lt);
  letter-spacing: 0.08em;
  padding-top: 3px;
}

.process-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.process-item p {
  font-size: 14.5px;
  margin: 0;
}

@media (max-width: 560px) {
  .process-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* applications */
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.app-pill {
  padding: 16px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--dim);
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.app-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 195, 135, 0.35);
  color: var(--paper);
  background: rgba(46, 107, 68, 0.12);
}

@media (max-width: 900px) {
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
}

/* gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(2, 200px);
  gap: 14px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

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

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(10, 13, 10, 0.92));
  font-size: 13px;
  color: var(--paper);
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, var(--panel) 0%, var(--panel-2) 100%),
    radial-gradient(circle at 70% 30%, rgba(46, 107, 68, 0.2), transparent 55%);
  color: var(--dim-2);
  font-size: 13px;
  text-align: center;
  padding: 20px;
}

@media (max-width: 760px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-item.featured {
    grid-row: span 1;
    min-height: 240px;
  }

  .gallery-item:not(.featured) {
    min-height: 160px;
  }
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}

.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 195, 135, 0.3);
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--green-lt);
}

.contact-card p,
.contact-card a {
  font-size: 15px;
  color: var(--dim);
  line-height: 1.55;
}

.contact-card a:hover {
  color: var(--green-lt);
}

.contact-card.wide {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card.wide {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  margin-top: 20px;
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.foot-brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.foot-meta {
  font-size: 13px;
  color: var(--dim-2);
  text-align: right;
}

@media (max-width: 600px) {
  .foot-meta {
    text-align: left;
  }
}

/* reveal & animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-left {
  transform: translateX(-36px);
}

.reveal-left.is-visible {
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(36px);
}

.reveal-right.is-visible {
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-scale p {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}

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

.stagger-group > * {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.stagger-group.is-visible > *:nth-child(1) {
  transition-delay: 0.05s;
}
.stagger-group.is-visible > *:nth-child(2) {
  transition-delay: 0.12s;
}
.stagger-group.is-visible > *:nth-child(3) {
  transition-delay: 0.19s;
}
.stagger-group.is-visible > *:nth-child(4) {
  transition-delay: 0.26s;
}
.stagger-group.is-visible > *:nth-child(5) {
  transition-delay: 0.33s;
}
.stagger-group.is-visible > *:nth-child(6) {
  transition-delay: 0.4s;
}
.stagger-group.is-visible > *:nth-child(7) {
  transition-delay: 0.47s;
}
.stagger-group.is-visible > *:nth-child(8) {
  transition-delay: 0.54s;
}

.stagger-group.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.anim-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fade-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.anim-d1 {
  animation-delay: 0.15s;
}
.anim-d2 {
  animation-delay: 0.3s;
}
.anim-d3 {
  animation-delay: 0.45s;
}
.anim-d4 {
  animation-delay: 0.55s;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.anim-float {
  animation: float-badge 4s ease-in-out infinite;
}

@keyframes float-badge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.site-header {
  animation: header-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes header-in {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-scale p,
  .stagger-group > *,
  .anim-in {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .orb,
  .spin,
  .fall,
  .belt,
  .ride,
  .heat,
  .statement-img,
  .anim-float,
  .site-header,
  .loader-logo {
    animation: none;
  }

  .tile:hover,
  .product-card:hover,
  .stat:hover,
  .process-item:hover,
  .app-pill:hover,
  .gallery-item:hover,
  .contact-card:hover,
  .btn:hover,
  .hero-visual:hover .hero-frame,
  .hero-visual:hover .hero-frame img,
  .img-zoom:hover img,
  .gallery-item:hover img {
    transform: none;
    box-shadow: none;
  }
}
