/* ═══════════════════════════════════════════════════════════════
   B&P CONCRETE — Master Stylesheet
   Single file for all pages.
   ═══════════════════════════════════════════════════════════════ */

/* ── FONTS — self-hosted, no external requests ── */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-display-v40-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-display-v40-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-display-v40-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-display-v40-latin-700italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/source-serif-4-v14-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/source-serif-4-v14-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/source-serif-4-v14-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jetbrains-mono-v24-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-v24-latin-500.woff2') format('woff2');
}

/* ── VARIABLES ── */
:root {
  --bark:      #2C1A0E;
  --soil:      #4A2F1A;
  --clay:      #7D4E2D;
  --stone:     #A67C5B;
  --wheat:     #D4A96A;
  --cream:     #F5EDD8;
  --parchment: #EDE0C4;
  --sage:      #6B7C5C;
  --moss:      #4A5940;
  --sky:       #5B7A8A;
  --rust:      #8B3A2A;
  --gold:      #C4922A;
  --concrete:  #B0A898;
  --serif:     'Source Serif 4', Georgia, serif;
  --display:   'Playfair Display', 'Times New Roman', serif;
  --mono:      'JetBrains Mono', 'Courier New', monospace;
  --max-width: 1100px;
  --radius:    4px;
  color-scheme: light;
}

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

/* ── BASE ── */
html { font-size: 18px; scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.75;
  color: var(--bark);
  background: var(--cream);
  min-height: 100vh;
}

/* ── SKIP LINK (WCAG 2.4.1) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--soil);
  color: var(--wheat);
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom-right-radius: var(--radius);
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

/* ── FOCUS VISIBLE (WCAG 2.4.7) ── */
* { outline: none; }
*:focus-visible {
  outline: 2px solid var(--wheat);
  outline-offset: 3px;
  border-radius: var(--radius);
}
.site-header *:focus-visible { outline-color: var(--cream); }

/* ── SITE HEADER ── */
.site-header {
  background: var(--soil);
  color: var(--cream);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.site-logo {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--wheat);
  white-space: nowrap;
  text-decoration: none;
}
.site-logo span {
  color: var(--concrete);
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.62rem;
  display: block;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 1px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.site-nav-link {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--parchment);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: var(--radius);
  opacity: 0.65;
  transition: opacity 0.15s, background 0.15s;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav-link:hover { opacity: 1; background: rgba(255,255,255,0.08); color: var(--cream); }
.site-nav-link.site-nav-active { opacity: 1; color: var(--wheat); background: rgba(255,255,255,0.06); }
.site-nav-link.cta { opacity: 1; background: var(--wheat); color: var(--bark); font-weight: 500; }
.site-nav-link.cta:hover { background: var(--gold); }

/* ── HAMBURGER ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--wheat);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  background: linear-gradient(160deg, var(--soil) 0%, var(--clay) 55%, #3A2810 100%);
  color: var(--cream);
  padding: 80px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 34px,
    rgba(255,255,255,0.018) 34px, rgba(255,255,255,0.018) 35px
  );
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 720px; margin: 0 auto; }
.hero-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--wheat);
  margin-bottom: 20px;
  opacity: 0.9;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--wheat); }
.hero p {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--parchment);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 32px;
  opacity: 0.9;
}
.hero-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(160deg, var(--soil) 0%, var(--clay) 55%, #3A2810 100%);
  color: var(--cream);
  padding: 60px 24px 52px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 34px,
    rgba(255,255,255,0.018) 34px, rgba(255,255,255,0.018) 35px
  );
  pointer-events: none;
}
.page-hero-inner { max-width: var(--max-width); margin: 0 auto; position: relative; }
.page-hero-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--wheat);
  margin-bottom: 12px;
  opacity: 0.85;
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 12px;
}
.page-hero h1 em { font-style: italic; color: var(--wheat); }
.page-hero p { font-size: 0.95rem; color: var(--parchment); opacity: 0.85; max-width: 520px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--wheat);
  color: var(--bark);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: background 0.18s, transform 0.15s;
  border: none;
  cursor: pointer;
  min-height: 44px;
}
.btn-primary:hover { background: var(--gold); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(212,169,106,0.45);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: border-color 0.18s, background 0.18s;
  min-height: 44px;
}
.btn-secondary:hover { border-color: var(--wheat); background: rgba(212,169,106,0.1); }

/* ── STATS BAR ── */
.stats-bar { background: var(--parchment); border-bottom: 1px solid rgba(164,124,91,0.2); padding: 0 24px; }
.stats-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.stat-item { text-align: center; padding: 4px 36px; border-right: 1px solid rgba(164,124,91,0.25); }
.stat-item:last-child { border-right: none; }
.stat-item b {
  display: block;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--clay);
  line-height: 1.2;
}
.stat-item span {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ── SECTION SHARED ── */
section { padding: 72px 24px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--bark);
  line-height: 1.2;
  margin-bottom: 18px;
}
.section-title em { font-style: italic; color: var(--clay); }
.section-intro { font-size: 0.95rem; color: var(--stone); max-width: 600px; line-height: 1.75; margin-bottom: 48px; }

