/* ==========================================================================
   HAUL HOUNDS — Design tokens
   Palette pulled from the trailer wrap: burnt orange, near-black, warm white.
   Type: Archivo Black (display, matches the wrap lettering) + Work Sans (body)
   + IBM Plex Mono (data / pricing — weigh-ticket feel for a hauling business).
   Signature device: the dog-tag badge (circle + notch) reused as a UI part,
   and an angled "tailgate cut" between sections instead of straight rules.
   ========================================================================== */

:root {
  --black:        #17140F;
  --black-soft:   #221D16;
  --white:        #FFFFFF;
  --paper:        #F6F3EC;
  --steel:        #59544B;
  --line:         #E7E1D2;

  --orange:       #DC5A1D;
  --orange-deep:  #A8420F;
  --orange-tint:  #F3D9C6;
  --gold:         #D9A61C;

  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-body:    'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --radius-sm: 4px;
  --radius-md: 10px;
  --shadow-card: 0 12px 30px rgba(23, 20, 15, 0.14);
  --edge: 3.2vw; /* angled tailgate-cut size, scales with viewport */
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

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

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 6vw;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-block;
  margin-bottom: 0.6em;
}

.section {
  padding: 76px 0;
}
.section--tight { padding: 52px 0; }
.section--black { background: var(--black); color: var(--white); }
.section--paper { background: var(--paper); }
.section--orange { background: var(--orange); color: var(--white); }

/* ---- angled "tailgate" divider between sections ---- */
.cut-top {
  clip-path: polygon(0 var(--edge), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(-1 * var(--edge));
  position: relative;
}
.cut-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--edge)), 0 100%);
  padding-bottom: calc(48px + var(--edge));
}

/* ---- hazard stripe accent bar ---- */
.hazard-bar {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--orange), var(--orange) 18px,
    var(--black) 18px, var(--black) 36px
  );
}

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--orange);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--orange);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #D8D2C4;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--white);
  border-color: var(--orange);
}
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--orange);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

/* ---- tag-badge button (signature element) ---- */
.tag-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 22px 12px 18px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
}
.tag-btn::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}
.tag-btn:hover { transform: translateY(-2px); }

.tag-btn--solid {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-card);
}
.tag-btn--solid:hover { background: var(--orange-deep); }

.tag-btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.tag-btn--outline:hover { border-color: var(--white); }

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

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  color: var(--white);
  background: var(--black);
  overflow: hidden;
}
.hero-media {
  position: relative;
  height: min(78vh, 620px);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,20,15,0.15) 0%, rgba(23,20,15,0.85) 88%),
              linear-gradient(90deg, rgba(23,20,15,0.72) 0%, rgba(23,20,15,0.05) 55%);
}
.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 6vw 44px;
  max-width: 720px;
}
.hero-copy .eyebrow { color: var(--gold); }
.hero-copy p {
  font-size: 1.1rem;
  color: #EFEAE0;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}
.hero-phone {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--white);
}

/* ==========================================================================
   Trust bullets
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.trust-badge {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.trust-badge::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 3px solid var(--black);
  background: var(--paper);
}
.trust-item h3 { margin-bottom: 4px; font-size: 1.02rem; }
.trust-item p { color: var(--steel); margin: 0; font-size: 0.96rem; }

/* ==========================================================================
   Size / tag cards
   ========================================================================== */
.size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
}
.size-card {
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease;
}
.size-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}
.size-tag {
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  position: relative;
  border: 3px solid var(--gold);
}
.size-tag::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid var(--black-soft);
  background: var(--paper);
}
.size-card h3 { color: var(--white); margin-bottom: 6px; }
.size-card p { color: #C9C3B6; font-size: 0.9rem; margin: 0; }

/* ==========================================================================
   Pricing table — weigh-ticket style
   ========================================================================== */
.ticket {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 26px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
table.price-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
}
.price-table th, .price-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
}
.price-table thead th {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  border-bottom: 2px solid var(--black);
}
.price-table tbody tr:hover { background: var(--paper); }
.price-table td.num, .price-table th.num { text-align: right; }
.price-table .size-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--orange-deep);
}
.price-table td small, .price-table th small { display: block; color: var(--steel); font-weight: 400; }

.ticket-foot {
  padding: 16px 26px;
  font-size: 0.85rem;
  color: var(--steel);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

/* ==========================================================================
   Cards / lists
   ========================================================================== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.list-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 28px;
}
.list-card h3 { color: var(--orange-deep); margin-bottom: 12px; }
.list-card ul { margin: 0; padding-left: 20px; color: var(--steel); }
.list-card li { margin-bottom: 6px; }

.no-list {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 28px;
}
.no-list h3 { color: var(--gold); margin-bottom: 12px; }
.no-list ul { margin: 0; padding-left: 20px; color: #D8D2C4; }
.no-list li { margin-bottom: 6px; }

/* ==========================================================================
   Forms
   ========================================================================== */
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--white);
  color: var(--black);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--orange);
}
.field textarea { resize: vertical; min-height: 110px; }

/* ==========================================================================
   Pay section
   ========================================================================== */
.pay-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 32px;
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #FBE9DC; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--black);
  color: #C9C3B6;
  padding: 50px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-brand img {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--orange);
}
.footer-brand span {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1rem;
}
.site-footer h4 {
  font-family: var(--font-mono);
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; font-size: 0.92rem; }
.site-footer a:hover { color: var(--orange); }
.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Gallery strip
   ========================================================================== */
.gallery-strip {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .grid-2, .trust-grid, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 6vw 24px;
    gap: 4px;
    border-bottom: 3px solid var(--orange);
    transform: translateY(-120%);
    transition: transform .2s ease;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav a { padding: 10px 0; width: 100%; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  :root { --edge: 8vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
