/* DCE theme — compiled from site.css + home.css + sub.css
   Design tokens come from theme.json (wp--preset--color--* and wp--preset--font-family--*).
   We keep legacy --nh-blue etc. as aliases so the original CSS continues to work. */

:root {
  --nh-blue: var(--wp--preset--color--nh-blue, #1B3A6B);
  --nh-blue-deep: var(--wp--preset--color--nh-blue-deep, #0F2647);
  --nh-blue-bright: var(--wp--preset--color--nh-blue-bright, #2E5BA8);
  --nh-blue-soft: #4A6FA8;
  --barn-red: var(--wp--preset--color--barn-red, #A8321F);
  --barn-red-deep: var(--wp--preset--color--barn-red-deep, #7E2414);
  --cream: var(--wp--preset--color--cream, #F4EFE4);
  --bone: var(--wp--preset--color--bone, #FAF7F1);
  --paper: var(--wp--preset--color--paper, #EEE7D6);
  --ink: var(--wp--preset--color--ink, #1A1814);
  --ink-soft: var(--wp--preset--color--ink-soft, #4A443B);
  --rust: var(--wp--preset--color--rust, #7A4423);
  --khaki: var(--wp--preset--color--khaki, #C8B88A);
  --hay: var(--wp--preset--color--hay, #E8D9A8);
  --font-display: var(--wp--preset--font-family--display, 'Oswald', sans-serif);
  --font-body: var(--wp--preset--font-family--body, 'Work Sans', system-ui, sans-serif);
  --font-mono: var(--wp--preset--font-family--mono, 'JetBrains Mono', monospace);
  --shadow-hard: 4px 4px 0 var(--nh-blue-deep);
  --shadow-red: 4px 4px 0 var(--barn-red-deep);
}

/* Dickson County Equipment — shared styles */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bone);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--nh-blue); text-decoration: none; }
a:hover { color: var(--barn-red); }

/* ========== Utility ========== */
.container { max-width: 1360px; margin: 0 auto; padding: 0 40px; }
.container-tight { max-width: 1080px; margin: 0 auto; padding: 0 40px; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--barn-red);
  font-weight: 500;
}
.eyebrow-blue { color: var(--nh-blue); }
.eyebrow-cream { color: var(--cream); opacity: 0.85; }

/* ========== Top bar ========== */
.topbar {
  background: var(--nh-blue-deep);
  color: #D8DEEA;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 0;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1360px; margin: 0 auto; padding: 0 40px;
}
.topbar a { color: #D8DEEA; }
.topbar a:hover { color: #fff; }
.topbar .dot { color: var(--barn-red); margin: 0 10px; }
.topbar-right { display: flex; gap: 20px; align-items: center; }

/* ========== Nav ========== */
.nav {
  background: #fff;
  border-bottom: 3px solid var(--nh-blue);
  position: sticky; top: 0; z-index: 50;
}
.nav-inner {
  display: flex; align-items: center; gap: 40px;
  max-width: 1360px; margin: 0 auto; padding: 14px 40px;
}
.nav-logo { height: 62px; width: auto; display: block; }
.nav-links {
  display: flex; gap: 32px; margin-left: auto; align-items: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 15px;
  font-weight: 600;
}
.nav-links a { color: var(--ink); padding: 8px 0; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--nh-blue); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -16px;
  height: 3px; background: var(--barn-red);
}
.nav-cta {
  background: var(--barn-red);
  color: #fff !important;
  padding: 12px 20px !important;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  box-shadow: var(--shadow-red);
  transition: transform .1s ease;
  display: inline-flex; align-items: center; gap: 10px;
}
.nav-cta:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--barn-red-deep); color: #fff !important; }
.nav-cta:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--barn-red-deep); }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-red { background: var(--barn-red); color: #fff; box-shadow: var(--shadow-red); }
.btn-red:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--barn-red-deep); color: #fff; }
.btn-blue { background: var(--nh-blue); color: #fff; box-shadow: var(--shadow-hard); }
.btn-blue:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--nh-blue-deep); color: #fff; }
.btn-ghost {
  background: rgba(0,0,0,0.35);
  color: var(--cream);
  border: 2px solid var(--cream);
  padding: 14px 26px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.btn-ghost:hover { background: var(--cream); color: var(--nh-blue-deep); text-shadow: none; }
.btn-outline {
  background: transparent; color: var(--nh-blue);
  border: 2px solid var(--nh-blue);
  padding: 14px 26px;
}
.btn-outline:hover { background: var(--nh-blue); color: #fff; }

/* ========== Placeholder imagery ========== */
.shot {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      rgba(27,58,107,0.06) 0 10px,
      rgba(27,58,107,0.02) 10px 20px),
    linear-gradient(180deg, #E5DCC8, #D4C6A8);
  overflow: hidden;
  display: flex; align-items: flex-end;
  border: 1px solid rgba(27,58,107,0.15);
}
.shot::before {
  content: attr(data-tag);
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ink); color: var(--cream);
  padding: 4px 8px;
  z-index: 2;
}
.shot-caption {
  position: relative; z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 12px; margin: 0;
  background: linear-gradient(180deg, transparent, rgba(244,239,228,0.92));
  width: 100%;
}
.shot-dark { background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.04) 0 10px,
      rgba(255,255,255,0.01) 10px 20px),
    linear-gradient(180deg, #2a3440, #1a2028);
}
.shot-dark::before { background: var(--barn-red); color: #fff; }
.shot-dark .shot-caption {
  color: #D8DEEA;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.65));
}

/* ========== Star divider ========== */
.star-rule {
  display: flex; align-items: center; gap: 16px;
  color: var(--nh-blue);
  margin: 0;
}
.star-rule::before, .star-rule::after {
  content: ''; flex: 1; height: 2px; background: currentColor;
}
.star-rule svg { flex: 0 0 auto; width: 18px; height: 18px; fill: currentColor; }

/* ========== Footer ========== */
.site-footer {
  background: var(--nh-blue-deep);
  color: #C8CFDB;
  padding: 64px 0 24px;
  margin-top: 80px;
}
.site-footer a { color: #C8CFDB; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-grid h4 {
  color: #fff; font-size: 14px; letter-spacing: 0.18em;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.footer-brand img { height: 72px; filter: brightness(0) invert(1); opacity: 0.95; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 320px; color: #9FA8B8; }
.footer-bottom {
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #7A8496;
}

/* ========== Section basics ========== */
section { padding: 96px 0; }
.section-head { margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(36px, 5vw, 68px);
  max-width: 900px;
  text-wrap: balance;
}
.section-head p.lede {
  font-size: 19px; max-width: 640px; color: var(--ink-soft);
  margin-top: 16px;
}

/* Pennant strip */
.pennant-strip {
  background: var(--barn-red);
  color: #fff;
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.pennant-track { display: flex; gap: 40px; white-space: nowrap; }
.pennant-track span { display: inline-flex; align-items: center; gap: 16px; }
.pennant-track svg { width: 14px; height: 14px; fill: currentColor; opacity: 0.6; }

/* Noise/grain overlay */
.grain::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.25;
  mix-blend-mode: overlay;
  z-index: 1;
}


/* ===== home.css ===== */
/* Home page — specific styles */

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  align-items: stretch;
}
.hero-bg.has-photo {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border: 0;
}
.hero-bg.has-photo::before { display: none; }
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,38,71,0.55) 0%, rgba(15,38,71,0.85) 100%);
  z-index: 1;
}
.hero-bg .shot-caption {
  background: rgba(15,38,71,0.7);
  color: var(--cream);
  position: relative;
  z-index: 2;
  max-width: 540px;
  margin: auto 40px 40px auto;
}
.hero-bg::before { background: var(--barn-red); color: #fff; }

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 88px;
  padding-bottom: 140px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(0,0,0,0.35);
  padding: 8px 14px;
  border: 1px solid rgba(244,239,228,0.25);
  margin-bottom: 28px;
}
.hero-eyebrow svg { color: var(--barn-red); }
.hero-title {
  font-size: clamp(64px, 9vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  max-width: 12ch;
  text-wrap: balance;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.hero-title em {
  font-style: normal;
  color: var(--hay);
  display: inline-block;
  position: relative;
}
.hero-title em::after {
  content: '';
  display: block;
  width: 0.25em;
  height: 0.08em;
  background: var(--barn-red);
  margin-top: 0.05em;
}
.hero-sub {
  font-size: 20px;
  line-height: 1.55;
  max-width: 560px;
  color: rgba(244,239,228,0.9);
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; align-items: center; }
.hero-ctas .dce-call-dd__menu { right: auto; left: 0; }

/* Stock badge */
.stock-badge {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  padding: 24px 28px;
  max-width: 620px;
  border: 3px solid var(--nh-blue-deep);
  box-shadow: 8px 8px 0 var(--barn-red);
}
.stock-badge-pulse {
  position: absolute;
  top: -14px; left: -14px;
  background: var(--barn-red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 12px;
}
.stock-badge-pulse::before { content: 'LIVE · ON THE LOT'; }
.stock-badge-main {
  display: flex; align-items: center; gap: 22px;
  padding-bottom: 18px;
  border-bottom: 2px dashed rgba(27,58,107,0.25);
}
.stock-badge-count {
  font-family: var(--font-display);
  font-size: 90px;
  line-height: 0.9;
  color: var(--nh-blue);
  font-weight: 700;
  display: flex;
  align-items: flex-start;
}
.stock-badge-count .plus { font-size: 40px; color: var(--barn-red); margin-top: 8px; }
.stock-badge-title {
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
  color: var(--nh-blue-deep);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.stock-badge-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
  display: flex; align-items: center; gap: 6px;
}
.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--barn-red);
  animation: pulse 1.6s ease-in-out infinite;
  margin-right: 2px;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.stock-badge-split {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  padding-top: 18px;
  gap: 12px;
}
.stock-badge-split > div {
  text-align: center;
  border-right: 1px solid rgba(27,58,107,0.15);
}
.stock-badge-split > div:last-child { border-right: none; }
.stock-badge-split span {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--nh-blue);
  font-weight: 700;
}
.stock-badge-split em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Fuzzy three-up stock badge */
.stock-badge--fuzzy { padding: 28px 32px 22px; }
.stock-badge-headline {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--font-display);
  color: var(--nh-blue);
  padding-bottom: 14px;
  border-bottom: 2px dashed rgba(27,58,107,0.25);
}
.stock-badge-headline .sb-prefix {
  font-size: 22px; font-weight: 700; letter-spacing: -0.01em;
}
.stock-badge-headline .sb-strap {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--barn-red);
  background: rgba(168,50,31,0.08);
  padding: 4px 8px;
  border: 1px solid rgba(168,50,31,0.3);
}
.stock-badge-split--three { padding-top: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(27,58,107,0.12); }
.stock-badge-split--three .sb-fig {
  font-family: var(--font-display);
  font-size: 96px; line-height: 1;
  font-weight: 800; color: var(--nh-blue);
  display: block;
  letter-spacing: -0.02em;
}
.stock-badge-split--three .sb-fig::before {
  content: '+';
  font-size: 44px; color: var(--barn-red);
  vertical-align: top; margin-right: 4px;
  font-weight: 700;
}
.stock-badge-foot {
  display: flex; align-items: flex-start; gap: 10px;
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px; line-height: 1.5;
  color: rgba(27,58,107,0.7);
}
.stock-badge-foot .live-dot { margin-top: 4px; flex: none; }

/* ========== PROOF STRIP ========== */
.proof {
  background: var(--nh-blue);
  color: var(--cream);
  padding: 60px 0;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.proof-item {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(244,239,228,0.18);
}
.proof-item:last-child { border-right: none; }
.proof-num {
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.proof-item:nth-child(even) .proof-num { color: var(--hay); }
.proof-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 14px;
  line-height: 1.5;
  color: rgba(244,239,228,0.85);
}

/* ========== LOT MAP ========== */
.lotmap { background: var(--bone); }
.lotmap-head {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 60px; align-items: end;
}
.lotmap-wrap {
  display: grid;
  grid-template-columns: 2.4fr 1fr;
  gap: 32px;
}
.lotmap-aerial {
  position: relative;
  aspect-ratio: 16/9;
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.03) 0 60px,
      transparent 60px 62px),
    repeating-linear-gradient(0deg,
      rgba(255,255,255,0.03) 0 60px,
      transparent 60px 62px),
    linear-gradient(180deg, #3a4a38 0%, #2a3628 100%);
  overflow: hidden;
  border: 3px solid var(--nh-blue-deep);
  display: block;
  padding: 0;
}
.lotmap-aerial::before {
  content: 'LOT MAP · LIVE · 287 E. COLLEGE ST';
  background: var(--nh-blue-deep);
  color: var(--cream);
  top: 12px; left: 12px;
}
.lotmap-svg { width: 100%; height: 100%; display: block; }
.lotmap-legend {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(15,38,71,0.9);
  color: var(--cream);
  padding: 14px 18px;
  display: grid; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 3;
  border: 1px solid rgba(244,239,228,0.2);
}
.lotmap-legend div { display: flex; align-items: center; gap: 8px; }
.dotlegend { width: 10px; height: 10px; display: inline-block; border-radius: 50%; }
.dl-blue { background: #4A90D9; }
.dl-red { background: var(--barn-red); }
.dl-khaki { background: #C8B88A; }
.dl-star { background: transparent; color: var(--hay); font-size: 14px; line-height: 1; width: auto; }
.lotmap-address {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(0,0,0,0.5);
  color: rgba(255,255,255,0.8);
  padding: 8px 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  z-index: 3;
}

.lotmap-side { display: flex; flex-direction: column; gap: 24px; }
.lotmap-card {
  background: var(--cream);
  border: 2px solid var(--nh-blue);
  padding: 28px;
}
.lotmap-hours {
  margin: 16px 0 24px;
  display: grid; gap: 10px;
  font-size: 15px;
}
.lotmap-hours > div { display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px dotted rgba(27,58,107,0.25); }
.lotmap-hours span { color: var(--ink-soft); }
.lotmap-hours em { font-style: normal; font-weight: 600; color: var(--nh-blue-deep); }
.lotmap-hours .closed em { color: var(--barn-red); }

.lotmap-quote {
  background: var(--nh-blue-deep);
  color: var(--cream);
  padding: 28px;
  position: relative;
  flex: 1;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 0.6;
  color: var(--barn-red);
  margin-bottom: 4px;
}
.lotmap-quote p { font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.quote-sig { font-size: 14px; }
.quote-sig strong { color: #fff; display: block; }
.quote-sig em { font-family: var(--font-mono); font-style: normal; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244,239,228,0.7); }

/* ========== PILLARS ========== */
.pillars { background: var(--paper); }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.pillar-grid--1up { grid-template-columns: 1fr; }
.pillar-grid--2up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pillar-grid--3up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .pillar-grid, .pillar-grid--3up, .pillar-grid--4up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pillar-grid, .pillar-grid--2up, .pillar-grid--3up, .pillar-grid--4up { grid-template-columns: 1fr; gap: 16px; }
}
.pillar {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  color: var(--ink);
  border: 3px solid var(--nh-blue-deep);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 8px 8px 0 var(--nh-blue-deep);
  text-decoration: none;
}
.pillar:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 var(--nh-blue-deep);
  color: var(--ink);
}
.pillar-red { box-shadow: 8px 8px 0 var(--barn-red-deep); border-color: var(--barn-red-deep); }
.pillar-red:hover { box-shadow: 12px 12px 0 var(--barn-red-deep); }
.pillar-khaki { box-shadow: 8px 8px 0 #8a7a4a; border-color: #8a7a4a; }
.pillar-khaki:hover { box-shadow: 12px 12px 0 #8a7a4a; }
.pillar-cream { box-shadow: 8px 8px 0 var(--ink); border-color: var(--ink); }
.pillar-cream:hover { box-shadow: 12px 12px 0 var(--ink); }

.pillar-stock { display: none; }

.pillar-media {
  aspect-ratio: 4/3;
  width: 100%;
  background-size: cover;
  background-position: center;
}
.pillar.has-img .pillar-media::after {
  content: ''; position: absolute; inset: 0;
  pointer-events: none;
}
.pillar-body { padding: 24px 24px 28px; }
.pillar-brand {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pillar-blue .pillar-brand { color: var(--nh-blue); }
.pillar-red .pillar-brand { color: var(--barn-red); }
.pillar-khaki .pillar-brand { color: #8a7a4a; }
.pillar-cream .pillar-brand { color: var(--ink); }

.pillar-body h3 {
  font-size: 30px;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--nh-blue-deep);
}
.pillar-red .pillar-body h3 { color: var(--barn-red-deep); }
.pillar-list {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; gap: 10px;
  font-size: 15px;
  color: var(--ink-soft);
  border-top: 1px dotted rgba(27,58,107,0.3);
  padding-top: 20px;
}
.pillar-list li { padding-left: 18px; position: relative; }
.pillar-list li::before {
  content: '★'; position: absolute; left: 0; color: var(--barn-red); font-size: 12px; top: 2px;
}
.pillar-cta {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--nh-blue);
}
.pillar-red .pillar-cta { color: var(--barn-red); }

/* ========== INVENTORY GRID ========== */
.inventory-grid-section { background: var(--bone); }
.inventory-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; flex-wrap: wrap;
}
.inventory-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  background: transparent;
  border: 1.5px solid var(--nh-blue);
  color: var(--nh-blue);
  cursor: pointer;
  transition: all .1s;
}
.chip:hover { background: var(--nh-blue); color: #fff; }
.chip-active { background: var(--nh-blue); color: #fff; }

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 1200px) { .inventory-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1024px) { .inventory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 480px)  { .inventory-grid { gap: 10px; } }
.inv-card { min-width: 0; }
.inv-card * { min-width: 0; word-wrap: break-word; overflow-wrap: anywhere; }
.inv-card {
  background: #fff;
  border: 1.5px solid rgba(27,58,107,0.2);
  display: flex; flex-direction: column;
  transition: transform .12s, box-shadow .12s;
}
.inv-card:hover {
  transform: translateY(-3px);
  box-shadow: 4px 6px 0 var(--nh-blue);
  border-color: var(--nh-blue);
}
.inv-media {
  aspect-ratio: 4/3;
  position: relative;
}
.inv-badge {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px;
  z-index: 3;
}
.inv-badge-new { background: var(--barn-red); color: #fff; }
.inv-badge-used { background: var(--khaki); color: var(--ink); }
.inv-badge-hot { background: var(--hay); color: var(--nh-blue-deep); }
.inv-body { padding: 16px 18px 20px; }
.inv-brand {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.inv-model {
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: uppercase;
  color: var(--nh-blue-deep);
  margin: 4px 0 8px;
  line-height: 1.1;
}
.inv-meta {
  font-size: 12px;
  color: var(--ink-soft);
  display: flex; gap: 12px;
  margin-bottom: 12px;
  border-top: 1px dotted rgba(27,58,107,0.2);
  padding-top: 10px;
}
.inv-meta span { display: flex; gap: 4px; }
.inv-meta em { font-style: normal; color: var(--ink); font-weight: 600; }
.inv-price {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--barn-red);
  font-weight: 700;
}
.inv-price small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  font-weight: 400;
  margin-top: 2px;
}

.inventory-foot {
  margin-top: 40px;
  display: flex; justify-content: center; align-items: center; gap: 20px;
  flex-direction: column;
}
.inventory-foot-note { color: var(--ink-soft); }

/* ========== WILD / INSTAGRAM WALL ========== */
.wild {
  background: var(--nh-blue-deep);
  color: var(--cream);
  position: relative;
}
.wild::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.15'/></svg>");
  opacity: 0.15;
  pointer-events: none;
}
.wild > * { position: relative; }
.wild-head {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 60px; align-items: end;
}
.wild-head p.lede { color: rgba(244,239,228,0.8); }
.wild-head strong { color: var(--hay); }
.wild-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}

/* Social-post card — like a screenshot of a real FB post */
.wild-post {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ink, #222);
  text-decoration: none;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.04),
    0 8px 22px rgba(0,0,0,0.18),
    0 24px 50px rgba(0,0,0,0.22);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease;
}
.wild-post:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.04),
    0 14px 30px rgba(0,0,0,0.22),
    0 32px 70px rgba(0,0,0,0.28);
  z-index: 2;
}
.wild-post--wide { grid-column: span 2; }
.wild-post--tall { grid-row: span 2; }

/* Header row — avatar, page name, FB icon */
.wild-post__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}
.wild-post__avatar {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: #1B3A6B;
}
.wild-post__avatar svg { display: block; }
.wild-post__meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.wild-post__meta strong {
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: #1B3A6B;
  letter-spacing: 0;
  line-height: 1.2;
}
.wild-post__meta span {
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 11.5px;
  color: #65676b;
  margin-top: 1px;
  letter-spacing: 0;
}
.wild-post__fb {
  flex: 0 0 18px;
  color: #1877F2;
  opacity: 0.9;
}

