/* ═══════════════════════════════════════════════
   DESIGN TOKENS
   Editorial approach. Dieter Rams restraint.
   Frank Chimero content-first. Bethany Heck
   typographic leadership. Space Grotesk + Lora.
   ═══════════════════════════════════════════════ */
:root {
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Lora', Georgia, serif;
  --line-height-body: 1.62;
  --line-height-heading: 1.08;

  --sage: #5B7B5E;
  --sage-dark: #3D5940;
  --sage-muted: #819574;
  --sandstone: #C4A96A;
  --terracotta: #A85D3C;
  --terracotta-dark: #8E4C30;
  --terracotta-light: #C0704A;
  --cream: #FAF8F5;
  --bark: #2C2C2C;
  --bark-light: #5C4F3D;
  --sky: #F0F4F1;
  --white: #FFFFFF;
  --border: rgba(44,36,24,0.07);
  --gold: #C4A96A;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 140px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 12px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 12px 24px -4px rgb(0 0 0 / 0.1);

  --motion-fast: 120ms;
  --motion-normal: 240ms;
  --motion-slow: 400ms;
  --motion-reveal: 600ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --stagger: 80ms;
}

/* ── @property for counter animation ── */
@property --num {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: var(--line-height-body);
  color: var(--bark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Skip Link */
.skip-link {
  position: absolute; top: -100%; left: var(--space-md);
  background: var(--bark); color: var(--cream);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm); z-index: 10001;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem;
}
.skip-link:focus { top: var(--space-md); }

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

/* Icons */
.icon {
  width: 24px; height: 24px;
  stroke: currentColor; stroke-width: 1.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-sm { width: 18px; height: 18px; }

/* ── Scroll Progress Bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 10000;
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%;
  width: 100%;
  background: var(--sage);
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

/* ── Motion ── */
.reveal {
  opacity: 0;
  transition: opacity var(--motion-reveal) var(--ease-out);
}
.reveal.vis { opacity: 1; }
.reveal.d1 { transition-delay: calc(var(--stagger) * 1); }
.reveal.d2 { transition-delay: calc(var(--stagger) * 2); }
.reveal.d3 { transition-delay: calc(var(--stagger) * 3); }
.reveal.d4 { transition-delay: calc(var(--stagger) * 4); }

@keyframes hero-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Counter Animation ── */
@keyframes count-up {
  from { --num: 0; }
  to { --num: var(--target, 100); }
}
.counter-animate {
  animation: count-up 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  counter-reset: num var(--num);
  font-variant-numeric: tabular-nums;
}

/* ── Text Reveal ── */
.text-reveal .word {
  display: inline-block;
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
}
.text-reveal.vis .word {
  opacity: 1;
}

/* ── Portfolio Grid Wipe (simplified to fade) ── */
@keyframes card-wipe-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Image Blur Reveal (simplified to fade) ── */
@keyframes blur-to-sharp {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ═══════════════════════════════════════════════
   1. NAVIGATION
   Transparent over hero, solidifies on scroll.
   The image deserves to breathe edge-to-edge.
   ═══════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background var(--motion-slow) var(--ease),
    border-color var(--motion-slow) var(--ease),
    box-shadow var(--motion-slow) var(--ease);
}
.nav.scrolled {
  background: rgba(250,248,245,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: height var(--motion-slow) var(--ease);
}
.nav.scrolled .nav-inner { height: 64px; }

/* ── Nav colors: Hero state (transparent) ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.95);
  transition: color var(--motion-slow) var(--ease);
}
.nav-logo svg {
  width: 28px; height: 28px;
  color: rgba(255,255,255,0.75);
  transition: color var(--motion-slow) var(--ease);
}
.nav-logo img {
  height: 40px;
  width: auto;
  transition: filter var(--motion-slow) var(--ease);
  filter: brightness(0) invert(1);
}
.nav.scrolled .nav-logo img,
.nav.menu-open .nav-logo img {
  filter: none;
}
.nav .nav-logo span,
.footer-brand .nav-logo span {
  display: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color var(--motion-fast) var(--ease);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--white);
  transition: width var(--motion-normal) var(--ease-out), background var(--motion-slow) var(--ease);
}
.nav-links a:hover { color: rgba(255,255,255,0.95); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-links a:focus-visible { outline: 2px solid rgba(255,255,255,0.6); outline-offset: 4px; border-radius: 2px; }

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  transition: color var(--motion-slow) var(--ease);
}
.nav-phone svg {
  width: 15px; height: 15px;
  color: rgba(255,255,255,0.6);
  transition: color var(--motion-slow) var(--ease);
}
.nav-cta .btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  background: var(--terracotta);
  color: var(--white);
  transition: all var(--motion-normal) var(--ease);
  box-shadow: 0 2px 8px rgba(168,93,60,0.3);
}
.nav-cta .btn:hover { background: var(--terracotta-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(168,93,60,0.4); }
.nav-cta .btn:focus-visible { outline: 3px solid var(--sandstone); outline-offset: 3px; }

/* ── Nav colors: Scrolled state (solid) + menu-open state ── */
.nav.scrolled, .nav.menu-open {
  background: rgba(250,248,245,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav.scrolled .nav-logo, .nav.menu-open .nav-logo { color: var(--sage-dark); }
.nav.scrolled .nav-logo svg, .nav.menu-open .nav-logo svg { color: var(--sage); }
.nav.scrolled .nav-links a, .nav.menu-open .nav-links a { color: var(--bark-light); }
.nav.scrolled .nav-links a:hover, .nav.menu-open .nav-links a:hover { color: var(--sage-dark); }
.nav.scrolled .nav-links a.active, .nav.menu-open .nav-links a.active { color: var(--sage-dark); }
.nav.scrolled .nav-links a::after, .nav.menu-open .nav-links a::after { background: var(--sage); }
.nav.scrolled .nav-links a:focus-visible, .nav.menu-open .nav-links a:focus-visible { outline-color: var(--sage); }
.nav.scrolled .nav-phone, .nav.menu-open .nav-phone { color: var(--bark); }
.nav.scrolled .nav-phone svg, .nav.menu-open .nav-phone svg { color: var(--sage); }
.nav.scrolled .nav-cta .btn, .nav.menu-open .nav-cta .btn { box-shadow: none; }
.nav.scrolled .hamburger span, .nav.menu-open .hamburger span { background: var(--bark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all var(--motion-normal) var(--ease), background var(--motion-slow) var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--cream);
  padding: var(--space-2xl) var(--space-lg);
  z-index: 1029;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--motion-normal) var(--ease), transform var(--motion-normal) var(--ease);
  pointer-events: none;
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--bark);
  border-bottom: 1px solid var(--border);
}
.mobile-menu .mobile-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: var(--space-md) 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sage-dark);
}
.mobile-menu .mobile-phone svg { width: 20px; height: 20px; }
.mobile-menu .btn-mobile {
  display: block;
  margin-top: var(--space-lg);
  width: 100%;
  text-align: center;
  padding: 14px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--terracotta);
  color: var(--white);
  border-radius: var(--radius-pill);
}

