/* =========================================================
   COUSIN CHARLIE'S CONSTRUCTION
   Warm floating frames over a locked dark background
   Multi-page build: home, services, about, contact, thank-you
   ========================================================= */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---------- VARIABLES ---------- */
:root {
  /* warm frame palette */
  --cream: rgba(245, 235, 215, 0.92);
  --cream-solid: #f5ebd7;
  --cream-light: #faf5e8;
  --cream-deep: #ebdcbf;

  /* emphasis frames (deeper warm) */
  --taupe-deep: rgba(72, 52, 32, 0.93);
  --taupe-deep-solid: #483420;
  --taupe-deepest: rgba(48, 35, 22, 0.95);

  /* text */
  --espresso: #2d1f15;
  --espresso-muted: #5c4a3a;
  --espresso-faint: rgba(45, 31, 21, 0.55);

  /* brand greens (matched to logo #144315) */
  --green-deep: #144315;
  --green-mid: #1f5d20;
  --green-darker: #0e2f10;
  --green-bright: #2d6b2d;
  --green-pale: #6fa86f;
  --green-glow: rgba(20, 67, 21, 0.22);

  /* lines */
  --line: rgba(72, 52, 32, 0.18);
  --line-strong: rgba(72, 52, 32, 0.35);
  --line-green: rgba(20, 67, 21, 0.22);

  /* shadows */
  --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.18);
  --shadow-lift: 0 18px 44px rgba(0, 0, 0, 0.28);
  --shadow-frame: 0 24px 60px rgba(0, 0, 0, 0.35);
  --shadow-green: 0 18px 40px rgba(20, 67, 21, 0.22);

  /* layout */
  --max-width: 1240px;
  --gutter: 40px;
  --radius: 14px;
  --radius-sm: 10px;
}

/* ---------- BASE ---------- */
body {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--espresso);
  background: #1c1c1c;
  overflow-x: hidden;
}

/* locked body background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('assets/body-bg.jpg') center/cover no-repeat;
  filter: brightness(0.62);
  z-index: -1;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.1;
  color: var(--espresso);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
p { color: var(--espresso-muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--green-deep);
  margin-bottom: 1.2rem;
}
.eyebrow-light {
  color: var(--green-pale);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--green-deep);
  color: var(--cream-light);
  box-shadow: 0 6px 14px rgba(20, 67, 21, 0.35);
}
.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(20, 67, 21, 0.45);
}
.btn-ghost {
  background: var(--cream-light);
  color: var(--green-deep);
  border-color: var(--cream-light);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}
.btn-ghost:hover {
  background: var(--cream-solid);
  border-color: var(--cream-solid);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32);
}
.btn-outline {
  background: transparent;
  color: var(--cream-light);
  border-color: var(--green-pale);
}
.btn-outline:hover {
  background: var(--green-pale);
  color: var(--espresso);
}
.btn-outline-dark {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--green-deep);
}
.btn-outline-dark:hover {
  background: var(--green-deep);
  color: var(--cream-light);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }

/* ---------- LAYOUT / FRAMES ---------- */
.section {
  padding: 80px var(--gutter);
}
.container {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 70px 60px;
  box-shadow: var(--shadow-frame);
  border: 1px solid var(--line-green);
  backdrop-filter: blur(2px);
}
/* premium green top accent for every frame */
.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--green-darker) 0%,
    var(--green-deep) 20%,
    var(--green-bright) 50%,
    var(--green-deep) 80%,
    var(--green-darker) 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  z-index: 1;
}
.container-deep {
  background: var(--taupe-deep);
  color: var(--cream-light);
  border-color: rgba(0, 0, 0, 0.3);
}
.container-deep h2, .container-deep h3 { color: var(--cream-light); }
.container-deep p { color: rgba(250, 245, 232, 0.82); }

.container-darkest {
  background: var(--taupe-deepest);
  color: var(--cream-light);
}

