:root {
  --bg: #f3f2ed;
  --black: #111111;
  --green: #39e600;
  --gray: #d7d7d2;
  --muted: #777773;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--black);
  overflow-x: hidden;
}

/* NAV */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  z-index: 1000;
  background: rgba(243, 242, 237, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.brand,
.footer-brand {
  text-decoration: none;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}
.brand img {
  display: block;
  width: 125px;
  height: auto;
}

.brand-go {
  color: var(--green);
}

.brand-vend {
  color: var(--black);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--black);
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
}

.nav-cta {
  background: var(--black);
  color: var(--green);
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* HERO */

.hero-scroll {
  height: 190vh;
  position: relative;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 720px;
  padding-top: 105px;
  overflow: visible;
  background: var(--bg);
}

.hero-scroll {
  overflow: visible;
}

.hero-copy {
  position: absolute;
  top: 115px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  z-index: 10;
}

.pixel-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3.4rem, 6vw, 6.8rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.rotating-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.12em;
  white-space: nowrap;
}

.rotating-go {
  color: var(--green);
  flex-shrink: 0;
  font-weight: 900;
}

.rotating-word {
  display: inline-block;
  color: var(--black);
  font-weight: 900;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.rotating-word.word-out {
  opacity: 0;
  transform: translateY(-18px);
}

.rotating-word.word-in {
  opacity: 0;
  transform: translateY(18px);
}

.hero-copy h2 {
  margin-top: 8px;
  font-size: clamp(2.2rem, 4.2vw, 4.9rem);
  font-weight: 300;
  letter-spacing: -0.055em;
}

.hero-side {
  position: absolute;
  top: 47%;
  transform: translateY(-50%);
  z-index: 8;
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  line-height: 1.45;
  letter-spacing: 0.08em;
}

.hero-side-left {
  left: 4vw;
}

.hero-side-right {
  right: 4vw;
  text-align: right;
}

.green-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  background: var(--green);
  margin-bottom: 16px;
}

.machine-stage {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: min(920px, 76vw);
  height: 500px;
  z-index: 5;
}

.hero-machine {
  position: absolute;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.hero-machine img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.16));
  mix-blend-mode: multiply;
}

.hero-machine:hover {
  transform: translateY(-8px) scale(1.015);
}

/* HERO SCROLL + FLOATING MOTION */

.hero-machine {
  transform:
    translate(
      var(--scroll-x, 0px),
      calc(var(--float-y, 0px) + var(--scroll-y, 0px))
    )
    scale(var(--scroll-scale, 1));
  will-change: transform;
}

/* SCROLL REVEAL */

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.machine-one {
  left: 8%;
  top: 72px;
  width: 29%;
}

.machine-two {
  left: 36%;
  top: 55px;
  width: 34%;
}

.machine-three {
  right: 7%;
  top: 84px;
  width: 28%;
}

.machine-placeholder,
.catalog-machine-placeholder {
  width: 100%;
  aspect-ratio: 0.68;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #1a1a1a, #050505);
  color: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 45px rgba(0,0,0,0.14);
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-align: center;
}

.catalog-machine-image {
  width: 82%;
  height: 88%;
  object-fit: contain;
  display: block;
  margin: auto;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.22));
}

/* HERO BUTTONS */

.hero-actions {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  z-index: 12;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 15px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  transition: 0.25s ease;
}

.button-dark {
  background: var(--black);
  color: var(--green);
}

.button-dark:hover {
  background: var(--green);
  color: var(--black);
}

.button-light {
  border: 1px solid var(--black);
  color: var(--black);
  background: transparent;
}

.button-light:hover {
  background: var(--black);
  color: var(--white);
}

/* GENERAL SECTIONS */

section {
  position: relative;
}

.section-heading {
  max-width: 1200px;
  margin: 0 auto 70px;
}

.section-heading p,
.inventory-copy > p:first-child,
.locations-section > p,
.partnership-heading > p {
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.section-heading h2,
.inventory-copy h2,
.locations-section h2,
.partnership-heading h2 {
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

/* CATALOG */

.catalog-section {
  padding: 120px 5vw 140px;
  background: var(--bg);
}

.machine-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.catalog-card {
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
}

.catalog-machine-placeholder {
  margin-bottom: 26px;
  transition: transform 0.3s ease;
}

.catalog-card:hover .catalog-machine-placeholder {
  transform: translateY(-10px);
}

.catalog-card h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.catalog-card p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.catalog-card span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* WHY GOVEND */

.why-section {
  padding: 130px 5vw;
  background: var(--black);
  color: var(--white);
}

.section-heading.light h2,
.section-heading.light p {
  color: var(--white);
}

.why-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255,255,255,0.15);
  border-left: 1px solid rgba(255,255,255,0.15);
}

.why-grid article {
  min-height: 280px;
  padding: 36px;
  border-right: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.go-word {
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 900;
  display: block;
  margin-bottom: 4px;
}

.why-grid h3 {
  font-family: "Courier New", monospace;
  font-size: clamp(2.3rem, 4vw, 4.7rem);
  letter-spacing: -0.08em;
  margin-bottom: 20px;
}

.why-grid p {
  color: #bdbdb8;
  max-width: 420px;
  line-height: 1.55;
}

/* INVENTORY */

.inventory-section {
  padding: 130px 5vw;
  background: #dcdcd7;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.inventory-copy {
  max-width: 520px;
}

.inventory-copy > p:last-child {
  margin-top: 26px;
  max-width: 440px;
  line-height: 1.6;
  color: #4b4b48;
}

.inventory-dashboard {
  background: #101010;
  color: white;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 28px 60px rgba(0,0,0,0.17);
}

.inventory-header {
  display: flex;
  justify-content: space-between;
  font-family: "Courier New", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 20px;
  margin-bottom: 26px;
}

.status-live {
  color: #ff3b30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 10px rgba(255, 59, 48, 0.65);
  animation: liveBlink 1s ease-in-out infinite;
}

@keyframes liveBlink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.25;
    transform: scale(0.7);
  }
}

