@import url("https://fonts.googleapis.com/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400&family=Anton&family=Cabin:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Oswald:wght@400;500;600;700&display=swap");

:root {
  --quarry: #161310;
  --limestone: #f3eee4;
  --crushed: #8d8779;
  --loader: #d9b43a;
  --rust: #b65a32;
  --rubber: #2c241e;
  --dust: #e6d9c4;
  --yard: #5e7d8e;
  --moss: #5a6154;
  --ink: #1c1814;
  --ticket: #f7f2e8;
  --stamp: "Anton", "Arial Narrow", sans-serif;
  --head: "Oswald", "Impact", sans-serif;
  --body: "Cabin", "Trebuchet MS", sans-serif;
  --mono: "Anonymous Pro", "Courier New", monospace;
  --ease: cubic-bezier(0.16, 0.84, 0.32, 1);
}

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

html,
body {
  overflow-x: hidden !important;
  max-width: 100vw;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--dust) url("../images/texture-aggregate.jpg") center / cover fixed;
  line-height: 1.65;
  min-height: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 8% 12%, rgba(22, 19, 16, 0.35), transparent 42%),
    radial-gradient(ellipse at 92% 88%, rgba(44, 36, 30, 0.5), transparent 46%),
    radial-gradient(ellipse at 70% 18%, rgba(90, 97, 84, 0.18), transparent 38%);
  mix-blend-mode: multiply;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
  background-image: url("../images/texture-rubber.jpg");
  background-size: 640px;
  mix-blend-mode: multiply;
  animation: dust-drift 22s linear alternate infinite;
}

@keyframes dust-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(6px, -5px, 0); }
}

body.yard-lock {
  overflow: hidden !important;
}

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

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

button,
input,
textarea {
  font-family: inherit;
}

.yard-shell {
  position: relative;
  z-index: 1;
  max-width: 100%;
  overflow-x: hidden;
}

.yard-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 4vw;
  background: linear-gradient(180deg, rgba(22, 19, 16, 0.96), rgba(44, 36, 30, 0.94));
  color: var(--limestone);
  border-bottom: 3px solid var(--loader);
  box-shadow: 0 12px 28px rgba(90, 97, 84, 0.35);
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.logo-mark img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 1px solid var(--crushed);
  filter: grayscale(0.15) contrast(1.05);
}

.logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-word strong {
  font-family: var(--head);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  letter-spacing: 0.12em;
  font-weight: 600;
}

.logo-word span {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--loader);
  letter-spacing: 0.18em;
}

.yard-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.yard-nav a {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dust);
  position: relative;
}

.yard-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.28rem;
  width: 0;
  height: 2px;
  background:
    repeating-linear-gradient(90deg, var(--loader) 0 4px, transparent 4px 7px);
  transition: width 0.28s var(--ease);
}

.yard-nav a:hover::after,
.yard-nav a:focus-visible::after {
  width: 100%;
}

.load-readout {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--loader);
  border: 1px dashed var(--crushed);
  padding: 0.28rem 0.55rem;
  white-space: nowrap;
}

.yard-burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--loader);
  background: var(--quarry);
  cursor: pointer;
  position: relative;
}

.yard-burger span,
.yard-burger span::before,
.yard-burger span::after {
  position: absolute;
  left: 12px;
  width: 22px;
  height: 2px;
  background: var(--loader);
  content: "";
  transform-origin: center;
  transition: transform 0.2s var(--ease), top 0.2s var(--ease), background 0.2s var(--ease);
}

.yard-burger span {
  top: 22px;
}

.yard-burger span::before {
  top: -7px;
}

.yard-burger span::after {
  top: 7px;
}

.yard-burger.is-open span {
  background: transparent;
}

.yard-burger.is-open span::before {
  top: 0;
  transform: rotate(45deg);
}

.yard-burger.is-open span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 0;
  cursor: pointer;
  font-family: var(--head);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  isolation: isolate;
  transition: transform 0.15s var(--ease), filter 0.2s var(--ease);
}

.btn-primary {
  background: var(--loader);
  color: var(--quarry);
  padding: 0.85rem 1.25rem 0.85rem 0.7rem;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 92% 100%, 0 100%);
  box-shadow: 6px 6px 0 var(--quarry);
}

