:root {
  --bg: #070809;
  --bg-soft: #111317;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f6f8;
  --muted: #acb4bc;
  --gold: #f2b705;
  --gold-2: #ffd44f;
  --radius: 26px;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(242, 183, 5, 0.14), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(255, 212, 79, 0.08), transparent 20%),
    linear-gradient(180deg, #070809 0%, #0d1014 54%, #08090b 100%);
  color: var(--text);
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.88));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(16px);
  background: rgba(7, 8, 9, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 96px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 220px;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.35));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  margin-left: auto;
}

.nav-links a {
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  color: #101216;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero,
.section {
  padding: 72px 0;
}

.hero {
  min-height: auto;
  display: flex;
  align-items: center;
}

.hero-grid,
.about-grid,
.structure-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 960px);
  justify-content: center;
  align-items: start;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 6px;
  text-align: center;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d8dee5;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before,
.section-tag::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(242, 183, 5, 0.75);
}

h1 {
  max-width: 780px;
  margin: 18px 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

h1 span {
  color: var(--gold);
  text-shadow: 0 0 30px rgba(242, 183, 5, 0.16);
}

.hero-text,
.section-head p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 18px;
}

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

.hero-actions {
  margin: 0 0 22px;
  justify-content: center;
}

.hero-copy > .reveal {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 22px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

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

.btn-primary {
  color: #14171b;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 12px 30px rgba(242, 183, 5, 0.22);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.btn-full {
  width: 100%;
}

.hero-metrics,
.about-cards,
.feature-list {
  display: grid;
  gap: 16px;
}

.hero-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  justify-content: center;
}

.hero-strip span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #d8dee5;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.hero-metrics article,
.service-card,
.contact-card,
.info-card,
.feature-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.hero-metrics article {
  padding: 18px;
  border-radius: 20px;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 18px;
}

.hero-metrics span {
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}


.weld-pass,
.weld-flare {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

.weld-pass {
  width: 4px;
  height: 180px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 212, 79, 0), rgba(255, 212, 79, 0.92), rgba(255, 245, 214, 1), rgba(255, 212, 79, 0));
  box-shadow: 0 0 24px rgba(255, 200, 50, 0.55);
}

.weld-pass-left {
  left: 19.3%;
  top: 19%;
}

.weld-pass-right {
  right: 19.2%;
  top: 19%;
}

.weld-flare {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 246, 210, 1) 0%, rgba(255, 212, 79, 0.9) 28%, rgba(255, 170, 0, 0.18) 58%, transparent 72%);
  filter: blur(1px);
  box-shadow: 0 0 34px rgba(255, 191, 0, 0.45);
}

.weld-flare-left {
  left: 16.9%;
  top: 20%;
}

.weld-flare-right {
  right: 16.8%;
  top: 20%;
}

.stage-badge {
  position: absolute;
  left: 20px;
  bottom: 18px;
  max-width: 320px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(6, 8, 10, 0.72);
  backdrop-filter: blur(10px);
}

.stage-badge strong {
  display: block;
  margin-bottom: 6px;
}

.stage-badge span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.piece {
  position: absolute;
  opacity: 0;
  transform-origin: center center;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.28));
}

.mirrored {
  transform: scaleX(-1);
}

.floor {
  left: 10%;
  bottom: 6%;
  width: 80%;
}

.pillar-left {
  left: 8.8%;
  bottom: 18.2%;
  width: 14%;
}

.pillar-right {
  right: 8.6%;
  bottom: 18.2%;
  width: 14%;
}

.roof-left {
  top: 14.8%;
  left: 3.8%;
  width: 44%;
}

.roof-right {
  top: 14.8%;
  right: 4.2%;
  width: 44%;
}

.beam-top {
  top: 12.9%;
  left: 24.4%;
  width: 51%;
}

.truss-one {
  top: 14.1%;
  left: 25.7%;
  width: 29.5%;
}

.truss-two {
  top: 14.1%;
  right: 22.2%;
  width: 29.5%;
}

