/* =====================================================================
   WOOD SEAL EXPERTS — Design System
   Warm-dark + honey/cedar accent + cream. Fraunces (display) + Inter (body).
   Hand-written, no build step. Drop into cPanel public_html.
   ===================================================================== */

/* -------- Design tokens -------- */
:root {
  /* Warm darks */
  --ink:        #15110D;
  --ink-2:      #1C1712;
  --espresso:   #271E17;
  --walnut:     #3B2C20;

  /* Accent — honey / cedar stain */
  --stain:        #C8812E;
  --stain-bright: #E2A647;
  --ember:        #9C541F;

  /* Lights */
  --cream:   #FBF7F0;
  --sand:    #F4ECDF;
  --sand-2:  #EBDFCB;

  /* Trust / nature secondary */
  --forest:  #2E4A3D;

  /* Text */
  --text:          #1C1611;
  --muted:         #6E5E4E;
  --text-on-dark:  #F3EBDF;
  --muted-on-dark: #BBAB96;

  /* Lines */
  --line:        rgba(40, 30, 20, .12);
  --line-strong: rgba(40, 30, 20, .22);
  --line-dark:   rgba(243, 235, 223, .14);

  /* Fonts */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadows — warm tinted */
  --shadow-sm: 0 1px 2px rgba(40,28,16,.06), 0 2px 6px rgba(40,28,16,.06);
  --shadow-md: 0 6px 16px rgba(40,28,16,.10), 0 2px 6px rgba(40,28,16,.06);
  --shadow-lg: 0 24px 50px -16px rgba(40,28,16,.30), 0 8px 20px -10px rgba(40,28,16,.18);
  --shadow-glow: 0 0 80px -20px rgba(226,166,71,.45);

  /* Layout */
  --container: 1200px;
  --container-wide: 1360px;
  --gutter: clamp(20px, 5vw, 56px);

  /* Z-index scale */
  --z-nav: 100;
  --z-overlay: 90;
  --z-toast: 200;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* -------- Reset / base -------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: 3px solid var(--stain);
  outline-offset: 3px;
  border-radius: 4px;
}