/* ---------- HERO TRANSITION DIVIDER ---------- */
/* Premium green seam between hero and first content section on sub-pages */
.hero-divider {
  position: relative;
  height: 12px;
  background: linear-gradient(180deg,
    var(--green-bright) 0%,
    var(--green-deep) 35%,
    var(--green-deep) 65%,
    var(--green-darker) 100%);
  box-shadow:
    inset 0 1px 0 rgba(111, 168, 111, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 6px 18px rgba(0, 0, 0, 0.35);
  z-index: 3;
}
.hero-divider::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80px;
  height: 2px;
  background: var(--green-pale);
  transform: translate(-50%, -50%);
  opacity: 0.55;
  border-radius: 1px;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245, 235, 215, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--green-deep);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
}
.nav-logo {
  height: 56px;
  width: auto;
  display: block;
  transition: transform 0.18s ease;
}
.nav-logo-link:hover .nav-logo {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  color: var(--espresso);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  transition: color 0.18s ease;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--green-deep); }
.nav-links a.is-active {
  color: var(--green-deep);
}
.nav-links a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--green-deep);
  border-radius: 2px;
}

.nav-cta {
  background: var(--green-deep);
  color: var(--cream-light);
  padding: 11px 20px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid var(--green-bright);
  box-shadow: 0 4px 12px rgba(20, 67, 21, 0.28);
}
.nav-cta:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(20, 67, 21, 0.4);
}

.hamburger {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--espresso);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO (full-bleed exception) ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 140px var(--gutter) 80px;
  overflow: hidden;
}
.hero-sub-page {
  min-height: 60vh;
  padding: 160px var(--gutter) 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(14, 24, 12, 0.88) 0%,
    rgba(14, 24, 12, 0.62) 45%,
    rgba(14, 24, 12, 0.35) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  align-self: center;
}
.hero-content-narrow {
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-pale);
  margin-bottom: 1.5rem;
  padding: 6px 14px;
  background: rgba(20, 67, 21, 0.28);
  border: 1px solid rgba(111, 168, 111, 0.4);
  border-radius: 4px;
}
.hero-title {
  color: var(--cream-light);
  margin-bottom: 1.3rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}
.hero-title-sub {
  font-size: clamp(2.2rem, 4.8vw, 3.5rem);
}
.hero-title em {
  font-style: italic;
  color: var(--green-pale);
  font-weight: 500;
}
.hero-sub {
  color: rgba(250, 245, 232, 0.88);
  font-size: 1.15rem;
  line-height: 1.55;
  max-width: 580px;
  margin-bottom: 2.2rem;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- MARQUEE (FULL-BLEED) ---------- */
.section-marquee {
  padding: 0;
  margin-top: -36px;
  position: relative;
  z-index: 3;
}
.section-marquee .container-deep {
  max-width: none;
  margin: 0;
  border-radius: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  border: none;
  border-top: 3px solid var(--green-deep);
  border-bottom: 3px solid var(--green-deep);
  padding: 0;
  overflow: hidden;
}
.section-marquee .container-deep::before { display: none; }
.marquee {
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  animation: marquee-scroll 38s linear infinite;
}
.marquee-item {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  color: var(--cream-light);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.marquee-dot {
  color: var(--green-pale);
  font-size: 1.4rem;
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- SECTION HEADS ---------- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.2rem;
}
.section-head h2 { margin-bottom: 0.9rem; }
.section-sub {
  font-size: 1.08rem;
  color: var(--espresso-muted);
}

/* ---------- INTRO / ABOUT ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.intro-image {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4/5;
  background: var(--cream-deep);
  border: 1px solid var(--line-green);
}
.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intro-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--green-deep);
  color: var(--cream-light);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 12px 16px;
  border-radius: 6px;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--green-bright);
}
.intro-content h2 { margin-bottom: 1.4rem; }
.intro-content p { margin-bottom: 1rem; font-size: 1.04rem; }
.intro-meta {
  font-style: italic;
  color: var(--green-deep);
  font-family: 'Fraunces', serif;
  margin-top: 1.4rem !important;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-green);
  font-size: 1.08rem !important;
}
.intro-cta {
  margin-top: 1.5rem;
}

/* ---------- SERVICES GRID (premium hover) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 32px 28px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease,
              background 0.25s ease;
}
/* animated top accent on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-deep), var(--green-bright), var(--green-deep));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 1;
}
/* soft green glow corner */
.service-card::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-green);
  border-color: var(--green-deep);
  background: #fdf9ed;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card:hover::after {
  opacity: 1;
}
.service-card:hover .service-icon {
  background: var(--green-mid);
  transform: rotate(-6deg) scale(1.05);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--green-deep);
  color: var(--cream-light);
  border-radius: 10px;
  margin-bottom: 1.2rem;
  transition: background 0.25s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
  position: relative;
  z-index: 2;
}
.service-card p {
  font-size: 0.94rem;
  line-height: 1.55;
  position: relative;
  z-index: 2;
}