.btn-primary .stamp {
  font-family: var(--mono);
  font-size: 0.62rem;
  background: var(--quarry);
  color: var(--loader);
  padding: 0.2rem 0.35rem;
}

.btn-primary::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--quarry);
  transform: translateX(0);
  transition: transform 0.22s var(--ease), background 0.22s var(--ease);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(1px);
  filter: brightness(1.06);
}

.btn-primary:hover::after,
.btn-primary:focus-visible::after {
  transform: translateX(8px);
  background: var(--rust);
}

.btn-ghost {
  background: transparent;
  color: var(--yard);
  padding: 0.4rem 0;
  font-size: 0.92rem;
}

.btn-ghost span {
  background-image: repeating-linear-gradient(90deg, var(--yard) 0 3px, transparent 3px 6px);
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 0.2rem;
  transition: background-size 0.25s var(--ease);
}

.btn-ghost:hover span,
.btn-ghost:focus-visible span {
  background-size: 100% 2px;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow-x: clip;
  background: var(--quarry) url("../images/hero-yard.jpg") center / cover no-repeat;
  color: var(--limestone);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(22, 19, 16, 0.72) 8%, rgba(22, 19, 16, 0.28) 46%, rgba(44, 36, 30, 0.55) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(230, 217, 196, 0.18), transparent 42%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -8%;
  top: 18%;
  width: 118%;
  height: 28%;
  background: url("../images/conveyor-belt.jpg") center / cover;
  transform: rotate(-11deg) translateX(var(--belt, -12px));
  box-shadow: 0 18px 40px rgba(22, 19, 16, 0.55);
  opacity: 0.88;
  animation: belt-lock 1.1s var(--ease) forwards;
}

@keyframes belt-lock {
  to {
    transform: rotate(-11deg) translateX(0);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr);
  gap: 2vw;
  padding: 7vh 5vw 8vh;
  min-height: 92vh;
}

.stamp-stack {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 920px;
}

.stamp-frag {
  font-family: var(--stamp);
  font-size: clamp(2.6rem, 8vw, 7.4rem);
  line-height: 0.86;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--limestone);
  text-shadow: 3px 4px 0 rgba(22, 19, 16, 0.85);
  width: fit-content;
  padding: 0.08em 0.18em;
  background: rgba(22, 19, 16, 0.55);
  transform: rotate(var(--tilt, -1.5deg));
}

.stamp-frag:nth-child(2) {
  margin-left: 9vw;
  --tilt: 1.4deg;
  color: var(--loader);
}

.stamp-frag:nth-child(3) {
  margin-left: 3vw;
  --tilt: -0.6deg;
}

.load-anchor {
  font-family: var(--mono);
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  letter-spacing: 0.14em;
  color: var(--loader);
  margin-top: 1.4rem;
  border-left: 6px solid var(--rust);
  padding-left: 0.8rem;
}

.hero-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.2rem;
  align-self: end;
}

.ticket {
  background:
    repeating-linear-gradient(90deg, transparent 0 10px, var(--crushed) 10px 11px) 0 0 / 100% 8px no-repeat,
    var(--ticket) url("../images/grade-marks.jpg") right bottom / 180px no-repeat;
  color: var(--ink);
  padding: 1.35rem 1.2rem 1.3rem;
  box-shadow: 10px 12px 0 rgba(22, 19, 16, 0.55);
  clip-path: polygon(0 0, 100% 0, 100% 86%, 94% 100%, 0 100%);
  position: relative;
  animation: ticket-in 0.8s 0.2s var(--ease) both;
}

.ticket::before {
  content: "WB";
  position: absolute;
  left: -0.35rem;
  top: 42%;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--loader);
  background: var(--quarry);
  padding: 0.15rem 0.28rem;
  transform: rotate(-90deg);
}

@keyframes ticket-in {
  from {
    opacity: 0;
    transform: translateX(28px) rotate(2deg);
  }
}

.ticket .code {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--rust);
}

.ticket h2,
.ticket h3,
.ticket p {
  margin-top: 0.45rem;
}

.ticket p {
  font-size: 0.96rem;
}

