/*
Theme Name: Trucker Delboy
Theme URI: https://truckerdelboy.co.uk
Author: Trucker Delboy
Author URI: https://truckerdelboy.co.uk
Description: A bold, high-vis theme built for a UK lorry driver and content creator. Full-bleed hero, overhanging logo badge, video grid, merch band, journey gallery and newsletter — all driven from the Customiser.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: truckerdelboy
Tags: blog, entertainment, one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  --lime: #b8e024;
  --lime-hot: #d2f53c;
  --lime-deep: #8fae12;
  --olive: #6f8410;
  --olive-dark: #4a5a0d;
  --ink: #0d0f0c;
  --coal: #17190f;
  --slate: #1e2118;
  --line: #33381f;
  --paper: #f4f5ee;
  --ash: #a9b09c;

  --display: "Archivo Black", "Arial Black", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --util: "Barlow Condensed", "Arial Narrow", sans-serif;

  --skew: skewX(-9deg);
  --wrap: 1180px;
  --wrap-narrow: 780px;

  --tear: polygon(
    1% 3%, 12% 0.6%, 26% 2.4%, 41% 0.4%, 57% 2.6%, 72% 0.5%, 88% 2.6%, 99% 0.8%,
    99.4% 14%, 98% 29%, 99.5% 45%, 98.2% 61%, 99.6% 76%, 98% 90%, 99% 97.5%,
    86% 99.4%, 71% 97.4%, 55% 99.6%, 39% 97.4%, 24% 99.5%, 10% 97.6%, 0.8% 99%,
    0.5% 86%, 1.8% 71%, 0.4% 55%, 1.6% 39%, 0.4% 24%, 1.8% 12%
  );

  --halftone: radial-gradient(circle at center, rgba(184, 224, 36, 0.65) 1.4px, transparent 1.6px);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); text-underline-offset: 3px; }
a:hover { color: var(--lime-hot); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1.15em; }

::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; overflow: hidden;
  position: absolute !important; word-wrap: normal !important;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--lime); color: var(--ink);
  font-family: var(--util); text-transform: uppercase;
  padding: 0.6em 1.2em; text-decoration: none;
}
.skip-link:focus { left: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.wrap--narrow { max-width: var(--wrap-narrow); }

/* Slanted display type — the house voice */
.slant { display: inline-block; transform: var(--skew); }

/* Section headings, centred with brush rules either side */
.sec-head { text-align: center; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.sec-head h2 {
  display: inline-block;
  transform: var(--skew);
  color: var(--lime);
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  margin: 0;
}
.sec-head--rules {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1rem, 4vw, 2.5rem);
}
.sec-head--rules::before, .sec-head--rules::after {
  content: ""; flex: 1; max-width: 240px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  text-transform: uppercase;
  text-decoration: none;
  background: var(--lime);
  color: var(--ink);
  border: 0;
  padding: 0.7em 1.4em 0.7em 1.7em;
  border-radius: 999px;
  cursor: pointer;
  transform: var(--skew);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 8px 24px rgba(184, 224, 36, 0.22);
}
.btn > * { transform: skewX(9deg); }
.btn:hover {
  background: var(--lime-hot); color: var(--ink);
  transform: var(--skew) translateY(-3px);
  box-shadow: 0 14px 30px rgba(184, 224, 36, 0.3);
}
.btn__dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2em; height: 2em; border-radius: 50%;
  background: var(--ink); color: var(--lime);
  flex: none;
}
.btn__dot svg { width: 0.9em; height: 0.9em; fill: currentColor; }
.btn--dark { background: var(--ink); color: var(--lime); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.btn--dark:hover { background: #000; color: var(--lime-hot); }
.btn--dark .btn__dot { background: var(--lime); color: var(--ink); }
.btn--outline { background: transparent; color: var(--lime); box-shadow: inset 0 0 0 2px var(--lime); }
.btn--outline:hover { background: var(--lime); color: var(--ink); }

/* ==========================================================================
   4. Forms
   ========================================================================== */
input[type="text"], input[type="email"], input[type="url"], input[type="search"],
input[type="password"], textarea, select {
  width: 100%;
  background: var(--slate);
  border: 2px solid var(--line);
  color: var(--paper);
  font: inherit;
  padding: 0.7em 0.95em;
  border-radius: 4px;
}
input:focus, textarea:focus, select:focus { border-color: var(--lime); outline: none; }
input[type="submit"] {
  width: auto;
  font-family: var(--util); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--lime); color: var(--ink);
  border-color: var(--lime); cursor: pointer;
}
input[type="submit"]:hover { background: var(--lime-hot); }

/* ==========================================================================
   5. Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: #000;
  border-bottom: 1px solid #000;
}
.site-header__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  min-height: 96px;
  display: grid;
  grid-template-columns: 1fr clamp(130px, 18vw, 210px) 1fr;
  align-items: center;
  gap: 1rem;
}
.hnav ul { list-style: none; display: flex; margin: 0; padding: 0; gap: clamp(0.6rem, 2vw, 1.8rem); }
.hnav--right ul { justify-content: flex-end; }
.hnav a {
  font-family: var(--util);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.hnav a:hover,
.hnav .current-menu-item > a,
.hnav .current_page_item > a { color: var(--lime); border-bottom-color: var(--lime); }

.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.social-icons { display: flex; gap: 0.7rem; }
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  color: var(--lime);
}
.social-icons svg { width: 100%; height: 100%; fill: currentColor; }
.social-icons a:hover { color: var(--lime-hot); transform: translateY(-2px); }

/* Overhanging round badge */
.site-badge {
  position: absolute;
  left: 50%; top: 6px;
  transform: translateX(-50%);
  display: block;
  width: clamp(120px, 17vw, 196px);
  z-index: 3;
  transition: width 0.25s ease, top 0.25s ease;
}
.site-badge img { width: 100%; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.7)); }
.site-header.is-scrolled .site-badge { width: clamp(64px, 8vw, 78px); top: 9px; }

