/*
Theme Name: Rock & Timber
Theme URI: https://rock-timber.com
Author: Rock & Timber LLC
Author URI: https://rock-timber.com
Description: Rugged, industrial WordPress theme for Rock & Timber LLC — Southern Oregon's land clearing, road building, hauling, and site-prep specialists. Inspired by Knife River.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rock-timber
Tags: business, construction, custom-menu, custom-logo, featured-images, full-width-template, theme-options, threaded-comments
*/

/* ==========================================================================
   Rock & Timber — Design System
   All colors HSL. Earthy, industrial, bold.
   ========================================================================== */

:root {
  --background: 38 30% 96%;
  --foreground: 30 12% 12%;
  --card: 0 0% 100%;
  --card-foreground: 30 12% 12%;
  --primary: 30 10% 14%;
  --primary-foreground: 38 30% 96%;
  --secondary: 25 35% 22%;
  --secondary-foreground: 38 30% 96%;
  --muted: 38 15% 92%;
  --muted-foreground: 30 8% 38%;
  --accent: 22 88% 48%;
  --accent-foreground: 0 0% 100%;
  --accent-glow: 28 95% 58%;
  --border: 30 12% 86%;
  --radius: 0.25rem;

  --gradient-amber: linear-gradient(135deg, hsl(22 88% 48%), hsl(28 95% 58%));
  --gradient-earth: linear-gradient(180deg, hsl(30 10% 14%) 0%, hsl(25 25% 18%) 100%);
  --gradient-hero-overlay: linear-gradient(180deg, hsl(30 10% 8% / 0.55) 0%, hsl(30 10% 8% / 0.35) 50%, hsl(30 10% 8% / 0.85) 100%);

  --shadow-rugged: 0 20px 50px -20px hsl(30 10% 8% / 0.45);
  --shadow-amber: 0 15px 40px -15px hsl(22 88% 48% / 0.55);
  --shadow-card: 0 8px 30px -10px hsl(30 10% 8% / 0.18);

  --font-display: 'Oswald', 'Impact', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  font-weight: 600;
  line-height: 1.1;
}

/* Layout */
.container-wide {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container-wide { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-xl { padding: 1.05rem 2.5rem; font-size: 1rem; }
.btn-amber { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.btn-amber:hover { box-shadow: var(--shadow-amber); transform: translateY(-2px); }
.btn-outline-light { border: 2px solid hsl(var(--background) / 0.8); color: hsl(var(--background)); }
.btn-outline-light:hover { background: hsl(var(--background)); color: hsl(var(--primary)); }
.btn-outline-dark { border: 2px solid hsl(var(--primary)); color: hsl(var(--primary)); }
.btn-outline-dark:hover { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-primary:hover { background: hsl(var(--primary) / 0.9); }

/* Top Bar */
.topbar {
  display: none;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}
@media (min-width: 768px) { .topbar { display: block; } }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.75rem;
}
.topbar-tag {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--accent-glow));
}
.topbar-links { display: flex; gap: 1.5rem; align-items: center; }
.topbar-links a { display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s; }
.topbar-links a:hover { color: hsl(var(--accent-glow)); }
.topbar-loc { display: flex; align-items: center; gap: 0.5rem; opacity: 0.7; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-rugged);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  background: hsl(var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--accent-foreground));
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.1;
}
.brand-name .amp { color: hsl(var(--accent)); }
.brand-tag {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--primary-foreground) / 0.6);
}

.primary-nav { display: none; }
@media (min-width: 1024px) { .primary-nav { display: flex; gap: 2rem; align-items: center; } }
.primary-nav a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: color 0.2s;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: hsl(var(--accent)); }
.primary-nav ul { display: flex; gap: 2rem; }

.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: block; } }