/* -------- Typography -------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}
.display {
  font-size: clamp(2.6rem, 7.2vw, 6rem);
  line-height: .98;
  letter-spacing: -0.03em;
}
.display em, h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--stain-bright);
}
h2.section-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  letter-spacing: -0.025em;
}
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ember);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--stain);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.on-dark .eyebrow { color: var(--stain-bright); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.6;
}
.on-dark .lead { color: var(--muted-on-dark); }

/* -------- Layout helpers -------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.wide { max-width: var(--container-wide); }
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.section.tight { padding-block: clamp(56px, 8vw, 96px); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head .lead { margin-top: 1.1rem; }

.bg-dark { background: var(--ink); color: var(--text-on-dark); }
.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand); }
.on-dark { color: var(--text-on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--cream); }

.grid { display: grid; gap: clamp(20px, 2.6vw, 32px); }
.two-col { grid-template-columns: repeat(2, 1fr); }
.three-col { grid-template-columns: repeat(3, 1fr); }
.four-col { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .three-col, .four-col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .two-col, .three-col, .four-col { grid-template-columns: 1fr; }
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-weight: 600; font-size: 1rem; letter-spacing: .005em;
  padding: .95rem 1.7rem; border-radius: var(--r-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary {
  background: linear-gradient(135deg, var(--stain-bright), var(--ember));
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(156,84,31,.6);
}
.btn-primary:hover { box-shadow: 0 16px 34px -8px rgba(156,84,31,.7); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent; color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--stain); color: var(--ember); transform: translateY(-2px); }
.on-dark .btn-ghost, .btn-ghost.on-dark {
  color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--line-dark);
}
.on-dark .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--stain-bright); color: var(--stain-bright); }
.btn-lg { padding: 1.1rem 2.1rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 600;
  color: var(--ember); position: relative;
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.text-link svg { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.text-link:hover { gap: .7rem; color: var(--stain); }
.on-dark .text-link { color: var(--stain-bright); }

/* =====================================================================
   NAVBAR — floating, transparent over dark hero, solid on scroll
   ===================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  /* subtle scrim so the transparent nav stays legible over any hero photo */
  background: linear-gradient(180deg, rgba(13,10,7,.55) 0%, rgba(13,10,7,.28) 55%, rgba(13,10,7,0) 100%);
}
.nav.scrolled {
  background: rgba(251,247,240,.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
  padding-block: 12px;
}
.nav__logo { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; z-index: 2; color: var(--cream); transition: color .35s var(--ease); }
.nav__logo svg { height: 42px; width: auto; }
.nav.scrolled .nav__logo { color: var(--ink); }
body.menu-open .nav__logo { color: var(--cream); }
/* Official emblem logo + wordmark */
.nav__mark { height: 46px; width: 46px; object-fit: contain; flex-shrink: 0; }
.nav.scrolled .nav__mark { height: 42px; width: 42px; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; line-height: .94; letter-spacing: -.01em; color: currentColor; display: flex; flex-direction: column; }
.brand-name small { font-family: var(--font-body); font-weight: 700; font-size: .56rem; letter-spacing: .26em; text-transform: uppercase; opacity: .72; margin-top: 3px; }
@media (max-width: 420px){ .brand-name { font-size: 1.12rem; } }

.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  padding: .55rem .95rem; border-radius: var(--r-pill);
  font-weight: 500; font-size: .96rem; color: var(--text-on-dark);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__links a:hover { background: rgba(243,235,223,.12); }
.nav__links a.active { color: var(--stain-bright); }
.nav.scrolled .nav__links a { color: var(--text); }
.nav.scrolled .nav__links a:hover { background: rgba(40,30,20,.06); color: var(--ember); }
.nav.scrolled .nav__links a.active { color: var(--ember); }

.nav__actions { display: flex; align-items: center; gap: 12px; z-index: 2; }
.nav__phone {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .96rem;
  color: var(--text-on-dark); transition: color .2s var(--ease);
}
.nav__phone svg { width: 1.05em; height: 1.05em; color: var(--stain-bright); }
.nav.scrolled .nav__phone { color: var(--text); }
.nav.scrolled .nav__phone svg { color: var(--ember); }

.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r-sm); z-index: 2; }
.nav__toggle span { width: 22px; height: 2px; background: currentColor; position: relative; transition: .3s var(--ease); color: var(--cream); }
.nav__toggle span::before, .nav__toggle span::after { content:""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: .3s var(--ease); }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
.nav.scrolled .nav__toggle span { color: var(--text); }

@media (max-width: 940px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: inline-flex; }
  /* mobile menu open */
  body.menu-open { overflow: hidden; }
  .nav__links {
    position: fixed; inset: 0; background: var(--ink); color: var(--cream);
    flex-direction: column; justify-content: center; gap: 8px;
    transform: translateY(-100%); transition: transform .45s var(--ease);
    z-index: var(--z-overlay); padding: 0 var(--gutter);
  }
  body.menu-open .nav__links { transform: translateY(0); display: flex; }
  .nav__links a { font-size: 1.5rem; font-family: var(--font-display); padding: .5rem; color: var(--cream) !important; }
  body.menu-open .nav__toggle span { background: transparent; }
  body.menu-open .nav__toggle span::before { top: 0; transform: rotate(45deg); color: var(--cream); }
  body.menu-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); color: var(--cream); }
  body.menu-open .nav__toggle { color: var(--cream); z-index: var(--z-nav); }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  background: var(--ink); color: var(--text-on-dark); overflow: hidden;
  padding-bottom: clamp(48px, 8vh, 96px); padding-top: 140px;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    /* dark top (nav) + strongly dark lower half where the text/buttons/badges sit */
    linear-gradient(180deg, rgba(13,10,7,.74) 0%, rgba(13,10,7,.34) 15%, rgba(13,10,7,.50) 40%, rgba(13,10,7,.82) 66%, rgba(13,10,7,.95) 100%),
    /* left scrim behind the left-aligned headline */
    linear-gradient(90deg, rgba(13,10,7,.70) 0%, rgba(13,10,7,.34) 45%, rgba(13,10,7,0) 82%),
    radial-gradient(120% 75% at 84% 6%, rgba(226,166,71,.13), transparent 55%);
}
/* Mobile: text stack is taller, so darken the whole lower 2/3 more and drop the side scrim */
@media (max-width: 700px) {
  .hero__media::after {
    background: linear-gradient(180deg,
      rgba(13,10,7,.76) 0%, rgba(13,10,7,.44) 13%,
      rgba(13,10,7,.62) 36%, rgba(13,10,7,.86) 62%, rgba(13,10,7,.96) 100%);
  }
}
.hero__glow {
  position: absolute; z-index: 1; width: 60vw; height: 60vw; max-width: 700px; max-height: 700px;
  right: -10%; top: -10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,166,71,.28), transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__eyebrow { margin-bottom: 1.4rem; }