/* ═══════════════════════════════════════════════
   2. HERO
   Dieter Rams: As little design as possible.
   One statement. One action. Confidence.
   ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--sage-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,25,16,0.55) 0%, rgba(15,25,16,0.15) 120px, transparent 220px),
    linear-gradient(168deg, rgba(26,43,28,0.55) 0%, rgba(38,58,40,0.4) 30%, rgba(31,48,34,0.45) 60%, rgba(21,30,22,0.7) 100%),
    url('../images/smith/portfolio/commercial/commercial-01.jpg') center/cover no-repeat;
  animation: hero-enter 1s var(--ease-out) both;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 160px;
  padding-bottom: 120px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 2.5rem + 5vw, 5.5rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--white);
  max-width: 14ch;
  animation: hero-enter 800ms var(--ease-out) both;
  animation-delay: 200ms;
}
.hero-cta {
  margin-top: var(--space-2xl);
  animation: hero-enter 700ms var(--ease-out) both;
  animation-delay: 500ms;
}
.hero-cta a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  transition: color var(--motion-normal), border-color var(--motion-normal);
}
.hero-cta a:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.hero-cta a svg {
  width: 16px; height: 16px;
  transition: transform var(--motion-normal) var(--ease);
}
.hero-cta a:hover svg { }

/* Small location line at bottom of hero */
.hero-location {
  position: absolute;
  bottom: var(--space-2xl);
  left: var(--space-lg);
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  animation: hero-enter 600ms var(--ease-out) both;
  animation-delay: 800ms;
}

/* ═══════════════════════════════════════════════
   3. SERVICES
   Editorial list. No icon boxes. No card grid.
   Each service is a confident line item.
   ═══════════════════════════════════════════════ */