/* ── SERVICES ── */
#services { background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--parchment);
  border: 1px solid var(--wheat);
  border-radius: var(--radius);
  padding: 24px 22px 20px;
  transition: box-shadow 0.2s, transform 0.2s, background 0.15s, color 0.15s, border-color 0.15s;
}
.service-card:hover {
  background: var(--soil);
  color: var(--cream);
  border-color: var(--soil);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(44,26,14,0.2);
}
.service-card h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bark);
  margin-bottom: 8px;
  transition: color 0.15s;
}
.service-card:hover h3 { color: var(--wheat); }
.service-card p { font-size: 0.85rem; line-height: 1.65; transition: color 0.15s; }
.service-tag {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  background: rgba(125,78,45,0.1);
  border: 1px solid rgba(125,78,45,0.2);
  border-radius: 20px;
  padding: 3px 10px;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.service-card:hover .service-tag { color: var(--parchment); background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }

/* ── ABOUT ── */
#about { background: var(--parchment); border-top: 1px solid rgba(164,124,91,0.18); border-bottom: 1px solid rgba(164,124,91,0.18); }
.about-text { max-width: 720px; }
.about-text p { font-size: 0.95rem; color: var(--bark); line-height: 1.8; margin-bottom: 16px; }
.about-text p:last-child { margin-bottom: 0; }

/* ── CONTACT ── */
#contact { background: var(--soil); color: var(--cream); }
#contact .section-label { color: var(--stone); }
#contact .section-title { color: var(--cream); }
#contact .section-title em { color: var(--wheat); }
#contact .section-intro { color: var(--concrete); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-info-block { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { padding-bottom: 20px; border-bottom: 1px solid rgba(212,169,106,0.12); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item h4 {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wheat);
  margin-bottom: 4px;
}
.contact-info-item p,
.contact-info-item a {
  font-size: 0.93rem;
  color: var(--parchment);
  line-height: 1.6;
  text-decoration: none;
}
.contact-info-item a:hover { color: var(--wheat); }

/* ── FORM ── */
.quote-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,169,106,0.15);
  border-radius: var(--radius);
  padding: 32px;
}
.form-title {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wheat);
  margin-bottom: 24px;
  display: block;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212,169,106,0.2);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 10px 13px;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
  min-height: 44px;
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-group select option { background: var(--soil); color: var(--cream); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(212,169,106,0.3); }
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: 2px solid var(--wheat);
  outline-offset: 2px;
  border-color: var(--wheat);
}
.form-submit {
  margin-top: 20px;
  width: 100%;
  padding: 13px;
  min-height: 44px;
  background: var(--wheat);
  color: var(--bark);
  border: none;
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s;
}
.form-submit:hover { background: var(--gold); }
.form-success {
  display: none;
  background: rgba(74,89,64,0.2);
  border: 1px solid rgba(74,89,64,0.35);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 0.88rem;
  color: var(--parchment);
  text-align: center;
  margin-top: 14px;
}

