/* ==========================================================================
   Affordable Professional Painting — styles
   Fonts: League Gothic (display) + Source Sans 3 (body)
   Palette derived from the brand logo (charcoal, warm gold, slate blue, cream)
   ========================================================================== */

:root {
  --charcoal: #1a1a1a;
  --charcoal-soft: #262626;
  --gold: #b5a46c;
  --gold-dark: #96864f;
  --gold-light: #d2c38d;
  --slate: #7a8fa3;
  --slate-dark: #556673;
  --cream: #f6f1e7;
  --sand: #ebe4d1;
  --text: #242424;
  --text-muted: #5f5f5f;
  --white: #ffffff;
  --border: #e4ddc9;

  --shadow-sm: 0 1px 3px rgba(26, 26, 26, 0.08);
  --shadow-md: 0 8px 24px rgba(26, 26, 26, 0.12);
  --shadow-lg: 0 20px 50px rgba(26, 26, 26, 0.20);

  --container: 1200px;
  --radius: 4px;
  --transition: 200ms ease;

  --font-display: 'League Gothic', 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--charcoal); }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  margin: 0 0 .5em;
  line-height: 1.05;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.6rem; letter-spacing: 0.05em; }
h4 { font-size: 1.25rem; letter-spacing: 0.06em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: .75rem;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
section { padding: 5rem 0; }
@media (max-width: 640px) { section { padding: 3.5rem 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1.15rem;
  padding: .85rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--charcoal);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
}
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.8);
}
.btn-ghost-light:hover {
  background: var(--white);
  color: var(--charcoal);
}
.btn-lg { font-size: 1.3rem; padding: 1rem 2.25rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 26, 0.72);
  color: var(--white);
  border-bottom: 1px solid rgba(181, 164, 108, 0.35);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  transition: background 320ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 320ms ease,
              box-shadow 320ms ease;
}
.site-header.is-scrolled {
  background: rgba(20, 20, 20, 0.88);
  border-bottom-color: rgba(181, 164, 108, 0.6);
  box-shadow: 0 10px 30px -16px rgba(0, 0, 0, 0.55);
}
/* Fallback for browsers without backdrop-filter support */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(20, 20, 20, 0.96); }
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
}
.brand:hover { color: var(--gold); }
.brand img {
  height: 72px;
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
}
/* Wordmark is already embedded in the lockup — hide the duplicate text, but keep it
   in the DOM for screen readers and when JS-disabled clients still want a link label. */
.brand-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.brand-text .brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.07em;
  color: var(--white);
  text-transform: uppercase;
}
.brand-text .brand-tag {
  font-size: .72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  color: var(--white);
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1.1rem;
  padding: .4rem 0;
  position: relative;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--gold);
}
.nav-cta { margin-left: .5rem; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 1.75rem;
  cursor: pointer;
  padding: .25rem .5rem;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--charcoal);
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    display: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 3px solid var(--gold);
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: .85rem 0;
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links a.active::after { display: none; }
  .nav-cta {
    margin-left: 0;
    margin-top: .75rem;
    width: 100%;
  }
  .brand img { height: 58px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 0;
  min-height: min(85vh, 760px);
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--charcoal);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: -18% 0 -6% 0;
  background-image: linear-gradient(120deg, rgba(20,20,20,0.80) 0%, rgba(20,20,20,0.55) 60%, rgba(20,20,20,0.40) 100%), url('../assets/images/hero-home.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.1);
  will-change: transform;
}
.hero .container { position: relative; z-index: 1; padding-top: 6rem; padding-bottom: 6rem; }
.hero-content { max-width: 720px; }
.hero h1 {
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 1rem;
}
.hero h1 .accent { color: var(--gold); display: block; }
.hero-lede {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 2.5rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.75);
  font-size: .95rem;
}
.hero-trust span::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
  margin-right: .5rem;
}

/* ---------- Page header (non-home) ---------- */
.page-header {
  background: var(--charcoal);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(181,164,108,0.18), transparent 60%);
  z-index: 0;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: var(--white); }
.page-header .eyebrow { color: var(--gold); }
.page-header p { color: rgba(255,255,255,0.85); max-width: 680px; font-size: 1.1rem; }

/* ---------- Section headings ---------- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-head p { color: var(--text-muted); font-size: 1.1rem; }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.service-card .icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  color: var(--gold-dark);
  border-radius: 50%;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.service-card h3 { margin-bottom: .5rem; color: var(--charcoal); }
.service-card p { color: var(--text-muted); margin-bottom: 1rem; }
.service-card .learn {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-size: 1rem;
}
.service-card .learn:hover { color: var(--charcoal); }

/* ---------- Two-column feature ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.feature .feature-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.feature ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}
.feature ul li {
  padding: .5rem 0 .5rem 1.75rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.feature ul li::before {
  content: "✓";
  color: var(--gold-dark);
  font-weight: 700;
  position: absolute;
  left: 0;
  top: .5rem;
}
@media (max-width: 800px) {
  .feature { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Process steps ---------- */