/* Photo */
.wild-post__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background-color: #1f2731;
  background-size: cover;
  background-position: center;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.wild-post--wide .wild-post__photo { aspect-ratio: 16/10; }
.wild-post--tall .wild-post__photo { aspect-ratio: 3/4; }
.wild-post.no-img .wild-post__photo {
  background-image: linear-gradient(135deg, #2a3440 0%, #1f2731 100%);
  display: flex; align-items: center; justify-content: center;
}
.wild-post__ph {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

/* Caption body */
.wild-post__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wild-post__caption {
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 14.5px;
  line-height: 1.5;
  color: #1c1e21;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wild-post__cta {
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 12.5px;
  font-weight: 600;
  color: #1877F2;
  letter-spacing: 0.01em;
  text-transform: none;
}
.wild-post:hover .wild-post__cta { text-decoration: underline; }

/* Mobile: 2-up grid, less skew */
@media (max-width: 768px) {
  .wild-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .wild-post { transform: rotate(0deg); }
  .wild-post--wide, .wild-post--tall { grid-column: auto; grid-row: auto; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .wild-grid { grid-template-columns: repeat(2, 1fr); }
  .wild-post--wide { grid-column: span 2; }
  .wild-post--tall { grid-row: auto; }
}

.wild-foot {
  margin-top: 36px;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap; gap: 20px;
}
.wild-handle { display: flex; align-items: center; gap: 14px; color: var(--cream); }
.wild-handle svg { color: var(--hay); }
.wild-handle em { font-style: normal; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; display: block; }
.wild-handle strong { font-family: var(--font-display); font-size: 20px; text-transform: uppercase; letter-spacing: 0.04em; color: #fff; }

/* ========== SERVICE + FINANCING ========== */
.service-section { background: var(--cream); }
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.service-card {
  background: #fff;
  padding: 48px;
  border: 2px solid var(--nh-blue);
}
.service-card h2 { font-size: 54px; margin: 14px 0 18px; color: var(--nh-blue-deep); }
.service-card p { font-size: 17px; margin-bottom: 20px; color: var(--ink-soft); }
.service-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; font-size: 15px; }
.service-list li { color: var(--ink-soft); }

.service-card-red {
  background: var(--barn-red);
  border-color: var(--barn-red-deep);
  color: #fff;
}
.service-card-red p { color: rgba(255,255,255,0.9); }
.finance-rates {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  padding: 20px 0;
  margin: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.finance-rates > div { text-align: left; }
.finance-rates strong {
  font-family: var(--font-display);
  font-size: 38px;
  color: #fff;
  line-height: 1;
  display: block;
}
.finance-rates em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
  display: block;
}

/* ========== TESTIMONIAL ========== */
.testimonial-section { background: var(--bone); text-align: center; }
.testimonial-big {
  margin: 24px 0 0; padding: 0;
  position: relative;
}
.testimonial-big .q-mark {
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 0.5;
  color: var(--barn-red);
  margin-bottom: 10px;
}
.testimonial-big p {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.2;
  text-transform: none;
  font-weight: 500;
  color: var(--nh-blue-deep);
  letter-spacing: -0.005em;
  max-width: 22ch;
  margin: 0 auto 28px;
  text-wrap: balance;
}
.testimonial-big footer {
  font-size: 15px;
  color: var(--ink-soft);
}
.testimonial-big footer strong { color: var(--nh-blue); }
.testimonial-big .mono { font-size: 11px; }

/* ========== BIG CTA ========== */
.bigcta {
  background: var(--nh-blue-deep);
  color: var(--cream);
  position: relative;
  /* overflow:visible so the Call-Now dropdown menu can escape the section.
     The ::before grain pattern uses inset:0 + z-index:-1 and is naturally
     contained within the section's bounds. */
  isolation: isolate;
}
.bigcta::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg,
    rgba(168,50,31,0.15) 0 3px,
    transparent 3px 30px);
  z-index: -1;
}
.bigcta-inner {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 60px; align-items: center;
  position: relative;
}
.bigcta-h { font-size: clamp(56px, 7vw, 112px); line-height: 0.95; margin-bottom: 20px; }
.bigcta-sub { font-size: 19px; max-width: 480px; color: rgba(244,239,228,0.85); }
.bigcta-card {
  background: rgba(0,0,0,0.3);
  border: 2px solid var(--cream);
  padding: 40px;
}
.bigcta-phone {
  font-family: var(--font-display);
  font-size: 58px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: block;
  margin: 0 0 24px;
}
.bigcta-phone:hover { color: var(--hay); }
.bigcta-meta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(244,239,228,0.2);
  border-bottom: 1px solid rgba(244,239,228,0.2);
  margin-bottom: 20px;
}
.bigcta-meta strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,239,228,0.6);
  font-weight: 500;
  margin-bottom: 4px;
}
.bigcta-meta em {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 15px;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.bigcta-actions { display: grid; gap: 10px; }

/* ===================================================================== */
/*  LAYOUT VARIATION 2 — Full-bleed editorial                            */
/* ===================================================================== */
body[data-layout="v2"] .hero { min-height: 860px; }
body[data-layout="v2"] .hero-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
body[data-layout="v2"] .hero-title {
  font-size: clamp(72px, 10vw, 164px);
}
body[data-layout="v2"] .stock-badge {
  margin-left: 0;
  max-width: 100%;
}
body[data-layout="v2"] .hero-ctas { margin-bottom: 0; }

/* V2: reorder sections via flex wrap */
body[data-layout="v2"] .pillars { background: var(--nh-blue); color: var(--cream); }
body[data-layout="v2"] .pillars .section-head h2 { color: #fff; }
body[data-layout="v2"] .pillars .section-head p { color: rgba(244,239,228,0.8); }
body[data-layout="v2"] .pillar {
  background: var(--cream);
  border-color: var(--cream);
  box-shadow: 8px 8px 0 var(--barn-red);
}
body[data-layout="v2"] .pillar:hover { box-shadow: 12px 12px 0 var(--barn-red); }
body[data-layout="v2"] .pillar-red { box-shadow: 8px 8px 0 var(--hay); border-color: var(--cream); }
body[data-layout="v2"] .pillar-red:hover { box-shadow: 12px 12px 0 var(--hay); }

body[data-layout="v2"] .lotmap { background: var(--cream); }
body[data-layout="v2"] .wild { background: var(--bone); color: var(--ink); }
body[data-layout="v2"] .wild .section-head h2 { color: var(--nh-blue-deep); }
body[data-layout="v2"] .wild .eyebrow-cream { color: var(--barn-red); }
body[data-layout="v2"] .wild-head p.lede { color: var(--ink-soft); }
body[data-layout="v2"] .wild-head strong { color: var(--nh-blue); }
body[data-layout="v2"] .wild-foot { border-top-color: rgba(27,58,107,0.2); }
body[data-layout="v2"] .wild-handle { color: var(--ink); }
body[data-layout="v2"] .wild-handle svg { color: var(--barn-red); }
body[data-layout="v2"] .wild-handle em { color: var(--ink-soft); }
body[data-layout="v2"] .wild-handle strong { color: var(--nh-blue-deep); }
body[data-layout="v2"] .btn-ghost { color: var(--nh-blue); border-color: var(--nh-blue); }
body[data-layout="v2"] .wild .btn-ghost:hover { background: var(--nh-blue); color: var(--cream); }

body[data-layout="v2"] .proof { background: var(--ink); }
body[data-layout="v2"] .testimonial-section { background: var(--cream); }
body[data-layout="v2"] .inventory-grid-section { background: var(--paper); }

/* ========== TWEAKS PANEL ========== */
.tweaks-panel {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 320px;
  background: #fff;
  border: 2px solid var(--nh-blue-deep);
  box-shadow: 6px 6px 0 var(--barn-red);
  z-index: 200;
  font-family: var(--font-body);
  display: none;
}
.tweaks-panel.on { display: block; }
.tweaks-head {
  background: var(--nh-blue-deep);
  color: var(--cream);
  padding: 12px 18px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
}
.tweaks-head .star { color: var(--barn-red); }
.tweaks-body { padding: 18px; display: grid; gap: 18px; }
.tweak-field { display: grid; gap: 8px; }
.tweak-field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tweak-field input[type="text"],
.tweak-field input[type="number"],
.tweak-field select {
  font-family: var(--font-body);
  font-size: 13px;
  padding: 8px 10px;
  border: 1.5px solid rgba(27,58,107,0.3);
  background: var(--bone);
}
.tweak-switch { display: flex; justify-content: space-between; align-items: center; }
.tweak-color-row { display: flex; gap: 10px; align-items: center; }
.tweak-color-row input[type="color"] { width: 36px; height: 36px; border: 1.5px solid rgba(27,58,107,0.3); padding: 0; cursor: pointer; background: none; }

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  section { padding: 72px 0; }
  .container { padding: 0 24px; }
  .hero-title { font-size: 64px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item { border-right: none; border-bottom: 1px solid rgba(244,239,228,0.18); padding: 20px 0; }
  .lotmap-wrap, .service-grid, .bigcta-inner, .footer-grid, .lotmap-head, .wild-head { grid-template-columns: 1fr; gap: 28px; }
  /* Pillar grid: single column on phones — 2-up squishes the tile text too much. */
  .pillar-grid { grid-template-columns: 1fr; gap: 16px; }
  /* .inventory-grid handled by its own breakpoints — stays at 3 columns here. */
  .wild-grid { grid-template-columns: repeat(2, 1fr); }
  .wild-post--wide { grid-column: span 2; }
  .wild-post--tall { grid-row: auto; }
  body[data-layout="v2"] .hero-content { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links .nav-cta { display: inline-flex; }
}

/* ========== SMALL PHONES (≤640px) ========== */
@media (max-width: 640px) {
  /* Prevent any horizontal overflow at the document level */
  html, body { overflow-x: hidden; max-width: 100%; }

  section { padding: 56px 0; }
  .container { padding: 0 18px; }

  /* Hero scales down further */
  .hero-title { font-size: clamp(40px, 12vw, 60px); line-height: 0.96; }
  .hero-sub { font-size: 16px; }
  .hero-ctas { flex-wrap: wrap; gap: 12px; }
  .hero-ctas .btn { flex: 1 1 auto; min-width: 0; justify-content: center; }

  /* Section heads */
  h1 { font-size: clamp(40px, 11vw, 80px) !important; line-height: 0.96; word-wrap: break-word; }
  h2, .wp-block-heading { font-size: clamp(32px, 9vw, 56px) !important; line-height: 1; word-wrap: break-word; }
  .lede { font-size: 15px; }

  /* Section header layouts (lot, inventory, wild) — keep eyebrow/title stacked */
  .section-head, .lotmap-head, .inventory-head, .wild-head {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    align-items: flex-start !important;
  }

  /* Inventory grid stays 3-up on phones (per request); just hide hover lift. */
  .inv-card:hover { transform: none; box-shadow: none; }

  /* Wild grid: stays 2-up on phones (per request), posts unrotated */
  .wild-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .wild-post--wide, .wild-post--tall { grid-column: auto; grid-row: auto; }
  .wild-post { transform: rotate(0deg); }

  /* Pillar tiles: single column with reduced padding */
  .pillar-card, .pillar-tile { padding: 24px 20px !important; }

  /* Proof bar: 2 columns, smaller text */
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .proof-item { padding: 16px 8px; }
  .proof-item strong { font-size: 22px; }
  .proof-item em { font-size: 11px; }

  /* Lot map: SVG keeps aspect, side card stacks */
  .lotmap-aerial { min-height: 0; }
  .lotmap-svg { height: auto !important; aspect-ratio: 2 / 1; }
  .lotmap-legend {
    position: static !important;
    display: flex; flex-wrap: wrap; gap: 8px 14px;
    padding: 10px 12px;
    font-size: 10px;
  }
  .lotmap-address { font-size: 9px; padding: 6px 10px; }

  /* Lotmap sidebar */
  .lotmap-card, .lotmap-quote { padding: 20px; }
  .lotmap-hours div { font-size: 14px; }

  /* Service / financing cards */
  .service-card { padding: 28px 22px; }

  /* Big CTA */
  .bigcta-inner { padding: 40px 24px !important; }
  .bigcta-actions { flex-direction: column; gap: 10px; }
  .bigcta-actions .btn { width: 100%; justify-content: center; }

  /* Pennant strip: tighten text */
  .pennant-strip { font-size: 11px; }
  .pennant-track span { padding: 0 14px; }

  /* Buttons: prevent forced widths from overflowing */
  .btn { padding: 12px 18px; font-size: 13px; max-width: 100%; }

  /* Make all images fluid by default — defensive */
  img, svg, video, iframe { max-width: 100%; height: auto; }

  /* Tables (rare but exists) — let them scroll instead of overflowing the page */
  .wrap table, table { display: block; max-width: 100%; overflow-x: auto; }

  /* Inline style overrides on quote signature etc. */
  .quote-mark { font-size: 48px; }
  .lotmap-quote p { font-size: 15px; }

  /* Footer */
  .site-footer { padding: 48px 18px 20px; }
  .footer-top, .footer-middle, .footer-locations__grid { grid-template-columns: 1fr !important; gap: 24px; }

  /* Eyebrows and mono labels: keep them readable */
  .eyebrow, .mono { font-size: 10px; letter-spacing: 0.16em; }
}

/* ========== TINY PHONES (≤380px) ========== */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .hero-title { font-size: clamp(36px, 13vw, 50px); }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { border-bottom: 1px solid rgba(244,239,228,0.14); }
  .pennant-strip { font-size: 10px; }
}


/* ===== sub.css ===== */
/* Sub-page specific styles */

.page-head {
  background: var(--cream);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-head-red {
  background: var(--nh-blue-deep);
  color: var(--cream);
}
.page-head-red h1, .page-head-red .lede { color: var(--cream); }
.page-head .eyebrow { margin-bottom: 16px; }
.page-head h1 {
  font-size: clamp(18px, 6vw, 108px);
  line-height: 0.94;
  color: var(--nh-blue-deep);
  margin-bottom: 20px;
  text-wrap: balance;
  white-space: nowrap;
  overflow-wrap: normal;
  letter-spacing: -0.02em;
}
.page-head h1 br + * { white-space: nowrap; }
.page-head h1 span { display: block; white-space: nowrap; }
.page-head-red h1 { color: #fff; }
.page-head .lede {
  font-size: 20px;
  max-width: 560px;
  color: var(--ink-soft);
}
.page-head-red .lede { color: rgba(244,239,228,0.85); }
.page-head-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: end;
}
.page-head-shot { aspect-ratio: 4/3; }

/* ========== ABOUT: Timeline ========== */
.story { background: var(--bone); }
.story-h { font-size: clamp(40px, 5vw, 72px); margin: 14px 0 56px; max-width: 780px; }

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.tl-item {
  background: #fff;
  border-left: 4px solid var(--nh-blue);
  padding: 28px 28px 32px;
  position: relative;
}
.tl-item.tl-current { border-left-color: var(--barn-red); background: var(--nh-blue-deep); color: var(--cream); }
.tl-item.tl-current h3 { color: #fff; }
.tl-item.tl-current p { color: rgba(244,239,228,0.85); }
.tl-item.tl-current strong { color: var(--hay); }
.tl-year {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--barn-red);
  line-height: 1;
  margin-bottom: 12px;
  font-weight: 700;
}
.tl-item.tl-current .tl-year { color: var(--hay); }
.tl-item h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--nh-blue-deep);
  line-height: 1.1;
}
.tl-item p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

/* ========== ABOUT: Team ========== */
.team-section { background: var(--paper); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.team-card {
  background: #fff;
  border: 1.5px solid rgba(27,58,107,0.15);
  display: flex;
  flex-direction: column;
}
.team-photo { aspect-ratio: 1; }
.team-info { padding: 20px; }
.team-info h3 {
  font-size: 22px;
  color: var(--nh-blue-deep);
  margin-bottom: 4px;
}
.team-info em {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--barn-red);
  font-style: normal;
  margin-bottom: 12px;
}
.team-info p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  padding-top: 12px;
  border-top: 1px dotted rgba(27,58,107,0.2);
  font-style: italic;
}

