:root {
  --red: #c22023;
  --red-dark: #9a181b;
  --navy: #121b2a;
  --navy-light: #1e2d45;
  --ink: #111a2a;
  --muted: #666666;
  --cream: #ece9e2;
  --white: #ffffff;
  --line: #c2c2c2;
  --orange: #ef8136;
  --shadow: 0 8px 32px rgba(18, 27, 42, 0.12);
  --radius: 4px;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  color: var(--red-dark);
}

h1,
h2,
h3 {
  font-family: "Noto Serif", Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

a.card {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.card:hover {
  color: inherit;
}

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

  .parallax-banner {
    background-attachment: scroll;
  }
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

button,
a.card,
a.bento-card,
a.service-cta,
a.location-card-link,
.menu-toggle {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--red);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

/* ── Header ── */

body.nav-open {
  overflow: hidden;
}

.site-header {
  background: var(--navy);
  position: relative;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 90px;
  padding: 12px 0;
}

.logo img {
  height: 72px;
  width: auto;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav > ul > li > a {
  display: block;
  padding: 10px 14px;
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.main-nav .dropdown > a::after {
  content: " ▾";
  font-size: 11px;
  opacity: 0.7;
}

.main-nav .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 60;
}

.main-nav .dropdown:hover .submenu,
.main-nav .dropdown.open .submenu {
  display: block;
}

.main-nav .submenu a {
  display: block;
  padding: 9px 18px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}

.main-nav .submenu a:hover {
  background: var(--cream);
  color: var(--red);
}

.nav-spacer {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 8px;
}

/* ── Video Hero (Home) ── */

.video-hero {
  position: relative;
  width: 100%;
  height: clamp(320px, 52vw, 560px);
  overflow: hidden;
  background: var(--navy);
}

.video-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 27, 42, 0.88) 0%,
    rgba(18, 27, 42, 0.35) 45%,
    rgba(18, 27, 42, 0.2) 100%
  );
}

.video-hero-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(32px, 6vw, 56px);
}

.video-hero-content .section-label {
  color: var(--orange);
  margin-bottom: 10px;
}

.video-hero-content h1 {
  margin: 0 0 12px;
  max-width: 14ch;
  color: var(--white);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
}

.video-hero-lead {
  max-width: 520px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.video-hero .badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-hero .badge span {
  color: var(--white);
  font-family: "Noto Serif", Georgia, serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* ── Trust strip (homepage) ── */

.trust-strip {
  background: var(--navy);
  color: var(--white);
  padding: 20px 0;
  border-bottom: 3px solid var(--red);
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-family: "Noto Serif", Georgia, serif;
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--orange);
  margin-bottom: 4px;
}

.trust-item span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.trust-item a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.trust-item a:hover {
  color: var(--white);
}

/* ── Bento service grid (homepage) ── */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 8px;
}

.bento-card {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.bento-card:hover {
  color: inherit;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.bento-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bento-card:hover img {
  transform: scale(1.04);
}

.bento-card-body {
  padding: 22px 24px 26px;
}

.bento-card-body h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--ink);
}

.bento-card-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  max-width: none;
}

.bento-large {
  grid-row: span 2;
}

.bento-large img {
  aspect-ratio: auto;
  height: 100%;
  min-height: 280px;
}

/* ── Page Hero (Inner pages) ── */

.page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: transform 8s ease;
}

.page-hero:hover img {
  transform: scale(1.04);
}

.page-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 27, 42, 0.85), rgba(18, 27, 42, 0.3));
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding: 48px 0 40px;
}

.page-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(26px, 5vw, 48px);
  max-width: 18ch;
  line-height: 1.15;
}

/* ── Content Blocks ── */

.content-block {
  padding: 64px 0;
}

.content-block.cream {
  background: var(--cream);
}

.content-block h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--red);
}

.content-block h2 {
  margin: 0 0 24px;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--ink);
  font-weight: 400;
}

.content-block p {
  max-width: 820px;
  margin: 0 0 16px;
  color: var(--muted);
}

.content-block p:last-child {
  margin-bottom: 0;
}

.cta-block {
  margin-top: 32px;
}

.cta-block-sm {
  margin-top: 24px;
}

.story-cta {
  margin-top: 20px;
}

.parallax-banner {
  height: 380px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.parallax-lumber {
  background-image: url("assets/images/lumber-yard-hero.png");
}

.parallax-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 27, 42, 0.15);
}

.cta-block {
  margin-top: 32px;
}

.cta-block-sm {
  margin-top: 24px;
}

.story-cta {
  margin-top: 20px;
}

/* ── Service CTAs ── */

.service-ctas {
  background: var(--cream);
  padding: 0;
}