/* Hero text sits over a photo — brighter eyebrow + soft shadows keep it legible */
.on-dark .hero__eyebrow { color: var(--cream); text-shadow: 0 1px 10px rgba(8,5,3,.85); }
.hero__eyebrow::before { background: var(--stain-bright); }
.hero h1, .hero__sub { text-shadow: 0 1px 2px rgba(8,5,3,.5), 0 3px 26px rgba(8,5,3,.6); }
.hero h1 { max-width: 16ch; margin-bottom: 1.5rem; }
.hero__sub { max-width: 52ch; font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--text-on-dark); opacity: .92; margin-bottom: 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-on-dark);
}
.hero__scroll .mouse { width: 24px; height: 38px; border: 2px solid var(--muted-on-dark); border-radius: 14px; position: relative; }
.hero__scroll .mouse::after { content:""; position:absolute; left:50%; top:7px; width:3px; height:7px; border-radius:3px; background: var(--stain-bright); transform: translateX(-50%); animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0%{opacity:0; transform: translate(-50%,0);} 30%{opacity:1;} 70%{opacity:1;} 100%{opacity:0; transform: translate(-50%,10px);} }
@media (max-width: 640px){ .hero__scroll{ display:none; } .hero__cta .btn { flex: 1 1 auto; } }

/* trust strip under hero / generic logo-row */
.trust-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 4vw, 52px);
  padding-top: 2.4rem; margin-top: 2.4rem; border-top: 1px solid var(--line-dark);
}
.trust-strip .trust-item { display: flex; align-items: center; gap: .7rem; font-size: .94rem; color: var(--text-on-dark); }
.trust-strip .trust-item svg { width: 22px; height: 22px; color: var(--stain-bright); flex-shrink: 0; }
.trust-strip .trust-item strong { font-weight: 700; }

/* =====================================================================
   STAT / CREDIBILITY BAND
   ===================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px,3vw,40px); }
@media (max-width: 720px){ .stats { grid-template-columns: repeat(2,1fr); } }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.4rem,5vw,3.6rem); font-weight: 600; line-height: 1; color: var(--ember); letter-spacing: -.02em; }
.on-dark .stat__num { color: var(--stain-bright); }
.stat__num span { font-size: .55em; }
.stat__label { margin-top: .5rem; font-size: .9rem; color: var(--muted); letter-spacing: .02em; }
.on-dark .stat__label { color: var(--muted-on-dark); }

/* =====================================================================
   SERVICE CARDS
   ===================================================================== */
.service-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column; min-height: 340px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  isolation: isolate;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card__media { aspect-ratio: 16/11; overflow: hidden; position: relative; }
.service-card__media .ph, .service-card__media img { position: absolute; inset: 0; width:100%; height:100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card__media img, .service-card:hover .service-card__media .ph { transform: scale(1.06); }
.service-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.service-card__icon {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(21,17,13,.55); backdrop-filter: blur(6px); color: var(--stain-bright);
  border: 1px solid var(--line-dark);
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.3rem; }
.service-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.service-card .text-link { margin-top: .3rem; }

/* feature/alternating rows on services page */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,72px); align-items: center; }
.feature-row.flip .feature-row__media { order: 2; }
@media (max-width: 860px){ .feature-row, .feature-row.flip { grid-template-columns: 1fr; } .feature-row.flip .feature-row__media{ order: 0; } }
.feature-row__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; position: relative; }
.feature-row__media img, .feature-row__media .ph { position: absolute; inset: 0; width:100%; height:100%; object-fit: cover; }
.feature-list { display: grid; gap: .8rem; margin-top: 1.4rem; }
.feature-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--muted); }
.feature-list li svg { width: 22px; height: 22px; color: var(--ember); flex-shrink: 0; margin-top: 1px; }
.feature-list li strong { color: var(--text); font-weight: 600; }