.services-cta {
  text-align: center;
  margin-top: 2.6rem;
}

/* ---------- ADDITIONAL SERVICES (staggered rows with images) ---------- */
.additional-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.additional-row {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 320px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}
.additional-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-deep), var(--green-bright), var(--green-deep));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 3;
}
.additional-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-green);
  border-color: var(--green-deep);
}
.additional-row:hover::before {
  transform: scaleX(1);
}
.additional-row-reverse {
  grid-template-columns: 1fr 1.05fr;
}
.additional-image {
  position: relative;
  overflow: hidden;
  background: var(--cream-deep);
}
.additional-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.additional-row:hover .additional-image img {
  transform: scale(1.05);
}
.additional-row-reverse .additional-image {
  order: 2;
}
.additional-text {
  padding: 38px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.additional-text-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 0.7rem;
}
.additional-text-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--cream-light);
  background: var(--green-deep);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  text-transform: none;
}
.additional-text h3 {
  font-size: 1.55rem;
  color: var(--espresso);
  margin-bottom: 0.7rem;
  line-height: 1.15;
}
.additional-text p {
  font-size: 1rem;
  line-height: 1.6;
}
.additional-text-lead {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.additional-text-lead::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--green-bright);
}

/* Compact extras row for Commercial + HVAC combined card */
.extras-row {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green-deep);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 220px;
  margin-top: 32px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s ease;
}
.extras-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}
.extras-image {
  position: relative;
  overflow: hidden;
  background: var(--cream-deep);
}
.extras-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.extras-row:hover .extras-image img {
  transform: scale(1.04);
}
.extras-text {
  padding: 30px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.extras-text-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 0.55rem;
}
.extras-text h3 {
  font-size: 1.3rem;
  color: var(--espresso);
  margin-bottom: 0.55rem;
  line-height: 1.2;
}
.extras-text p {
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Closing CTA line for services page */
.services-closing {
  margin-top: 3rem;
  text-align: center;
  padding: 30px 24px;
  border-top: 1px solid var(--line-green);
}
.services-closing p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--green-deep);
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

/* ---------- CREDENTIALS GRID (about page, premium hover) ---------- */
.creds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cred-card {
  position: relative;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 30px 26px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease,
              background 0.25s ease;
}
.cred-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-deep), var(--green-bright), var(--green-deep));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 1;
}
.cred-card::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.cred-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-green);
  border-color: var(--green-deep);
  background: #fdf9ed;
}
.cred-card:hover::before {
  transform: scaleX(1);
}
.cred-card:hover::after {
  opacity: 1;
}
.cred-card:hover .cred-icon {
  background: var(--green-mid);
  transform: scale(1.08);
}
.cred-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--green-deep);
  color: var(--cream-light);
  border-radius: 50%;
  margin-bottom: 1.1rem;
  transition: background 0.25s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}
.cred-icon svg { width: 22px; height: 22px; }
.cred-card h3 {
  font-size: 1.14rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}
.cred-card p {
  font-size: 0.94rem;
  line-height: 1.5;
  position: relative;
  z-index: 2;
}

