/* ============================================
   TMR DUMPSTER SOLUTIONS — Design Tokens
   Palette grounded in the actual fleet branding:
   deep violet trailers, near-black dusk photography,
   amber used as the single "take action" color,
   referencing the reflective hazard tape on the trailers.
   ============================================ */

:root {
  --ink:          #0A0A0D;
  --ink-soft:     #121016;
  --surface:      #18141F;
  --surface-2:    #221D2C;
  --line:         #322B3D;

  --purple-deep:  #3D1670;
  --purple:       #5B1FB0;
  --purple-bright:#8A3FE0;

  --amber:        #F2B705;
  --amber-dim:    #C99804;

  --paper:        #F4F1F8;
  --muted:        #9791A6;
  --muted-dim:    #6B6578;

  --danger:       #E8543F;

  --font-display: "Big Shoulders Display", sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    "IBM Plex Mono", monospace;

  --radius: 4px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

p { margin: 0 0 1em; color: var(--muted); }
.lede { font-size: 1.15rem; color: var(--paper); max-width: 60ch; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--amber);
}

/* ---- Hazard stripe signature motif ---- */
.hazard-rule {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--amber),
    var(--amber) 12px,
    var(--ink) 12px,
    var(--ink) 24px
  );
  opacity: 0.9;
}
.hazard-rule.purple {
  background: repeating-linear-gradient(
    -45deg,
    var(--purple),
    var(--purple) 12px,
    var(--ink) 12px,
    var(--ink) 24px
  );
}

/* ---- Nav ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,13,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.brand small {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.brand .tmr { color: var(--paper); }
.brand .tmr .r-accent { color: var(--purple-bright); }
.brand .tmr .dumpster { color: var(--purple-bright); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--paper);
  border-bottom-color: var(--amber);
}
.nav-cta {
  background: var(--amber);
  color: var(--ink) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 800;
}
.nav-phone {
  font-family: var(--font-mono);
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
}
.nav-phone .phone-num {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.nav-phone:hover .phone-num { color: var(--amber); }
.nav-phone .phone-hint {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-top: 1px;
}

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s;
}
.btn-primary {
  background: var(--amber);
  color: var(--ink);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(242,183,5,0.25); }
.btn-purple {
  background: var(--purple);
  color: var(--paper);
}
.btn-purple:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(124,58,237,0.3); }
.btn-outline {
  background: transparent;
  color: var(--paper);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--purple-bright); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ---- Cards ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

/* ---- Sections ---- */
section { padding: 88px 0; }
.section-tight { padding: 56px 0; }

/* ---- Footer ---- */
footer {
  background: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  font-size: 0.9rem;
}
footer .foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
footer h4 {
  font-size: 0.85rem;
  color: var(--muted-dim);
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}
footer a { color: var(--muted); text-decoration: none; display: block; margin-bottom: 8px; }
footer a:hover { color: var(--paper); }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  color: var(--muted-dim);
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}
.foot-support {
  text-align: center;
  font-size: 0.76rem;
  color: var(--muted-dim);
  margin-top: 16px;
}
.foot-support a { color: var(--muted); text-decoration: underline; }
.foot-support a:hover { color: var(--amber); }

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.social-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  color: #fff;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.social-icon:hover { transform: translateY(-3px) scale(1.05); filter: brightness(1.12); }
.social-icon svg { width: 24px; height: 24px; fill: currentColor; }

.social-icon.fb    { background: #1877F2; }
.social-icon.ig    { background: radial-gradient(circle at 30% 110%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.social-icon.tiktok{ background: #010101; }
.social-icon.yt    { background: #FF0000; }
.social-icon.yelp  { background: #D32323; }
@media (max-width: 700px) {
  footer .foot-grid { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .social-icons { justify-content: center; }
  footer .foot-grid > div:first-child p { margin: 0 auto; }
  .foot-bottom { flex-direction: column; align-items: center; text-align: center; }
}

/* ---- Forms ---- */
label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 8px;
}
input, select, textarea {
  width: 100%;
  background: var(--ink);
  border: 1.5px solid var(--line);
  color: var(--paper);
  padding: 13px 14px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 20px;
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--purple-bright);
}
textarea { resize: vertical; min-height: 100px; }
.field-hint { font-size: 0.8rem; color: var(--muted-dim); margin-top: -14px; margin-bottom: 20px; }

/* ---- Utility ---- */
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--line);
}
.tag.confirmed { color: var(--amber); border-color: var(--amber-dim); }
.price {
  font-family: var(--font-mono);
  color: var(--paper);
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber);
  color: var(--ink);
  padding: 12px 20px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.16,.8,.3,1), transform 0.8s cubic-bezier(.16,.8,.3,1);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-stagger.in-view > * { opacity: 1; transform: none; }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.24s; }

/* ---- Animated hazard stripe (motion = hauling) ---- */
.hazard-rule.moving {
  background-size: 200% 100%;
  animation: hazard-scroll 14s linear infinite;
}
.hazard-rule.moving.purple { animation-duration: 16s; }
@keyframes hazard-scroll {
  0% { background-position: 0 0; }
  100% { background-position: 68px 0; }
}

/* ---- Marquee ticker: signage band ---- */
.ticker-band {
  background: var(--amber);
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}
.ticker-track span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
  padding: 14px 28px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 28px;
}
.ticker-track span::after { content: "\25C6"; font-size: 0.7rem; opacity: 0.5; }
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Manifesto stamp section ---- */
.manifesto {
  padding: 110px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.manifesto h2 {
  font-size: clamp(2.4rem, 8vw, 5.6rem);
  line-height: 1.02;
  max-width: 16ch;
  margin: 0 auto;
}
.manifesto h2 .accent { color: var(--purple-bright); }
.manifesto h2 .accent2 { color: var(--amber); }

/* ---- Hero parallax layer ---- */
.parallax-layer {
  position: absolute;
  inset: -10% 0 -10% 0;
  background-size: cover;
  background-position: center 30%;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ============================================
   MOBILE NAV — hamburger, top right
   ============================================ */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.nav-toggle .bars {
  position: relative;
  width: 18px;
  height: 13px;
}
.nav-toggle .bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 5.5px; }
.nav-toggle .bars span:nth-child(3) { top: 11px; }
.nav-toggle.open .bars span:nth-child(1) { top: 5.5px; transform: rotate(45deg); }
.nav-toggle.open .bars span:nth-child(2) { opacity: 0; }
.nav-toggle.open .bars span:nth-child(3) { top: 5.5px; transform: rotate(-45deg); }

.mobile-call {
  display: none;
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--ink-soft);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.2s ease;
    box-shadow: 0 18px 30px rgba(0,0,0,0.35);
  }
  .nav-links.menu-open {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    border-bottom-width: 1px !important;
    font-size: 1rem;
  }
  .nav-links a.active { border-bottom-color: var(--line); }
  .nav-links li:last-child a { border-bottom: none; }

  .mobile-call {
    display: block;
    margin-top: 14px;
    text-align: center;
  }
}

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

/* ============================================
   GENERAL MOBILE REFINEMENT
   ============================================ */
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  section { padding: 52px 0; }
  .section-tight { padding: 34px 0; }
  .hero-badges span { font-size: 0.7rem; padding: 6px 10px; }
  .hero-badges { gap: 8px; margin: 18px 0 26px; }
  h1 { font-size: clamp(2.6rem, 11vw, 4.5rem) !important; }
  .lede { font-size: 1.02rem; }
}

@media (max-width: 420px) {
  .brand small { display: none; }
  .brand { font-size: 1.25rem; }
}