/* ========== VALUES ========== */
.values {
  background: var(--nh-blue);
  color: var(--cream);
}
.values-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.values-h { font-size: clamp(36px, 4.5vw, 64px); color: #fff; margin-top: 14px; }
.values-list { display: grid; gap: 28px; }
.value { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(244,239,228,0.15); }
.value:last-child { border-bottom: none; }
.value-num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--barn-red);
  padding-top: 6px;
}
.value h3 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.value p { color: rgba(244,239,228,0.85); font-size: 16px; line-height: 1.55; }

/* ========== CTA STRIP ========== */
.cta-strip {
  background: var(--cream);
  padding: 64px 0;
  border-top: 4px solid var(--nh-blue-deep);
  border-bottom: 4px solid var(--nh-blue-deep);
}
.cta-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-strip h2 {
  font-size: clamp(40px, 5vw, 72px);
  color: var(--nh-blue-deep);
  line-height: 1;
}
.cta-strip-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ========== SERVICE: svc grid ========== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-item {
  background: var(--cream);
  border-left: 4px solid var(--barn-red);
  padding: 28px 28px 32px;
}
.svc-ico {
  color: var(--barn-red);
  font-size: 18px;
  margin-bottom: 10px;
}
.svc-item h3 {
  font-size: 22px;
  color: var(--nh-blue-deep);
  margin-bottom: 10px;
}
.svc-item p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