.bg-cream { background: var(--cream); }
.bg-charcoal { background: var(--charcoal); color: var(--white); }
.bg-charcoal h1, .bg-charcoal h2, .bg-charcoal h3 { color: var(--white); }
.bg-charcoal .eyebrow { color: var(--gold); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  position: relative;
  border-left: 3px solid var(--gold);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: .5rem;
}
.step h4 { color: var(--charcoal); margin-bottom: .4rem; }
.step p { color: var(--text-muted); margin: 0; font-size: .98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery-filters {
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.gallery-filters button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: .55rem 1.1rem;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.gallery-filters button:hover { border-color: var(--gold); color: var(--gold-dark); }
.gallery-filters button.is-active {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  background: var(--sand);
  cursor: pointer;
  transform: translate3d(0, 0, 0);
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 500ms cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.08);
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 0 rgba(181, 164, 108, 0);
  border-radius: inherit;
  pointer-events: none;
  transition: box-shadow 400ms cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
              filter 500ms ease;
}
.gallery-item:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 20px 38px -14px rgba(26, 26, 26, 0.45);
}
.gallery-item:hover img { transform: scale(1.08); filter: saturate(1.08); }
.gallery-item:hover::after { box-shadow: inset 0 0 0 2px rgba(181, 164, 108, 0.75); }
.gallery-item .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1rem .9rem;
  background: linear-gradient(to top, rgba(26,26,26,0.88), transparent);
  color: var(--white);
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1.05rem;
}
.gallery-item.hidden { display: none; }

/* Lightbox — smooth Apple-style expand-from-origin */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10, 10, 10, 0);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 2rem;
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  transition: background 360ms cubic-bezier(0.22, 1, 0.36, 1),
              backdrop-filter 360ms cubic-bezier(0.22, 1, 0.36, 1),
              -webkit-backdrop-filter 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox.is-open {
  display: flex;
  background: rgba(10, 10, 10, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.lightbox img {
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform-origin: center center;
  will-change: transform, opacity;
}
.lightbox.is-animating img { transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1), opacity 300ms ease; }
.lightbox .close {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}
.testimonial .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .5rem; }
.testimonial blockquote {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--text);
  font-style: italic;
}
.testimonial cite {
  font-style: normal;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-size: 1.05rem;
}
.testimonial cite span {
  display: block;
  font-family: var(--font-body);
  font-size: .85rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: none;
  margin-top: .2rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--charcoal);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(181,164,108,0.22), transparent 65%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 620px; margin: 0 auto 1.75rem; font-size: 1.1rem; }
.cta-band .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact / quote form ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 2rem; }
}
.info-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  border-left: 4px solid var(--gold);
}
.info-card h3 { margin-bottom: .5rem; }
.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.info-item:last-child { border-bottom: 0; }
.info-item .ico {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  background: var(--charcoal);
  color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
}
.info-item .label {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-size: .95rem;
}
.info-item .value { color: var(--text); font-size: 1.05rem; }
.info-item .value a { color: var(--gold-dark); font-weight: 600; }

.quote-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.field label {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: .9rem;
  color: var(--charcoal);
  margin-bottom: .35rem;
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(181,164,108,0.2);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: .85rem; color: var(--text-muted); margin-top: .5rem; }

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.8);
  padding: 3.5rem 0 1.5rem;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: .75rem;
}
.site-footer .brand-block { max-width: 340px; }
.site-footer .brand-block img { height: 120px; width: auto; margin-bottom: .75rem; }
.site-footer p { color: rgba(255,255,255,0.75); font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .4rem; }
.site-footer ul a { color: rgba(255,255,255,0.85); }
.site-footer ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .88rem;
  color: rgba(255,255,255,0.6);
}
.footer-bottom a { color: rgba(255,255,255,0.75); }