.inventory-item {
  margin-bottom: 24px;
}

.inventory-item > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.inventory-item strong {
  font-weight: 500;
}

.stock-bar {
  height: 9px;
  background: #2b2b2b;
  border-radius: 999px;
  overflow: hidden;
}

.stock-fill {
  width: 0;
  height: 100%;
  background: var(--green);
  border-radius: 999px;
  transition: width 1.1s ease;
}

.low-stock .stock-fill {
  background: #f3f2ed;
}

.restock-alert {
  margin-top: 12px;
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #ff3b30;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.restock-alert.is-active {
  opacity: 1;
  visibility: visible;
  animation: restockFlash 0.85s ease-in-out infinite;
}

@keyframes restockFlash {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.25;
  }
}

/* LOCATIONS */

.locations-section {
  padding: 130px 5vw;
  min-height: 760px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.48)),
    url("IMG_1770.jpeg") center center / cover no-repeat;
  color: white;
}

.location-list {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.location-list span {
  border: 1px solid var(--black);
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

/* PARTNERSHIP */

.partnership-section {
  padding: 130px 5vw;
  background: var(--white);
}

.partnership-heading {
  max-width: 920px;
  margin-bottom: 70px;
}

.partnership-heading > p:last-child {
  margin-top: 20px;
  color: var(--muted);
}

.partnership-form {
  max-width: 980px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

label {
  display: block;
  font-family: "Courier New", monospace;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 9px;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid #b8b8b2;
  background: transparent;
  font: inherit;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-bottom-color: var(--green);
}

.submit-button {
  border: 0;
  cursor: pointer;
  margin-top: 14px;
}

/* FOOTER */

footer {
  padding: 60px 5vw;
  background: var(--black);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand img {
  display: block;
  width: 150px;
  height: auto;
}

footer p {
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

/* MODAL */

.machine-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.58);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 30px;
}

.machine-modal.is-open {
  display: flex;
}

.machine-modal-panel {
  width: min(900px, 100%);
  min-height: 420px;
  background: var(--bg);
  border-radius: 20px;
  padding: 34px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  border: 0;
  background: transparent;
  font-size: 2rem;
  cursor: pointer;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-side {
  display: block;
  font-size: 0.58rem;
  line-height: 1.45;
  letter-spacing: 0.08em;
}

  .machine-stage {
    width: 95vw;
  }

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

  .why-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.mobile-contact-link {
  display: none;
}

@media (max-width: 700px) {
.catalog-card,
.catalog-card h3,
.catalog-card p,
.catalog-card span {
  color: var(--black) !important;
  -webkit-text-fill-color: var(--black);
}

.brand img {
  width: 115px;
}

  .navbar {
    height: 72px;
    padding: 0 20px;
  }

  .mobile-contact-link {
    display: block;
    position: absolute;
    top: 185px;
    right: 28px;

    font-family: "Courier New", monospace;
    font-size: 0.58rem;
    letter-spacing: 0.12em;

    color: var(--black);
    text-decoration: none;

    z-index: 30;
  }

  .hero-machine img {
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .rotating-title {
    
  font-size: clamp(1.9rem, 8.5vw, 3rem);
  gap: 0.06em;
  white-space: nowrap;
  width: 100%;
  justify-content: center;
}

.rotating-word {
  display: inline-block;
  font-size: inherit;
  white-space: nowrap;
}

  .brand {
    font-size: 1.5rem;
  }

  .nav-cta {
    display: none;
  }

  .hero-sticky {
    min-height: 680px;
    padding-top: 92px;
  }

  .hero-copy {
    top: 105px;
  }
 .hero-side-left {
  position: absolute !important;
  left: 28px !important;
  right: auto !important;
  top: 260px !important;
  bottom: auto !important;
  width: 115px;
  font-size: 0.52rem;
  line-height: 1.55;
  text-align: left;
  z-index: 20;
  transform: none !important;
}

.hero-side-right {
  position: absolute !important;
  left: auto !important;
  right: 28px !important;
  top: 260px !important;
  bottom: auto !important;
  width: 115px;
  font-size: 0.52rem;
  line-height: 1.55;
  text-align: right;
  z-index: 20;
  transform: none !important;
}
.hero-side {
  pointer-events: none;
}

  .machine-stage {
    top: 56%;
    height: 380px;
  }

  .machine-one {
    left: 2%;
    top: 86px;
    width: 31%;
  }

  .machine-two {
    left: 33%;
    top: 35px;
    width: 36%;
  }

  .machine-three {
    right: 2%;
    top: 95px;
    width: 30%;
  }

  .hero-actions {
  position: absolute;
  left: 50%;
  bottom: 200px;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 20;
}

  .button {
  min-width: 0;
  flex: 1;
  max-width: 180px;

  padding: 14px 12px;

  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;

  white-space: nowrap;
}

  .catalog-section,
  .why-section,
  .inventory-section,
  .locations-section,
  .partnership-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

.footer-brand img {
  width: 140px !important;
  max-width: 140px !important;
  height: auto !important;
  display: block;
}