.services {
  padding: var(--space-5xl) 0 var(--space-4xl);
  position: relative;
  overflow: hidden;
}
/* Decorative botanical illustrations */
.deco-branch {
  position: absolute;
  top: -20px;
  right: 0;
  width: 520px;
  height: 680px;
  background: url('../images/deco-branch-oak-transparent.png') no-repeat center / contain;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.deco-grasses-left {
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 360px;
  height: 520px;
  background: url('../images/deco-grasses-transparent.png') no-repeat center / contain;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}
.deco-grasses-right {
  position: absolute;
  bottom: 40px;
  right: 0;
  width: 320px;
  height: 440px;
  background: url('../images/deco-grasses-transparent.png') no-repeat center / contain;
  opacity: 0.18;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 0;
}
.services > .container, .faq > .container { position: relative; z-index: 1; }
/* Organic blob accent behind services intro */
.services-intro {
  max-width: 540px;
  margin-bottom: var(--space-3xl);
  position: relative;
}
.services-intro::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -50px;
  width: 240px;
  height: 240px;
  background: var(--sage);
  opacity: 0.07;
  border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%;
  pointer-events: none;
  z-index: -1;
}
.services-intro .label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}
.services-intro h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: var(--space-sm);
}
.services-intro p {
  margin-top: var(--space-md);
  color: var(--bark-light);
  max-width: 44ch;
}
.service-list {
  border-top: 1px solid var(--bark);
}
.service-item {
  border-bottom: 1px solid var(--border);
  transition: border-color var(--motion-normal);
}
.service-item:hover {
  border-bottom-color: var(--sage);
}
.service-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  cursor: pointer;
}
.service-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  object-fit: cover;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--motion-normal) var(--ease), transform var(--motion-normal) var(--ease);
}
.service-item:hover .service-thumb {
  opacity: 1;
  transform: scale(1);
}
.service-name {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color var(--motion-fast);
}
.service-item:hover .service-name {
  color: var(--sage-dark);
}
.service-desc {
  font-size: 0.88rem;
  color: var(--bark-light);
  margin-top: 4px;
  max-width: 50ch;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--motion-slow) var(--ease), opacity var(--motion-normal) var(--ease), margin-top var(--motion-slow) var(--ease);
}
.service-item:hover .service-desc {
  max-height: 80px;
  opacity: 1;
  margin-top: var(--space-sm);
}
.service-arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bark-light);
  transition: color var(--motion-fast);
}
.service-item:hover .service-arrow {
  color: var(--sage-dark);
}
.service-arrow svg { width: 18px; height: 18px; }

/* ── Section Dividers ── */
.divider-curve-bottom {
  position: relative;
}
.divider-curve-bottom::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background: inherit;
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 2;
}
.divider-angle {
  position: relative;
}
.divider-angle::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
  background: inherit;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 2;
}

/* ═══════════════════════════════════════════════
   4. PORTFOLIO
   Let the work speak. Full-bleed grid.
   Staggered wipe-in on scroll.
   ═══════════════════════════════════════════════ */
.portfolio {
  background: var(--bark);
  padding: var(--space-4xl) 0;
  color: var(--white);
}
.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  gap: var(--space-lg);
}
.portfolio-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.portfolio-link {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: color var(--motion-fast), border-color var(--motion-fast);
}
.portfolio-link:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.portfolio-link svg {
  width: 14px; height: 14px;
  transition: transform var(--motion-normal) var(--ease);
}
.portfolio-link:hover svg { }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;
  gap: 3px;
}
.portfolio-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transition: opacity 700ms var(--ease-out);
}
.portfolio-card.vis {
  opacity: 1;
}
.portfolio-card.tall { grid-row: span 2; }
.portfolio-grad {
  width: 100%; height: 100%;
  object-fit: cover;
}
.portfolio-card:hover .portfolio-grad { }
.portfolio-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-lg);
  background: linear-gradient(to top, rgba(20,20,20,0.8) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--motion-normal) var(--ease);
}
.portfolio-card:hover .portfolio-info {
  opacity: 1;
}
.portfolio-info h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
}
.portfolio-meta {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  opacity: 0.6;
  margin-top: 3px;
  letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════════
   5. ABOUT
   Pull-quote led. Story-first.
   No floating badges. No decorative circles.
   ═══════════════════════════════════════════════ */
.about {
  padding: var(--space-5xl) 0 var(--space-4xl);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}
.about-pull {
}
.about-pull blockquote {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem);
  line-height: 1.45;
  font-weight: 400;
  font-style: italic;
  color: var(--bark);
  letter-spacing: -0.01em;
}
.about-pull blockquote span {
  color: var(--sage);
}
.about-pull cite {
  display: block;
  margin-top: var(--space-lg);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bark-light);
}