/* ========== SERVICE: rates ========== */
.rates { background: var(--paper); }
.rates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.rates-card {
  background: #fff;
  padding: 40px;
  border: 2px solid var(--nh-blue);
}
.rates-card h2 {
  font-size: 40px;
  color: var(--nh-blue-deep);
  margin: 14px 0 24px;
}
.rates-list { display: grid; gap: 0; }
.rate {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 20px;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(27,58,107,0.2);
  align-items: baseline;
}
.rate:last-child { border-bottom: none; }
.rate span {
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
  color: var(--nh-blue-deep);
  letter-spacing: 0.02em;
}
.rate em {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 26px;
  color: var(--barn-red);
  font-weight: 700;
  text-align: right;
}
.rate small {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-top: 4px;
}
.rates-note {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--nh-blue-deep);
  color: var(--barn-red);
  font-weight: 500;
}

.rates-schedule {
  background: var(--nh-blue-deep);
  color: var(--cream);
  padding: 40px;
}
.rates-schedule h3 {
  font-size: 34px;
  color: #fff;
  margin: 14px 0 24px;
}

/* forms */
.svc-form, .contact-form { display: grid; gap: 14px; }
.svc-form label, .contact-form label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,239,228,0.7);
  display: block;
  margin-bottom: 6px;
}
.contact-form label { color: var(--ink-soft); }
.svc-form input, .svc-form select, .svc-form textarea,
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid rgba(244,239,228,0.3);
  background: rgba(0,0,0,0.25);
  color: #fff;
}
.contact-form input, .contact-form select, .contact-form textarea {
  background: var(--bone);
  color: var(--ink);
  border-color: rgba(27,58,107,0.25);
}
.svc-form input:focus, .svc-form textarea:focus, .svc-form select:focus,
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--barn-red);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ========== CONTACT ========== */
.contact-section { background: var(--bone); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  align-items: start;
}
.contact-left { display: grid; gap: 20px; }
.contact-card {
  background: #fff;
  border: 1.5px solid rgba(27,58,107,0.2);
  padding: 28px;
}
.contact-phone {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--barn-red);
  font-weight: 700;
  line-height: 1;
  display: block;
  margin: 12px 0 14px;
  letter-spacing: 0.02em;
}
.contact-phone:hover { color: var(--barn-red-deep); }
.contact-note { color: var(--ink-soft); font-size: 11px; line-height: 1.6; }
.contact-addr {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--nh-blue-deep);
  line-height: 1.3;
  margin: 12px 0 20px;
  letter-spacing: 0.02em;
}
.contact-hours { display: grid; gap: 6px; font-size: 14px; }
.contact-hours > div {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dotted rgba(27,58,107,0.15);
}
.contact-hours span { color: var(--ink-soft); }
.contact-hours em { font-style: normal; font-weight: 600; color: var(--nh-blue-deep); }
.contact-hours .closed em { color: var(--barn-red); }

