/*
Theme Name: Centennial Motors – Tundra
Theme URI: https://centennialmotors.com
Author: Centennial Motors
Description: Alternate theme inspired by the current centennialmotors.com aesthetic — clean white canvas, full-bleed header photo, horizontal top navigation, generous whitespace — elevated with refined Yukon-rugged typography and subtle warmth.
Version: 1.0.0
Text Domain: cm-tundra
Tags: one-column, custom-header, custom-menu, featured-images, footer-widgets, translation-ready
*/

/* =========================================================
   DESIGN LANGUAGE
   "Tundra Editorial" — the existing site's open white canvas
   kept intact; typography pushed into slab-serif ruggedness;
   palette warms white toward birch-bark cream with spruce-
   green and ochre-gold accents. Sidebar-free, full-width,
   photo-first.
   ========================================================= */

/* =========================================================
   GOOGLE FONTS
   Loaded via functions.php — listed here for reference:
   Playfair Display (headings — editorial, authoritative)
   Inter          (body + UI — modern, screen-optimised, highly
                   legible at 18px+ for all reading abilities)
   ========================================================= */

/* =========================================================
   CUSTOM PROPERTIES
   ========================================================= */
:root {
  /* Palette */
  --birch:      #F8F5EF;   /* page background — warm white   */
  --canvas:     #FFFFFF;   /* card / content surfaces        */
  --spruce:     #1C3526;   /* primary dark — deep forest     */
  --spruce-mid: #2A4D38;   /* hover, active states           */
  --spruce-lt:  #3D6B50;   /* lighter accent                 */
  --ochre:      #B8832A;   /* gold-ochre accent              */
  --ochre-lt:   #D4A04E;   /* lighter ochre                  */
  --clay:       #8C4A2F;   /* warm rust — secondary accent   */
  --stone:      #555F6D;   /* muted text — darker for contrast */
  --pebble:     #D1D5DB;   /* borders, dividers              */
  --fog:        #E9E6DF;   /* subtle bg tints                 */
  --ink:        #161A1D;   /* body text — near-black for max contrast */

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-ui:      'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --content-width: 1160px;
  --nav-height:    68px;
  --radius:        3px;
  --radius-lg:     6px;

  /* Transitions */
  --t: 0.2s ease;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 18px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;            /* = 18px — comfortable for all ages */
  line-height: 1.7;
  color: var(--ink);
  background: var(--birch);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
}

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

a {
  color: var(--spruce);
  text-decoration: none;
  transition: color var(--t);
}
a:hover { color: var(--ochre); }

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--spruce);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; font-family: var(--font-ui); font-weight: 600; }

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; color: var(--spruce); }
em { font-style: italic; }

/* =========================================================
   UTILITY CLASSES
   ========================================================= */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

.text-center { text-align: center; }
.text-ochre  { color: var(--ochre); }
.text-spruce { color: var(--spruce); }

/* =========================================================
   TOPBAR — thin info strip above nav
   ========================================================= */
#topbar {
  background: var(--spruce);
  padding: 0.45rem 0;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.topbar-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: rgba(255,255,255,0.7);
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-item svg {
  width: 13px; height: 13px;
  stroke: var(--ochre-lt);
  fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

.topbar-item a {
  color: rgba(255,255,255,0.85);
  transition: color var(--t);
}
.topbar-item a:hover { color: var(--ochre-lt); }

.topbar-right {
  color: rgba(255,255,255,0.55);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================================================
   PRIMARY NAVIGATION
   ========================================================= */
#site-nav {
  background: var(--canvas);
  border-bottom: 1px solid var(--pebble);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 12px rgba(28,53,38,0.06);
  transition: box-shadow var(--t);
}

#site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(28,53,38,0.12);
}

.nav-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo / wordmark */
.site-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}

.site-wordmark a {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wordmark-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--spruce);
  letter-spacing: -0.01em;
  line-height: 1;
  transition: color var(--t);
}

.wordmark-name:hover { color: var(--ochre); }

.wordmark-sub {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
}

/* Nav menu */
.primary-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
}

.primary-menu li { position: relative; }

.primary-menu > li > a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  border-radius: var(--radius);
  transition: color var(--t), background var(--t);
  white-space: nowrap;
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current_page_item > a {
  color: var(--spruce);
  background: var(--fog);
}

/* Active underline */
.primary-menu > li > a::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--ochre);
  transform: scaleX(0);
  transition: transform var(--t);
  transform-origin: left center;
  margin-top: 1px;
}

.primary-menu > li > a:hover::after,
.primary-menu > li.current-menu-item > a::after {
  transform: scaleX(1);
}

/* Dropdown */
.primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--canvas);
  border: 1px solid var(--pebble);
  border-top: 2px solid var(--ochre);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 8px 24px rgba(28,53,38,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all var(--t);
}