.menu-toggle {
  display: block;
  color: hsl(var(--primary-foreground));
  padding: 0.5rem;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu {
  display: none;
  background: hsl(var(--primary));
  border-top: 1px solid hsl(var(--primary-foreground) / 0.1);
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { padding: 1rem 0; }
.mobile-menu a {
  display: block;
  padding: 0.875rem 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-bottom: 1px solid hsl(var(--primary-foreground) / 0.1);
}
.mobile-cta { margin-top: 1rem; padding-bottom: 1rem; }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: hsl(var(--primary));
  color: hsl(var(--background));
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: slowzoom 18s ease-out forwards;
}
.hero-overlay { position: absolute; inset: 0; background: var(--gradient-hero-overlay); }
.hero-inner {
  position: relative;
  z-index: 10;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 0;
}
@media (min-width: 1024px) { .hero-inner { min-height: 88vh; } }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  border-left: 4px solid hsl(var(--accent));
  background: hsl(var(--primary) / 0.4);
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}
.hero-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: hsl(var(--accent));
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 6rem);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 0.95;
  max-width: 56rem;
}
.hero-title .accent { color: hsl(var(--accent)); }
.hero-lede {
  margin-top: 1.5rem;
  max-width: 38rem;
  font-size: 1.125rem;
  color: hsl(var(--background) / 0.85);
}
@media (min-width: 768px) { .hero-lede { font-size: 1.25rem; } }
.hero-actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

/* Torn edge */
.torn-edge { position: relative; height: 3rem; margin-bottom: -1px; }
.torn-edge.top { background: transparent; }
.torn-edge.top::after {
  content: ""; position: absolute; inset: 0; background: hsl(var(--background));
  clip-path: polygon(0 18px,3% 6px,7% 14px,12% 4px,17% 12px,22% 2px,28% 10px,34% 0,40% 8px,47% 2px,53% 14px,60% 4px,66% 12px,72% 2px,78% 10px,84% 0,90% 8px,95% 4px,100% 14px,100% 100%,0 100%);
}
.torn-edge.bottom::after {
  content: ""; position: absolute; inset: 0; background: hsl(var(--background));
  clip-path: polygon(0 0,100% 0,100% calc(100% - 14px),95% calc(100% - 4px),90% calc(100% - 8px),84% 100%,78% calc(100% - 10px),72% calc(100% - 2px),66% calc(100% - 12px),60% calc(100% - 4px),53% calc(100% - 14px),47% calc(100% - 2px),40% calc(100% - 8px),34% 100%,28% calc(100% - 10px),22% calc(100% - 2px),17% calc(100% - 12px),12% calc(100% - 4px),7% calc(100% - 14px),3% calc(100% - 6px),0 calc(100% - 18px));
}

/* Section common */
.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: hsl(var(--accent));
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.1;
  color: hsl(var(--primary));
}
.section-title .stroke {
  -webkit-text-stroke: 2px hsl(var(--accent));
  color: transparent;
}
.section-lede {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin-top: 1.5rem;
}
.heading-center { text-align: center; max-width: 48rem; margin: 0 auto 4rem; }

/* Why grid */
.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-4px); border-color: hsl(var(--accent)); box-shadow: var(--shadow-rugged); }
.feature-card::before {
  content: ""; position: absolute; top: -1.5rem; right: -1.5rem;
  width: 6rem; height: 6rem; transform: rotate(12deg);
  background: hsl(var(--accent) / 0.05); transition: background 0.3s;
}
.feature-card:hover::before { background: hsl(var(--accent) / 0.15); }
.feature-icon {
  position: relative; margin-bottom: 1.5rem;
  width: 3.5rem; height: 3.5rem;
  background: hsl(var(--primary)); color: hsl(var(--accent));
  display: flex; align-items: center; justify-content: center;
}
.feature-title {
  position: relative; font-family: var(--font-display);
  font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: hsl(var(--primary)); margin-bottom: 0.75rem;
}
.feature-body { position: relative; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* Services */
.services { background: var(--gradient-earth); color: hsl(var(--background)); }
.services-head {
  display: flex; flex-direction: column; gap: 1.5rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 768px) { .services-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.services .section-title { color: hsl(var(--background)); }
.services-grid {
  display: grid; gap: 1.5rem; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  position: relative; display: block; overflow: hidden;
  background: hsl(var(--primary)); box-shadow: var(--shadow-rugged);
}
.service-card-img { aspect-ratio: 4 / 5; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.service-card:hover .service-card-img img { transform: scale(1.1); }
.service-card-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, hsl(var(--primary)), hsl(var(--primary) / 0.4) 50%, transparent);
}
.service-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; }
.service-card-tag {
  display: inline-flex; gap: 0.5rem; padding-bottom: 0.25rem;
  border-bottom: 2px solid hsl(var(--accent));
  font-family: var(--font-display); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.25em; color: hsl(var(--accent));
  margin-bottom: 0.75rem;
}
.service-card-title {
  font-family: var(--font-display); font-size: 1.5rem;
  text-transform: uppercase; line-height: 1.1; color: hsl(var(--background));
  margin-bottom: 0.5rem;
}
.service-card-desc {
  font-size: 0.875rem; color: hsl(var(--background) / 0.8);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: all 0.5s; margin-bottom: 0;
}
.service-card:hover .service-card-desc {
  max-height: 8rem; opacity: 1; margin-bottom: 1rem;
}
.service-card-link { display: inline-flex; gap: 0.5rem; font-size: 0.875rem; color: hsl(var(--accent)); font-weight: 500; }