/* ---------- PROCESS GRID (services page, premium hover) ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.process-card {
  position: relative;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 28px 22px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}
.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-deep), var(--green-bright), var(--green-deep));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 1;
}
.process-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-green);
  border-color: var(--green-deep);
}
.process-card:hover::before {
  transform: scaleX(1);
}
.process-card:hover .process-num {
  color: var(--green-bright);
}
.process-num {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1;
  margin-bottom: 0.7rem;
  letter-spacing: -0.02em;
  transition: color 0.25s ease;
}
.process-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}
.process-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ---------- RECENT WORK (home page) ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.work-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream-light);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}
.work-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-deep), var(--green-bright), var(--green-deep));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 3;
}
.work-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-green);
  border-color: var(--green-deep);
}
.work-item:hover::before {
  transform: scaleX(1);
}
.work-image-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-deep);
}
.work-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.work-item:hover .work-image-wrap img {
  transform: scale(1.06);
}
.work-caption {
  padding: 22px 26px 26px;
}
.work-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}
.work-desc {
  font-size: 0.96rem;
  color: var(--espresso-muted);
  line-height: 1.55;
}

/* ---------- GALLERY CAROUSEL (home page, 3-up center stage) ---------- */
.carousel {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: transparent;
  padding: 12px 0;
}
.carousel-track {
  display: flex;
  align-items: center;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.carousel-slide {
  flex: 0 0 auto;
  padding: 0 10px;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0.42;
  transform: scale(0.86);
}
.carousel-slide.is-center {
  opacity: 1;
  transform: scale(1);
}
.carousel-slide-inner {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream-deep);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line);
}
.carousel-slide.is-center .carousel-slide-inner {
  box-shadow: 0 24px 50px rgba(20, 67, 21, 0.32);
  border-color: var(--green-deep);
  border-width: 2px;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(14, 47, 16, 0.85);
  color: var(--cream-light);
  border: 1px solid rgba(111, 168, 111, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.carousel-btn:hover {
  background: var(--green-deep);
  border-color: var(--green-pale);
  transform: translateY(-50%) scale(1.08);
}
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots {
  display: flex;
  gap: 8px;
  padding: 20px 12px 4px;
  justify-content: center;
}
.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background 0.18s ease, transform 0.18s ease;
  cursor: pointer;
  border: none;
  padding: 0;
}
.carousel-dot.is-active {
  background: var(--green-deep);
  transform: scale(1.35);
}

/* ---------- SERVICE AREA (about page) ---------- */
.area-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.area-content h2 {
  margin-bottom: 1rem;
}
.area-content p {
  margin-bottom: 1rem;
  font-size: 1.04rem;
}
.area-content .btn {
  margin-top: 0.8rem;
}
.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  padding: 30px 32px;
  background: var(--cream-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green-deep);
}
.area-list li {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--espresso);
  padding-left: 18px;
  position: relative;
}
.area-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: var(--green-deep);
  border-radius: 50%;
}

/* ---------- STATS ---------- */
.section-stats .container-deep {
  padding: 50px 60px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat {
  text-align: center;
  padding: 0 10px;
  border-right: 1px solid rgba(111, 168, 111, 0.18);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 600;
  color: var(--green-pale);
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 245, 232, 0.78);
}

/* ---------- CTA ---------- */
.section-cta { padding-top: 40px; padding-bottom: 40px; }
.cta-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-title {
  color: var(--cream-light);
  margin-bottom: 0.9rem;
}
.cta-sub {
  color: rgba(250, 245, 232, 0.85);
  font-size: 1.08rem;
  margin-bottom: 2rem;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--espresso-muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--cream-light);
  color: var(--espresso);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  font-family: 'Nunito Sans', sans-serif;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green-deep);
  box-shadow: 0 0 0 3px rgba(20, 67, 21, 0.18);
}
.form-field textarea { resize: vertical; min-height: 140px; }