.about-image {
  margin-top: var(--space-2xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content .label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}
.about-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: var(--space-sm);
}
.about-story {
  margin-top: var(--space-lg);
  color: var(--bark-light);
  line-height: 1.75;
  max-width: 52ch;
}
.about-values {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.about-value {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.about-value-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 2px;
}
.about-value-icon svg { width: 18px; height: 18px; }
.about-value h4 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
}
.about-value p {
  font-size: 0.85rem;
  color: var(--bark-light);
  margin-top: 2px;
}

/* Stats as a simple confident line */
.stats-line {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
  display: flex;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sage-dark);
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--bark-light);
  text-transform: lowercase;
}

/* ═══════════════════════════════════════════════
   6. TESTIMONIAL
   One dominant voice. Not three equal boxes.
   Parallax bark texture background.
   ═══════════════════════════════════════════════ */
.testimonial-section {
  background: var(--sky);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}
.testimonial-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/testimonial-texture.png') center/cover no-repeat;
  background-attachment: fixed;
  z-index: 0;
}
.testimonial-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(240,244,241,0.92);
  z-index: 0;
}
.testimonial-section > .container {
  position: relative;
  z-index: 1;
}
.testimonial-featured {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  position: relative;
}
/* Large decorative open-quote mark */
.testimonial-featured::before {
  content: '\201C';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12rem;
  line-height: 1;
  color: var(--sage);
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}
/* Gold accent bar below featured quote */
.testimonial-featured::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: var(--space-lg) auto 0;
  border-radius: 2px;
  opacity: 0.7;
}
.testimonial-stars {
  color: var(--sandstone);
  font-size: 0.9rem;
  letter-spacing: 4px;
}
.testimonial-quote {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 1.1rem + 0.8vw, 1.65rem);
  line-height: 1.55;
  font-style: italic;
  color: var(--bark);
  margin-top: var(--space-lg);
  letter-spacing: -0.005em;
}
.testimonial-author {
  margin-top: var(--space-xl);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bark);
}
.testimonial-loc {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  color: var(--bark-light);
  margin-top: 2px;
}

/* Decorative oak branch on testimonial section */
.deco-branch-testimonial {
  position: absolute;
  bottom: -40px;
  right: 0;
  width: 400px;
  height: 520px;
  background: url('../images/deco-branch-oak-transparent.png') no-repeat center / contain;
  opacity: 0.12;
  transform: scaleX(-1) rotate(15deg);
  pointer-events: none;
  z-index: 0;
}
/* Additional quotes — card treatment */
.testimonial-others {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 720px;
  margin: var(--space-2xl) auto 0;
  padding-top: var(--space-xl);
  border-top: none;
}
.testimonial-small-card {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border-left: 3px solid var(--gold);
  transition: background var(--motion-normal) var(--ease);
}
.testimonial-small-card:hover {
  background: rgba(255,255,255,0.75);
}
.testimonial-small {
  font-size: 0.88rem;
  color: var(--bark-light);
  font-style: italic;
  line-height: 1.6;
}
.testimonial-small-author {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  font-style: normal;
  color: var(--bark);
  margin-top: var(--space-sm);
}

/* ═══════════════════════════════════════════════
   7. FAQ
   Clean. White card on cream. SEO-critical.
   ═══════════════════════════════════════════════ */
