/* ============================================================
   BEDROCK DIGGER — premium dark theme + heavy effects
   ============================================================ */

:root {
  --ink: #0C0E11;
  --ink-2: #12151A;
  --ink-3: #1A1D23;
  --slate: #2A2E35;
  --slate-2: #3A3F47;
  --paper: #F4F2ED;
  --white: #FFFFFF;
  --amber: #FFB800;
  --amber-dark: #E0A400;
  --amber-soft: #FFF3D6;
  --orange: #FF7A00;
  --green: #3DDC84;
  --red: #C0392B;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(0,0,0,0.4);
  --shadow-lg: 0 30px 80px rgba(0,0,0,0.6);
  --font-display: "Archivo", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--white);
  background: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* native cursor kept — custom cursor removed */

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

.container { width: min(1180px, 92%); margin: 0 auto; }
.container-narrow { width: min(880px, 92%); margin: 0 auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- ambient dust canvas ---------- */
#dust {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ---------- custom cursor (elements kept in HTML but never shown) ---------- */
.cursor, .cursor-dot { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(.2,.8,.3,1), box-shadow 0.18s ease, background 0.18s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn:hover::after { left: 130%; }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: linear-gradient(180deg, #FFC533, var(--amber));
  color: var(--ink);
  box-shadow: 0 6px 0 var(--amber-dark), 0 12px 30px rgba(255,184,0,0.25);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--amber-dark), 0 18px 40px rgba(255,184,0,0.35); }
.btn-primary .plus { font-size: 0.7em; font-weight: 700; opacity: 0.7; }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); background: rgba(255,184,0,0.06); }

.btn-lg { font-size: 1.05rem; padding: 1rem 2.1rem; border-radius: 12px; }
.btn-block { display: block; width: 100%; }

.magnetic { transition: transform 0.2s cubic-bezier(.2,.8,.3,1), box-shadow 0.18s ease; will-change: transform; }

/* click burst particles */
.burst {
  position: fixed;
  width: 8px; height: 8px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,14,17,0.8);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner { display: flex; align-items: center; gap: 1.5rem; padding: 0.85rem 0; }
.logo {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 900; font-size: 1.15rem; letter-spacing: 0.12em;
  color: var(--white); text-decoration: none;
}
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 0.92rem; font-weight: 500;
  position: relative;
  transition: color 0.15s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--amber);
  transition: width 0.25s cubic-bezier(.2,.8,.3,1);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 0.55rem 1.15rem; font-size: 0.88rem; white-space: nowrap; }

.cart-btn {
  position: relative;
  background: none; border: 0;
  color: rgba(255,255,255,0.8);
  padding: 6px; display: grid; place-items: center;
  transition: color 0.15s ease, transform 0.15s ease;
}
.cart-btn:hover { color: var(--amber); transform: scale(1.1); }
.cart-count {
  position: absolute; top: -2px; right: -4px;
  background: var(--amber); color: var(--ink);
  font-size: 0.65rem; font-weight: 800;
  min-width: 16px; height: 16px; border-radius: 999px;
  display: grid; place-items: center;
  padding: 0 3px;
  transform: scale(0);
  transition: transform 0.25s cubic-bezier(.3,1.5,.5,1);
}
.cart-count.has { transform: scale(1); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--white); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.scroll-progress { position: absolute; bottom: -1px; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--amber), var(--orange)); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(255,184,0,0.16), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, rgba(255,122,0,0.10), transparent 60%),
    linear-gradient(165deg, var(--ink) 0%, var(--ink-2) 60%, var(--ink-3) 100%);
  overflow: hidden;
  padding-bottom: 0;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-glow {
  position: absolute; top: -20%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,184,0,0.18), transparent 65%);
  filter: blur(40px);
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowPulse { 0%,100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem; align-items: center;
  padding: 6rem 0 5rem;
  position: relative; z-index: 1;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--amber);
  margin-bottom: 1.1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line-inner { display: block; transform: translateY(110%); animation: lineUp 0.9s cubic-bezier(.2,.8,.2,1) forwards; }
