/* Lucid Vending — brand theme: black / white / red */

:root {
  --black: #0e0e10;
  --ink: #1b1b1f;
  --red: #e11a2c;
  --red-dark: #b3121f;
  --white: #ffffff;
  --paper: #f6f6f7;
  --grey: #8b8b93;
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, .brand-font {
  font-family: "Arial Black", "Segoe UI", Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 4px solid var(--red);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 44px; width: auto; }

.site-nav { display: flex; gap: 6px; }

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  padding: 10px 16px;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0) skewX(-20deg);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after { transform: scaleX(1) skewX(-20deg); }

/* ---------- Hero ---------- */

.hero {
  background:
    linear-gradient(135deg, rgba(14, 14, 16, 0.92), rgba(14, 14, 16, 0.78)),
    var(--black);
  color: var(--white);
  padding: 96px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: var(--red);
  opacity: 0.14;
  transform: skewX(-18deg) rotate(8deg);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.kicker {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 7px 18px;
  transform: skewX(-14deg);
  margin-bottom: 22px;
}
.kicker > span { display: inline-block; transform: skewX(14deg); }

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: 18px;
}

.hero h1 .accent { color: var(--red); }

.hero p.lede {
  font-size: 1.15rem;
  color: #cfcfd4;
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero-art img {
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 14px 30px;
  border: 0;
  cursor: pointer;
  transform: skewX(-14deg);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn > span { display: inline-block; transform: skewX(14deg); }

.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px var(--white);
}
.btn-ghost:hover { background: var(--white); color: var(--black); }

.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--red); }

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section-alt { background: var(--paper); }

.section-head { max-width: 62ch; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.section-head h2 .accent { color: var(--red); }
.section-head p { color: #55555c; font-size: 1.05rem; }

.slash {
  width: 96px;
  height: 10px;
  background: var(--red);
  transform: skewX(-24deg);
  margin-bottom: 18px;
}

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid #e6e6ea;
  border-top: 6px solid var(--black);
  padding: 30px 28px;
  border-radius: 4px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-top-color 0.18s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(14, 14, 16, 0.12);
  border-top-color: var(--red);
}

.card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.card .tagline { color: var(--red); font-weight: 700; font-size: 0.9rem; margin-bottom: 14px; }
.card p { color: #55555c; font-size: 0.96rem; }

.spec-list { list-style: none; margin-top: 16px; }
.spec-list li {
  padding: 7px 0 7px 24px;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: #444;
  position: relative;
}
.spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 6px;
  background: var(--red);
  transform: skewX(-24deg);
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.gallery-item {
  background: var(--black);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(14, 14, 16, 0.18);
}

.gallery-item .frame { overflow: hidden; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-item figcaption { padding: 18px 22px 22px; color: var(--white); }
.gallery-item figcaption h3 { font-size: 1rem; margin-bottom: 4px; }
.gallery-item figcaption p { color: #b9b9c0; font-size: 0.9rem; }

/* ---------- Steps / stats ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step { padding: 26px 24px; background: var(--white); border: 1px solid #e6e6ea; border-radius: 4px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-block;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 1.4rem;
  color: var(--white);
  background: var(--black);
  padding: 6px 16px;
  transform: skewX(-14deg);
  margin-bottom: 16px;
}
.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { color: #55555c; font-size: 0.92rem; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--red);
  color: var(--white);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  background: rgba(0, 0, 0, 0.15);
  transform: skewX(-18deg);
}
.cta-band::before { left: -60px; }
.cta-band::after { right: -60px; }

.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
}

.cta-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #dddde2;
  border-radius: 4px;
  font: inherit;
  background: var(--white);
  transition: border-color 0.15s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-field textarea { min-height: 140px; resize: vertical; }

.notice {
  background: #eaf7ec;
  border-left: 6px solid #2e9e4f;
  padding: 16px 20px;
  margin-bottom: 24px;
  border-radius: 4px;
}

.info-block { background: var(--black); color: var(--white); padding: 36px 32px; border-radius: 8px; }
.info-block h3 { font-size: 1rem; color: var(--red); margin: 18px 0 6px; }
.info-block h3:first-child { margin-top: 0; }
.info-block p { color: #cfcfd4; font-size: 0.95rem; }

/* ---------- 404 ---------- */

.notfound { text-align: center; padding: 120px 0; }
.notfound h1 { font-size: 6rem; color: var(--red); }
.notfound p { color: #55555c; margin: 10px 0 30px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--black); color: #b9b9c0; padding: 56px 0 0; }
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.site-footer img { height: 40px; margin-bottom: 14px; }
.site-footer h4 {
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}
.site-footer a { color: #b9b9c0; text-decoration: none; display: block; padding: 3px 0; font-size: 0.92rem; }
.site-footer a:hover { color: var(--red); }
.footer-bar {
  border-top: 1px solid #26262c;
  padding: 18px 24px;
  text-align: center;
  font-size: 0.82rem;
  color: #77777f;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-nav a { padding: 10px 10px; font-size: 0.75rem; }
}