/* =====================================================================
   BEFORE / AFTER SLIDER
   ===================================================================== */
.ba-slider {
  position: relative; width: 100%; aspect-ratio: 3/2; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; touch-action: pan-y;
  background: var(--espresso);
}
.ba-slider img, .ba-slider .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-slider .ba-after { clip-path: inset(0 0 0 50%); }
.ba-slider .ba-label {
  position: absolute; bottom: 14px; z-index: 3; font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: #fff;
  background: rgba(21,17,13,.6); padding: .4rem .8rem; border-radius: var(--r-pill);
  backdrop-filter: blur(6px); border: 1px solid var(--line-dark);
}
.ba-slider .ba-label.before { left: 14px; }
.ba-slider .ba-label.after { right: 14px; }
/* Sliders whose source photos already have the client's "Before/After" labels
   baked into the image get the .baked class, which hides these overlay labels
   to avoid duplicates. Sliders without baked labels keep the overlay labels. */
.ba-slider.baked .ba-label { display: none; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; z-index: 4;
  transform: translateX(-50%); box-shadow: 0 0 14px rgba(0,0,0,.4);
}
.ba-handle__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow-md);
}
.ba-handle__grip svg { width: 26px; height: 26px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 5; margin: 0; }

/* =====================================================================
   GALLERY (masonry + filter)
   ===================================================================== */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: clamp(28px,4vw,44px); }
.gallery-filter button {
  padding: .6rem 1.2rem; border-radius: var(--r-pill); font-weight: 600; font-size: .92rem;
  color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line); transition: .25s var(--ease);
}
.gallery-filter button:hover { color: var(--ember); box-shadow: inset 0 0 0 1.5px var(--stain); }
.gallery-filter button.active { background: var(--ink); color: var(--cream); box-shadow: none; }