.faq {
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, rgba(163,177,138,0.06) 50%, var(--cream) 100%);
}
.faq-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
}
/* Organic ring accent behind FAQ heading */
.faq-header::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  border: 2px solid var(--gold);
  opacity: 0.20;
  border-radius: 50% 50% 50% 50% / 42% 58% 42% 58%;
  pointer-events: none;
}
/* Gold accent bar below FAQ heading */
.faq-header::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gold);
  margin: var(--space-md) auto 0;
  border-radius: 2px;
  opacity: 0.6;
}
.faq-header .label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}
.faq-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: var(--space-sm);
}
.faq-list {
  max-width: 700px;
  margin-inline: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-sm) var(--space-xl);
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(87,75,67,0.06);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bark);
  text-align: left;
  cursor: pointer;
  transition: color var(--motion-fast);
}
.faq-question:hover { color: var(--sage-dark); }
.faq-question svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  stroke: var(--bark-light);
  stroke-width: 2;
  fill: none;
  transition: transform var(--motion-normal) var(--ease);
}
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--motion-slow) var(--ease);
}
.faq-answer-inner {
  padding: 0 0 var(--space-lg);
  font-size: 0.9rem;
  color: var(--bark-light);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ═══════════════════════════════════════════════
   8. CONTACT
   The form IS the product here. Clean. Simple.
   Process info folded into intro copy.
   ═══════════════════════════════════════════════ */
.contact {
  padding: var(--space-4xl) 0;
  background: var(--sage-dark);
  color: var(--white);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  position: relative;
  z-index: 1;
}
.contact-left h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.contact-left p {
  margin-top: var(--space-md);
  color: rgba(255,255,255,0.6);
  max-width: 38ch;
  line-height: 1.7;
}
.contact-process {
  margin-top: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.contact-step {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.contact-step-num {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
}
.contact-step span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

/* Contact crew image */
.contact-crew-image {
  margin-top: var(--space-2xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.contact-crew-image img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 900ms var(--ease-out);
}
.contact-crew-image.vis img {
  opacity: 1;
}

.contact-details {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.contact-detail-item {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
}
.contact-detail-item a {
  transition: color var(--motion-fast);
}
.contact-detail-item a:hover { color: var(--white); }
.contact-detail-item svg {
  width: 16px; height: 16px;
  color: rgba(255,255,255,0.3);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  color: var(--bark);
}
.form-group { margin-bottom: var(--space-md); }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid rgba(44,36,24,0.1);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--bark);
  background: var(--white);
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(91,123,94,0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235C4F3D' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.form-group .form-help {
  font-size: 0.72rem;
  color: var(--bark-light);
  margin-top: 4px;
  font-style: italic;
}
.btn-submit {
  width: 100%;
  padding: 14px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  background: var(--terracotta);
  color: var(--white);
  border-radius: var(--radius-pill);
  transition: background var(--motion-normal), transform var(--motion-fast);
}
.btn-submit:hover { background: var(--terracotta-dark); transform: translateY(-1px); }
.btn-submit:focus-visible { outline: 3px solid var(--sandstone); outline-offset: 3px; }

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}
.form-success.show { display: block; }
.form-success-icon { color: var(--sage); margin-bottom: var(--space-md); }
.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
.form-success p { color: var(--bark-light); font-size: 0.9rem; }
.form-fields.hidden { display: none; }

/* ═══════════════════════════════════════════════
   9. FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  background: var(--bark);
  color: rgba(255,255,255,0.55);
  padding: var(--space-3xl) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav-logo { color: var(--white); }
.footer-brand .nav-logo svg { color: rgba(255,255,255,0.5); }
.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.65;
  max-width: 260px;
  margin-top: var(--space-md);
}
.footer h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}
.footer ul { list-style: none; }
.footer li { margin-bottom: var(--space-sm); }
.footer a { font-size: 0.82rem; transition: color var(--motion-fast); }
.footer a:hover { color: var(--white); }
.footer a:focus-visible { outline: 2px solid var(--sandstone); outline-offset: 2px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  font-size: 0.72rem;
}
.footer-tagline {
  font-family: var(--font-body);
  font-style: italic;
  color: rgba(255,255,255,0.25);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 1020;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--motion-normal) var(--ease), transform var(--motion-normal) var(--ease), background var(--motion-fast);
  pointer-events: none;
}
.back-to-top.vis {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--sage-dark); }
.back-to-top svg { width: 18px; height: 18px; }

/* Pay Your Bill button */
.pay-bill-btn {
  position: fixed;
  bottom: 32px;
  right: 88px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  background: var(--sage-dark);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  z-index: 1020;
  transition: background var(--motion-normal) var(--ease);
}
.pay-bill-btn:hover { background: var(--sage); }
.pay-bill-btn svg { width: 16px; height: 16px; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .pay-bill-btn { right: 16px; bottom: 24px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .portfolio-card.tall { grid-row: span 1; }
  .about-grid { grid-template-columns: 1fr; }
  .about-pull { position: static; margin-bottom: var(--space-2xl); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-others { grid-template-columns: 1fr; }
  /* Service thumbnails and descriptions always visible on mobile */
  .service-thumb {
    width: 48px;
    height: 48px;
    opacity: 1;
  }
  .service-desc {
    max-height: 80px;
    opacity: 1;
    margin-top: var(--space-sm);
  }
  /* Portfolio info always visible on mobile (no hover) */
  .portfolio-info {
    opacity: 1;
  }
  /* Team card bio not shown on mobile (no hover, no touch expand) */
  .team-card-bio {
    display: none;
  }
  /* Disable fixed parallax on mobile */
  .testimonial-section::before {
    background-attachment: scroll;
  }
}
@media (max-width: 600px) {
  /* More breathing room on small screens */
  .container { padding-inline: var(--space-xl); }
  .hero-location { left: var(--space-xl); }
  .hero-content { padding-top: 100px; padding-bottom: 60px; }
  .nav-inner { padding-inline: var(--space-md); }
  .mobile-menu { padding: var(--space-2xl) var(--space-xl); }
  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .portfolio-card.tall { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.2rem, 1.8rem + 3vw, 3.2rem); }
  .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
  .stats-line { flex-direction: column; gap: var(--space-md); }
  .faq-list { padding: var(--space-sm) var(--space-md); }
  .deco-branch, .deco-branch-testimonial, .deco-grasses-left, .deco-grasses-right { display: none; }
  .testimonial-small-card { border-left-width: 2px; padding: var(--space-md); }
  .contact-form { padding: var(--space-lg); }
  .service-link { gap: var(--space-md); }
}

/* ═══════════════════════════════════════════════
   MULTI-PAGE: Short Hero (interior pages)
   ═══════════════════════════════════════════════ */
.hero-short {
  position: relative;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--sage-dark);
}
.hero-short .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: hero-enter 1s var(--ease-out) both;
}
.hero-short .hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,25,16,0.4) 0%, rgba(21,30,22,0.7) 100%);
}
.hero-short .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-short .hero-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: var(--space-3xl);
}
.hero-short h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 1.8rem + 3vw, 3.75rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  animation: hero-enter 800ms var(--ease-out) both;
  animation-delay: 200ms;
}
.hero-short .hero-subtitle {
  margin-top: var(--space-md);
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 50ch;
  animation: hero-enter 700ms var(--ease-out) both;
  animation-delay: 400ms;
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.4);
  animation: hero-enter 600ms var(--ease-out) both;
  animation-delay: 100ms;
}
.breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color var(--motion-fast);
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { margin: 0 6px; opacity: 0.4; }

