/* =========================================================================
   Legendary Landscape & Lawns
   Palette: deep pine + warm sand + brass. Editorial, not template-y.
   ========================================================================= */

:root {
  /* Greens */
  --pine-950: #0d1812;
  --pine-900: #14261a;
  --pine-800: #1b3322;
  --pine-700: #244430;
  --moss-600: #3a6b47;
  --moss-500: #4d8a5c;
  --sage-300: #aebfa6;
  --sage-200: #cbd8c3;

  /* Warm neutrals */
  --sand-300: #ddd2bd;
  --sand-200: #e9e1d0;
  --sand-100: #f2ece0;
  --paper:    #faf7f0;

  /* Accent */
  --brass-600: #a5772f;
  --brass-500: #b9883a;
  --brass-400: #cb9c4e;

  /* Ink */
  --ink:       #18211b;
  --ink-soft:  #4b554d;
  --ink-faint: #7c857d;
  --line:      #e2dccd;
  --line-dark: rgba(255, 255, 255, 0.14);

  --maxw: 1180px;
  --gut: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px -28px rgba(13, 24, 18, 0.55);
  --shadow-soft: 0 16px 40px -24px rgba(13, 24, 18, 0.45);

  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ---------- Typography helpers ---------- */
.display {
  font-family: var(--ff-display);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  line-height: 1.03;
}
.display em { font-style: italic; color: var(--brass-400); }

.section-title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0.2rem 0 0;
  color: var(--ink);
}

.overline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-600);
  margin: 0 0 0.4rem;
}
.overline::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brass-500);
}
.overline-light { color: var(--brass-400); }
.overline-light::before { background: var(--brass-400); }

.kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-300);
  margin: 0 0 1.1rem;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--pine-900);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.5rem;
  border-radius: 100px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.88rem; }
.btn-block { width: 100%; }

.btn-accent { --btn-bg: var(--brass-500); --btn-fg: #1c1407; box-shadow: 0 14px 30px -16px rgba(165, 119, 47, 0.8); }
.btn-accent:hover { background: var(--brass-400); }

.btn-primary { --btn-bg: var(--pine-800); --btn-fg: #fff; }
.btn-primary:hover { background: var(--pine-700); }

.btn-ghost-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255,255,255,0.7); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--moss-600);
  text-decoration: none;
}
.text-link span { transition: transform 0.2s ease; }
.text-link:hover span { transform: translateX(4px); }

.link-quiet {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 500;
  color: inherit;
  cursor: pointer;
  border-bottom: 1px solid transparent;
}
.link-quiet:hover { border-bottom-color: currentColor; }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 0.55rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* transparent over hero */
.site-header { color: var(--paper); }
.site-header.scrolled {
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(13,24,18,0.5);
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}
.brand-mark { display: inline-flex; color: var(--brass-400); }
.site-header.scrolled .brand-mark { color: var(--moss-600); }
.brand-logo { height: 46px; width: auto; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.78;
  margin-top: 2px;
}

.nav { display: flex; gap: 1.7rem; }
.nav a {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: inherit;
  padding: 0.3rem 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--brass-500);
  transition: width 0.25s ease;
}
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: inherit;
}
.phone-link svg { color: var(--brass-400); }
.site-header.scrolled .phone-link svg { color: var(--moss-600); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: currentColor; transition: 0.25s; }
.site-header.scrolled .nav-toggle { background: rgba(20,38,26,0.06); border-color: var(--line); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 64px; left: 0; right: 0;
  z-index: 55;
  background: var(--pine-900);
  color: var(--paper);
  padding: 1.2rem var(--gut) 1.8rem;
  box-shadow: var(--shadow);
  transform-origin: top;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-menu a, .mobile-menu .link-quiet {
  text-decoration: none;
  color: var(--paper);
  font-size: 1.05rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-dark);
  text-align: left;
}
.mobile-menu .btn { margin-top: 0.8rem; }
.mobile-menu .phone-link { margin-top: 0.6rem; justify-content: flex-start; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(120% 120% at 80% 0%, var(--pine-800) 0%, var(--pine-900) 45%, var(--pine-950) 100%);
  color: var(--paper);
  overflow: hidden;
  padding: clamp(7rem, 14vh, 11rem) 0 clamp(3.5rem, 8vh, 6rem);
}
.topo { position: absolute; inset: 0; color: var(--moss-500); opacity: 0.16; pointer-events: none; }
.topo svg { width: 100%; height: 100%; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy { max-width: 36ch; }
.hero h1.display {
  font-size: clamp(2.7rem, 6.6vw, 4.7rem);
  margin: 0 0 1.3rem;
}
.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--sage-200);
  margin: 0 0 2rem;
  max-width: 44ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.2rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 0.86rem;
  color: var(--sage-300);
}
.hero-trust li { display: flex; align-items: center; gap: 0.5rem; }
.hero-trust li::before { content: "✦"; color: var(--brass-400); font-size: 0.7rem; }