/* About */
.about-grid {
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(2, 1fr); gap: 5rem; } }
.about-img-wrap { position: relative; }
.about-img-wrap::before {
  content: ""; position: absolute; inset: -1rem;
  background: hsl(var(--accent) / 0.1); z-index: -1;
}
@media (min-width: 768px) { .about-img-wrap::before { inset: -1.5rem; } }
.about-img { aspect-ratio: 1; width: 100%; object-fit: cover; box-shadow: var(--shadow-rugged); }
.about-badge {
  display: none; position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: hsl(var(--accent)); color: hsl(var(--accent-foreground));
  padding: 1.5rem; box-shadow: var(--shadow-amber);
}
@media (min-width: 640px) { .about-badge { display: block; } }
.about-badge-num { font-family: var(--font-display); font-size: 3rem; line-height: 1; }
.about-badge-label { font-family: var(--font-display); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; margin-top: 0.25rem; }
.about-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.about-list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.about-list svg { color: hsl(var(--accent)); flex-shrink: 0; margin-top: 0.125rem; }
.about-actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
@media (min-width: 640px) { .about-actions { flex-direction: row; align-items: center; } }

/* Testimonials */
.testimonials { background: hsl(var(--muted)); }
.testimonial-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid hsl(var(--border)); background: hsl(var(--card));
  padding: 2rem; box-shadow: var(--shadow-card); transition: all 0.3s;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-rugged); }
.testimonial.featured { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
@media (min-width: 1024px) { .testimonial.featured { grid-row: span 2; } }
.testimonial-quote { color: hsl(var(--accent)); margin-bottom: 1rem; }
.testimonial-title { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; margin-bottom: 0.75rem; color: hsl(var(--primary)); }
.testimonial.featured .testimonial-title { color: hsl(var(--background)); }
.testimonial-body { flex: 1; font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; }
.testimonial.featured .testimonial-body { color: hsl(var(--background) / 0.85); }
.testimonial-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid hsl(var(--border)); padding-top: 1rem; }
.testimonial.featured .testimonial-foot { border-color: hsl(var(--background) / 0.2); }
.testimonial-name { font-family: var(--font-display); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.15em; }
.testimonial-stars { color: hsl(var(--accent)); display: flex; gap: 2px; }

/* CTA Banner */
.cta-banner {
  position: relative; overflow: hidden;
  background: hsl(var(--accent)); color: hsl(var(--accent-foreground));
  padding: 5rem 0;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0; opacity: 0.2;
  background-image: repeating-linear-gradient(45deg, transparent 0 20px, hsl(var(--primary) / 0.4) 20px 22px);
}
.cta-inner { position: relative; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .cta-inner { grid-template-columns: 1fr auto; } }
.cta-eyebrow {
  font-family: var(--font-display); font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.3em; color: hsl(var(--primary));
  margin-bottom: 0.75rem;
}
.cta-title {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.1;
}
.cta-lede { margin-top: 1rem; max-width: 36rem; font-size: 1.125rem; color: hsl(var(--accent-foreground) / 0.9); }
.cta-actions { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) and (max-width: 1023px) { .cta-actions { flex-direction: row; } }