/* ═══════════════════════════════════════════════
   MULTI-PAGE: Team Grid (about.html)
   ═══════════════════════════════════════════════ */
.team-section {
  padding: var(--space-4xl) 0;
}
.team-section-header {
  margin-bottom: var(--space-2xl);
}
.team-section-header .label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}
.team-section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: var(--space-sm);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.team-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--motion-normal) var(--ease);
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
}
.team-card-image {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card-info {
  padding: var(--space-md);
  background: var(--white);
}
.team-card-info h3 {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--bark);
}
.team-card-info .team-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--sage);
  margin-top: 2px;
}
.team-card-bio {
  position: absolute;
  inset: 0;
  background: rgba(61,89,64,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity var(--motion-normal) var(--ease);
}
.team-card:hover .team-card-bio {
  opacity: 1;
}
.team-card-bio h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
}
.team-card-bio .team-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sandstone);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.team-card-bio p {
  font-size: 0.82rem;
  line-height: 1.55;
  margin-top: var(--space-sm);
  color: rgba(255,255,255,0.85);
}

/* Leadership cards (larger) */
.team-leadership {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}
.team-leader-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xl);
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}
.team-leader-card .team-leader-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
}
.team-leader-card .team-leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-leader-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}
.team-leader-card .team-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sage);
  margin-top: 2px;
}
.team-leader-card p {
  font-size: 0.85rem;
  color: var(--bark-light);
  line-height: 1.6;
  margin-top: var(--space-sm);
}

/* Culture gallery */
.culture-gallery {
  padding: var(--space-4xl) 0;
  background: var(--sky);
}
.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}
.culture-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════════════
   MULTI-PAGE: Portfolio Filters (portfolio.html)
   ═══════════════════════════════════════════════ */
.portfolio-filter-bar {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
  justify-content: center;
}
.portfolio-filter-btn {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: all var(--motion-normal) var(--ease);
}
.portfolio-filter-btn:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.portfolio-filter-btn.active {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}
.portfolio-expanded-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.portfolio-expanded-grid .portfolio-card {
  aspect-ratio: 4/3;
}
.portfolio-card.hidden-card {
  display: none;
}

/* ═══════════════════════════════════════════════
   MULTI-PAGE: Service Detail Pages
   ═══════════════════════════════════════════════ */
.service-detail {
  padding: var(--space-4xl) 0;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}