.dept-list { display: grid; gap: 14px; margin-top: 14px; }
.dept-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 16px;
  padding: 12px 0;
  border-bottom: 1px dotted rgba(27,58,107,0.15);
}
.dept-list strong {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--nh-blue-deep);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.dept-list em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--barn-red);
}
.dept-list span {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--ink-soft);
}

.contact-right { display: grid; gap: 20px; }
.contact-map {
  aspect-ratio: 16/10;
  border: 2px solid var(--nh-blue-deep);
}
.contact-map .shot-caption { display: none; }
.contact-form {
  background: var(--cream);
  padding: 32px;
  border: 1.5px solid rgba(27,58,107,0.2);
}
.contact-form h3 {
  font-size: 34px;
  color: var(--nh-blue-deep);
  margin: 10px 0 20px;
}

/* responsive */
@media (max-width: 960px) {
  .page-head-inner, .timeline, .team-grid, .values-grid, .svc-grid,
  .rates-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
}


/* ============ WooCommerce showcase overrides ============ */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #fff;
  border: 1.5px solid rgba(27,58,107,0.2);
  padding: 0 0 16px;
  transition: transform .12s, box-shadow .12s;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-3px);
  box-shadow: 4px 6px 0 var(--nh-blue);
  border-color: var(--nh-blue);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--nh-blue-deep);
  font-size: 20px !important;
  padding: 14px 16px 4px !important;
}
.woocommerce ul.products li.product .price {
  font-family: var(--font-display);
  color: var(--barn-red) !important;
  font-size: 22px !important;
  padding: 0 16px;
}
.woocommerce ul.products li.product img {
  margin-bottom: 0 !important;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.dce-view-btn { margin: 12px 16px 0; }
.dce-product-cta {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--cream);
  border: 2px solid var(--nh-blue);
  margin: 24px 0;
}
.dce-stock-line {
  color: var(--barn-red);
  font-weight: 500;
  margin: 0;
}
.woocommerce .product .summary h1 {
  font-size: 48px !important;
  color: var(--nh-blue-deep);
}
/* Hide cart/checkout messages if any */
.woocommerce-cart-form, .woocommerce-checkout, .cart-collaterals { display: none !important; }