/* Footer */
.site-footer { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.footer-grid {
  display: grid; gap: 3rem; padding: 4rem 0;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-brand { grid-column: span 1; }
@media (min-width: 768px) { .footer-brand { grid-column: span 2; } }
.footer-desc { margin-top: 1.5rem; max-width: 28rem; font-size: 0.875rem; color: hsl(var(--primary-foreground) / 0.7); }
.footer-heading {
  font-family: var(--font-display); font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.15em; color: hsl(var(--accent));
  margin-bottom: 1rem;
}
.footer-list { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: hsl(var(--primary-foreground) / 0.8); }
.footer-list a:hover, .footer-list li:hover { color: hsl(var(--accent)); }
.footer-list .ico { display: flex; align-items: center; gap: 0.5rem; }
.footer-bottom { border-top: 1px solid hsl(var(--primary-foreground) / 0.1); }
.footer-bottom-inner {
  display: flex; flex-direction: column; gap: 0.75rem;
  align-items: center; justify-content: space-between;
  padding: 1.25rem 0; font-size: 0.75rem;
  color: hsl(var(--primary-foreground) / 0.6);
}
@media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; } }
.footer-bottom-inner a:hover { color: hsl(var(--accent)); }

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  background: var(--gradient-earth);
  color: hsl(var(--background));
  padding: 6rem 0 5rem;
  text-align: center;
  overflow: hidden;
}
.page-hero h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
}
.page-hero .crumbs {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: hsl(var(--accent));
  margin-bottom: 1rem;
}
.page-hero .crumbs a:hover { color: hsl(var(--accent-glow)); }

/* Page content */
.page-content { padding: 4rem 0; }
.page-content .prose { max-width: 48rem; margin: 0 auto; }
.page-content .prose p, .page-content .prose ul, .page-content .prose ol { margin-bottom: 1.25rem; font-size: 1.0625rem; color: hsl(var(--foreground)); }
.page-content .prose h2 { font-size: 2rem; margin: 2.5rem 0 1rem; color: hsl(var(--primary)); }
.page-content .prose h3 { font-size: 1.5rem; margin: 2rem 0 0.75rem; color: hsl(var(--primary)); }
.page-content .prose ul { padding-left: 1.5rem; list-style: disc; }
.page-content .prose a { color: hsl(var(--accent)); text-decoration: underline; }

/* Contact form */
.contact-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-grid--single { grid-template-columns: 1fr !important; max-width: 720px; margin: 0 auto; }
.contact-image-wrap { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-image { margin: 0; overflow: hidden; border: 1px solid hsl(var(--border)); border-radius: var(--radius); box-shadow: var(--shadow-card); aspect-ratio: 4 / 5; background: hsl(var(--muted)); }
.contact-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-image-caption { font-size: 0.85rem; color: hsl(var(--muted-foreground)); text-align: center; font-style: italic; margin: 0; }
.contact-form-wrap { display: flex; flex-direction: column; }
.contact-form-heading { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; margin: 0 0 0.5rem; color: hsl(var(--primary)); }
.contact-form-intro { color: hsl(var(--muted-foreground)); margin: 0 0 1.5rem; }
.contact-msg { padding: 1rem; border-radius: var(--radius); font-size: 0.95rem; }
.contact-msg--success { background: hsl(140 50% 92%); color: hsl(140 60% 22%); }
.contact-msg--error { background: hsl(var(--destructive) / 0.1); color: hsl(var(--destructive)); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 0.875rem 1rem;
  font-family: var(--font-body); font-size: 1rem;
  border: 1px solid hsl(var(--border)); background: hsl(var(--card)); color: hsl(var(--foreground));
  border-radius: var(--radius);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: 2px solid hsl(var(--accent)); outline-offset: 2px; border-color: transparent;
}
.contact-form label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

/* Single service page */
.service-hero {
  position: relative; height: 60vh; min-height: 400px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.service-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-hero::after { content: ""; position: absolute; inset: 0; background: var(--gradient-hero-overlay); }
.service-hero-content { position: relative; z-index: 2; padding: 3rem 0; color: hsl(var(--background)); }

/* WP core required */
.alignleft { float: left; margin: 0.5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.5rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: hsl(var(--muted-foreground)); text-align: center; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
}

/* Animations */
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeup 0.8s ease-out forwards; }

/* Footer logo image */
.footer-logo {
  height: 28px;
  width: auto;
  display: block;
}