.hero-media { position: relative; }
.hero-badge {
  position: absolute;
  left: -14px; bottom: -22px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.85rem 1.2rem;
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-width: 260px;
}
.hero-badge .badge-accent {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--brass-500);
  color: #1c1407;
  font-size: 1rem;
  flex: none;
}
.hero-badge strong { display: block; font-size: 0.92rem; }
.hero-badge span { font-size: 0.78rem; color: var(--ink-soft); }

/* =========================================================================
   IMAGE FRAMES + PLACEHOLDERS
   ========================================================================= */
.frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand-200);
  box-shadow: var(--shadow);
}
.frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.frame-tall { aspect-ratio: 4 / 5; }

/* Empty-state placeholder (shown until a real image is dropped in) */
.frame.is-empty {
  background:
    repeating-linear-gradient(135deg, var(--sand-200) 0 22px, var(--sand-100) 22px 44px);
  border: 1px dashed var(--brass-500);
}
.frame.is-empty img { display: none; }
.frame.is-empty::after {
  content: "▦  " attr(data-label) "\A Add a photo here";
  white-space: pre-wrap;
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brass-600);
  line-height: 1.7;
}

/* =========================================================================
   MARQUEE STRIP
   ========================================================================= */
.strip {
  background: var(--pine-950);
  color: var(--sage-200);
  overflow: hidden;
  border-block: 1px solid var(--line-dark);
}
.strip-track {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  white-space: nowrap;
  padding: 0.85rem 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.05rem;
  animation: marquee 32s linear infinite;
}
.strip-track .dot { color: var(--brass-500); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================================
   SECTIONS
   ========================================================================= */
.section { padding: clamp(3.5rem, 9vh, 6.5rem) 0; }
.section-sand { background: var(--sand-100); }
.section-dark {
  position: relative;
  background: var(--pine-900);
  color: var(--paper);
  overflow: hidden;
}
.section-dark .section-title { color: var(--paper); }

.section-head { max-width: 60ch; margin-bottom: 2.6rem; }
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
  flex-wrap: wrap;
}
.section-intro { color: var(--ink-soft); font-size: 1.02rem; margin: 0.8rem 0 0; }
.section-dark .section-intro { color: var(--sage-200); }
.section-intro-end { max-width: 38ch; text-align: right; }

/* ---------- Specialties ---------- */
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.specialty {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem 1.9rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.specialty::before {
  content: "";
  position: absolute;
  left: 0; top: 1.9rem;
  width: 3px; height: 0;
  background: var(--brass-500);
  border-radius: 0 3px 3px 0;
  transition: height 0.3s ease;
}
.specialty:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: var(--sand-300); }
.specialty:hover::before { height: 42px; }
.specialty-no {
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--brass-500);
  letter-spacing: 0.1em;
}
.specialty h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.55rem;
  margin: 0.6rem 0 0.6rem;
}
.specialty p { color: var(--ink-soft); margin: 0 0 1.2rem; }