.close-left {
  top: 39.2%;
  left: 10.1%;
  width: 28%;
}

.close-right {
  top: 39.2%;
  right: 10.05%;
  width: 28%;
}

.silo-one {
  left: 20%;
  bottom: 16.3%;
  width: 18.5%;
}

.silo-two {
  left: 33.2%;
  bottom: 16.3%;
  width: 18.5%;
}

.elevator {
  left: 43.6%;
  bottom: 13.8%;
  width: 14.8%;
}

.conveyor {
  right: 13.4%;
  bottom: 24.1%;
  width: 28.2%;
}

.steel-sparks {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.steel-sparks::before,
.steel-sparks::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 79, 0.85) 0%, rgba(255, 212, 79, 0.14) 18%, transparent 60%);
  filter: blur(2px);
  mix-blend-mode: screen;
  animation: sparkPulse 1.7s ease-in-out infinite;
}

.steel-sparks-a::before {
  top: 30%;
  left: 34%;
  animation-delay: 2.1s;
}

.steel-sparks-a::after {
  top: 28%;
  left: 58%;
  animation-delay: 2.35s;
}

.steel-sparks-b::before {
  top: 40%;
  left: 49%;
  animation-delay: 2.65s;
}

.steel-sparks-b::after {
  top: 44%;
  left: 70%;
  animation-delay: 2.9s;
}

.warehouse-stage.is-loaded .steel-sparks {
  opacity: 1;
}

.warehouse-stage.is-loaded .weld-ring {
  animation: weldOrbit 1.15s ease 1.15s forwards;
}

.warehouse-stage.is-loaded .weld-sparks {
  animation: weldBurst 0.95s ease 1.2s forwards;
}

.warehouse-stage.is-loaded .weld-pass-left {
  animation: weldDrop 1s ease 0.8s forwards;
}

.warehouse-stage.is-loaded .weld-pass-right {
  animation: weldDrop 1s ease 1.05s forwards;
}

.warehouse-stage.is-loaded .weld-flare-left {
  animation: weldTorch 1s ease 0.8s forwards;
}