.service-ctas .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.service-cta {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 28px;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-decoration: none;
  overflow: hidden;
}

.service-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 27, 42, 0.62);
  transition: background 0.25s;
}

.service-cta:hover::before {
  background: rgba(194, 32, 35, 0.72);
}

.service-cta:hover {
  color: var(--white);
}

.service-cta > * {
  position: relative;
  z-index: 1;
}

.service-cta .title {
  font-family: "Noto Serif", Georgia, serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--white);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.service-cta:hover .cta-button {
  background: var(--white);
  color: var(--red);
}

.service-cta.lumber {
  background-image: url("assets/images/lumber-yard-hero.png");
}

.service-cta.aggregate {
  background-image: url("assets/images/sand-gravel-yard.png");
}

.service-cta.trucking {
  background-image: url("assets/images/trucking-flatbed.png");
}

/* ── Intro split (homepage) ── */

.intro-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 48px;
  align-items: center;
}

.intro-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.intro-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.intro-copy .btn {
  margin-top: 8px;
}

.section-label {
  margin: 0 0 8px;
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-title {
  margin: 0 0 32px;
  font-size: clamp(28px, 4vw, 38px);
}

/* ── Stats strip ── */

.stats-strip {
  background: var(--navy);
  color: var(--white);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: "Noto Serif", Georgia, serif;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--orange);
  margin-bottom: 4px;
}

.stat span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

/* ── Photo grid (homepage) ── */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 12px;
}

.photo-tile {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
}

.photo-tile.large {
  grid-row: span 2;
  grid-column: span 2;
}

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

.photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 27, 42, 0.72), transparent 55%);
  transition: background 0.3s;
}

.photo-tile:hover img {
  transform: scale(1.06);
}

.photo-tile:hover::after {
  background: linear-gradient(to top, rgba(194, 32, 35, 0.78), transparent 55%);
}

.photo-caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  color: var(--white);
  font-family: "Noto Serif", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
}

/* ── Card Grid ── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.04);
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--ink);
}

.card-body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
}

.card-link {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Location Cards ── */

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.location-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.location-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.location-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  color: var(--red);
}

.location-card p {
  margin: 0 0 8px;
  color: var(--muted);
}

.location-card .phone {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 12px 0 16px;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.location-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.location-card-link:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  color: inherit;
}

.location-card-link img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.location-card-link:hover img {
  transform: scale(1.04);
}

.location-card-link .card-body {
  padding: 24px;
}

.location-card-link h2 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--red);
}

.location-card-link p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.location-card-link .view-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--red);
}

/* ── Location detail pages ── */

.location-detail-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 48px;
  align-items: start;
}

.location-meta {
  display: grid;
  gap: 20px;
  margin: 24px 0;
}

.location-meta-item strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  margin-bottom: 4px;
}

.location-meta-item span,
.location-meta-item a {
  font-size: 17px;
  color: var(--ink);
}

.location-meta-item a {
  font-weight: 700;
  font-size: 22px;
}

.location-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.service-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.service-tag.hq {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.location-gallery {
  margin-top: 48px;
}

.location-gallery h2 {
  margin: 0 0 20px;
  font-size: 28px;
}

.location-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.location-gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.location-gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.location-gallery-grid figure:hover img {
  transform: scale(1.05);
}

.location-gallery-grid figcaption {
  padding: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.location-gallery-grid .wide {
  grid-column: span 2;
}

.location-other {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.location-other h2,
.location-other h3 {
  margin: 0 0 20px;
  font-size: 24px;
}

.phone {
  font-size: 22px;
  font-weight: 700;
  margin: 16px 0;
}

.phone a {
  color: var(--ink);
}

.phone a:hover {
  color: var(--red);
}

.content-block.cream h1.section-title {
  color: var(--ink);
  margin-bottom: 12px;
}

.location-other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.location-other-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
  position: relative;
}

.location-other-grid img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.location-other-grid a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 27, 42, 0.8), transparent 60%);
}

.location-other-grid a:hover img {
  transform: scale(1.05);
}

.location-other-grid span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  font-family: "Noto Serif", Georgia, serif;
  font-weight: 700;
  font-size: 18px;
}

.secondary-address {
  margin-top: 12px;
  padding: 16px;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 4px solid var(--red);
}

.secondary-address strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

.secondary-address p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--cream);
  color: var(--red-dark);
}

/* ── Truck Gallery ── */

.truck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.truck-item {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.truck-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.truck-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.truck-item:hover img {
  transform: scale(1.05);
}

.truck-item h3 {
  margin: 0;
  padding: 16px 16px 8px;
  font-size: 16px;
  color: var(--ink);
}

.truck-body {
  padding: 0 16px 16px;
  text-align: left;
}

.truck-body h3 {
  margin: 0 0 8px;
  padding: 0;
  font-size: 17px;
}

.truck-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* ── Story Timeline ── */

.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.story-block:nth-child(even) {
  direction: rtl;
}

.story-block:nth-child(even) > * {
  direction: ltr;
}

.story-block img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16/10;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease;
}