/* ---------- Services (dark) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.services-head { position: sticky; top: 90px; margin-bottom: 0; }
.services-head .btn { margin-top: 1.5rem; }
.service-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.service-list li {
  display: flex;
  gap: 1rem;
  padding: 1.4rem 1.2rem;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
  transition: background 0.25s ease;
}
.service-list li:hover { background: rgba(255,255,255,0.04); }
.service-list li:nth-child(odd) { border-left: 0; }
.service-list .num {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  color: var(--brass-400);
  padding-top: 0.15rem;
}
.service-list h3 {
  font-size: 1.06rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--paper);
}
.service-list p { margin: 0; font-size: 0.9rem; color: var(--sage-300); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.gallery-item { display: flex; flex-direction: column; background: var(--paper); }
.gallery-item img { aspect-ratio: 4 / 3; }
.gallery-lg { grid-row: span 2; }
.gallery-lg img { aspect-ratio: 4 / 5; height: 100%; }
.gallery-item figcaption {
  padding: 1.2rem 1.3rem 1.4rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  background: var(--paper);
}
.gallery-item figcaption strong {
  display: block;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.18rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
/* keep placeholder caption readable when frame is empty */
.frame.gallery-item.is-empty::after { inset: 0 0 auto 0; height: 100%; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-copy p { color: var(--ink-soft); margin: 0 0 1.1rem; max-width: 56ch; }
.about-points {
  list-style: none;
  margin: 1.6rem 0 2rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.about-points li { display: flex; gap: 0.9rem; align-items: flex-start; }
.point-mark {
  flex: none;
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--sand-200);
  color: var(--brass-600);
  font-size: 0.8rem;
}
.about-points strong { display: block; font-size: 1rem; }
.about-points span { font-size: 0.9rem; color: var(--ink-soft); }

/* =========================================================================
   FORMS
   ========================================================================= */
.estimate-grid, .contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-cards {
  list-style: none;
  margin: 2rem 0 0; padding: 0;
  display: grid; gap: 1rem;
}
.contact-cards li { display: flex; gap: 0.9rem; align-items: center; }
.contact-cards .ci {
  flex: none;
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--line-dark);
  color: var(--brass-400);
  font-size: 1.1rem;
}
.contact-cards .ci-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-300);
}
.contact-cards a, .contact-cards div > span:last-child { color: var(--paper); text-decoration: none; font-weight: 500; }
.contact-cards a:hover { color: var(--brass-400); }

.card-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.3rem);
  box-shadow: var(--shadow);
}
.card-form-light {
  background: var(--paper);
  border: 1px solid var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field > span, .field legend {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--sage-200);
}
.card-form-light .field > span, .card-form-light .field legend { color: var(--ink-soft); }
.field .opt { font-weight: 400; font-style: normal; color: var(--ink-faint); }

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--paper);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(203,216,195,0.5); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass-400);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(203,156,78,0.18);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--brass-400) 50%), linear-gradient(135deg, var(--brass-400) 50%, transparent 50%); background-position: calc(100% - 18px) 1.25rem, calc(100% - 13px) 1.25rem; background-size: 5px 5px; background-repeat: no-repeat; }

/* Light form variant inputs */
.card-form-light .field input,
.card-form-light .field select,
.card-form-light .field textarea {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}
.card-form-light .field input::placeholder,
.card-form-light .field textarea::placeholder { color: var(--ink-faint); }
.card-form-light .field input:focus,
.card-form-light .field select:focus,
.card-form-light .field textarea:focus {
  border-color: var(--brass-500);
  box-shadow: 0 0 0 3px rgba(165,119,47,0.14);
}