/* ── GALLERY PAGE ── */
.gallery-body { max-width: var(--max-width); margin: 0 auto; padding: 48px 24px 72px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.gallery-card {
  background: var(--parchment);
  border: 1px solid var(--wheat);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.gallery-card:hover { box-shadow: 0 4px 16px rgba(44,26,14,0.2); transform: translateY(-2px); }
.gallery-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

.video-wrap { position: relative; aspect-ratio: 4/3; background: var(--bark); overflow: hidden; }
.video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(44,26,14,0.3);
  transition: background 0.2s;
}
.gallery-card:hover .play-overlay { background: rgba(44,26,14,0.15); }
.play-circle {
  width: 46px; height: 46px;
  background: rgba(212,169,106,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--bark);
  font-size: 1.1rem;
  padding-left: 4px;
}
.gallery-card-footer {
  padding: 10px 14px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.gallery-card-caption {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: var(--stone);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gallery-badge {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  flex-shrink: 0;
}
.gallery-badge.photo { background: rgba(125,78,45,0.1); border: 1px solid rgba(125,78,45,0.2); color: var(--clay); }
.gallery-badge.video { background: rgba(91,122,138,0.1); border: 1px solid rgba(91,122,138,0.25); color: var(--sky); }

.filter-row { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.filter-tab {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  min-height: 36px;
  border-radius: 20px;
  border: 1px solid rgba(164,124,91,0.3);
  background: none;
  color: var(--stone);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-tab:hover { border-color: var(--wheat); color: var(--clay); }
.filter-tab.active { background: var(--clay); border-color: var(--clay); color: var(--cream); }
.media-count { margin-left: auto; font-family: var(--mono); font-size: 0.6rem; color: var(--stone); opacity: 0.55; }

.empty-state { text-align: center; padding: 80px 24px; display: none; }
.empty-title { font-family: var(--display); font-size: 1.3rem; color: var(--stone); opacity: 0.4; margin-bottom: 8px; }
.empty-sub { font-family: var(--mono); font-size: 0.63rem; color: var(--stone); opacity: 0.35; }

/* ── LIGHTBOX ── */
#lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(20,10,4,0.93);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#lightbox.open { display: flex; }
#lbMedia img, #lbMedia video {
  max-width: 100%;
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 80px rgba(0,0,0,0.7);
  display: block;
}
.lb-close {
  position: fixed; top: 16px; right: 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 44px; height: 44px;
  color: var(--cream); font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s; z-index: 501;
}
.lb-close:hover { background: rgba(255,255,255,0.2); }
.lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 44px; height: 44px;
  color: var(--cream); font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s; z-index: 501;
}
.lb-nav:hover { background: rgba(255,255,255,0.2); }
#lbPrev { left: 14px; }
#lbNext { right: 14px; }

/* ── SITE FOOTER ── */
footer {
  background: var(--bark);
  color: var(--stone);
  padding: 32px 24px;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  line-height: 1.9;
}
.footer-logo {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--wheat);
  margin-bottom: 8px;
  letter-spacing: 0;
}
footer p { opacity: 0.6; }

/* ── SCROLL OFFSET ── */
[id] { scroll-margin-top: 70px; }

/* ── RESPONSIVE — Tablet ── */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── RESPONSIVE — Mobile ── */
@media (max-width: 640px) {
  /* Header */
  .site-header-inner { padding: 12px 16px; }

  /* Hamburger */
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--soil);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    border-top: 1px solid rgba(212,169,106,0.15);
    z-index: 99;
  }
  .site-nav.open { display: flex; }
  .site-nav-link {
    padding: 12px 8px;
    font-size: 0.72rem;
    min-height: 48px;
    border-bottom: 1px solid rgba(212,169,106,0.1);
    opacity: 1;
    width: 100%;
  }
  .site-nav-link:last-child { border-bottom: none; }
  .site-nav-link.cta {
    margin-top: 8px;
    text-align: center;
    justify-content: center;
    border-radius: var(--radius);
    border-bottom: none;
  }

  /* Stats — 2x2 grid */
  .stats-bar-inner { gap: 0; }
  .stat-item { padding: 12px 0; width: 50%; border-right: none; border-bottom: 1px solid rgba(164,124,91,0.25); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(164,124,91,0.25); }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-bottom: none; }

  /* Sections */
  section { padding: 48px 16px; }
  .gallery-body { padding: 28px 16px 52px; }
  .services-grid { grid-template-columns: 1fr; }
  #lbPrev, #lbNext { display: none; }
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 60px 20px 52px; }
}

/* ── TOUCH DEVICES ── */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover { transform: none; box-shadow: none; background: var(--parchment); color: var(--bark); border-color: var(--wheat); }
  .service-card:hover h3 { color: var(--bark); }
  .service-card:hover .service-tag { color: var(--clay); background: rgba(125,78,45,0.1); border-color: rgba(125,78,45,0.2); }
  .service-card:active { background: var(--soil); color: var(--cream); border-color: var(--soil); }
  .gallery-card:hover { transform: none; box-shadow: none; }
  .gallery-card:active { box-shadow: 0 4px 16px rgba(44,26,14,0.2); }
  .btn-primary:hover { transform: none; }
  a { -webkit-tap-highlight-color: rgba(125,78,45,0.15); }
}

/* ── PREFERS-REDUCED-MOTION (WCAG 2.3.3) ── */
@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;
  }
}

/* ── PRINT ── */
@media print {
  .site-header, .hero-cta-row, .filter-row, #lightbox { display: none; }
  body { font-size: 11pt; color: black; background: white; }
  a { color: black; text-decoration: none; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; opacity: 0.6; }
  .quote-form, .gallery-body .filter-row { display: none; }
  .gallery-card { break-inside: avoid; }
}