.story-block:hover img {
  transform: scale(1.02);
}

.story-block h2 {
  margin: 0 0 16px;
  font-size: 28px;
  color: var(--red);
}

.story-block p {
  color: var(--muted);
  margin: 0;
}

/* ── Footer ── */

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0 24px;
}

.footer-logo {
  text-align: center;
  margin-bottom: 36px;
}

.footer-logo img {
  height: 60px;
  width: auto;
  margin: 0 auto;
}

.footer-locations {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-locations .section-title {
  font-family: "Noto Serif", Georgia, serif;
  font-size: 20px;
  color: var(--orange);
  margin: 0 0 16px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.footer-col strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
}

.footer-col {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-sand {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.footer-sand strong {
  color: var(--white);
}

.footer-sand a {
  color: rgba(255, 255, 255, 0.85);
}

.copyright {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.copyright a {
  color: rgba(255, 255, 255, 0.6);
}

/* ── Subnav (inner pages) ── */

.subnav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.subnav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.subnav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  padding: 4px 0;
  min-height: 44px;
  line-height: 36px;
}

.subnav a:hover,
.subnav a.active {
  color: var(--red);
}

/* ── Product list ── */

.product-list {
  columns: 1;
  column-gap: 40px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.product-list.cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  columns: auto;
}

.product-list.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  columns: auto;
}

.product-list li {
  break-inside: avoid;
  padding: 14px 18px 14px 32px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  background: var(--white);
  border: none;
  position: relative;
}

.product-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2px;
  background: var(--red);
  border-radius: 50%;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.brand-item:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: var(--red);
}

/* ── Lumber subpages (Products, Brands, Resources) ── */

.lumber-page-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.lumber-page-intro .section-label {
  margin-bottom: 10px;
}

.lumber-page-intro h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 36px);
  color: var(--ink);
}

.lumber-page-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(18, 27, 42, 0.06);
  transition: box-shadow 0.25s, transform 0.25s;
}

.category-panel:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.category-panel-header {
  background: var(--navy);
  color: var(--white);
  padding: 20px 22px;
  border-bottom: 3px solid var(--red);
}

.category-panel-header h2 {
  margin: 0;
  font-size: 22px;
  color: var(--white);
}

.category-panel-header span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

.category-panel-body {
  padding: 20px 22px 24px;
}

.product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-chips li {
  display: inline-block;
  padding: 8px 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.category-panel:hover .product-chips li:hover {
  background: var(--white);
  border-color: var(--red);
  color: var(--red);
}

/* ── Products page ── */

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.product-category-nav {
  background: var(--navy);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 40;
}

.product-category-nav .container {
  display: flex;
  justify-content: center;
  gap: 0;
}

.product-category-nav a {
  flex: 1;
  max-width: 280px;
  padding: 16px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.product-category-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-bottom-color: var(--red);
}

.product-categories {
  background: var(--white);
}

.product-category {
  border-bottom: 1px solid var(--line);
}

.product-category:last-child {
  border-bottom: 0;
}

.product-category-banner {
  position: relative;
  height: clamp(200px, 32vw, 320px);
  overflow: hidden;
}

.product-category-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-category-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px max(20px, calc((100% - 1200px) / 2 + 20px)) 36px;
  background: linear-gradient(to top, rgba(18, 27, 42, 0.88) 0%, rgba(18, 27, 42, 0.35) 55%, transparent 100%);
}

.product-category-banner-overlay .section-label {
  color: var(--orange);
  margin-bottom: 6px;
}

.product-category-banner-overlay h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(28px, 4vw, 42px);
}

.product-category-body {
  padding: 40px 0 56px;
}