/* ====================================================================
   Mobile fixes — header padding, off-canvas nav, fluid hero
   ==================================================================== */
@media (max-width: 781px) {
  /* Header: give the hamburger + call button breathing room from screen edges.
     WP core header uses .wp-block-template-part inside the site-header block. */
  .wp-site-blocks > header,
  header.wp-block-template-part,
  .dce-header-row,
  .site-header {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Top utility bar (Dickson TN · hours · phone) — pad sides, allow wrap. */
  .dce-utility-bar,
  .dce-topbar {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Core navigation's off-canvas overlay: add padding so links aren't flush left. */
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content {
    padding: 24px 24px 48px !important;
  }
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__container,
  .wp-block-navigation__responsive-container.is-menu-open ul {
    gap: 8px !important;
  }
  .wp-block-navigation__responsive-container-close {
    top: 20px !important;
    right: 20px !important;
  }

  /* Hero: tighten giant type so it doesn't clip or overlap the stock badge. */
  .hero-title {
    font-size: clamp(44px, 11vw, 72px) !important;
    line-height: 0.95 !important;
  }
  .hero-sub { font-size: 17px !important; margin-bottom: 24px !important; }
  .hero-content.container { padding-left: 16px !important; padding-right: 16px !important; }
  .hero-ctas { gap: 10px !important; margin-bottom: 28px !important; }
  .hero-ctas .btn,
  .hero-ctas .dce-call-dd__btn { font-size: 15px !important; padding: 14px 18px !important; }

  /* Stock badge: don't let it push off-screen on narrow phones. */
  .stock-badge {
    max-width: 100% !important;
    padding: 20px !important;
  }
  .stock-badge-count .num { font-size: clamp(48px, 16vw, 88px) !important; }
  .stock-badge-split {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .stock-badge-split span { font-size: 22px !important; }
  .stock-badge-split em { font-size: 10px !important; }
}

/* ====================================================================
   Nav wordmark logo
   ==================================================================== */
.nav-logo-link { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo-img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
@media (max-width: 781px) {
  .nav-logo-img { height: 40px; max-width: 140px; }
}

/* ====================================================================
   Main nav row — clean horizontal bar with logo · links · call button
   ==================================================================== */
.nav {
  background: #fff;
  border-bottom: 1px solid rgba(26, 24, 20, 0.08);
  padding: 12px 24px;
}
.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: nowrap;
}

/* The block-navigation container in the middle — stretch + center links */
.nav .wp-block-navigation {
  flex: 1 1 auto;
  justify-content: center;
}
.nav .wp-block-navigation__container {
  gap: 36px !important;
}
.nav .wp-block-navigation__container > .wp-block-navigation-item > a,
.nav .wp-block-navigation-item__content {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  font-weight: 700;
  color: var(--nh-blue-deep);
  padding: 8px 0 10px;
  position: relative;
  transition: color 0.12s ease;
}
.nav .wp-block-navigation__container > .wp-block-navigation-item > a:hover,
.nav .wp-block-navigation-item.current-menu-item > a {
  color: var(--nh-blue-deep);
}
/* Red underline accent on hover + current page */
.nav .wp-block-navigation__container > .wp-block-navigation-item > a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--barn-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.15s ease;
}
.nav .wp-block-navigation__container > .wp-block-navigation-item > a:hover::after,
.nav .wp-block-navigation__container > .wp-block-navigation-item.current-menu-item > a::after,
.nav .wp-block-navigation__container > .wp-block-navigation-item.current_page_item > a::after {
  transform: scaleX(1);
}

/* Right-side call button — keep the dropdown but adopt a compact pill form */
.nav .dce-call-dd { flex-shrink: 0; }
.nav .dce-call-dd__btn {
  background: var(--barn-red);
  color: var(--cream);
  border: none;
  padding: 14px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  box-shadow: 0 2px 0 var(--barn-red-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.nav .dce-call-dd__btn:hover {
  background: var(--barn-red-deep);
  transform: translateY(-1px);
  box-shadow: 0 3px 0 var(--barn-red-deep);
}

/* Mobile: stash links into hamburger overlay, keep logo + call button visible */
@media (max-width: 960px) {
  .nav { padding: 8px 16px; }
  .nav-inner { gap: 12px; }
  .nav .dce-call-dd__btn {
    padding: 10px 14px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }
  .nav .dce-call-dd__btn .dce-call-dd__label::before {
    content: '\260E  ';
  }
}

/* ====================================================================
   Fallback nav (dce_auto_chrome) — classic menu + hamburger
   ==================================================================== */
.dce-nav-fallback .nav-inner { display: flex; align-items: center; gap: 24px; justify-content: space-between; padding: 10px 0; }
.dce-nav-fallback .dce-nav-wrap { flex: 1 1 auto; display: flex; justify-content: center; }
.dce-nav-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }
.dce-nav-menu li { margin: 0; }
.dce-nav-menu a {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  font-weight: 700;
  color: var(--nh-blue-deep);
  text-decoration: none;
  padding: 10px 0;
  position: relative;
  display: inline-block;
}
.dce-nav-menu a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--barn-red);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.15s ease;
}
.dce-nav-menu a:hover::after,
.dce-nav-menu .current-menu-item > a::after,
.dce-nav-menu .current_page_item > a::after { transform: scaleX(1); }

.dce-nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; gap: 4px; flex-direction: column; }
.dce-nav-burger span { display: block; width: 26px; height: 3px; background: var(--nh-blue-deep); }

/* ====================================================================
   Site footer — multi-location
   ==================================================================== */
.site-footer {
  background: var(--nh-blue-deep);
  color: var(--cream);
  padding: 80px 24px 32px;
  margin-top: 80px;
  border-top: 4px solid var(--barn-red);
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--barn-red); text-decoration: underline; text-underline-offset: 3px; }