.primary-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-menu .sub-menu a {
  display: block;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-ui);
  font-size: 0.83rem;
  color: var(--ink);
  transition: background var(--t), color var(--t);
}
.primary-menu .sub-menu a:hover { background: var(--fog); color: var(--spruce); }
.primary-menu .sub-menu a::after { display: none; }

/* Nav CTA */
.nav-cta {
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-ui);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: all var(--t);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--spruce);
  color: var(--canvas);
  border-color: var(--spruce);
}
.btn-primary:hover {
  background: var(--spruce-mid);
  border-color: var(--spruce-mid);
  color: var(--canvas);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(28,53,38,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--spruce);
  border-color: var(--spruce);
}
.btn-outline:hover {
  background: var(--spruce);
  color: var(--canvas);
}

.btn-ochre {
  background: var(--ochre);
  color: var(--canvas);
  border-color: var(--ochre);
}
.btn-ochre:hover {
  background: var(--ochre-lt);
  border-color: var(--ochre-lt);
  color: var(--spruce);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* =========================================================
   HERO — FULL-BLEED HEADER PHOTO
   (mirrors current site's large header image approach)
   ========================================================= */
#site-hero {
  position: relative;
  width: 100%;
  background: var(--spruce);
  overflow: hidden;
}

/* If a custom header image is set it fills this element */
.hero-image {
  width: 100%;
  aspect-ratio: 16/5;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* Fallback gradient when no photo is set */
.hero-gradient {
  aspect-ratio: 16/5;
  background:
    linear-gradient(to right, rgba(28,53,38,0.82) 0%, rgba(28,53,38,0.3) 60%, transparent 100%),
    linear-gradient(170deg, #1C3526 0%, #2A4D38 40%, #3D6B50 100%);
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(28,53,38,0.68) 0%,
    rgba(28,53,38,0.25) 55%,
    rgba(28,53,38,0.05) 100%
  );
  pointer-events: none;
}

/* Text overlay on photo */
.hero-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero-caption-inner {
  max-width: var(--content-width);
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ochre-lt);
  margin-bottom: 0.6rem;
}

.hero-caption h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  max-width: 560px;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero-caption p {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  max-width: 460px;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.2);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Pill badge on hero */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* =========================================================
   SITE HEADER LOGO AREA (above nav, text-only if no logo)
   On current site the logo IS the big photo. We replicate
   the full-bleed photo at the top, then nav below.
   ========================================================= */
#site-header {
  background: var(--canvas);
  border-bottom: 3px solid var(--ochre);
}

.header-logo-bar {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-logo-bar .logo img {
  height: 56px;
  width: auto;
}

.header-wordmark {
  flex: 1;
}

.header-wordmark h1 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--spruce);
  line-height: 1;
  letter-spacing: -0.01em;
}

.header-wordmark .tagline {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 2px;
}

.header-contact {
  text-align: right;
  font-family: var(--font-ui);
}

.header-phone {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--spruce);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.header-phone svg {
  width: 16px; height: 16px;
  stroke: var(--ochre); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.header-address {
  font-size: 0.78rem;
  color: var(--stone);
  margin-top: 2px;
}

/* =========================================================
   SERVICES RIBBON — clean strip below hero
   (echoes current site's text-centric content style)
   ========================================================= */
#services-ribbon {
  background: var(--canvas);
  border-top: 1px solid var(--pebble);
  border-bottom: 1px solid var(--pebble);
}

.ribbon-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.ribbon-item {
  padding: 1.25rem 1rem;
  text-align: center;
  border-right: 1px solid var(--pebble);
  transition: background var(--t);
  text-decoration: none;
}

.ribbon-item:last-child { border-right: none; }
.ribbon-item:hover { background: var(--fog); }

.ribbon-icon {
  width: 32px; height: 32px;
  margin: 0 auto 0.5rem;
  color: var(--spruce-lt);
}

.ribbon-icon svg {
  width: 100%; height: 100%;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.ribbon-item span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.3;
}

/* =========================================================
   PAGE WRAPPER — full-width, no sidebar
   ========================================================= */
#page-wrapper {
  width: 100%;
}

#main-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* =========================================================
   SECTION HEADINGS
   ========================================================= */
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--spruce);
  position: relative;
  padding-bottom: 0.6rem;
}

.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 2px;
  background: var(--ochre);
}

.section-heading a {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--spruce-lt);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.section-heading a:hover { color: var(--ochre); }

/* Ruled divider */
.section-rule {
  border: none;
  border-top: 1px solid var(--pebble);
  margin: 3rem 0;
}

/* =========================================================
   INVENTORY CARDS — clean, photo-forward
   ========================================================= */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.vehicle-card {
  background: var(--canvas);
  border: 1px solid var(--pebble);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.vehicle-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(28,53,38,0.1);
  border-color: var(--spruce-lt);
}