.hero h1 .line:nth-child(2) .line-inner { animation-delay: 0.12s; }
.hero h1 .line:nth-child(3) .line-inner { animation-delay: 0.24s; }
@keyframes lineUp { to { transform: translateY(0); } }
.hero h1 .accent {
  color: var(--amber);
  text-shadow: 0 0 40px rgba(255,184,0,0.5);
}
.lead { font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 32rem; margin-bottom: 1.9rem; }
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.hero-ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-size: 0.92rem; color: rgba(255,255,255,0.7); }

.hero-art { display: flex; justify-content: center; }
.machine-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.machine-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,184,0,0.12) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: cardSheen 5s ease-in-out infinite;
}
@keyframes cardSheen { 0%,60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.hero-photo {
  width: 100%; max-width: 340px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 14px;
  filter: contrast(1.05) saturate(1.05);
}
.float { animation: floatY 5s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.machine-card-label {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 0.9rem; font-size: 0.85rem; color: rgba(255,255,255,0.7);
  position: relative;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(61,220,132,0.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(61,220,132,0.06); } }

.hero-strip {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.3);
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0.4rem 1.6rem;
  padding: 0.85rem 1rem;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.5);
}

/* ---------- Sections ---------- */
.section { padding: 6rem 0; position: relative; z-index: 1; }
.section-dark { background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.section-eyebrow {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--amber);
  margin-bottom: 0.8rem;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.12; letter-spacing: -0.01em;
  max-width: 46rem; margin-bottom: 1rem;
}
.section-sub { color: rgba(255,255,255,0.6); max-width: 40rem; font-size: 1.02rem; margin-bottom: 2.8rem; }