.product-category-body .product-list {
  margin-top: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-category-alt {
  background: var(--cream);
}

.product-category-alt .product-category-body {
  padding: 40px 0 56px;
}

.brand-showcase {
  background: var(--cream);
  padding: 48px 0;
}

.brand-showcase .brand-grid {
  margin-top: 0;
}

.brand-showcase .brand-item {
  min-height: 72px;
  background: var(--white);
}

.brand-showcase .brand-item.featured {
  border-top: 3px solid var(--red);
  min-height: 88px;
  font-size: 15px;
}

.content-block + .brand-showcase {
  padding-top: 0;
}

.resource-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.resource-column {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(18, 27, 42, 0.06);
}

.resource-column-header {
  background: var(--navy);
  color: var(--white);
  padding: 20px 24px;
  border-bottom: 3px solid var(--red);
}

.resource-column-header h2,
.resource-column-header h3 {
  margin: 0;
  font-size: 22px;
  color: var(--white);
}

.resource-column-header p {
  margin: 6px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.resource-doc-list {
  margin: 0;
  padding: 8px 0;
  list-style: none;
}

.resource-doc-list li {
  border-bottom: 1px solid var(--line);
}

.resource-doc-list li:last-child {
  border-bottom: 0;
}

.resource-doc-list a,
.resource-doc-list span {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.resource-doc-list a:hover {
  background: var(--cream);
  color: var(--red);
}

.resource-doc-list a::before,
.resource-doc-list span::before {
  content: "PDF";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--red);
}

.resource-doc-list a:hover::before {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.resource-links {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.resource-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 700;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.resource-links a:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  color: var(--red);
}

.resource-links a span {
  color: var(--muted);
  font-weight: 400;
  font-size: 14px;
}

/* ── Careers ── */

.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.job-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 4px solid var(--red);
  transition: box-shadow 0.2s, transform 0.2s;
}

.job-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.job-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--ink);
}

.job-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ── Featured brands row ── */

.brand-featured-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.brand-featured-row .brand-item {
  min-height: 64px;
  font-size: 13px;
}

/* ── Responsive ── */

@media (max-width: 960px) {
  .container {
    width: min(1200px, calc(100% - 32px));
  }

  .intro-split {
    grid-template-columns: 1fr;
  }

  .intro-photo {
    order: -1;
  }

  .intro-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .intro-actions .btn {
    width: 100%;
  }

  .trust-strip-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-large {
    grid-row: span 1;
  }

  .bento-large img {
    min-height: 200px;
    aspect-ratio: 16/9;
    height: auto;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .subnav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .subnav ul::-webkit-scrollbar {
    display: none;
  }

  .subnav a {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .product-category-nav {
    position: static;
  }

  .product-category-nav .container {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }

  .product-category-nav .container::-webkit-scrollbar {
    display: none;
  }

  .product-category-nav a {
    flex: 0 0 auto;
    min-width: 160px;
    max-width: none;
    border-bottom: 3px solid transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .brand-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
  }

  .brand-item {
    min-height: 64px;
    padding: 12px;
    font-size: 13px;
  }

  .truck-grid {
    grid-template-columns: 1fr;
  }

  .service-cta {
    min-height: 220px;
    padding: 32px 24px;
  }

  .location-actions {
    flex-direction: column;
  }

  .location-actions .btn {
    width: 100%;
    text-align: center;
  }

  .resource-doc-list a,
  .resource-doc-list span {
    padding: 14px 16px;
    font-size: 14px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .photo-tile.large {
    grid-row: span 1;
    grid-column: span 2;
    min-height: 240px;
  }

  .photo-tile {
    min-height: 180px;
  }

  .location-other-grid {
    grid-template-columns: 1fr;
  }

  .location-detail-header {
    grid-template-columns: 1fr;
  }

  .location-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .location-gallery-grid .wide {
    grid-column: span 2;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-light);
    display: none;
    padding: 12px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav .submenu {
    position: static;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.06);
    margin-top: 4px;
    border-radius: var(--radius);
  }

  .main-nav .submenu a {
    color: rgba(255, 255, 255, 0.85);
    padding-left: 28px;
  }

  .main-nav .submenu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
  }

  .nav-spacer {
    display: none;
  }

  .service-ctas .container {
    grid-template-columns: 1fr;
  }

  .footer-locations {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .story-block,
  .story-block:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .product-list,
  .product-list.cols-2,
  .product-list.cols-3 {
    grid-template-columns: 1fr;
  }

  .product-category-nav .container {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }

  .product-category-nav a {
    flex: 0 0 auto;
    min-width: 160px;
    max-width: none;
  }

  .category-grid,
  .resource-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(1200px, calc(100% - 24px));
  }

  .stats-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-featured-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .job-grid {
    grid-template-columns: 1fr;
  }

  .product-category-banner-overlay {
    padding: 24px 20px 28px;
  }

  .product-category-body {
    padding: 28px 0 40px;
  }

  .section-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .trust-strip-grid {
    grid-template-columns: 1fr;
  }

  .photo-tile.large {
    grid-column: span 1;
  }

  .location-gallery-grid,
  .location-other-grid {
    grid-template-columns: 1fr;
  }

  .location-gallery-grid .wide {
    grid-column: span 1;
  }

  .header-inner {
    min-height: 72px;
  }

  .logo img {
    height: 56px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }

  .content-block {
    padding: 48px 0;
  }

  .parallax-banner {
    height: 200px;
    background-attachment: scroll;
  }
}