/* Top section: brand (left) + locations (right) */
.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 2fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px dashed rgba(244, 239, 228, 0.25);
}
.footer-brand { max-width: 420px; }
.footer-logo {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-bottom: 20px;
  /* Logo is dark; this makes it legible on the blue background. */
  filter: brightness(0) invert(1);
}
.footer-tagline {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(244, 239, 228, 0.85);
  margin: 0 0 20px;
}
.footer-hours {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(244, 239, 228, 0.7);
  text-transform: uppercase;
  border-top: 1px solid rgba(244, 239, 228, 0.2);
  padding-top: 16px;
}

/* Locations grid */
.footer-locations__title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--barn-red);
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 600;
}
.footer-locations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-location {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0 16px 16px;
  border-left: 3px solid var(--barn-red);
}
.footer-location__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 8px;
  line-height: 1.2;
}
.footer-location__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  background: var(--barn-red);
  color: var(--cream);
  padding: 2px 6px;
  margin-left: 6px;
  vertical-align: 2px;
}
.footer-location__address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(244, 239, 228, 0.85);
  margin: 0 0 6px;
}
.footer-location__phone {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: #ffb3a3 !important;
  letter-spacing: 0.02em;
}
.footer-location__phone:hover { color: var(--cream) !important; }
.footer-location__email {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(244, 239, 228, 0.7) !important;
  word-break: break-all;
}

/* Middle section: link columns */
.footer-middle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px dashed rgba(244, 239, 228, 0.25);
}
.footer-linkcol h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--barn-red);
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 600;
}
.footer-linkcol ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-linkcol li {
  font-size: 14px;
  color: rgba(244, 239, 228, 0.85);
}

/* Bottom strip */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(244, 239, 228, 0.6);
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { margin: 0; }

@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-locations__grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-middle { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .site-footer { padding: 56px 20px 24px; }
}
@media (max-width: 480px) {
  .footer-middle { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============ Shop archive grid — equal-height cards ============ */
/* ============ Shop archive grid — equal-height cards ============ */
/* The real markup is: ul.archive-shop__grid > li.wp-block-post.product > .dce-product-card > figure.dce-product-card__img > a > img */

ul.archive-shop__grid,
.archive-shop__grid.wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  align-items: stretch !important;
}
@media (max-width: 900px) {
  ul.archive-shop__grid,
  .archive-shop__grid.wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 560px) {
  ul.archive-shop__grid,
  .archive-shop__grid.wp-block-post-template {
    grid-template-columns: 1fr !important;
  }
}

ul.archive-shop__grid > li.wp-block-post,
.archive-shop__grid > li.product {
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: flex !important;
  flex-direction: column;
  align-self: stretch !important;
}

/* The inner card fills the whole li */
.dce-product-card {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  background: #fff;
  border: 1.5px solid rgba(27,58,107,0.2);
  transition: transform .12s, box-shadow .12s;
  overflow: hidden;
}
.dce-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 4px 6px 0 var(--nh-blue);
  border-color: var(--nh-blue);
}

/* Image frame — uniform 4:3 aspect, image contained with padding */
.dce-product-card__img {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  aspect-ratio: 4 / 3 !important;
  background: var(--cream, #F5F0E4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: none;
}
.dce-product-card__img a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.dce-product-card__img img,
.dce-product-card__img a img,
.dce-product-card__img .wp-post-image {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  display: block;
  background: transparent;
}

/* Body area grows to fill remaining height */
.dce-product-card__title {
  font-family: var(--font-display, 'Oswald', sans-serif);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 18px !important;
  line-height: 1.15;
  padding: 14px 16px 4px !important;
  margin: 0 !important;
}
.dce-product-card__title a {
  color: var(--nh-blue);
  text-decoration: none;
}
.dce-product-card__excerpt {
  padding: 4px 16px 12px !important;
  font-size: 14px;
  line-height: 1.45;
  flex: 1 1 auto;
}
.dce-product-card__excerpt p {
  margin: 0 !important;
}
.dce-product-card__cat {
  padding: 8px 16px 16px !important;
  font-family: var(--font-display, 'Oswald', sans-serif);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--nh-blue);
  border-top: 1px dashed rgba(27,58,107,0.2);
  margin-top: auto;
}
.dce-product-card__cat a {
  color: var(--nh-blue);
  text-decoration: none;
}
.dce-product-card__cat a:hover {
  color: var(--barn-red);
}

/* Clear any inline object-fit cover on the img (WP blocks add this) */
.dce-product-card__img img[style*="object-fit:cover"],
.dce-product-card__img img[style*="object-fit: cover"] {
  object-fit: contain !important;
}