.service-detail-content .label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}
.service-detail-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: var(--space-sm);
}
.service-detail-content p {
  margin-top: var(--space-md);
  color: var(--bark-light);
  line-height: 1.75;
}
.service-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.service-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.service-features {
  padding: var(--space-4xl) 0;
  background: var(--sky);
}
.service-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}
.service-feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  transition: box-shadow var(--motion-normal) var(--ease);
}
.service-feature-card:hover {
  box-shadow: var(--shadow-md);
}
.service-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(91,123,94,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  margin-bottom: var(--space-md);
}
.service-feature-icon svg { width: 22px; height: 22px; }
.service-feature-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}
.service-feature-card p {
  font-size: 0.85rem;
  color: var(--bark-light);
  line-height: 1.6;
}

/* Pain points section */
.pain-points {
  padding: var(--space-4xl) 0;
}
.pain-points-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl) var(--space-4xl);
  margin-top: var(--space-2xl);
}
.pain-point {
  position: relative;
  padding-left: var(--space-xl);
}
.pain-point::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 3px;
  height: 100%;
  background: var(--terracotta);
  border-radius: 2px;
  opacity: 0.4;
}
.pain-point.solved::before {
  background: var(--sage);
  opacity: 0.6;
}
.pain-point h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bark);
  margin-bottom: var(--space-xs);
}
.pain-point h3 .pain-label {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-right: var(--space-sm);
  vertical-align: middle;
}
.pain-point .pain-label-problem {
  background: rgba(168,93,60,0.1);
  color: var(--terracotta);
}
.pain-point.solved .pain-label-solved {
  background: rgba(91,123,94,0.1);
  color: var(--sage-dark);
}
.pain-point p {
  font-size: 0.88rem;
  color: var(--bark-light);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .pain-points-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
}

/* Service portfolio strip */
.service-gallery {
  padding: var(--space-4xl) 0;
}
.service-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}
.service-gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* Related services */
.related-services {
  padding: var(--space-3xl) 0;
  background: var(--sky);
}
.related-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}
.related-service-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: border-color var(--motion-normal) var(--ease);
}
.related-service-card:hover {
  border-color: var(--sage);
}
.related-service-card img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}
.related-service-card h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
}
.related-service-card .service-arrow {
  margin-left: auto;
}

/* ═══════════════════════════════════════════════
   MULTI-PAGE: Testimonials Full Page
   ═══════════════════════════════════════════════ */
.testimonials-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

/* ═══════════════════════════════════════════════
   MULTI-PAGE: Blog Article
   ═══════════════════════════════════════════════ */
.blog-article {
  padding: var(--space-4xl) 0;
}
.blog-article-container {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}
.blog-article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}
.blog-article-meta .label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
}
.blog-article-meta span {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  color: var(--bark-light);
}
.blog-article-featured {
  margin: 0 calc(-1 * var(--space-xl)) var(--space-2xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.blog-article-featured img {
  width: 100%;
  height: auto;
  display: block;
}
.blog-article h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.65rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bark);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}
.blog-article h2:first-of-type {
  margin-top: var(--space-xl);
}
.blog-article p {
  color: var(--bark-light);
  line-height: 1.78;
  margin-bottom: var(--space-md);
}
.blog-article p:first-child {
  font-size: 1.1em;
  color: var(--bark);
  line-height: 1.72;
}
.blog-article ul {
  margin: var(--space-sm) 0 var(--space-lg) var(--space-xl);
  color: var(--bark-light);
  line-height: 1.72;
}
.blog-article ul li {
  margin-bottom: var(--space-sm);
}
.blog-article ul li strong {
  color: var(--bark);
  font-weight: 600;
}
.blog-article a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--motion-fast);
}
.blog-article a:hover {
  color: var(--sage);
}
.blog-article-cta {
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  background: var(--sky);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--sage);
}
.blog-article-cta p {
  color: var(--bark);
  margin-bottom: 0;
}
.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--space-xl);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sage);
  transition: color var(--motion-fast);
}
.blog-back-link:hover { color: var(--sage-dark); }
.blog-back-link svg { width: 14px; height: 14px; }

@media (max-width: 600px) {
  .blog-article { padding: var(--space-2xl) 0; }
  .blog-article-featured { margin-inline: 0; border-radius: var(--radius-md); }
  .blog-article h2 { font-size: 1.15rem; }
}