.field-group { border: 0; padding: 0; margin: 0 0 1rem; }
.field-group legend { padding: 0; margin-bottom: 0.7rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  color: var(--sage-200);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.chip input { accent-color: var(--brass-500); margin: 0; }
.chip:has(input:checked) { border-color: var(--brass-400); background: rgba(203,156,78,0.16); color: var(--paper); }

.hp { position: absolute; left: -9999px; opacity: 0; }
.form-status { margin: 0.9rem 0 0; font-size: 0.9rem; min-height: 1.2em; }
.form-status.ok { color: var(--moss-500); }
.card-form-light .form-status.ok { color: var(--moss-600); }
.form-status.err { color: #e88b6a; }

/* ---------- Contact list ---------- */
.contact-list { margin: 1.8rem 0 0; display: grid; gap: 1.2rem; }
.contact-list > div { display: grid; gap: 0.15rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-600); }
.contact-list dd { margin: 0; font-size: 1.08rem; font-weight: 500; }
.contact-list dd a { text-decoration: none; }
.contact-list dd a:hover { color: var(--brass-600); }

/* =========================================================================
   CTA BAND
   ========================================================================= */
.cta-band {
  position: relative;
  background: radial-gradient(120% 140% at 20% 0%, var(--moss-600) 0%, var(--pine-800) 55%, var(--pine-950) 100%);
  color: var(--paper);
  overflow: hidden;
  text-align: center;
  padding: clamp(3.5rem, 9vh, 6rem) 0;
}
.topo-cta { opacity: 0.2; }
.cta-inner { position: relative; max-width: 640px; }
.cta-title { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 0.8rem; }
.cta-inner p { color: var(--sage-200); margin: 0 0 1.8rem; }
.cta-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--pine-950); color: var(--sage-200); padding-top: clamp(3rem, 7vh, 4.5rem); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2.4rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid var(--line-dark);
}
.brand-footer { color: var(--paper); }
.brand-footer .brand-mark { color: var(--brass-400); }
.footer-tag { font-family: var(--ff-display); font-style: italic; font-size: 1.15rem; color: var(--sage-200); margin: 1.1rem 0 0.4rem; }
.footer-area { font-size: 0.85rem; color: var(--ink-faint); margin: 0; }
.footer-col h3 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-400);
  margin: 0 0 1rem;
}
.footer-col ul { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a, .footer-col .link-quiet { text-decoration: none; color: var(--sage-200); font-size: 0.94rem; }
.footer-col a:hover, .footer-col .link-quiet:hover { color: var(--brass-400); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  padding: 1.4rem var(--gut);
  font-size: 0.82rem;
  color: var(--ink-faint);
}
.footer-bottom p { margin: 0; }
.footer-owner { margin-right: auto; }

/* "Prepared as a Pitch by OJ Digital Media" credit */
.pitch-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.5rem 0.4rem 0.55rem;
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
}
.pitch-logo { height: 30px; width: 30px; border-radius: 50%; background: #fff; object-fit: cover; flex: none; }
.pitch-logo-fallback {
  display: none; /* shown via onerror when the real logo is missing */
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--brass-400), var(--brass-600));
  color: #1c1407;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.pitch-text { color: var(--sage-300); white-space: nowrap; }
.pitch-text strong { color: var(--sage-200); font-weight: 600; }

/* =========================================================================
   MODAL
   ========================================================================= */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8,15,11,0.62); backdrop-filter: blur(3px); }
.modal-card {
  position: relative;
  width: min(92vw, 420px);
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  animation: pop 0.25s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  width: 34px; height: 34px;
  border: 0; border-radius: 9px;
  background: var(--sand-200);
  font-size: 1.4rem; line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
}
.modal-close:hover { background: var(--sand-300); }
.modal-title { font-family: var(--ff-display); font-weight: 500; font-size: 1.8rem; margin: 0.2rem 0 0.5rem; }
.modal-note { color: var(--ink-soft); font-size: 0.94rem; margin: 0 0 1.4rem; }
.login-form .field input { color: var(--ink); background: #fff; border-color: var(--line); }
.login-form .field > span { color: var(--ink-soft); }
.login-help { font-size: 0.82rem; color: var(--ink-faint); margin: 1rem 0 0; text-align: center; }
.login-help a { color: var(--brass-600); }

/* =========================================================================
   REVEAL ANIMATION
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
  .nav { display: none; }
  .phone-link, .header-actions .link-quiet { display: none; }
  .header-actions .btn-accent { display: none; }
  .nav-toggle { display: inline-flex; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .hero-media { max-width: 460px; }
  .hero-badge { left: auto; right: -6px; }

  .services-grid, .about-grid, .estimate-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-head { position: static; }
  .about-grid { gap: 2rem; }
  .about-media { max-width: 480px; }
  .section-intro-end { text-align: left; max-width: none; }
}

@media (max-width: 720px) {
  .specialty-grid { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .service-list li { border-left: 0; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-lg { grid-row: auto; }
  .gallery-lg img { aspect-ratio: 4 / 3; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge { position: static; margin-top: 1.2rem; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .strip-track { animation: none; }
}