/* ---------- Small helpers ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* ---------- Reveal on scroll (Apple-style stagger) ---------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
/* Opt-in stagger: children of a .reveal-stagger container get auto-delays */
.reveal-stagger > .reveal:nth-child(1) { --reveal-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { --reveal-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { --reveal-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { --reveal-delay: 240ms; }
.reveal-stagger > .reveal:nth-child(5) { --reveal-delay: 320ms; }
.reveal-stagger > .reveal:nth-child(6) { --reveal-delay: 400ms; }
.reveal-stagger > .reveal:nth-child(7) { --reveal-delay: 480ms; }
.reveal-stagger > .reveal:nth-child(8) { --reveal-delay: 560ms; }

/* ---------- Floating Call/Text action (mobile) ---------- */
.fab-contact {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
  pointer-events: none; /* children re-enable */
}
.fab-contact > * { pointer-events: auto; }
.fab-main {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--charcoal);
  border: 0;
  box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.45),
              0 3px 8px rgba(181, 164, 108, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
              background 260ms ease, box-shadow 360ms ease;
}
.fab-main:hover { background: var(--gold-light); }
.fab-main:active { transform: scale(0.94); }
.fab-main svg { width: 26px; height: 26px; fill: currentColor; }
.fab-main .icon-close { display: none; }
.fab-contact.is-open .fab-main .icon-phone { display: none; }
.fab-contact.is-open .fab-main .icon-close { display: inline-block; }
.fab-contact.is-open .fab-main { transform: rotate(90deg); }

.fab-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  pointer-events: none;
  transition: opacity 300ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.fab-contact.is-open .fab-actions {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}
.fab-item {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem 1.1rem .65rem .85rem;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.45);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
              background 220ms ease;
  text-decoration: none;
}
.fab-item:hover { background: #000; color: var(--gold-light); transform: translateY(-2px); }
.fab-item .fab-ico {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold); color: var(--charcoal);
  display: inline-flex; align-items: center; justify-content: center;
}
.fab-item .fab-ico svg { width: 18px; height: 18px; fill: currentColor; }
/* Hide the floating FAB on large screens — the header has plenty of CTAs */
@media (min-width: 900px) {
  .fab-contact { display: none; }
}

/* ---------- Magnetic CTA ---------- */
.btn-primary, .btn-outline, .btn-ghost-light {
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
              background 260ms ease, color 260ms ease, border-color 260ms ease,
              box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.btn-primary:hover {
  box-shadow: 0 14px 30px -12px rgba(181, 164, 108, 0.55);
}
/* JS sets --mx / --my on hover; this CSS translates the button. */
.btn-primary[data-magnetic], .btn-outline[data-magnetic], .btn-ghost-light[data-magnetic] {
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
}

/* ---------- Print-ish accessibility ---------- */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: var(--radius); }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--charcoal);
  color: var(--white);
  padding: .75rem 1rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--gold-dark); }
.breadcrumbs span[aria-current] { color: var(--charcoal); font-weight: 600; }

/* ---------- Sub-nav (services jump links) ---------- */
.sub-nav {
  padding: 1.25rem 0;
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 64px;
  z-index: 20;
}
.service-jumps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  justify-content: center;
}
.service-jumps a {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .95rem;
  color: var(--charcoal);
  padding: .25rem .5rem;
  border-bottom: 2px solid transparent;
}
.service-jumps a:hover { border-bottom-color: var(--gold); color: var(--charcoal); }

/* ---------- Services grid density variants ---------- */
.services-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.services-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 1024px) {
  .services-grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .services-grid-3, .services-grid-6 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .services-grid-3, .services-grid-6 { grid-template-columns: 1fr; }
}

/* ---------- Specialty row (homepage) ---------- */
.specialty-row {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
}
.specialty-head {
  font-size: 1.25rem;
  letter-spacing: .05em;
  margin-bottom: 1rem;
}
.specialty-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .5rem 1.5rem;
  font-size: .95rem;
}
.specialty-list li::before {
  content: "\2713\00a0";
  color: var(--gold-dark);
  font-weight: 700;
}

/* ---------- City list ---------- */
.city-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: .25rem 1.25rem;
  font-family: var(--font-body);
  color: var(--text);
  text-align: left;
}
.city-list li {
  padding: .4rem 0;
  border-bottom: 1px dotted var(--border);
  font-size: .95rem;
}
.muted { color: var(--text-muted); }
.container-narrow { max-width: 880px; }

/* ---------- Gallery category headings (homepage teaser) ---------- */
.gallery-cat-head {
  margin: 2.5rem 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gold);
  font-size: 1.6rem;
}
.gallery-cat-head:first-of-type { margin-top: .5rem; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  background: var(--white);
  transition: border-color var(--transition);
}
.faq details[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: .04em;
  color: var(--charcoal);
  text-transform: uppercase;
  position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -.1rem;
  font-size: 1.5rem;
  color: var(--gold-dark);
  transition: transform var(--transition);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: .75rem 0 0; color: var(--text); }