.masonry { columns: 3 280px; column-gap: clamp(14px,1.6vw,22px); }
.masonry .tile { break-inside: avoid; margin-bottom: clamp(14px,1.6vw,22px); }
.tile {
  position: relative; border-radius: var(--r-md); overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow-sm); background: var(--sand-2);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .4s var(--ease);
}
.tile .ph { width: 100%; display: block; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.tile:hover { box-shadow: var(--shadow-lg); }
.tile:hover img { transform: scale(1.05); }
.tile__overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1rem 1.1rem;
  background: linear-gradient(180deg, transparent 45%, rgba(21,17,13,.78)); color: #fff;
  opacity: 0; transition: opacity .3s var(--ease);
}
.tile:hover .tile__overlay { opacity: 1; }
.tile__overlay .tag { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stain-bright); font-weight: 600; }
.tile.hide { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: var(--z-toast); background: rgba(15,11,8,.94); display: none; align-items: center; justify-content: center; padding: 4vw; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(243,235,223,.1); border: 1px solid var(--line-dark); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(243,235,223,.22); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav svg, .lightbox__close svg { width: 24px; height: 24px; }
.lightbox__nav.prev { left: 18px; }
.lightbox__nav.next { right: 18px; }
@media (max-width: 640px){ .lightbox__nav { width: 44px; height: 44px; } }

/* =====================================================================
   PROCESS STEPS
   ===================================================================== */
.process { counter-reset: step; display: grid; gap: clamp(20px,3vw,28px); grid-template-columns: repeat(4,1fr); }
@media (max-width: 980px){ .process { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .process { grid-template-columns: 1fr; } }
.process__step { position: relative; padding: 2rem 1.6rem 1.8rem; border-radius: var(--r-lg); background: rgba(243,235,223,.04); border: 1px solid var(--line-dark); }
.bg-cream .process__step, .bg-sand .process__step { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.process__step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--stain);
  display: block; margin-bottom: .8rem; letter-spacing: -.02em; opacity: .9;
}
.process__step h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.process__step p { font-size: .96rem; color: var(--muted); }
.on-dark .process__step p { color: var(--muted-on-dark); }
.process__icon { position: absolute; top: 1.6rem; right: 1.6rem; color: var(--stain); opacity: .5; }
.process__icon svg { width: 26px; height: 26px; }

/* =====================================================================
   WHY / FEATURE GRID
   ===================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,2.4vw,28px); }
@media (max-width: 880px){ .why-grid { grid-template-columns: 1fr; } }
.why-card { padding: 1.8rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-card__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--sand), var(--sand-2)); color: var(--ember); margin-bottom: 1.1rem; }
.why-card__icon svg { width: 28px; height: 28px; }
.why-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.why-card p { color: var(--muted); font-size: .97rem; }

/* =====================================================================
   SERVICE AREAS
   ===================================================================== */
.areas { display: flex; flex-wrap: wrap; gap: 12px; }
.area-chip {
  display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.2rem; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line); font-weight: 500; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.area-chip svg { width: 17px; height: 17px; color: var(--ember); }
.area-chip:hover { transform: translateY(-3px); border-color: var(--stain); color: var(--ember); }
.area-chip.hub { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.area-chip.hub svg { color: var(--stain-bright); }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.testimonials { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(18px,2.4vw,26px); max-width: 980px; margin-inline: auto; }
@media (max-width: 760px){ .testimonials { grid-template-columns: 1fr; } }
.review { padding: 2rem 1.9rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.review__stars { display: flex; gap: 2px; color: var(--stain); }
.review__stars svg { width: 20px; height: 20px; }
.review__text { font-size: 1.05rem; line-height: 1.6; color: var(--text); font-family: var(--font-display); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.review__author { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--stain), var(--ember)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.05rem; flex-shrink: 0; }
.review__meta strong { display: block; font-weight: 600; font-size: .98rem; }
.review__meta span { font-size: .86rem; color: var(--muted); }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--ink); color: var(--cream); padding: clamp(40px,7vw,80px); text-align: center; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(80% 120% at 50% -20%, rgba(226,166,71,.28), transparent 60%); }
.cta-band__inner { position: relative; z-index: 2; max-width: 640px; margin-inline: auto; }
.cta-band h2 { font-size: clamp(2rem,4.6vw,3.2rem); margin-bottom: 1rem; }
.cta-band p { color: var(--muted-on-dark); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-band .hero__cta { justify-content: center; }

/* =====================================================================
   PARTNERS / TRUSTED-BY (B2B)
   ===================================================================== */
.partners { display: flex; flex-wrap: wrap; gap: clamp(20px,3vw,30px); justify-content: center; }
.partner-card {
  flex: 1 1 340px; max-width: 430px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 2.1rem 2rem;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.partner-card__logo { height: 88px; display: flex; align-items: center; justify-content: center; }
.partner-card__logo img { max-height: 88px; max-width: 240px; width: auto; object-fit: contain; }
.partner-card figcaption strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin-bottom: .4rem; }
.partner-card figcaption span { color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* =====================================================================
   FORMS
   ===================================================================== */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px,4vw,40px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .5rem; }
.field .req { color: var(--ember); }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1rem; border-radius: var(--r-sm); font: inherit; font-size: 1rem;
  background: var(--cream); border: 1.5px solid var(--line-strong); color: var(--text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease); -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236E5E4E' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--stain); box-shadow: 0 0 0 3px rgba(200,129,46,.18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px){ .field-row { grid-template-columns: 1fr; gap: 0; } }
.form-note { font-size: .85rem; color: var(--muted); margin-top: .4rem; }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success.show { display: block; }
.form-success svg { width: 64px; height: 64px; color: var(--forest); margin: 0 auto 1rem; }

/* contact aside */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px,5vw,64px); align-items: start; }
@media (max-width: 900px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item__icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--sand), var(--sand-2)); color: var(--ember); display: grid; place-items: center; flex-shrink: 0; }
.contact-item__icon svg { width: 24px; height: 24px; }
.contact-item h4 { font-family: var(--font-body); font-weight: 700; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.contact-item a, .contact-item p { font-size: 1.1rem; font-weight: 500; color: var(--text); }
.contact-item a:hover { color: var(--ember); }

/* =====================================================================
   PAGE HEADER (interior pages)
   ===================================================================== */
.page-hero { position: relative; background: var(--ink); color: var(--cream); padding: clamp(140px,18vh,200px) 0 clamp(56px,8vw,90px); overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(70% 120% at 85% 0%, rgba(226,166,71,.20), transparent 55%); }
.page-hero__media { position: absolute; inset: 0; opacity: .28; }
.page-hero__media > * { position: absolute; inset: 0; width:100%; height:100%; }
.page-hero__media img { object-fit: cover; }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.6rem,6vw,4.6rem); margin-bottom: 1rem; }
.page-hero .lead { color: var(--muted-on-dark); }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .88rem; color: var(--muted-on-dark); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--stain-bright); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { max-width: 760px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; padding: 1.4rem 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--text); }
.faq__q .icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--ember); transition: transform .3s var(--ease), background .3s; }
.faq__q .icon svg { width: 16px; height: 16px; }
.faq__item.open .faq__q .icon { transform: rotate(45deg); background: var(--stain); color: #fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding: 0 0 1.4rem; color: var(--muted); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--ink-2); color: var(--muted-on-dark); padding-top: clamp(56px,8vw,88px); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: clamp(28px,4vw,48px); padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 880px){ .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 520px){ .footer__top { grid-template-columns: 1fr; } }
.footer__brand svg { height: 42px; width: auto; margin-bottom: 1.1rem; }
.footer__logo { display: flex; align-items: center; gap: .7rem; color: var(--cream); margin-bottom: 1.1rem; }
.footer__mark { height: 52px; width: 52px; object-fit: contain; flex-shrink: 0; }
.footer__brand p { font-size: .96rem; max-width: 34ch; }
.footer__tag { font-family: var(--font-display); font-style: italic; color: var(--stain-bright); font-size: 1.15rem; margin-top: 1rem; }
.footer h4 { font-family: var(--font-body); color: var(--cream); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 700; }
.footer__links a { display: block; padding: .35rem 0; font-size: .96rem; transition: color .2s; }
.footer__links a:hover { color: var(--stain-bright); }
.footer__contact-line { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .9rem; font-size: .96rem; }
.footer__contact-line svg { width: 18px; height: 18px; color: var(--stain-bright); flex-shrink: 0; margin-top: 2px; }
.footer__social { display: flex; gap: 10px; margin-top: 1.2rem; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: .25s var(--ease); }
.footer__social a:hover { background: var(--stain); color: var(--ink); border-color: var(--stain); transform: translateY(-3px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 26px 0; font-size: .86rem; }
.footer__bottom a:hover { color: var(--stain-bright); }

/* =====================================================================
   IMAGE PLACEHOLDERS (until real photos dropped in)
   A tasteful woodgrain gradient + label. Replace by dropping a real
   image at the path in the <img src>. See images/README.
   ===================================================================== */
.ph {
  position: relative; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(95deg, rgba(60,42,28,.05) 0 8px, rgba(60,42,28,.09) 8px 15px),
    linear-gradient(135deg, var(--sand) 0%, var(--sand-2) 55%, #d9c6a8 100%);
  display: grid; place-items: center; color: var(--walnut); overflow: hidden;
}
.ph::after {
  content: attr(data-label); position: relative; z-index: 0;
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  opacity: .55; padding: .4rem .8rem; text-align: center;
}
/* A loaded photo (absolute, z-index 1) paints OVER the placeholder + its label.
   No JS needed to hide the placeholder — so masonry tiles keep their height. */
.tile img, .service-card__media img, .feature-row__media img,
.hero__media img, .page-hero__media img, .ba-slider img { z-index: 1; }
.ph::before {
  content:""; position:absolute; width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,166,71,.25), transparent 70%);
  top: 20%; left: 50%; transform: translateX(-50%);
}
.ph.dark { background: linear-gradient(135deg, var(--espresso), var(--walnut)); color: var(--muted-on-dark); }
/* If a real <img> sits over a .ph, it covers it automatically. */

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }

/* utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.maxw-sm { max-width: 540px; } .maxw-md { max-width: 720px; }
.mx-auto { margin-inline: auto; }
.divider { height: 1px; background: var(--line); border: none; }
.pill-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: var(--r-pill); background: rgba(226,166,71,.14); color: var(--ember); font-weight: 600; font-size: .85rem; }
.on-dark .pill-badge { background: rgba(226,166,71,.16); color: var(--stain-bright); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