/* ---------- Feature grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(.2,.8,.3,1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.feature-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(.2,.8,.3,1);
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(255,184,0,0.4); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  background: rgba(255,184,0,0.12);
  border: 1px solid rgba(255,184,0,0.25);
  border-radius: 12px;
  margin-bottom: 1rem;
}
.feature-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.94rem; color: rgba(255,255,255,0.62); }

/* 3D tilt cards */
.tilt { transform-style: preserve-3d; will-change: transform; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.g-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  aspect-ratio: 3/4;
  background: var(--ink-3);
}
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s cubic-bezier(.2,.8,.3,1), filter 0.4s ease;
  filter: brightness(0.92);
}
.g-item:hover img { transform: scale(1.08); filter: brightness(1.05); }
.g-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.55));
  opacity: 0; transition: opacity 0.3s ease;
}
.g-item:hover::after { opacity: 1; }
.g-item figcaption {
  position: absolute; left: 1rem; bottom: 0.8rem;
  font-family: var(--font-display); font-weight: 800; font-size: 0.8rem;
  letter-spacing: 0.1em; color: var(--amber);
  z-index: 1;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.g-item:hover figcaption { opacity: 1; transform: none; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; animation: lbFade 0.25s ease; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 88vw; max-height: 84vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lb-close {
  position: absolute; top: 1.2rem; right: 1.6rem;
  background: none; border: 0; color: var(--white);
  font-size: 2.4rem; cursor: pointer; line-height: 1;
  transition: color 0.15s ease, transform 0.15s ease;
}
.lb-close:hover { color: var(--amber); transform: scale(1.15); }
.lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: var(--white); font-size: 2rem;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.lb-arrow:hover { background: var(--amber); color: var(--ink); }
.lb-prev { left: 1.4rem; }
.lb-next { right: 1.4rem; }

/* ---------- Specs ---------- */
.spec-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: start; }
.spec-table {
  width: 100%; border-collapse: collapse;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-table tr { border-bottom: 1px solid rgba(255,255,255,0.08); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table tr:nth-child(odd) { background: rgba(255,255,255,0.02); }
.spec-table th[scope="row"] { text-align: left; font-weight: 600; padding: 0.8rem 1.1rem; color: rgba(255,255,255,0.55); font-size: 0.9rem; width: 38%; }
.spec-table td { padding: 0.8rem 1.1rem; font-weight: 600; font-size: 0.95rem; }
.spec-callout {
  background: rgba(255,184,0,0.08);
  border: 1px solid rgba(255,184,0,0.35);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  position: sticky; top: 90px;
}
.spec-callout h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; margin-bottom: 0.8rem; }
.spec-callout p { font-size: 0.94rem; color: rgba(255,255,255,0.72); margin-bottom: 1.2rem; }
.spec-callout .btn { margin-top: 0.4rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.step {
  position: relative;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem 1.6rem 1.6rem;
  overflow: hidden;
}
.step-num {
  position: absolute; top: -1.2rem; right: -0.4rem;
  font-family: var(--font-display); font-weight: 900;
  font-size: 7rem; line-height: 1;
  color: rgba(255,184,0,0.08);
  pointer-events: none;
}
.step h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; margin-bottom: 0.6rem; color: var(--amber); }
.step p { font-size: 0.95rem; color: rgba(255,255,255,0.65); }

/* ---------- Reviews ---------- */
.review-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.8rem;
  transition: transform 0.25s cubic-bezier(.2,.8,.3,1), border-color 0.25s ease;
}
.review-card:hover { transform: translateY(-6px); border-color: rgba(255,184,0,0.4); }
.stars { color: var(--amber); font-size: 1.1rem; letter-spacing: 2px; }
.review-card blockquote { font-size: 0.95rem; color: rgba(255,255,255,0.78); flex: 1; }
.review-card figcaption { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.review-card figcaption strong { color: var(--white); }

/* ---------- Buy ---------- */
.section-buy {
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(255,184,0,0.14), transparent 60%),
    linear-gradient(160deg, var(--ink-2), var(--ink));
}
.buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.buy-copy p { color: rgba(255,255,255,0.72); font-size: 1rem; }
.buy-copy h2 { margin-bottom: 1.2rem; }
.buy-copy strong { color: var(--amber); }
.buy-ticks { list-style: none; display: grid; gap: 0.55rem; margin-top: 1.4rem; font-size: 0.95rem; color: rgba(255,255,255,0.8); }
.buy-payment { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,0.1); }
.pay-label { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 0.7rem; }
.pay-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.pay-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.88rem; font-weight: 600;
}
.pay-note { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 0.8rem; }
.buy-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-lg);
}
.buy-price { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.buy-price-label { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: #6a707a; }
.buy-price-amount { font-family: var(--font-display); font-weight: 900; font-size: 3rem; color: var(--ink); line-height: 1; }
.buy-price-tax { font-size: 0.9rem; color: #7a7f88; }
.buy-form { display: grid; gap: 1rem; }
.buy-form label { display: grid; gap: 0.4rem; }
.buy-form label span { font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; }
.buy-form input {
  font-family: var(--font-body); font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid #d5d2ca; border-radius: 9px;
  background: var(--paper); color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.buy-form input:focus { outline: none; border-color: var(--amber-dark); box-shadow: 0 0 0 3px rgba(255,184,0,0.25); background: var(--white); }
.buy-form input.invalid { border-color: var(--red); }
.form-fine { font-size: 0.78rem; color: #7a7f88; text-align: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.8rem; }
.faq-item {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: rgba(255,184,0,0.5); }
.faq-item summary {
  list-style: none;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--amber); transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.4rem 1.2rem; color: rgba(255,255,255,0.7); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.55); padding: 3rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.08); position: relative; z-index: 1; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.footer-brand p { font-size: 0.88rem; margin-top: 0.7rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.9rem; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--amber); }
.footer-fine { width: 100%; font-size: 0.75rem; color: rgba(255,255,255,0.3); margin-top: 1rem; }

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(400px, 92vw);
  background: var(--ink-2);
  border-left: 1px solid rgba(255,255,255,0.1);
  z-index: 260;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.2,.8,.3,1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 1.3rem 1.4rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.cart-head h3 { font-family: var(--font-display); font-weight: 800; }
.cart-close { background: none; border: 0; color: rgba(255,255,255,0.6); font-size: 1.8rem; line-height: 1; transition: color 0.15s ease; }
.cart-close:hover { color: var(--amber); }
.cart-body { flex: 1; overflow-y: auto; padding: 1.2rem 1.4rem; display: grid; gap: 1rem; align-content: start; }
.cart-empty { color: rgba(255,255,255,0.4); font-size: 0.95rem; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 0.9rem; align-items: center; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 0.7rem; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.cart-item-name { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; }
.cart-item-price { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.cart-item-remove { background: none; border: 0; color: rgba(255,255,255,0.4); font-size: 1.2rem; transition: color 0.15s ease; }
.cart-item-remove:hover { color: var(--red); }
.cart-foot { padding: 1.2rem 1.4rem; border-top: 1px solid rgba(255,255,255,0.08); display: grid; gap: 0.6rem; }
.cart-total { display: flex; justify-content: space-between; font-size: 1rem; }
.cart-total strong { font-family: var(--font-display); font-size: 1.2rem; }
.cart-tax { font-size: 0.78rem; color: rgba(255,255,255,0.4); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--ink-3);
  color: var(--white);
  border-left: 4px solid var(--amber);
  padding: 0.9rem 1.4rem;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem; font-weight: 600;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 400; max-width: 92vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(.2,.8,.3,1), transform 0.7s cubic-bezier(.2,.8,.3,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .hero-glow, .dot, .machine-card::before { animation: none; }
  .hero h1 .line-inner { transform: none; animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; padding: 4.5rem 0 4rem; gap: 2.5rem; }
  .hero-art { order: -1; }
  .machine-card { max-width: 420px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .spec-wrap { grid-template-columns: 1fr; }
  .spec-callout { position: static; }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .buy-grid { grid-template-columns: 1fr; gap: 2.4rem; }
}
@media (max-width: 760px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink-2);
    flex-direction: column; gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links a { padding: 0.9rem 4%; border-top: 1px solid rgba(255,255,255,0.07); }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .grid-3, .gallery { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
  .hero-ticks { flex-direction: column; }
  .footer-inner { flex-direction: column; }
}

/* ============================================================
   V2 — EXCAVATION EFFECTS PACK (strata title, unearth text,
   depth gauge, hazard ticker, dirt bursts, trench steps,
   core-sample specs, footer digger, mobile buy bar)
   ============================================================ */

/* ---------- strata-filled hero word ---------- */
.strata-word {
  background-image: linear-gradient(180deg,
    #E3B072 0%, #C08A4A 10%,
    #8B5A2B 20%, #6B4423 32%,
    #57606B 44%, #3A3F47 56%,
    #FFB800 61%, #FFE08A 64%, #FFB800 67%,
    #2A2E35 78%, #14171C 100%);
  background-size: 100% 240%;
  background-position-y: 0%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,184,0,0.30);
  filter: drop-shadow(0 0 28px rgba(255,184,0,0.30));
  will-change: background-position;
}
.hero h1 .line-inner.strata-word {
  animation: lineUp 0.9s cubic-bezier(.2,.8,.2,1) 0.12s both, digIn 1.6s cubic-bezier(.2,.8,.2,1) 0.45s backwards;
}
@keyframes digIn { from { background-position-y: 140%; } }

/* ---------- unearth text (chars flip from dirt blocks) ---------- */
[data-unearth] .ue {
  display: inline-block;
  animation: ueUp 0.55s cubic-bezier(.2,.8,.3,1) both;
}
@keyframes ueUp {
  0%   { opacity: 0; transform: translateY(0.55em) rotate(4deg); color: transparent; background: linear-gradient(180deg, #8B5A2B, #57402A); border-radius: 3px; box-shadow: 0 2px 6px rgba(0,0,0,0.4); }
  55%  { opacity: 1; color: transparent; background: linear-gradient(180deg, #8B5A2B, #57402A); border-radius: 3px; }
  100% { opacity: 1; transform: none; background: transparent; color: inherit; box-shadow: none; }
}

/* ---------- dig depth gauge ---------- */
.depth-gauge {
  position: fixed; right: 18px; top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  pointer-events: none;
  opacity: 0; transition: opacity 0.4s ease;
}
.depth-gauge.on { opacity: 1; }
.dg-label {
  writing-mode: vertical-rl;
  font-family: var(--font-display); font-weight: 800;
  font-size: 0.58rem; letter-spacing: 0.28em;
  color: rgba(255,255,255,0.35);
}
.dg-rail {
  position: relative;
  width: 4px; height: 150px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
}
.dg-rail::before, .dg-rail::after {
  content: ""; position: absolute; left: -3px; right: -3px; height: 1px;
  background: rgba(255,255,255,0.25);
}
.dg-rail::before { top: 33%; }
.dg-rail::after { top: 66%; }
.dg-fill {
  position: absolute; top: 0; left: 0; right: 0; height: 0%;
  background: linear-gradient(180deg, var(--amber), var(--orange));
  border-radius: 4px;
}
.dg-marker {
  position: absolute; left: 50%; top: 0%;
  transform: translate(-50%, -50%);
  background: var(--ink-3);
  border: 1px solid rgba(255,184,0,0.5);
  border-radius: 8px;
  padding: 3px;
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
}
.dg-read {
  font-family: var(--font-display); font-weight: 800;
  font-size: 0.66rem; letter-spacing: 0.06em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

/* ---------- hazard ticker ---------- */
.ticker {
  position: relative; z-index: 1;
  overflow: hidden;
  background: rgba(0,0,0,0.35);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.ticker::after {
  content: ""; display: block; height: 7px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 14px, #14171C 14px 28px);
  opacity: 0.85;
}
.ticker-track {
  display: flex; width: max-content;
  animation: tickerMove 30s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick-group {
  display: flex; align-items: center; gap: 1.7rem;
  padding: 0.85rem 0.85rem 0.85rem 0.85rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.55);
}
.tick-dot { color: var(--amber); font-size: 0.6rem; }
@keyframes tickerMove { to { transform: translateX(-50%); } }

/* ---------- strata divider (ground cross-section) ---------- */
.strata-divider {
  position: relative; z-index: 1;
  height: 88px; overflow: hidden;
  background: #14171C;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.strata-layer {
  position: absolute; left: -8%; right: -8%;
  will-change: transform;
}
.strata-layer.s1 {
  top: 0; height: 36px;
  background:
    radial-gradient(14px 8px at 12% 70%, #57402A 45%, transparent 50%),
    radial-gradient(10px 6px at 62% 45%, #57402A 45%, transparent 50%),
    linear-gradient(180deg, #7A5230, #6B4423);
  border-bottom: 2px solid rgba(0,0,0,0.45);
}
.strata-layer.s2 {
  top: 32px; height: 34px;
  background:
    radial-gradient(16px 9px at 28% 55%, #2E333B 45%, transparent 52%),
    radial-gradient(12px 7px at 78% 40%, #2E333B 45%, transparent 52%),
    radial-gradient(8px 5px at 50% 75%, #FFB800 40%, transparent 55%),
    linear-gradient(180deg, #4C525B, #3A3F47);
  border-bottom: 2px solid rgba(0,0,0,0.45);
}
.strata-layer.s3 {
  top: 62px; height: 30px;
  background: linear-gradient(180deg, #1C2026, #14171C);
}

/* ---------- CTA rumble (brief machine shake on hover) ---------- */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn-primary:hover { animation: rumble 0.16s linear 2; }
}
@keyframes rumble {
  0%, 100% { transform: translateY(-3px) rotate(0deg); }
  25% { transform: translateY(-4px) rotate(0.5deg); }
  75% { transform: translateY(-2px) rotate(-0.5deg); }
}

/* dirt burst particles */
.dirt {
  position: fixed;
  border-radius: 40% 60% 55% 45%;
  pointer-events: none;
  z-index: 9998;
}

/* ---------- trench line through the steps ---------- */
.steps { position: relative; }
.steps::before {
  content: "";
  position: absolute; top: 50%; left: 4%; right: 4%;
  height: 3px; z-index: 0;
  background: repeating-linear-gradient(90deg, rgba(255,184,0,0.45) 0 16px, transparent 16px 32px);
  animation: trenchMove 1.4s linear infinite;
}
.step { z-index: 1; background-color: var(--ink-2); }
@keyframes trenchMove { to { background-position: 32px 0; } }

/* ---------- core-sample depth labels on spec rows ---------- */
.spec-table { counter-reset: coredepth; }
.spec-table th[scope="row"]::before {
  counter-increment: coredepth;
  content: "−" counter(coredepth) ".0 m";
  display: inline-block; width: 3.6em;
  font-family: var(--font-display); font-weight: 800;
  font-size: 0.68rem; letter-spacing: 0.04em;
  color: rgba(255,184,0,0.45);
  font-variant-numeric: tabular-nums;
}

/* ---------- footer digger (arm digs on its own) ---------- */
.footer-digger { align-self: flex-end; opacity: 0.9; }
.fd-arm { transform-origin: 84px 54px; animation: fdBoom 3.4s ease-in-out infinite; }
.fd-stick { transform-origin: 136px 30px; animation: fdStick 3.4s ease-in-out infinite; }
@keyframes fdBoom {
  0%, 100% { transform: rotate(0deg); }
  40% { transform: rotate(14deg); }
  60% { transform: rotate(14deg); }
}
@keyframes fdStick {
  0%, 100% { transform: rotate(0deg); }
  40% { transform: rotate(22deg); }
  60% { transform: rotate(22deg); }
}

/* ---------- buy form email fallback ---------- */
.form-alt { font-size: 0.82rem; color: #6a707a; text-align: center; margin-top: 0.2rem; }
.form-alt a { color: var(--amber-dark); font-weight: 700; text-decoration: none; }
.form-alt a:hover { text-decoration: underline; }

/* ---------- sticky mobile buy bar ---------- */
.mobile-buybar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 200;
  display: none;
  align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.7rem max(4%, env(safe-area-inset-left)) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(12,14,17,0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,184,0,0.35);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(.2,.8,.3,1);
}
.mobile-buybar.show { transform: translateY(0); }
.mb-price { display: flex; align-items: baseline; gap: 0.35rem; }
.mb-price strong { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--amber); }
.mb-price span { font-size: 0.75rem; color: rgba(255,255,255,0.55); }
.mb-cta { flex: 1; max-width: 240px; padding: 0.75rem 1rem; font-size: 0.95rem; }

/* ---------- responsive & reduced-motion for the pack ---------- */
@media (max-width: 1020px) {
  .depth-gauge { display: none; }
  .steps::before { display: none; }
}
@media (max-width: 760px) {
  .mobile-buybar { display: flex; }
  .footer-digger { align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .strata-word { animation: none; }
  [data-unearth] .ue { animation: none; }
  .ticker-track { animation: none; flex-wrap: wrap; }
  .fd-arm, .fd-stick { animation: none; }
  .steps::before { animation: none; }
  .btn-primary:hover { animation: none; }
}