/* ═══════════════════════════════════════════════
   MULTI-PAGE: Blog Grid
   ═══════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.blog-grid .service-overview-card {
  display: flex;
  flex-direction: column;
}
.blog-grid .service-overview-card-image {
  aspect-ratio: 16/9;
}
.blog-grid .service-overview-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-grid .service-overview-card-body p:last-of-type {
  flex: 1;
}
.blog-grid .service-link-text {
  margin-top: auto;
}

/* ═══════════════════════════════════════════════
   MULTI-PAGE: CTA Band
   ═══════════════════════════════════════════════ */
.cta-band {
  padding: var(--space-3xl) 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.cta-band p {
  margin-top: var(--space-sm);
  color: var(--bark-light);
  max-width: 48ch;
  margin-inline: auto;
}
.cta-band .btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  background: var(--terracotta);
  color: var(--white);
  transition: all var(--motion-normal) var(--ease);
  box-shadow: 0 2px 8px rgba(168,93,60,0.3);
}
.cta-band .btn:hover { background: var(--terracotta-dark); transform: translateY(-1px); }

/* ═══════════════════════════════════════════════
   MULTI-PAGE: Services Overview Cards
   ═══════════════════════════════════════════════ */
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.service-overview-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: box-shadow var(--motion-normal) var(--ease);
}
.service-overview-card:hover {
  box-shadow: var(--shadow-lg);
}
.service-overview-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.service-overview-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-overview-card-body {
  padding: var(--space-lg);
}
.service-overview-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
}
.service-overview-card-body p {
  font-size: 0.85rem;
  color: var(--bark-light);
  line-height: 1.6;
  margin-top: var(--space-sm);
}
.service-overview-card-body .service-link-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-md);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sage);
  transition: color var(--motion-fast);
}
.service-overview-card:hover .service-link-text { color: var(--sage-dark); }
.service-overview-card-body .service-link-text svg { width: 14px; height: 14px; transition: transform var(--motion-normal) var(--ease); }
.service-overview-card:hover .service-link-text svg { }

/* ═══════════════════════════════════════════════
   MULTI-PAGE: Social Links
   ═══════════════════════════════════════════════ */
.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--motion-normal) var(--ease);
}
.social-link:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,0.05);
}
.social-link svg { width: 16px; height: 16px; }
.footer .social-links { margin-top: var(--space-md); }

/* ═══════════════════════════════════════════════
   MULTI-PAGE: Interior page responsive additions
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-leadership { grid-template-columns: 1fr; }
  .team-leader-card { grid-template-columns: 1fr; text-align: center; }
  .team-leader-card .team-leader-photo { margin-inline: auto; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-features-grid { grid-template-columns: repeat(2, 1fr); }
  .service-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .related-services-grid { grid-template-columns: 1fr; }
  .services-overview-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-expanded-grid { grid-template-columns: repeat(2, 1fr); }
  .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-full-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
  .service-features-grid { grid-template-columns: 1fr; }
  .service-gallery-grid { grid-template-columns: 1fr; }
  .services-overview-grid { grid-template-columns: 1fr; }
  .portfolio-expanded-grid { grid-template-columns: 1fr; }
  .portfolio-filter-bar { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: var(--space-sm); }
  .culture-grid { grid-template-columns: 1fr; }
  .hero-short h1 { font-size: clamp(1.8rem, 1.5rem + 2vw, 2.5rem); }
  /* Blog: compact horizontal cards on mobile */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .blog-grid .service-overview-card {
    flex-direction: row;
    align-items: stretch;
  }
  .blog-grid .service-overview-card-image {
    aspect-ratio: 1/1;
    width: 120px;
    min-width: 120px;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }
  .blog-grid .service-overview-card-image img {
    height: 100%;
  }
  .blog-grid .service-overview-card-body {
    padding: var(--space-md);
  }
  .blog-grid .service-overview-card-body h3 {
    font-size: 0.88rem;
    line-height: 1.3;
  }
  .blog-grid .service-overview-card-body p {
    font-size: 0.78rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .blog-grid .service-overview-card-body .label {
    font-size: 0.62rem;
  }
  .blog-grid .service-link-text {
    font-size: 0.72rem;
    margin-top: var(--space-sm);
  }
}

/* Reduced motion */
@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;
  }
  .reveal { opacity: 1; transform: none; }
  .portfolio-card { transform: none; opacity: 1; }
  .portfolio-grad { height: 100%; transform: none; }
  .text-reveal .word { opacity: 1; }
  .contact-crew-image img { opacity: 1; }
  .scroll-progress { display: none; }
}