/* ============ Archive pagination — bold square buttons ============ */
.archive-shop__pagination,
nav.wp-block-query-pagination {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 32px 0 40px !important;
  margin: 0 !important;
}
.archive-shop__pagination .wp-block-query-pagination-numbers,
nav.wp-block-query-pagination .wp-block-query-pagination-numbers {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.archive-shop__pagination .page-numbers,
.archive-shop__pagination a.page-numbers,
nav.wp-block-query-pagination .page-numbers,
nav.wp-block-query-pagination a.page-numbers,
.archive-shop__pagination .wp-block-query-pagination-previous,
.archive-shop__pagination .wp-block-query-pagination-next,
nav.wp-block-query-pagination .wp-block-query-pagination-previous,
nav.wp-block-query-pagination .wp-block-query-pagination-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 14px;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--nh-blue);
  background: #fff;
  border: 2px solid var(--nh-blue);
  text-decoration: none !important;
  box-sizing: border-box;
  transition: transform .08s, background .08s, color .08s, box-shadow .08s;
}
.archive-shop__pagination a.page-numbers:hover,
.archive-shop__pagination .wp-block-query-pagination-previous:hover,
.archive-shop__pagination .wp-block-query-pagination-next:hover,
nav.wp-block-query-pagination a.page-numbers:hover,
nav.wp-block-query-pagination .wp-block-query-pagination-previous:hover,
nav.wp-block-query-pagination .wp-block-query-pagination-next:hover {
  background: var(--nh-blue);
  color: #F5F0E4 !important;
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 var(--barn-red, #8B2F2F);
}
.archive-shop__pagination .page-numbers.current,
nav.wp-block-query-pagination .page-numbers.current,
.archive-shop__pagination span[aria-current="page"],
nav.wp-block-query-pagination span[aria-current="page"] {
  background: var(--nh-blue);
  color: #F5F0E4;
  border-color: var(--nh-blue);
  box-shadow: 3px 3px 0 var(--barn-red, #8B2F2F);
}
.archive-shop__pagination .page-numbers.dots,
nav.wp-block-query-pagination .page-numbers.dots {
  background: transparent;
  border: none;
  color: var(--nh-blue);
  min-width: 28px;
  box-shadow: none;
  cursor: default;
}
.archive-shop__pagination .page-numbers.dots:hover,
nav.wp-block-query-pagination .page-numbers.dots:hover {
  background: transparent;
  color: var(--nh-blue);
  transform: none;
  box-shadow: none;
}
/* Prev/Next buttons get arrow accents */
.archive-shop__pagination .wp-block-query-pagination-previous::before,
nav.wp-block-query-pagination .wp-block-query-pagination-previous::before {
  content: "←";
  margin-right: 8px;
}
.archive-shop__pagination .wp-block-query-pagination-next::after,
nav.wp-block-query-pagination .wp-block-query-pagination-next::after {
  content: "→";
  margin-left: 8px;
}

@media (max-width: 560px) {
  .archive-shop__pagination .page-numbers,
  nav.wp-block-query-pagination .page-numbers {
    min-width: 40px;
    height: 40px;
    font-size: 14px;
    padding: 0 10px;
  }
}
/* Title + excerpt area stretches to fill remaining height */
.woocommerce ul.products li.product > :not(a:first-of-type):not(img) {
  flex-shrink: 0;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin-top: 0 !important;
}

/* ========== CONTACT PAGE LOCATIONS ========== */
.contact-h1 {
  font-size: clamp(36px, 11vw, 108px) !important;
  line-height: 0.94;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
  color: #1B3A6B;
  text-wrap: balance;
}
.contact-h1 span {
  display: block;
  white-space: nowrap;
}

.dce-contact-locs { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; margin: 32px 0; }
@media (max-width: 1024px) { .dce-contact-locs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .dce-contact-locs { grid-template-columns: 1fr; } }

.dce-contact-loc {
  position: relative;
  background: #fff;
  border: 1.5px solid rgba(27,58,107,0.2);
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.dce-contact-loc.is-hq { border-color: #A8321F; border-width: 2px; }
.dce-contact-loc:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 rgba(27,58,107,0.15); }
.dce-contact-loc.is-hq:hover { box-shadow: 6px 6px 0 rgba(168,50,31,0.2); }

.dce-contact-loc__hq-tag {
  position: absolute;
  top: 0; right: 0;
  background: #A8321F;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  z-index: 3;
  text-transform: uppercase;
}

.dce-contact-loc__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #1B3A6B center/cover no-repeat;
  border-bottom: 1.5px solid rgba(27,58,107,0.2);
}
.dce-contact-loc.is-hq .dce-contact-loc__photo { border-bottom-color: #A8321F; }
.dce-contact-loc__ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.dce-contact-loc__pin {
  position: absolute;
  left: 16px; top: 16px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #A8321F;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  border: 2.5px solid #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  z-index: 2;
}

.dce-contact-loc__body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.dce-contact-loc__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #A8321F;
}
.dce-contact-loc__name {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.05;
  color: #1B3A6B;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: -8px 0 0;
}
.dce-contact-loc__addr {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.35;
  color: var(--ink, #29261b);
  letter-spacing: 0.01em;
}
.dce-contact-loc__divider {
  border-top: 1px dotted rgba(27,58,107,0.25);
  margin-top: auto;
  padding-top: 2px;
}
.dce-contact-loc__phone { margin: 0; }
.dce-contact-loc__phone a {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  color: #A8321F;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.dce-contact-loc__phone a:hover { color: #7a2415; }
.dce-contact-loc__email { margin: 0; }
.dce-contact-loc__email a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #1B3A6B;
  letter-spacing: 0.04em;
  text-decoration: none;
  word-break: break-all;
}
.dce-contact-loc__email a:hover { color: #A8321F; }
.dce-contact-loc__hours {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-soft, #5b5749);
  text-transform: uppercase;
}
.dce-contact-loc__cta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dce-contact-loc__btn {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 12px;
  border: 1.5px solid #1B3A6B;
  color: #1B3A6B;
  flex: 1;
  text-align: center;
  text-decoration: none;
  background: transparent;
}
.dce-contact-loc__btn:hover { background: #1B3A6B; color: #fff; }
.dce-contact-loc__btn.primary { background: #1B3A6B; color: #fff; }
.dce-contact-loc__btn.primary:hover { background: #A8321F; border-color: #A8321F; }

.dce-contact-map { width: 100%; border: 1px solid rgba(27,58,107,0.18); box-shadow: 4px 4px 0 rgba(27,58,107,0.12); margin: 32px 0; overflow: hidden; }
.dce-product-callback { background: var(--paper, #EEE7D6); padding: 60px 32px; margin: 60px -32px 0; border-top: 4px solid #A8321F; }
.dce-product-callback__inner { max-width: 760px; margin: 0 auto; }
.dce-product-callback__head { text-align: center; margin-bottom: 28px; }
.dce-product-callback__head h2 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px); color: #1B3A6B; margin: 4px 0 12px; text-transform: uppercase; letter-spacing: 0.02em; }
.dce-product-callback__head .lede { font-size: 16px; color: var(--ink-soft); max-width: 540px; margin: 0 auto; }
.dce-product-callback__form { background: #fff; padding: 28px; border: 1px solid rgba(27,58,107,0.18); box-shadow: 6px 6px 0 rgba(27,58,107,0.15); }
@media (max-width: 640px) { .dce-product-callback { padding: 40px 18px; margin: 40px -18px 0; } .dce-product-callback__form { padding: 20px; } }


/* ========== FINANCING PAGE ========== */
.dce-financing {
  background: var(--paper, #EEE7D6);
  padding: 80px 24px 100px;
}
.dce-financing__inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.dce-financing__head {
  margin-bottom: 28px;
}
.dce-financing__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.05;
  color: var(--nh-blue-deep);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  margin: 0 0 14px;
}
.dce-financing__subtitle {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--ink, #29261b);
  letter-spacing: 0.02em;
  margin: 0;
  font-weight: 400;
}
.dce-financing__desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft, #5b5749);
  max-width: 760px;
  margin: 0 auto 36px;
}
.dce-financing__desc p { margin: 0 0 12px; }
.dce-financing__desc p:last-child { margin-bottom: 0; }

.dce-financing__cta {
  display: inline-block;
  margin: 12px auto 0;
  transition: transform .15s ease, filter .15s ease;
  text-decoration: none;
}
.dce-financing__cta:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 18px rgba(168,50,31,0.25));
}
.dce-financing__cta img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 220px;
}
.dce-financing__cta--text {
  font-size: 18px;
  padding: 14px 32px;
}

.dce-financing__placeholder {
  margin-top: 20px;
  padding: 20px 24px;
  border: 1.5px dashed rgba(27,58,107,0.35);
  background: #fff;
  color: var(--ink-soft, #5b5749);
  font-size: 14px;
  border-radius: 2px;
}
.dce-financing__placeholder a { color: var(--barn-red, #A8321F); font-weight: 600; }

@media (max-width: 640px) {
  .dce-financing { padding: 48px 16px 64px; }
  .dce-financing__desc { font-size: 16px; }
}


/* ========== BIG CTA — three-locations variant ========== */
.bigcta-card__eyebrow {
  color: var(--cream);
  opacity: 0.6;
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.bigcta-card__cities-wrap { margin: 0 0 28px; }
.bigcta-card__cities-label {
  color: var(--barn-red);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.bigcta-card__cities {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Make the Call dropdown inside .bigcta-actions look like a primary button */
.bigcta-actions .dce-call-dd { width: 100%; }
.bigcta-actions .dce-call-dd__btn {
  width: 100%;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 22px;
}
/* Menu aligns under the full-width button (is-block already sets left:0 +
   min-width:100%, but we relax min-width to allow a wider 360px panel and
   keep it inside the card). */
.bigcta-actions .dce-call-dd__menu {
  left: 0;
  right: auto;
  min-width: 100%;
  max-width: min(420px, calc(100vw - 32px));
}

@media (max-width: 960px) {
  .bigcta-card__cities { font-size: 26px; }
}


/* Inventory grid: tighten card typography at small widths so 3-up
   doesn't make the model name and price overflow. */
@media (max-width: 960px) {
  .inv-card { font-size: 13px; }
  .inv-model { font-size: 16px; letter-spacing: 0.01em; }
  .inv-price { font-size: 18px; }
  .inv-meta  { font-size: 11px; gap: 4px; }
}
@media (max-width: 560px) {
  .inv-model { font-size: 14px; }
  .inv-price { font-size: 15px; }
  .inv-meta  { font-size: 10px; }
  .inv-card .inv-body, .inv-card > div + div { padding: 10px 10px 12px; }
}


/* Belt-and-braces: prevent any single element from forcing horizontal scroll. */
html, body { overflow-x: clip; }
.inventory-grid-section { overflow-x: clip; }


/* Kill the default WP block-spacing gap between the nav and the first
   pattern on every page. The .wp-site-blocks > main rule covers FSE
   templates; the body > main rule covers any other rendering path. */
.wp-site-blocks > main,
body > main,
main.wp-block-group {
  margin-top: 0;
}
/* Same for the first element inside main — WP adds margin-block-start
   to direct children when no blockGap is set. */
.wp-site-blocks > main > *:first-child,
body > main > *:first-child,
main.wp-block-group > *:first-child {
  margin-top: 0;
}


/* Pennant strip: kill any margin from the surrounding wp-block-html
   wrapper and the sibling sections' default block-spacing so the red
   strip sits flush between the hero and the next section. */
.wp-block-html:has(> .pennant-strip),
.wp-block-html:has(.pennant-strip) { margin-top: 0; margin-bottom: 0; }
.pennant-strip + *,
:has(> .pennant-strip) + * { margin-top: 0; }

/* And kill the .hero / .lot-map / .pillars section bottom margins that
   bracket the pennant — they all share the same wp-block-group default. */
.hero, .lotmap, .pillars, .inventory-grid-section, .wild, .bigcta { margin: 0; }
.hero + *, .lotmap + *, .pillars + *, .inventory-grid-section + *,
.wild + *, .bigcta + * { margin-top: 0; }