.warehouse-stage.is-loaded .weld-flare-right {
  animation: weldTorch 1s ease 1.05s forwards;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head-left {
  margin-inline: 0;
  text-align: left;
}

.section-head h2,
.contact-copy h2 {
  margin: 16px 0 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.about-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.feature-item {
  padding: 24px;
  border-radius: 22px;
}

.card-index {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(242, 183, 5, 0.12);
  color: var(--gold);
  font-weight: 800;
}

.info-card h3,
.service-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.info-card p,
.service-card p,
.feature-item span {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.service-card {
  padding: 26px;
  border-radius: 22px;
}

.structure-grid {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.structure-copy {
  display: flex;
  flex-direction: column;
}

.feature-list {
  margin-top: 10px;
}

.feature-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.catalog-roller {
  overflow: hidden;
  margin-top: 20px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.roller-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 8px 16px;
  animation: rollerMove 36s linear infinite;
}

.roller-card {
  width: 320px;
  flex: 0 0 auto;
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.roller-card span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(242, 183, 5, 0.12);
  color: var(--gold);
  font-weight: 800;
}

.roller-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.roller-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-grid {
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-list div {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.contact-list strong {
  display: block;
  margin-bottom: 6px;
}

.contact-list span,
.contact-list a {
  color: var(--muted);
}

.contact-card {
  padding: 24px;
  border-radius: 28px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.contact-card span {
  font-size: 14px;
  color: #d9e1e8;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
}

.contact-card textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.site-footer {
  padding: 26px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

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

.footer-brand img {
  width: 190px;
  margin-bottom: 10px;
}

.footer-brand p,
.footer-links,
.footer-contact {
  color: var(--muted);
}

.footer-brand p {
  margin: 0;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes floorBuild {
  0% {
    opacity: 0;
    transform: translateY(35px) scaleX(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleX(1);
  }
}

@keyframes riseIn {
  0% {
    opacity: 0;
    transform: translateY(120px) scaleY(0.35);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@keyframes roofInLeft {
  0% {
    opacity: 0;
    transform: translate(-80px, -30px) rotate(-7deg) scale(0.88);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0) scale(1);
  }
}

@keyframes roofInRight {
  0% {
    opacity: 0;
    transform: translate(80px, -30px) rotate(7deg) scale(0.88);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0) scale(1);
  }
}

@keyframes beamArc {
  0% {
    opacity: 0;
    transform: translateY(-24px) scaleX(0.75);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleX(1);
  }
}

@keyframes trussPop {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.78);
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slidePanel {
  0% {
    opacity: 0;
    transform: translateY(36px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slidePanelMirror {
  0% {
    opacity: 0;
    transform: translateY(36px) scaleX(-0.92);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleX(-1);
  }
}

@keyframes machineIn {
  0% {
    opacity: 0;
    transform: translateY(54px) scale(0.86);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes machineRiseTall {
  0% {
    opacity: 0;
    transform: translateY(90px) scaleY(0.5);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@keyframes conveyorIn {
  0% {
    opacity: 0;
    transform: translate(70px, -20px) rotate(2deg) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0) scale(1);
  }
}

@keyframes sparkPulse {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.4);
  }
  35% {
    opacity: 0.9;
    transform: scale(1);
  }
  70% {
    opacity: 0.15;
    transform: scale(1.4);
  }
}

@keyframes weldDrop {
  0% {
    opacity: 0;
    transform: translateY(-28px) scaleY(0.2);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(178px) scaleY(1);
  }
}

@keyframes weldTorch {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.5);
  }
  18% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(176px) scale(0.9);
  }
}

@keyframes siloShadowIn {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.4);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

@keyframes siloBaseRise {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(34px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes siloBodyGrow {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(70px) scaleY(0.2);
    transform-origin: center bottom;
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scaleY(1);
    transform-origin: center bottom;
  }
}

@keyframes siloRoofDrop {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-46px) scale(0.86);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes weldOrbit {
  0% {
    opacity: 0;
    transform: translateX(-50%) scaleX(0.25);
  }
  25% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scaleX(1);
  }
}

@keyframes weldBurst {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(10px) scale(0.7);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px) scale(1.08);
  }
}

@keyframes siloIdle {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes scanMove {
  0% {
    transform: translateX(0) skewX(-16deg);
  }
  100% {
    transform: translateX(620%) skewX(-16deg);
  }
}

@keyframes rollerMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 9px));
  }
}

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

@keyframes ambientFloatMirror {
  0%,
  100% {
    transform: translateY(0) scaleX(-1);
  }
  50% {
    transform: translateY(-6px) scaleX(-1);
  }
}

.animate-floor {
  animation: floorBuild 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s forwards;
}

.animate-rise-left {
  animation: riseIn 1s cubic-bezier(0.18, 0.89, 0.32, 1.12) 0.55s forwards;
}

.animate-rise-right {
  animation: riseIn 1s cubic-bezier(0.18, 0.89, 0.32, 1.12) 0.8s forwards;
}

.animate-roof-left {
  animation: roofInLeft 1.1s ease 0.95s forwards;
}

.animate-roof-right {
  animation: roofInRight 1.1s ease 1.15s forwards;
}

.animate-beam {
  animation: beamArc 1s ease 1.35s forwards;
}

.animate-truss-one {
  animation: trussPop 0.9s ease 1.45s forwards;
}

.animate-truss-two {
  animation: trussPop 0.9s ease 1.62s forwards;
}

.animate-close-left {
  animation: slidePanel 0.85s ease 1.75s forwards;
}

.animate-close-right {
  animation: slidePanelMirror 0.85s ease 1.9s forwards;
}

.animate-silo-one {
  animation: machineIn 0.9s ease 2.15s forwards;
}

.animate-silo-two {
  animation: machineIn 0.9s ease 2.28s forwards;
}

.animate-elevator {
  animation: machineRiseTall 1.05s ease 2.48s forwards;
}

.animate-conveyor {
  animation: conveyorIn 1s ease 2.72s forwards;
}

.animate-silo-shadow {
  animation: siloShadowIn 0.7s ease 0.15s forwards;
}

.animate-silo-base {
  animation: siloBaseRise 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s forwards;
}

.animate-silo-body {
  animation: siloBodyGrow 1s cubic-bezier(0.18, 0.89, 0.32, 1.12) 0.85s forwards;
}

.animate-silo-roof {
  animation: siloRoofDrop 0.85s ease 1.65s forwards;
}

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

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

@media (max-width: 1180px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .service-grid,
  .about-cards {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(7, 8, 9, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero,
  .section {
    padding: 58px 0;
  }

  .hero-grid,
  .about-grid,
  .structure-grid,
  .contact-grid,
  .service-grid,
  .about-cards,
  .field-row {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    order: -1;
  }

  .hero-copy {
    padding-top: 8px;
  }

  .hero-panel {
    min-height: 560px;
  }

  .warehouse-stage {
    min-height: 500px;
  }

  .silo-shadow {
    width: 62%;
    bottom: 11%;
  }

  .silo-base {
    width: 54%;
  }

  .silo-body {
    width: 50%;
    bottom: 18%;
  }

  .silo-roof {
    width: 48%;
    top: 16%;
  }

  .weld-ring {
    width: 50%;
    bottom: 56%;
  }

  .weld-sparks {
    bottom: 53.5%;
  }

  .floor {
    left: 6%;
    width: 88%;
  }

  .pillar-left {
    left: 2.8%;
    width: 17%;
  }

  .pillar-right {
    right: 2.8%;
    width: 17%;
  }

  .roof-left,
  .roof-right {
    width: 48%;
  }

  .beam-top {
    left: 21%;
    width: 58%;
  }

  .truss-one {
    left: 21%;
    width: 34%;
  }

  .truss-two {
    right: 18%;
    width: 34%;
  }

  .close-left,
  .close-right {
    width: 31%;
  }

  .silo-one {
    left: 15%;
    width: 21%;
  }

  .silo-two {
    left: 31%;
    width: 21%;
  }

  .elevator {
    left: 43%;
    width: 16%;
  }

  .conveyor {
    right: 7%;
    width: 33%;
  }

  .weld-pass-left {
    left: 17.8%;
  }

  .weld-pass-right {
    right: 17.6%;
  }

  .weld-flare-left {
    left: 15.1%;
  }

  .weld-flare-right {
    right: 14.9%;
  }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }

  .footer-links,
  .footer-contact {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .hero-panel {
    min-height: 460px;
  }

  .warehouse-stage {
    min-height: 420px;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-topbar small {
    font-size: 11px;
  }

  .hero-copy {
    gap: 0;
    padding-top: 0;
  }

  .stage-badge {
    right: 14px;
    left: 14px;
    bottom: 14px;
    max-width: none;
  }

  .roller-card {
    width: 280px;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .hero-strip {
    gap: 8px;
  }

  .hero-strip span {
    width: 100%;
    text-align: center;
  }

  .weld-pass {
    height: 128px;
  }

  .silo-shadow {
    width: 74%;
    bottom: 12%;
  }

  .silo-base {
    width: 66%;
    bottom: 11%;
  }

  .silo-body {
    width: 62%;
    bottom: 19%;
  }

  .silo-roof {
    width: 58%;
    top: 18%;
  }

  .weld-ring {
    width: 62%;
    bottom: 55%;
  }

  .weld-sparks {
    width: 120px;
    height: 64px;
    bottom: 52.6%;
  }

  .weld-pass-left {
    left: 17%;
    top: 23%;
  }

  .weld-pass-right {
    right: 16.8%;
    top: 23%;
  }

  .weld-flare-left {
    left: 13.8%;
    top: 23%;
  }

  .weld-flare-right {
    right: 13.6%;
    top: 23%;
  }
}