.contact-sidebar {
  background: var(--taupe-deep-solid);
  color: var(--cream-light);
  border-radius: var(--radius-sm);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  border: 1px solid var(--line-green);
  border-top: 3px solid var(--green-deep);
}
.contact-block { display: flex; flex-direction: column; gap: 4px; }
.contact-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-pale);
}
.contact-value {
  font-family: 'Fraunces', serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--cream-light);
  line-height: 1.25;
  transition: color 0.18s ease;
}
a.contact-value:hover { color: var(--green-pale); }
.contact-value-sm {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
.contact-note {
  display: block;
  font-size: 0.84rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(250, 245, 232, 0.68);
  margin-top: 4px;
}
.contact-badge-block {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(111, 168, 111, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.insured-badge {
  display: inline-block;
  background: var(--green-deep);
  color: var(--cream-light);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--green-bright);
}

/* ---------- THANK YOU PAGE ---------- */
.section-thanks {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
}
.thanks-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.thanks-logo {
  width: 140px;
  height: auto;
  margin: 0 auto 1.5rem;
}
.thanks-block h1 {
  margin-bottom: 1rem;
}
.thanks-block p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.thanks-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FOOTER (FULL-BLEED) ---------- */
.section-footer {
  padding: 0;
}
.section-footer .container-darkest {
  max-width: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
  border-top: 3px solid var(--green-deep);
  padding: 70px var(--gutter) 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin: 0 auto 36px;
  max-width: var(--max-width);
}
.footer-col h4 {
  color: var(--green-pale);
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}
.footer-col a, .footer-col span {
  display: block;
  color: rgba(250, 245, 232, 0.78);
  font-size: 0.94rem;
  margin-bottom: 8px;
  transition: color 0.18s ease;
}
.footer-col a:hover { color: var(--green-pale); }

.footer-brand {
  display: flex;
  flex-direction: column;
}
.footer-logo {
  width: 170px;
  height: auto;
  margin-bottom: 1.1rem;
  padding: 14px 18px;
  background: var(--cream-light);
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(111, 168, 111, 0.25);
  display: block;
}
.footer-tag {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--cream-light);
  font-size: 1.02rem;
  margin-bottom: 6px;
}
.footer-meta {
  font-size: 0.88rem;
  color: rgba(250, 245, 232, 0.62);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(111, 168, 111, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: rgba(250, 245, 232, 0.58);
  flex-wrap: wrap;
  gap: 12px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-credit {
  font-style: italic;
}
.footer-credit a {
  color: var(--green-pale);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s ease, text-shadow 0.18s ease;
}
.footer-credit a:hover {
  color: var(--cream-light);
  text-shadow: 0 0 12px rgba(111, 168, 111, 0.5);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .container { padding: 60px 48px; }
  .intro-grid { gap: 44px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .creds-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .footer-col:last-child h4 { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --gutter: 30px; }
  .section { padding: 70px var(--gutter); }
  .section-marquee, .section-footer { padding: 0; }
  .section-footer .container-darkest { padding: 60px var(--gutter) 28px; }
  .container { padding: 50px 36px; }
  .nav-logo { height: 44px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .nav-links.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(245, 235, 215, 0.98);
    padding: 24px var(--gutter);
    gap: 18px;
    border-bottom: 2px solid var(--green-deep);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  }
  .hero { min-height: 80vh; padding-top: 120px; }
  .hero-sub-page { min-height: 50vh; padding-top: 140px; padding-bottom: 60px; }
  .intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .intro-image { max-width: 360px; }
  .area-grid { grid-template-columns: 1fr; gap: 32px; }
  .area-list { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .stat { border-right: none; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(111, 168, 111, 0.18); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .work-grid { grid-template-columns: 1fr; gap: 22px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: auto; display: block; }

  /* additional services stack on mobile: image always on top */
  .additional-row,
  .additional-row-reverse {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .additional-row .additional-image,
  .additional-row-reverse .additional-image {
    order: 1;
  }
  .additional-row .additional-text,
  .additional-row-reverse .additional-text {
    order: 2;
  }
  .additional-image {
    aspect-ratio: 16/10;
    min-height: 220px;
  }
  .additional-text {
    padding: 28px 32px 32px;
  }

  /* extras row stacks too */
  .extras-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .extras-image {
    aspect-ratio: 16/10;
    min-height: 180px;
  }
  .extras-text {
    padding: 24px 28px 28px;
  }
}

@media (max-width: 560px) {
  :root { --gutter: 24px; }
  .section { padding: 60px var(--gutter); }
  .section-marquee, .section-footer { padding: 0; }
  .section-footer .container-darkest { padding: 54px var(--gutter) 26px; }
  .container { padding: 36px 22px; border-radius: 12px; }
  .section-stats .container-deep { padding: 36px 22px; }
  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .creds-grid { grid-template-columns: 1fr; gap: 18px; }
  .process-grid { grid-template-columns: 1fr; gap: 16px; }
  .area-list { grid-template-columns: 1fr; }
  .service-card { padding: 26px 22px; }
  .hero { min-height: 78vh; }
  .hero-sub-page { min-height: 50vh; }
  .hero-content { padding: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat { border-right: none; }
  .stat:nth-child(odd) { border-right: none; }
  .stat { padding-bottom: 24px; border-bottom: 1px solid rgba(111, 168, 111, 0.18); }
  .stat:last-child { border-bottom: none; padding-bottom: 0; }
  .additional-text { padding: 24px 26px 28px; }
  .additional-text h3 { font-size: 1.3rem; }
  .extras-text { padding: 20px 22px 24px; }
  .extras-text h3 { font-size: 1.15rem; }
  .services-closing p { font-size: 1.08rem; }
  .carousel-btn { width: 40px; height: 40px; }
}