.grade-locks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.grade-lock {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--loader);
  color: var(--loader);
  background: rgba(22, 19, 16, 0.72);
  padding: 0.38rem 0.55rem;
  opacity: 0;
  transform: scale(0.86);
  animation: stamp-in 0.45s var(--ease) forwards;
}

.grade-lock:nth-child(1) { animation-delay: 0.45s; }
.grade-lock:nth-child(2) { animation-delay: 0.65s; }
.grade-lock:nth-child(3) { animation-delay: 0.85s; }

@keyframes stamp-in {
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.screen-dots {
  position: absolute;
  left: 18%;
  top: 36%;
  width: 46%;
  height: 22%;
  pointer-events: none;
  z-index: 3;
}

.dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 1px;
  background: var(--crushed);
  animation: drop-screen 1.6s 0.4s var(--ease) forwards;
}

.dot:nth-child(2) {
  left: 18%;
  background: var(--dust);
  animation-delay: 0.55s;
}

.dot:nth-child(3) {
  left: 36%;
  background: var(--loader);
  animation-delay: 0.7s;
}

.dot:nth-child(4) {
  left: 54%;
  animation-delay: 0.85s;
}

@keyframes drop-screen {
  0% { transform: translate(0, 0); opacity: 1; }
  70% { transform: translate(70px, 90px); opacity: 1; }
  100% { transform: translate(90px, 130px); opacity: 0; }
}

.section {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
  padding: 5.5rem 5vw;
}

.section::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 70px;
  background: radial-gradient(ellipse at center, rgba(230, 217, 196, 0.35), transparent 70%);
  pointer-events: none;
}

.marker-strip {
  background: var(--rubber);
  color: var(--dust);
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  padding: 1.1rem 5vw;
  border-top: 1px solid var(--crushed);
  border-bottom: 8px solid var(--loader);
}

.fraction-tag {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--crushed);
  padding: 0.45rem 0.7rem;
  background: rgba(22, 19, 16, 0.45);
  transform: rotate(var(--r, -1deg));
}

.fraction-tag:nth-child(2n) { --r: 1.2deg; color: var(--loader); }
.fraction-tag:nth-child(3n) { --r: -0.6deg; color: var(--limestone); }

.unsorted {
  background:
    linear-gradient(180deg, rgba(243, 238, 228, 0.88), rgba(230, 217, 196, 0.9)),
    url("../images/intake-mass.jpg") center / cover;
}

.unsorted-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: stretch;
  position: relative;
}

.intake-panel {
  flex: 1.4 1 420px;
  min-height: 420px;
  background: url("../images/intake-mass.jpg") center / cover;
  position: relative;
  box-shadow: 16px 18px 0 var(--quarry);
}

.intake-panel .overlay-title {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  max-width: 80%;
  background: rgba(22, 19, 16, 0.86);
  color: var(--limestone);
  padding: 1rem;
}

.intake-panel h2 {
  font-family: var(--stamp);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.9;
}

.note-col {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.weigh-note {
  background: var(--ticket);
  padding: 1rem 1.1rem;
  border-left: 5px solid var(--loader);
  box-shadow: 7px 8px 0 rgba(44, 36, 30, 0.25);
  transform: rotate(var(--t, 0deg));
}

.weigh-note:nth-child(2) { --t: -0.8deg; border-left-color: var(--rust); }
.weigh-note:nth-child(3) { --t: 0.7deg; border-left-color: var(--yard); }

.weigh-note h3 {
  font-family: var(--head);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chute-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, var(--rubber), var(--loader));
  transform-origin: left center;
  pointer-events: none;
}

.graded {
  background: var(--quarry);
  color: var(--limestone);
}

.yard-board {
  position: relative;
  min-height: 760px;
}

.primary-frac {
  width: min(58%, 720px);
  margin-left: 8%;
  background: var(--rubber);
  border: 1px solid var(--crushed);
  position: relative;
  z-index: 2;
}

.primary-frac img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
}

.primary-frac .cap {
  padding: 1.1rem 1.2rem 1.4rem;
}

.sorted-load {
  position: absolute;
  width: min(32%, 340px);
  background: var(--ticket);
  color: var(--ink);
  box-shadow: 8px 10px 0 rgba(22, 19, 16, 0.45);
}