.card-photo {
  position: relative;
  background: var(--fog);
  aspect-ratio: 3/2;
  overflow: hidden;
}

.card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vehicle-card:hover .card-photo img { transform: scale(1.03); }

/* Placeholder when no photo */
.card-photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pebble);
}

.card-photo-placeholder svg {
  width: 48px; height: 48px;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.card-status {
  position: absolute;
  top: 10px; right: 10px;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
}

.status-available { background: var(--spruce);  color: #fff; }
.status-sold      { background: var(--clay);    color: #fff; }
.status-hold      { background: var(--ochre);   color: #fff; }

.card-body {
  padding: 1.1rem 1.25rem 0.75rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--spruce);
  line-height: 1.25;
  margin-bottom: 0.2rem;
}

.card-sub {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--stone);
  margin-bottom: 0.75rem;
}

.card-specs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.card-spec {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--spruce-lt);
  background: var(--fog);
  padding: 2px 7px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.card-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--spruce);
  line-height: 1;
}

.card-price .currency {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--stone);
  vertical-align: super;
  margin-right: 1px;
}

.card-price .unit {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--stone);
  margin-left: 3px;
  font-weight: 400;
}

.card-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--fog);
  display: flex;
  gap: 0.5rem;
}

.card-footer .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.78rem;
  padding: 0.45rem 0.5rem;
}

/* =========================================================
   ABOUT / PROSE SECTION
   (mirrors current site's text-heavy homepage content)
   ========================================================= */
.prose-section {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}

.prose-section .prose {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink);
}

.prose-section .prose h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--spruce);
}

.prose-section .prose p { margin-bottom: 1.15rem; }

/* Aside info card */
.info-card {
  background: var(--canvas);
  border: 1px solid var(--pebble);
  border-top: 3px solid var(--ochre);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
}

.info-card-title {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--fog);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.4;
}

.info-row svg {
  width: 15px; height: 15px;
  stroke: var(--spruce-lt); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 1px;
}

.info-row a { color: var(--spruce); font-weight: 500; }
.info-row a:hover { color: var(--ochre); }

/* Hours table */
.hours-table { width: 100%; }
.hours-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--fog);
  color: var(--ink);
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: var(--stone); }
.hours-row .time { font-weight: 500; }
.hours-row.today { color: var(--spruce); }
.hours-row.today .day { color: var(--spruce); font-weight: 600; }
.hours-row.today .time { color: var(--ochre); font-weight: 700; }

/* Logo slots */
.partner-logos {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--fog);
}

.partner-logos-title {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.75rem;
}

.logos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.logo-slot {
  border: 1px dashed var(--pebble);
  border-radius: var(--radius);
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pebble);
  transition: border-color var(--t);
}
.logo-slot:hover { border-color: var(--stone); }
.logo-slot img { max-height: 28px; width: auto; }

/* =========================================================
   NAPA AUTOPRO / FEATURED BANNER
   ========================================================= */
.feature-banner {
  background: var(--spruce);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

/* Subtle texture overlay */
.feature-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -55deg, transparent, transparent 30px,
    rgba(255,255,255,0.015) 30px, rgba(255,255,255,0.015) 60px
  );
  pointer-events: none;
}

.feature-banner-text { position: relative; flex: 1; }

.feature-banner-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre-lt);
  margin-bottom: 0.5rem;
}

.feature-banner h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.feature-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0;
}

.feature-banner-cta { position: relative; flex-shrink: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
#site-footer {
  background: var(--spruce);
  border-top: 3px solid var(--ochre);
  color: rgba(255,255,255,0.75);
  margin-top: 4rem;
}

.footer-main {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
}

/* Brand column */
.footer-brand {}

.footer-sitename {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.footer-tagline {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre-lt);
  margin-bottom: 1.25rem;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

.footer-contact-row svg {
  width: 13px; height: 13px;
  stroke: var(--ochre-lt); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0; margin-top: 2px;
}

.footer-contact-row a { color: rgba(255,255,255,0.85); }
.footer-contact-row a:hover { color: var(--ochre-lt); }

/* Footer logo slots */
.footer-logos {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-top: 1.25rem;
}

.footer-logo-slot {
  width: 70px; height: 35px;
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.58rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-logo-slot img {
  max-height: 26px; width: auto;
  filter: brightness(0.7);
  transition: filter var(--t);
}

.footer-logo-slot:hover img { filter: brightness(1); }

/* Footer nav columns */
.footer-col-title {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre-lt);
  margin-bottom: 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-nav a {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  display: flex; align-items: center; gap: 0.35rem;
  transition: color var(--t), padding-left var(--t);
}

.footer-nav a::before {
  content: '';
  display: block;
  width: 5px; height: 1px;
  background: var(--ochre);
  flex-shrink: 0;
  transition: width var(--t);
}

.footer-nav a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-nav a:hover::before { width: 9px; }

/* Hours in footer */
.footer-hours { margin-top: 1.1rem; }
.footer-hours-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  padding: 0.22rem 0;
}
.footer-hours-row .fd { color: rgba(255,255,255,0.65); }
.footer-hours-row .ft { color: rgba(255,255,255,0.5); }

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--ochre-lt); }