.nav-toggle {
  display: none;
  background: transparent; border: 2px solid var(--lime); color: var(--lime);
  border-radius: 4px; padding: 0.35em 0.7em; font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.nav-toggle:hover { background: var(--lime); color: var(--ink); }

.mobile-nav { display: none; background: #000; border-top: 1px solid var(--line); padding: 1rem clamp(1rem, 4vw, 2rem) 1.4rem; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0 0 0.6rem; padding: 0; }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav a {
  display: block; padding: 0.75em 0;
  font-family: var(--util); font-weight: 600; font-size: 1.1rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--paper); text-decoration: none;
}
.mobile-nav a:hover { color: var(--lime); }
.mobile-nav .social-icons { padding-top: 0.9rem; }

@media (max-width: 900px) {
  .site-header__inner { display: flex; justify-content: flex-end; min-height: 78px; }
  .hnav { display: none; }
  .header-right { flex-direction: row; align-items: center; }
  .header-right .social-icons { display: none; }
  .nav-toggle { display: inline-block; }
  .site-badge { width: clamp(104px, 26vw, 132px); }
  .site-header.is-scrolled .site-badge { width: 62px; }
}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(480px, 72vh, 760px);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: clamp(4.5rem, 11vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  background-color: #14170f;
  background-size: cover;
  background-position: center;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 38%, rgba(0,0,0,0.8) 100%),
    radial-gradient(ellipse 60% 50% at 50% 65%, rgba(184,224,36,0.16), transparent 70%);
}
/* Fallback road when no hero image is set */
.hero--noimage .hero__road {
  position: absolute; left: 0; right: 0; bottom: 0; height: 62%;
  background:
    linear-gradient(180deg, #1b1e16 0%, #0c0e0a 100%);
  clip-path: polygon(0 100%, 34% 0, 66% 0, 100% 100%);
  opacity: 0.9;
}
.hero--noimage .hero__road::after {
  content: "";
  position: absolute; left: 50%; bottom: 0; width: 2%; height: 100%;
  transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, rgba(244,245,238,0.5) 0 8%, transparent 8% 18%);
  clip-path: polygon(35% 0, 65% 0, 100% 100%, 0 100%);
}
/* Halftone dot gutters, straight from the artwork */
.hero__dots {
  position: absolute; top: 0; bottom: 0; width: clamp(70px, 12vw, 170px);
  background-image: var(--halftone);
  background-size: 9px 9px;
  opacity: 0.75;
  pointer-events: none;
}
.hero__dots--l { left: 0; -webkit-mask-image: linear-gradient(90deg, #000, transparent); mask-image: linear-gradient(90deg, #000, transparent); }
.hero__dots--r { right: 0; -webkit-mask-image: linear-gradient(270deg, #000, transparent); mask-image: linear-gradient(270deg, #000, transparent); }

.hero__inner { position: relative; z-index: 2; max-width: 820px; }
.hero__title { margin: 0 0 0.35em; }
.hero__title .l1 {
  display: block; color: var(--paper);
  font-size: clamp(2.2rem, 6.4vw, 4.4rem);
  transform: var(--skew);
  text-shadow: 0 6px 22px rgba(0,0,0,0.75);
}
.hero__title .l2 {
  display: block; color: var(--lime);
  font-size: clamp(1.5rem, 4.1vw, 2.75rem);
  transform: var(--skew);
  text-shadow: 0 6px 22px rgba(0,0,0,0.75);
}
.hero__lede {
  color: #e7e9df;
  font-size: clamp(0.98rem, 1.7vw, 1.1rem);
  max-width: 34em; margin: 0 auto 2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* ==========================================================================
   7. About
   ========================================================================== */
.about { background: var(--coal); padding: clamp(3rem, 7vw, 5.5rem) 0; }
.about__inner {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.frame-tear {
  background: var(--lime);
  padding: 12px;
  clip-path: var(--tear);
  transform: rotate(-1.4deg);
}
.frame-tear img { width: 100%; clip-path: var(--tear); }
.frame-tear--empty {
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); color: rgba(13,15,12,0.6); font-size: 1.4rem;
  text-align: center; padding: 2rem;
}
.about h2 { color: var(--lime); font-size: clamp(1.9rem, 4.4vw, 2.9rem); transform: var(--skew); margin-bottom: 0.25em; }
.about__sub {
  font-family: var(--display); text-transform: uppercase;
  color: var(--paper); font-size: clamp(1rem, 2.1vw, 1.35rem);
  transform: var(--skew); display: inline-block; margin-bottom: 1.1rem;
}
.about__text { color: #d9dcd0; max-width: 40em; }
@media (max-width: 820px) {
  .about__inner { grid-template-columns: 1fr; }
}

/* ==========================================================================
   8. What I do
   ========================================================================== */
.pillars { background: var(--coal); padding: 0 0 clamp(3rem, 7vw, 5rem); }
.pillars__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.pillar {
  text-align: center;
  padding: 0 clamp(0.5rem, 2vw, 1.6rem);
  border-right: 2px solid var(--line);
}
.pillar:last-child { border-right: 0; }
.pillar__icon {
  position: relative;
  width: 92px; height: 78px;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
}
.pillar__icon::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(111, 132, 16, 0.5);
  border-radius: 46% 54% 60% 40% / 55% 42% 58% 45%;
  filter: blur(1px);
}
.pillar__icon svg { position: relative; width: 46px; height: 46px; fill: var(--lime); }
.pillar h3 {
  color: var(--paper); font-size: clamp(0.95rem, 1.7vw, 1.12rem);
  transform: var(--skew); display: inline-block; margin-bottom: 0.5em;
}
.pillar p { color: var(--ash); font-size: 0.95rem; margin: 0; }
@media (max-width: 780px) {
  .pillars__grid { grid-template-columns: 1fr 1fr; gap: 2rem 0; }
  .pillar:nth-child(2n) { border-right: 0; }
}
@media (max-width: 420px) {
  .pillars__grid { grid-template-columns: 1fr; }
  .pillar { border-right: 0; }
}

/* ==========================================================================
   9. Videos
   ========================================================================== */
.videos {
  position: relative;
  background:
    linear-gradient(180deg, var(--olive-dark) 0%, var(--olive) 45%, var(--olive-dark) 100%);
  padding: clamp(3rem, 7vw, 5rem) 0;
  overflow: hidden;
}
/* Tyre tracks running diagonally across the band */
.tyre-track {
  position: absolute;
  width: 320px; height: 130px;
  background:
    repeating-linear-gradient(90deg, rgba(13,15,12,0.55) 0 12px, transparent 12px 26px),
    repeating-linear-gradient(180deg, rgba(13,15,12,0.4) 0 6px, transparent 6px 20px);
  opacity: 0.45;
  pointer-events: none;
}
.tyre-track--tl { top: -20px; left: -60px; transform: rotate(-24deg); }
.tyre-track--br { bottom: -30px; right: -70px; transform: rotate(-18deg); }
.videos .sec-head h2 { color: var(--paper); text-shadow: 0 4px 14px rgba(0,0,0,0.4); }
.videos .sec-head--rules::before, .videos .sec-head--rules::after {
  background: linear-gradient(90deg, transparent, rgba(13,15,12,0.5), transparent);
}
.video-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem);
}
.video-card { text-align: center; }
.video-card__thumb {
  position: relative; display: block;
  aspect-ratio: 16 / 10;
  border: 3px solid var(--lime);
  border-radius: 6px;
  overflow: hidden;
  background: #10120c;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card__thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.15);
}
.video-card__play {
  position: absolute; z-index: 2; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-card__play svg { width: 20px; height: 20px; fill: #14170f; margin-left: 3px; }
.video-card__thumb:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(0,0,0,0.55); }
.video-card__thumb:hover .video-card__play { transform: translate(-50%, -50%) scale(1.12); background: var(--lime); }
.video-card h3 {
  font-size: clamp(0.95rem, 1.7vw, 1.15rem);
  margin: 1rem 0 0.35rem;
  transform: var(--skew); display: inline-block;
  color: var(--paper);
}
.video-card h3 a { color: inherit; text-decoration: none; }
.video-card h3 a:hover { color: var(--ink); }
.video-card time {
  display: block;
  font-family: var(--util); font-style: italic; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.82rem;
  color: rgba(13,15,12,0.75);
}
.videos__cta { text-align: center; margin-top: clamp(1.8rem, 4vw, 2.6rem); position: relative; z-index: 2; }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .video-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   10. Merch band
   ========================================================================== */
.merch { background: var(--ink); padding: clamp(2rem, 5vw, 3.5rem) 0; }
.merch__band {
  position: relative;
  max-width: var(--wrap); margin: 0 auto;
  background: var(--lime);
  clip-path: var(--tear);
  overflow: hidden;
}
.merch__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2rem, 4.5vw, 3.2rem) clamp(1.6rem, 4vw, 3rem);
}
.merch__media img { width: 100%; }
.merch__media--empty {
  aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
  border: 3px dashed rgba(13,15,12,0.35); border-radius: 8px;
  font-family: var(--display); color: rgba(13,15,12,0.55); text-align: center; padding: 1.5rem;
}
.merch__copy { text-align: right; }
.merch__copy h2 {
  color: var(--ink); font-size: clamp(1.8rem, 4.6vw, 3.1rem);
  transform: var(--skew); display: inline-block; margin-bottom: 0.2em;
}
.merch__copy p {
  font-family: var(--display); text-transform: uppercase;
  color: rgba(13,15,12,0.82); font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  transform: var(--skew); display: inline-block; margin-bottom: 1.4rem;
}
.merch .tyre-track { opacity: 0.28; }
@media (max-width: 820px) {
  .merch__inner { grid-template-columns: 1fr; }
  .merch__copy { text-align: center; }
}

/* ==========================================================================
   11. Journey gallery
   ========================================================================== */
.journey { background: var(--coal); padding: clamp(3rem, 7vw, 5rem) 0; }
.journey__grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.6rem, 1.6vw, 1.1rem);
  margin-bottom: clamp(1.8rem, 4vw, 2.6rem);
}
.journey__item {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 2px solid var(--lime);
  border-radius: 4px;
  overflow: hidden;
  background: var(--slate);
}
.journey__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.journey__item:hover img { transform: scale(1.07); }
.journey__socials {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.journey__socials a {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--util); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--paper); text-decoration: none;
}
.journey__socials svg { width: 26px; height: 26px; fill: var(--lime); }
.journey__socials a:hover { color: var(--lime); }
@media (max-width: 900px) { .journey__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .journey__grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   12. Newsletter
   ========================================================================== */
.subscribe { background: var(--ink); border-top: 1px solid var(--line); padding: clamp(2.2rem, 5vw, 3.4rem) 0; }
.subscribe__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
.subscribe h2 { color: var(--lime); font-size: clamp(1.5rem, 3.4vw, 2.2rem); transform: var(--skew); display: inline-block; margin-bottom: 0.4em; }
.subscribe p { color: var(--ash); margin: 0; font-size: 0.98rem; }
.subscribe__form { display: flex; }
.subscribe__form input[type="email"] {
  border-radius: 0; border-right: 0; background: var(--paper); color: var(--ink);
  border-color: var(--paper);
  font-family: var(--util); text-transform: uppercase; letter-spacing: 0.1em;
}
.subscribe__form input[type="email"]::placeholder { color: #6d7266; }
.subscribe__form button {
  border: 0; border-radius: 0;
  background: var(--lime); color: var(--ink);
  font-family: var(--util); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  padding: 0 1.6em; cursor: pointer; white-space: nowrap;
}
.subscribe__form button:hover { background: var(--lime-hot); }
@media (max-width: 780px) {
  .subscribe__inner { grid-template-columns: 1fr; }
  .subscribe__form { flex-direction: column; gap: 0.6rem; }
  .subscribe__form button { padding: 0.8em 1.6em; }
  .subscribe__form input[type="email"] { border-right: 2px solid var(--paper); }
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer { background: #000; position: relative; overflow: hidden; }
.site-footer__inner {
  position: relative; z-index: 2;
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(2.2rem, 5vw, 3.4rem) clamp(1rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.footer-badge {
  display: block;
  width: clamp(96px, 12vw, 132px);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.footer-badge img { width: 100%; }
.footer-badge:hover { transform: rotate(-4deg) scale(1.04); filter: brightness(1.15); }
.site-footer h3 {
  font-family: var(--util); font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.2em; color: var(--lime);
  margin-bottom: 0.9em;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45em; }
.site-footer a { color: #cfd4c6; text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: var(--lime); }
.footer-sign {
  font-family: var(--display); text-transform: uppercase;
  color: var(--lime); font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  transform: var(--skew); display: inline-block; text-align: right;
}
.footer-truck { position: absolute; right: 2%; bottom: 12%; width: min(320px, 34vw); opacity: 0.28; z-index: 1; pointer-events: none; }
.footer-truck svg { width: 100%; fill: var(--olive); }
.site-footer__bottom {
  position: relative; z-index: 2;
  border-top: 1px solid #1d2015;
  padding: 1rem;
  text-align: center;
  font-family: var(--util); text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.8rem; color: #767c6d;
}
@media (max-width: 900px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .footer-sign { text-align: left; }
}
@media (max-width: 520px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   14. Interior pages (blog, single, archive, search, 404)
   ========================================================================== */
.page-head {
  background: var(--coal);
  border-bottom: 3px solid var(--lime);
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
}
.page-head h1 {
  color: var(--lime); transform: var(--skew); display: inline-block;
  font-size: clamp(1.9rem, 5vw, 3rem); margin: 0;
}
.page-head .eyebrow, .entry-header .eyebrow {
  display: inline-block;
  font-family: var(--util); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.24em;
  font-size: 0.82rem; color: var(--ash); margin-bottom: 0.7rem;
}
.page-head p { color: var(--ash); margin: 0.8rem auto 0; max-width: 44em; }

.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(1.2rem, 3vw, 1.9rem);
  padding: clamp(2.5rem, 6vw, 4rem) 0 0;
}
.post-card {
  background: var(--coal);
  border: 2px solid var(--line);
  border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.post-card:hover { transform: translateY(-5px); border-color: var(--lime); }
.post-card__thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--olive-dark); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__thumb--empty {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 2rem; color: rgba(13,15,12,0.6);
}
.post-card__body { padding: 1.1rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.post-card__meta {
  font-family: var(--util); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.78rem; color: var(--ash); display: flex; gap: 0.9em; flex-wrap: wrap;
}
.post-card__meta .cat { color: var(--lime); }
.post-card__title { font-size: 1.12rem; margin: 0; transform: var(--skew); display: inline-block; }
.post-card__title a { color: var(--paper); text-decoration: none; }
.post-card__title a:hover { color: var(--lime); }
.post-card__excerpt { color: var(--ash); font-size: 0.95rem; margin: 0; }

.entry-header { padding: clamp(2.2rem, 5vw, 3.4rem) 0 1.2rem; }
.entry-header h1 { font-size: clamp(1.8rem, 4.6vw, 2.9rem); transform: var(--skew); display: inline-block; }
.entry-meta {
  font-family: var(--util); text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.82rem; color: var(--ash); display: flex; gap: 1.1em; flex-wrap: wrap; margin-bottom: 0.9rem;
}
.entry-meta a { color: var(--lime); text-decoration: none; }
.entry-thumb { margin-top: 1.4rem; border: 3px solid var(--lime); border-radius: 6px; overflow: hidden; }
.entry-content { padding-bottom: 2.5rem; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; color: var(--paper); }
.entry-content a { text-decoration: underline; }
.entry-content blockquote {
  margin: 1.8em 0; padding: 1em 1.4em;
  border-left: 6px solid var(--lime); background: var(--coal);
  font-style: italic;
}
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content img { border-radius: 6px; }
.entry-content figcaption, .entry-content .wp-caption-text {
  font-family: var(--util); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.82rem; color: var(--ash); margin-top: 0.5em;
}
.entry-content pre {
  background: var(--coal); border: 2px solid var(--line); border-radius: 6px;
  padding: 1em 1.2em; overflow-x: auto;
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 0.6em 0.8em; text-align: left; }
.entry-content th { background: var(--coal); font-family: var(--util); text-transform: uppercase; letter-spacing: 0.08em; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 0; }
.tag-row a {
  font-family: var(--util); font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.12em; text-decoration: none;
  color: var(--lime); border: 2px solid var(--line); border-radius: 999px; padding: 0.28em 0.95em;
}
.tag-row a:hover { border-color: var(--lime); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 2.2rem 0 3rem; }
.post-nav a {
  display: block; background: var(--coal); border: 2px solid var(--line);
  border-radius: 6px; padding: 1rem 1.2rem; text-decoration: none; color: var(--paper);
}
.post-nav a:hover { border-color: var(--lime); }
.post-nav .label {
  display: block; font-family: var(--util); text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 0.76rem; color: var(--lime); margin-bottom: 0.3em;
}
.post-nav__next { text-align: right; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav__next { text-align: left; } }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.4rem; padding: 2.5rem 0 3rem; }
.pagination .page-numbers {
  font-family: var(--util); font-weight: 700; min-width: 2.6em; text-align: center;
  padding: 0.5em 0.8em; border: 2px solid var(--line); border-radius: 4px;
  color: var(--paper); text-decoration: none;
}
.pagination .page-numbers:hover { border-color: var(--lime); color: var(--lime); }
.pagination .page-numbers.current { background: var(--lime); border-color: var(--lime); color: var(--ink); }

.comments-area { padding: 0 0 3rem; }
.comments-area h2 { font-size: 1.3rem; transform: var(--skew); display: inline-block; }
.comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.comment-list .comment {
  border: 2px solid var(--line); border-radius: 6px; background: var(--coal);
  padding: 1.1rem 1.3rem; margin-bottom: 1rem;
}
.comment-list .children { list-style: none; margin: 1rem 0 0; padding-left: clamp(0.8rem, 3vw, 1.6rem); border-left: 3px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 0.7em; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-family: var(--util); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; }
.comment-metadata a { color: var(--ash); text-decoration: none; }
.reply a { font-family: var(--util); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem; text-decoration: none; }
.comment-form label {
  display: block; font-family: var(--util); text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.85rem; margin-bottom: 0.3em; color: var(--ash);
}
.comment-form p { margin-bottom: 1.1em; }
.comment-form input[type="submit"] { border-radius: 999px; padding: 0.7em 1.8em; }

.error-404 { text-align: center; padding: clamp(3.5rem, 9vw, 6rem) 0; }
.error-404 .code {
  font-family: var(--display); font-size: clamp(5rem, 17vw, 11rem);
  color: var(--lime); line-height: 1; transform: var(--skew); display: inline-block;
}

/* ==========================================================================
   15. WP core alignment classes
   ========================================================================== */
.alignwide { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.sticky .post-card__title::before { content: "★ "; color: var(--lime); }