.sorted-load img {
  height: 120px;
  width: 100%;
  object-fit: cover;
}

.sorted-load .cap {
  padding: 0.75rem 0.85rem 0.95rem;
}

.sorted-load h3,
.primary-frac h3 {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
}

.meta-line {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--rust);
  margin-top: 0.35rem;
}

.s1 { top: 4%; right: 4%; transform: rotate(1.2deg); }
.s2 { bottom: 6%; right: 10%; transform: rotate(-1.4deg); }
.s3 { bottom: 8%; left: 2%; width: min(28%, 300px); transform: rotate(0.8deg); }
.s4 { top: 38%; left: 0; width: min(24%, 260px); transform: rotate(-2deg); }

.grade-note {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--loader);
  position: absolute;
}

.thesis {
  background:
    linear-gradient(160deg, rgba(22, 19, 16, 0.92), rgba(44, 36, 30, 0.88)),
    url("../images/hopper-mouth.jpg") center / cover;
  color: var(--limestone);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.thesis-head {
  font-family: var(--stamp);
  font-size: clamp(2.4rem, 6.4vw, 5.6rem);
  line-height: 0.9;
  max-width: 16ch;
  text-transform: uppercase;
  transform: translateX(-1vw) rotate(-1deg);
}

.thesis-card {
  margin-top: -2.5rem;
  margin-left: 22vw;
  max-width: 520px;
  background: var(--limestone);
  color: var(--ink);
  padding: 1.3rem 1.4rem;
  position: relative;
}

.float-caption {
  position: absolute;
  right: -8%;
  top: -18%;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--loader);
  background: var(--quarry);
  padding: 0.4rem 0.55rem;
  transform: rotate(8deg);
}

.services-yard {
  background:
    linear-gradient(180deg, rgba(230, 217, 196, 0.92), rgba(243, 238, 228, 0.94)),
    url("../images/texture-aggregate.jpg") center / cover;
}

.chute-board {
  position: relative;
  min-height: 820px;
}

.service-bin {
  position: absolute;
  background: var(--ticket);
  padding: 1rem;
  box-shadow: 9px 11px 0 rgba(22, 19, 16, 0.2);
  max-width: 340px;
}

.service-bin.primary {
  max-width: 420px;
  background: var(--quarry);
  color: var(--limestone);
}

.service-bin h3 {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
}

.bin-a { top: 0; left: 4%; transform: rotate(-1deg); }
.bin-b { top: 8%; right: 6%; transform: rotate(1.4deg); }
.bin-c { top: 38%; left: 28%; transform: rotate(-0.4deg); }
.bin-d { bottom: 18%; left: 2%; }
.bin-e { bottom: 8%; right: 18%; transform: rotate(1deg); }
.bin-f { top: 52%; right: 2%; max-width: 280px; }

.diag {
  position: absolute;
  height: 2px;
  background: var(--rubber);
  transform-origin: 0 50%;
  opacity: 0.55;
}

.d1 { width: 28%; top: 18%; left: 22%; transform: rotate(18deg); }
.d2 { width: 24%; top: 46%; left: 8%; transform: rotate(-22deg); }
.d3 { width: 30%; bottom: 32%; right: 24%; transform: rotate(12deg); }

.tiny-cap {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--rust);
  margin-top: 0.4rem;
}

.proof {
  background: var(--rubber);
  color: var(--dust);
}

.proof-split {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
}

.raw-mass {
  flex: 1.6 1 360px;
  min-height: 380px;
  background: url("../images/intake-mass.jpg") center / cover;
  position: relative;
}

.raw-mass .label,
.clean-frac .label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--mono);
  letter-spacing: 0.16em;
  background: var(--quarry);
  color: var(--loader);
  padding: 0.3rem 0.5rem;
}

.clean-frac {
  flex: 1 1 280px;
  background: var(--limestone);
  color: var(--ink);
  padding: 1.4rem;
  min-height: 380px;
}

.proof-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.proof-marks span {
  font-family: var(--mono);
  font-size: 0.72rem;
  border: 1px solid var(--crushed);
  padding: 0.35rem 0.5rem;
}

.counter {
  font-family: var(--stamp);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  color: var(--rust);
  line-height: 1;
}

.about-method {
  background: var(--dust);
}