.footer-bottom-right { display: flex; gap: 1.25rem; }

/* =========================================================
   COMMENTS / FORMS
   ========================================================= */
input, textarea, select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--pebble);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--canvas);
  transition: border-color var(--t), box-shadow var(--t);
  margin-bottom: 0.75rem;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--spruce-lt);
  box-shadow: 0 0 0 3px rgba(61,107,80,0.15);
}

label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--spruce);
  margin-bottom: 0.3rem;
}

/* =========================================================
   PAGINATION
   ========================================================= */
.pagination {
  display: flex; gap: 0.4rem; flex-wrap: wrap;
  margin: 2.5rem 0;
}

.pagination .page-numbers {
  display: flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px;
  padding: 0 0.5rem;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--spruce);
  border: 1px solid var(--pebble);
  background: var(--canvas);
  transition: all var(--t);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--spruce);
  color: var(--canvas);
  border-color: var(--spruce);
}

/* =========================================================
   POST / PAGE CONTENT
   ========================================================= */
.entry-header { margin-bottom: 1.75rem; }

.entry-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  color: var(--spruce);
  margin-bottom: 0.5rem;
}

.entry-meta {
  display: flex; flex-wrap: wrap; gap: 1rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--stone);
}

.entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink);
}

.entry-content h2, .entry-content h3 {
  margin-top: 2rem; margin-bottom: 0.75rem;
}

.entry-content blockquote {
  border-left: 3px solid var(--ochre);
  padding: 0.75rem 1.25rem;
  background: var(--fog);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--spruce-mid);
  margin: 1.5rem 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* 1100px */
@media (max-width: 1100px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .prose-section { grid-template-columns: 1fr; gap: 2rem; }
  .prose-section .info-card { max-width: 480px; }
}

/* 960px */
@media (max-width: 960px) {
  .ribbon-inner { grid-template-columns: repeat(3, 1fr); }
  .ribbon-item { border-bottom: 1px solid var(--pebble); }
  .inventory-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-banner { flex-direction: column; text-align: center; }
  .feature-banner p { max-width: 100%; margin: 0 auto; }
}

/* 768px */
@media (max-width: 768px) {
  :root { --nav-height: 58px; }

  /* topbar hides on mobile */
  #topbar { display: none; }

  /* Nav collapses */
  .primary-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--canvas);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 2px solid var(--ochre);
    box-shadow: 0 8px 24px rgba(28,53,38,0.12);
    padding: 0.5rem 0 0.75rem;
    z-index: 100;
  }

  .primary-menu.open { display: flex; }

  .primary-menu > li > a {
    border-radius: 0;
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
  }

  .primary-menu > li > a::after { display: none; }

  .primary-menu .sub-menu {
    position: static;
    opacity: 1; visibility: visible;
    transform: none; box-shadow: none;
    border: none; border-top: none;
    border-left: 2px solid var(--fog);
    margin-left: 1.5rem;
  }

  .menu-toggle { display: flex; }
  .nav-cta { display: none; }

  /* Header */
  .header-logo-bar { padding: 0.75rem 1rem; }
  .header-phone { font-size: 1rem; }

  /* Hero */
  .hero-image, .hero-gradient { aspect-ratio: 16/7; }
  .hero-caption h1 { font-size: clamp(1.4rem, 5vw, 2rem); }

  /* Ribbon */
  .ribbon-inner { grid-template-columns: repeat(2, 1fr); }

  /* Content */
  #main-content { padding: 2rem 1.25rem; }

  /* Inventory */
  .inventory-grid { grid-template-columns: 1fr; gap: 1.25rem; }

  /* Footer */
  .footer-main { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 1.25rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-right { justify-content: center; }
}

/* 480px */
@media (max-width: 480px) {
  .hero-image, .hero-gradient { aspect-ratio: 4/3; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }

  .ribbon-inner { grid-template-columns: 1fr 1fr; }
  .ribbon-item span { font-size: 0.68rem; }

  .header-wordmark h1 { font-size: 1.15rem; }
  .section-heading h2 { font-size: 1.5rem; }
}

/* =========================================================
   PRINT
   ========================================================= */
@media print {
  #topbar, #site-nav, #site-footer, .menu-toggle { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero-overlay { display: none; }
}