.about-lead {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.about-lead img {
  flex: 1.3 1 420px;
  min-height: 360px;
  object-fit: cover;
  filter: contrast(1.04);
}

.about-copy {
  flex: 1 1 320px;
  background: var(--ticket);
  padding: 1.3rem;
}

.about-copy h2 {
  font-family: var(--head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sequence {
  background:
    linear-gradient(0deg, rgba(22, 19, 16, 0.9), rgba(22, 19, 16, 0.82)),
    url("../images/screening-chute.jpg") center / cover;
  color: var(--limestone);
}

.seq-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
}

.seq-step {
  flex: 1 1 140px;
  min-width: 130px;
  border-top: 4px solid var(--loader);
  padding: 0.8rem 0.4rem;
  background: rgba(44, 36, 30, 0.72);
  transform: rotate(var(--k, 0deg));
}

.seq-step:nth-child(odd) { --k: -1deg; }
.seq-step:nth-child(even) { --k: 1deg; }

.seq-step strong {
  font-family: var(--head);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  font-size: 1.1rem;
}

.seq-step span {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--loader);
}

.icon-line {
  width: 42px;
  height: 42px;
  margin-bottom: 0.4rem;
}

.icon-line path,
.icon-line line,
.icon-line polyline,
.icon-line circle,
.icon-line rect {
  fill: none;
  stroke: var(--loader);
  stroke-width: 1.6;
  stroke-linecap: square;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
}

.is-in .icon-line path,
.is-in .icon-line line,
.is-in .icon-line polyline,
.is-in .icon-line circle,
.is-in .icon-line rect {
  animation: draw 0.9s var(--ease) forwards;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.marquee-wrap {
  overflow: hidden;
  max-width: 100vw;
  background: var(--limestone);
  border-top: 1px solid var(--crushed);
  border-bottom: 1px solid var(--crushed);
  padding: 0.6rem 0;
}

.marquee {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  animation: slide-a 28s linear infinite;
}

.marquee.reverse {
  animation-name: slide-b;
  margin-top: 0.45rem;
}

.marquee span {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px dashed var(--rubber);
  padding: 0.3rem 0.7rem;
  background: var(--ticket);
  white-space: nowrap;
}

@keyframes slide-a {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes slide-b {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.cta-yard {
  min-height: 62vh;
  background:
    linear-gradient(180deg, rgba(22, 19, 16, 0.55), rgba(22, 19, 16, 0.72)),
    url("../images/cta-yard.jpg") center / cover;
  display: grid;
  place-items: center;
  padding: 4rem 5vw;
}

.cta-ticket {
  width: min(760px, 100%);
  background: var(--ticket);
  padding: 1.8rem 1.6rem;
  box-shadow: 14px 16px 0 var(--quarry);
  clip-path: polygon(0 0, 100% 0, 100% 90%, 96% 100%, 0 100%);
}

.cta-ticket h2 {
  font-family: var(--stamp);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.contact-preview {
  background: var(--dust);
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.contact-plain {
  flex: 1 1 280px;
  background: var(--ticket);
  padding: 1.2rem;
}

.contact-plain p {
  font-size: 1.05rem;
  margin: 0.4rem 0;
}

.map-preview {
  flex: 1.4 1 360px;
  min-height: 280px;
}

.map-preview iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

.yard-footer {
  background: var(--quarry) url("../images/texture-rubber.jpg") center / 500px;
  color: var(--dust);
  padding: 2.5rem 5vw 1.5rem;
  overflow-x: clip;
}

.footer-dir {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-dir h2,
.footer-dir h3 {
  font-family: var(--head);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--loader);
  margin-bottom: 0.6rem;
}

.footer-dir a,
.footer-dir p {
  display: block;
  font-family: var(--mono);
  font-size: 0.8rem;
  margin: 0.28rem 0;
  color: var(--dust);
}

.copy {
  margin-top: 1.4rem;
  border-top: 1px solid var(--crushed);
  padding-top: 0.8rem;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.page-hero {
  min-height: 42vh;
  background:
    linear-gradient(100deg, rgba(22, 19, 16, 0.82), rgba(22, 19, 16, 0.4)),
    url("../images/about-method.jpg") center / cover;
  color: var(--limestone);
  padding: 8rem 5vw 4rem;
  overflow-x: clip;
}

.page-hero h1 {
  font-family: var(--stamp);
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  line-height: 0.88;
  max-width: 14ch;
  text-transform: uppercase;
}

.legal-hero {
  background-image:
    linear-gradient(100deg, rgba(22, 19, 16, 0.88), rgba(44, 36, 30, 0.55)),
    url("../images/contact-desk.jpg");
}

.prose {
  max-width: 860px;
  background: var(--limestone);
  padding: 1.4rem 1.3rem 2rem;
  margin: 0 auto;
}

.prose h2,
.prose h3 {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 1.4rem 0 0.5rem;
}

.prose p,
.prose li {
  margin: 0.55rem 0;
}

.prose ul {
  padding-left: 1.1rem;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0 1.5rem;
}

.legal-nav a {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--yard);
  border-bottom: 1px dashed var(--yard);
}

.lift:hover {
  transform: translateY(-4px);
  transition: transform 0.2s var(--ease);
}

.faq-item {
  border-bottom: 1px solid var(--crushed);
  background: var(--ticket);
  margin-bottom: 0.4rem;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0.9rem 1rem;
  font-family: var(--head);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.faq-item .body {
  display: none;
  padding: 0 1rem 1rem;
}

.faq-item.open .body {
  display: block;
  animation: hopper 0.25s var(--ease);
}

@keyframes hopper {
  from { opacity: 0; transform: translateY(-6px); }
}

.form-ticket {
  background: var(--ticket);
  padding: 1.4rem;
  box-shadow: 12px 14px 0 var(--quarry);
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.3rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--crushed);
  background: var(--limestone);
  padding: 0.7rem;
  color: var(--ink);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--loader);
}

.field input.is-bad,
.field textarea.is-bad {
  border-color: var(--rust);
  box-shadow: 0 0 0 2px rgba(182, 90, 50, 0.25);
}

.err {
  display: none;
  color: var(--rust);
  font-family: var(--mono);
  font-size: 0.72rem;
  margin-top: 0.25rem;
}

.field.is-invalid .err {
  display: block;
}

.accordion {
  background: var(--ticket);
  margin: 0.5rem 0;
}

.accordion > button {
  width: 100%;
  text-align: left;
  border: 0;
  background: var(--rubber);
  color: var(--limestone);
  padding: 0.85rem 1rem;
  font-family: var(--head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.accordion .panel {
  display: none;
  padding: 1rem;
}

.accordion.open .panel {
  display: block;
}

.map-yard {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.map-col {
  flex: 1 1 240px;
  background: var(--ticket);
  padding: 1rem;
  border-top: 6px solid var(--loader);
}

.map-col:nth-child(2) { border-top-color: var(--rust); }
.map-col:nth-child(3) { border-top-color: var(--yard); }

.output-yard {
  position: relative;
  min-height: 640px;
  margin-bottom: 4rem;
}

.legal-body {
  background: var(--dust);
}

.screen-path {
  position: absolute;
  left: 10%;
  top: 34%;
  width: min(52%, 640px);
  height: auto;
  z-index: 3;
  pointer-events: none;
  transform: rotate(-11deg);
  opacity: 0.55;
}

.screen-path path {
  fill: none;
  stroke: var(--loader);
  stroke-width: 1.4;
  stroke-dasharray: 8 6;
}

.cl-a {
  width: 34%;
  top: 28%;
  left: 38%;
  transform: rotate(16deg);
}

.cl-b {
  width: 22%;
  top: 62%;
  left: 42%;
  transform: rotate(-12deg);
}

.primary-frac,
.sorted-load,
.service-bin,
.weigh-note {
  position: relative;
}

.grade-note {
  right: 0.7rem;
  top: 0.7rem;
  z-index: 2;
  background: var(--quarry);
  padding: 0.22rem 0.4rem;
}

.gn-main {
  right: auto;
  left: -0.6rem;
  top: 1.1rem;
  transform: rotate(-8deg);
}

.bin-toggle {
  display: none;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  cursor: pointer;
  padding: 0.2rem 0;
}

.unsorted::after,
.graded::after,
.thesis::after,
.services-yard::after,
.sequence::after,
.proof::after {
  position: absolute;
  font-family: var(--mono);
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--loader);
  opacity: 0.22;
  pointer-events: none;
  transform: rotate(-90deg);
  left: -1.2rem;
  top: 42%;
}

.unsorted::after { content: "YD-INTAKE"; }
.graded::after { content: "YD-OUTPUT"; color: var(--loader); }
.thesis::after { content: "YD-THESIS"; }
.services-yard::after { content: "YD-FRACTION"; color: var(--rubber); }
.sequence::after { content: "YD-SCREEN"; }
.proof::after { content: "YD-WEIGH"; }

.weigh-note,
.form-ticket,
.cta-ticket,
.clean-frac,
.about-copy,
.contact-plain {
  background-image:
    repeating-linear-gradient(90deg, transparent 0 9px, rgba(141, 135, 121, 0.45) 9px 10px);
  background-size: 100% 7px;
  background-repeat: no-repeat;
  background-position: top;
}

.reveal {
  opacity: 0;
  transform: translateY(22px) rotate(-0.4deg);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  animation: settle 0.45s var(--ease);
}

@keyframes settle {
  0% { transform: translateY(-10px); }
  68% { transform: translateY(3px); }
  100% { transform: translateY(0); }
}

.hopper-mark {
  position: absolute;
  width: 70px;
  height: 48px;
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
  background: rgba(44, 36, 30, 0.35);
  pointer-events: none;
}

.section,
.hero,
.cta-yard,
.marquee-wrap,
.page-hero,
.yard-footer,
.marker-strip {
  overflow-x: clip;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1025px) and (hover: hover) {
  .parallax {
    transform: translate3d(0, var(--py, 0px), 0);
    will-change: transform;
  }
}

@media (max-width: 1024px) {
  .hero-inner,
  .chute-board,
  .yard-board {
    display: block;
    min-height: 0;
  }
  .sorted-load,
  .service-bin,
  .primary-frac,
  .s1, .s2, .s3, .s4 {
    position: relative;
    width: 100%;
    max-width: 100%;
    right: auto;
    left: auto;
    top: auto;
    bottom: auto;
    transform: none;
    margin: 0 0 1rem;
  }
  .diag,
  .chute-line,
  .screen-dots,
  .screen-path,
  .hero::after,
  .unsorted::after,
  .graded::after,
  .thesis::after,
  .services-yard::after,
  .sequence::after,
  .proof::after {
    display: none;
  }
  .grade-note,
  .gn-main {
    position: static;
    display: inline-block;
    transform: none;
    margin: 0.45rem 0.45rem 0;
  }
  .bin-toggle {
    display: block;
  }
  .chute-board .service-bin h3 {
    display: none;
  }
  .chute-board .service-bin p,
  .chute-board .service-bin .tiny-cap {
    display: none;
  }
  .chute-board .service-bin.open p,
  .chute-board .service-bin.open .tiny-cap {
    display: block;
    margin-top: 0.55rem;
  }
  .chute-board .service-bin {
    padding: 0.85rem 1rem;
  }
  .thesis-card,
  .thesis-head {
    margin-left: 0;
    transform: none;
  }
  .stamp-frag:nth-child(2),
  .stamp-frag:nth-child(3) {
    margin-left: 0;
  }
}

@media (max-width: 860px) {
  .yard-nav {
    position: fixed;
    inset: 0;
    background: var(--quarry);
    flex-direction: column;
    justify-content: center;
    gap: 1.4rem;
    transform: translateX(110%);
    transition: transform 0.28s var(--ease);
    z-index: 90;
  }
  .yard-nav.is-open {
    transform: none;
  }
  .yard-nav a {
    font-size: 1.05rem;
  }
  .nav-cta {
    display: inline-flex;
    margin-top: 0.6rem;
  }
  .yard-burger {
    display: inline-block;
    z-index: 100;
  }
  .load-readout {
    display: none;
  }
  .btn.header-cta {
    display: none;
  }
  .hero {
    min-height: auto;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 5.5rem;
  }
  .marker-strip {
    flex-direction: column;
  }
  .cta-ticket,
  .form-ticket {
    box-shadow: 6px 7px 0 var(--quarry);
  }
}

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