/* Berkeley Decor — Elegant Dark Accent (cream + espresso + soft gold) */
:root {
  --cream: #f7f3ed;
  --warm-white: #faf8f5;
  --oat: #ebe4d8;
  --sand: #d4c8b8;
  --taupe: #a89888;
  --mushroom: #8a7a6c;
  --charcoal: #1c1917;
  --charcoal-soft: #2c2824;
  --espresso: #1c1917;
  --gold: #c4a574;
  --gold-soft: #d4bc94;
  --text: #2c2824;
  --text-muted: #6b635a;
  --border: rgba(28, 25, 23, 0.1);
  --shadow: 0 12px 40px rgba(28, 25, 23, 0.08);
  --shadow-hover: 0 20px 50px rgba(28, 25, 23, 0.12);
  --radius: 4px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --nav-h: 80px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --max: 1180px;
  --theme-duration: 0.35s;

  /* Semantic (light — cream dominant) */
  --bg: #faf8f5;
  --bg-alt: #f4efe7;
  --surface: #faf8f5;
  --heading: #1c1917;
  --btn-bg: #1c1917;
  --btn-fg: #faf8f5;
  --btn-bg-hover: #2c2824;
  --nav-scrolled-bg: rgba(250, 248, 245, 0.96);
  --nav-link-scrolled: #1c1917;
  --nav-cta-scrolled-bg: #1c1917;
  --nav-cta-scrolled-fg: #faf8f5;
  --mobile-menu-bg: #faf8f5;
  --on-photo: #faf8f5;
  --line-soft: #d4c8b8;
  --avatar-bg: #ebe4d8;
  --accent: #c4a574;
  --logo-ink: none;
  --logo-ink-on-dark: none;
  --logo-outline: none;
  --logo-outline-on-photo: none;
}

[data-theme="dark"] {
  --cream: #1a1714;
  --warm-white: #12100e;
  --oat: #2a2622;
  --sand: #5c544a;
  --taupe: #c4a574;
  --mushroom: #b8a898;
  --charcoal: #f0ebe4;
  --charcoal-soft: #ddd5cb;
  --espresso: #1c1917;
  --gold: #d4bc94;
  --gold-soft: #e0cba8;
  --text: #f0ebe4;
  --text-muted: #a89f94;
  --border: rgba(240, 235, 228, 0.12);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.5);

  --bg: #12100e;
  --bg-alt: #1a1714;
  --surface: #1e1b18;
  --heading: #f0ebe4;
  --btn-bg: #f0ebe4;
  --btn-fg: #1c1917;
  --btn-bg-hover: #e0d8cc;
  --nav-scrolled-bg: rgba(18, 16, 14, 0.96);
  --nav-link-scrolled: #f0ebe4;
  --nav-cta-scrolled-bg: #c4a574;
  --nav-cta-scrolled-fg: #1c1917;
  --mobile-menu-bg: #1a1714;
  --on-photo: #faf8f5;
  --line-soft: #4a443c;
  --avatar-bg: #2a2622;
  --accent: #c4a574;
  --logo-ink: none;
  --logo-ink-on-dark: none;
  --logo-outline: none;
  --logo-outline-on-photo: none;
}

@media (prefers-reduced-motion: reduce) {
  :root { --theme-duration: 0.01ms; }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* Extra room so fixed nav never covers section titles */
  scroll-padding-top: calc(var(--nav-h) + 1.25rem);
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.125rem);
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
  /* No automatic word hyphenation across line breaks */
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  overflow-wrap: break-word;
  word-break: normal;
  overflow-x: clip;
  max-width: 100%;
}

h1, h2, h3, h4, p, li, .section-intro, .hero__sub, .review-card__quote {
  hyphens: none;
  -webkit-hyphens: none;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--heading);
}

h1 { font-size: clamp(2.35rem, 5vw, 3.85rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.95rem, 3.5vw, 2.85rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

.section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mushroom);
  margin-bottom: 0.85rem;
}

.section-intro {
  max-width: 38rem;
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  /* Anchor jumps & scroll-up: keep headings below fixed nav */
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}
.section--alt { background: var(--bg-alt); }

/* In-page targets (hero, contact, etc.) */
#top,
#services,
#process,
#work,
#live-gallery,
#instagram,
#about,
#faq,
#contact,
#why,
#custom-drapery,
#motorized-shades,
#plantation-shutters {
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

/* Live R2 gallery — marquee carousel (shared reviews-carousel styles) */
.live-gallery__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.live-gallery__header .section-intro {
  margin-inline: auto;
}

.live-gallery__status {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
}

.live-gallery__status.is-error {
  color: #8b2e2e;
}

.live-gallery.is-empty .live-gallery-carousel {
  display: none;
}

.live-gallery-carousel {
  margin-top: 0.5rem;
}

.live-gallery-carousel .live-gallery__item {
  margin: 0;
  flex: 0 0 min(320px, 78vw);
  max-width: 360px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  -webkit-user-select: none;
  user-select: none;
}

.live-gallery__open {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  line-height: 0;
  -webkit-user-select: none;
  user-select: none;
}

.live-gallery__open:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.live-gallery-carousel .live-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--bg-alt);
  pointer-events: none;
  -webkit-user-drag: none;
}

.instagram__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.instagram__header .section-intro {
  margin-inline: auto;
}

.instagram,
.instagram .container {
  min-height: 0;
}

.instagram__embed {
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  border: 0;
  display: block;
  overflow: hidden;
}

.instagram__actions {
  text-align: center;
  margin: 1.5rem 0 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}
.lightbox[hidden] {
  display: none !important;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 16, 14, 0.88);
  cursor: zoom-out;
}
.lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(250, 248, 245, 0.12);
  color: #faf8f5;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: rgba(250, 248, 245, 0.22);
  outline: none;
}
.lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(96vw, 1100px);
  max-height: 90vh;
}
.lightbox__img {
  display: block;
  max-width: 96vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  background: #1a1714;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.95rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover {
  background: var(--btn-bg-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--outline {
  border: 1px solid var(--heading);
  color: var(--heading);
  background: transparent;
}
.btn--outline:hover { background: var(--btn-bg); color: var(--btn-fg); }

.btn--light { background: var(--on-photo); color: #2c2a28; }
.btn--light:hover { background: #f0ebe4; transform: translateY(-2px); }

.btn--ghost {
  border: 1px solid rgba(250, 248, 245, 0.7);
  color: #faf8f5;
  background: transparent;
}
.btn--ghost:hover {
  background: rgba(250, 248, 245, 0.12);
  color: #ffffff;
}

/* Hero CTAs + trust strip (from redesign) */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

/* Shared hours card — light mode uses body text colors on hero */
.hours-card {
  max-width: 26rem;
  margin: 0 auto;
  padding: 1.15rem 1.35rem 1.2rem;
  text-align: left;
  background: rgba(250, 248, 245, 0.72);
  border: 1px solid rgba(44, 42, 40, 0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hours-card__badge,
.hours-card p.hours-card__badge,
.contact__item p.hours-card__badge {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1816 !important;
  background: #faf6ef;
  border: 1px solid rgba(44, 42, 40, 0.12);
  border-radius: 2px;
  line-height: 1.3;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.hours-card__body {
  display: grid;
  gap: 0.45rem;
}

/* Day labels on one row: Mon–Fri | Sat–Sun */
.hours-card__days,
.hours-card__times {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  margin: 0;
}

.hours-card__day {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}

.hours-card__time {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
}

.hours-card__time--closed {
  color: var(--text);
  font-style: italic;
  font-weight: 400;
}

/* Contact / footer sit on dark panels — light text */
.hours-card--on-dark {
  max-width: none;
  margin: 0.35rem 0 0;
  background: rgba(250, 248, 245, 0.06);
  border-color: rgba(250, 248, 245, 0.16);
  backdrop-filter: none;
}

.hours-card--on-dark .hours-card__day {
  color: #faf8f5;
}

.hours-card--on-dark .hours-card__time {
  color: rgba(250, 248, 245, 0.9);
}

.hours-card--on-dark .hours-card__time--closed {
  color: rgba(250, 248, 245, 0.55);
}

/* Footer hours — dedicated stacked block (not the scrunched 2-col card) */
.footer__col--hours {
  min-width: 15rem;
}

.footer-hours {
  margin: 0;
  padding: 1.25rem 1.5rem 1.4rem;
  border: 1px solid rgba(250, 248, 245, 0.2);
  border-radius: var(--radius);
  background: rgba(250, 248, 245, 0.08);
}

/* Override .footer__col p { color: light cream } so the pill stays readable */
.footer-hours__badge,
.footer__col p.footer-hours__badge {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1816 !important;
  background: #faf6ef;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  line-height: 1.3;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.footer-hours__block {
  display: grid;
  gap: 0.2rem;
  margin: 0 0 1.1rem;
  padding: 0 0 1.1rem;
  border-bottom: 1px solid rgba(250, 248, 245, 0.12);
}

.footer-hours__block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.footer-hours__day {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #faf8f5;
  margin-bottom: 0.2rem;
}

.footer-hours__time {
  display: block;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(250, 248, 245, 0.82);
}

.footer-hours__time--closed {
  color: rgba(250, 248, 245, 0.55);
  font-style: italic;
}

.hero__hours {
  margin: 0 auto 1.75rem;
}

/*
 * Dark mode hero hours: keep a solid light card + dark body text.
 * (Theme tokens flip --text to cream, which was unreadable on the cream card.)
 */
[data-theme="dark"] .hours-card.hero__hours {
  background: rgba(250, 248, 245, 0.94);
  border-color: rgba(250, 248, 245, 0.75);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .hours-card.hero__hours .hours-card__day,
[data-theme="dark"] .hours-card.hero__hours .hours-card__time,
[data-theme="dark"] .hours-card.hero__hours .hours-card__time--closed {
  color: #2c2a28;
}

[data-theme="dark"] .hours-card.hero__hours .hours-card__time--closed {
  opacity: 0.75;
}

/* Contact/footer dark panels: ensure hours text stays clearly light */
[data-theme="dark"] .hours-card--on-dark {
  background: rgba(250, 248, 245, 0.1);
  border-color: rgba(250, 248, 245, 0.28);
}

[data-theme="dark"] .hours-card--on-dark .hours-card__day,
[data-theme="dark"] .hours-card--on-dark .hours-card__time {
  color: #faf8f5;
}

[data-theme="dark"] .hours-card--on-dark .hours-card__time--closed {
  color: rgba(250, 248, 245, 0.75);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(44, 42, 40, 0.12);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  /* Same as hero body / hours text in light mode */
  color: var(--text);
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-strip li::before {
  content: "—";
  color: var(--text);
  font-weight: 400;
}

[data-theme="dark"] .trust-strip {
  border-top-color: rgba(250, 248, 245, 0.22);
  color: rgba(250, 248, 245, 0.92);
}

[data-theme="dark"] .trust-strip li::before {
  color: rgba(250, 248, 245, 0.92);
}

/* Hero buttons — light mode: Call unchanged (light text); Email matches logo black */
.hero .btn--light {
  background: var(--btn-bg);
  color: var(--btn-fg);
}

.hero .btn--light:hover {
  background: var(--btn-bg-hover);
  color: var(--btn-fg);
}

.hero .btn--ghost {
  border-color: rgba(0, 0, 0, 0.4);
  color: #000000;
}

.hero .btn--ghost:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #000000;
}

[data-theme="dark"] .hero .btn--light {
  background: #faf8f5;
  color: #2c2a28;
}

[data-theme="dark"] .hero .btn--ghost {
  border-color: rgba(250, 248, 245, 0.7);
  color: #faf8f5;
}

[data-theme="dark"] .hero .btn--ghost:hover {
  background: rgba(250, 248, 245, 0.12);
  color: #ffffff;
}

/* Why Custom */
.why__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.why__lead p,
.why__body > p {
  color: var(--text-muted);
  font-size: clamp(1.02rem, 1.1vw, 1.12rem);
  margin-top: 1rem;
}

.why__list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.why__list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.why__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--taupe);
  border-radius: 1px;
  transform: rotate(45deg);
}

/* FAQ */
.faq__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq__header .section-intro {
  margin-inline: auto;
}

.faq__list {
  max-width: 46rem;
  margin-inline: auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  color: var(--heading);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.35rem;
  color: var(--mushroom);
  flex-shrink: 0;
  line-height: 1;
}

.faq__item[open] summary::after { content: "–"; }

.faq__item p {
  margin: 0 0 1.35rem;
  padding: 0 0.15rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 60ch;
  line-height: 1.7;
}

.faq__item a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 768px) {
  .why__grid { grid-template-columns: 1fr; }
  .trust-strip {
    gap: 0.55rem 1rem;
    font-size: 0.68rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    /* Keep credentials clear of any bottom chrome */
    position: relative;
    z-index: 2;
  }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }

  .hero__hours,
  .hours-card.hero__hours {
    max-width: 100%;
    margin-bottom: 1.35rem;
  }

  .hours-card__days,
  .hours-card__times {
    gap: 0.5rem 0.75rem;
  }

  .hours-card__time {
    font-size: 0.88rem;
  }
}

/* Theme toggle — light mode matches logo black ink */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.28);
  color: #000000;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #000000;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Scrolled light mode: stay logo-black */
.nav.is-scrolled .theme-toggle {
  border-color: rgba(0, 0, 0, 0.22);
  color: #000000;
}

.nav.is-scrolled .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #000000;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Top menu social icons — same chrome as theme toggle */
.nav__social {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav__social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.28);
  color: #000000;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  flex-shrink: 0;
}

.nav__social-link:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #000000;
}

.nav__social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

.nav.is-scrolled .nav__social-link {
  border-color: rgba(0, 0, 0, 0.22);
  color: #000000;
}

.nav.is-scrolled .nav__social-link:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #000000;
}

/* Logo — official black mark; filter flips for theme / surface */
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
  z-index: 2;
}

.logo__img {
  display: block;
  width: auto;
  height: 56px;
  object-fit: contain;
  background: transparent;
  /* Default: no filter (flat black). Dark mode adds shadows separately. */
  filter: none;
  transition: filter 0.3s var(--ease);
}

.logo--plate {
  padding: 0;
  background: none;
}

/* Black logo on photo / dark panels */
.logo__img--on-dark {
  filter: var(--logo-outline-on-photo);
}

.logo--footer {
  padding: 0;
  background: none;
}

.logo--footer .logo__img {
  height: 80px;
  filter: none;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  min-height: var(--nav-h);
  height: auto;
  display: flex;
  align-items: center;
  padding-block: 0.5rem;
  min-width: 0;
  overflow-x: clip;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.nav.is-scrolled {
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.nav__inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  overflow-x: clip;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Light mode nav: logo black (#000) over hero + scrolled — matches hero text */
.nav__links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000000;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav.is-scrolled .nav__links a { color: #000000; }
.nav__links a:hover { color: #000000; opacity: 0.65; }
.nav.is-scrolled .nav__links a:hover { color: #000000; opacity: 0.65; }

/* CTA like hero Call: solid black + cream text */
.nav__cta {
  padding: 0.65rem 1.15rem;
  font-size: 0.72rem;
  background: #000000;
  color: #faf8f5 !important;
  border-radius: var(--radius);
  opacity: 1 !important;
}

.nav__cta:hover {
  background: #1a1816;
  color: #faf8f5 !important;
  opacity: 1 !important;
}

.nav.is-scrolled .nav__cta {
  background: #000000;
  color: #faf8f5 !important;
}

.nav.is-scrolled .nav__cta:hover {
  background: #1a1816;
  color: #faf8f5 !important;
}

/*
 * Logo — light mode: always black (body color), no invert
 * Dark mode: white over hero / scrolled bar
 */
.nav:not(.is-scrolled) .logo__img {
  height: 50px;
  filter: none;
}

.nav.is-scrolled .logo__img {
  height: 52px;
  filter: none;
}

.nav:has(.nav__links.is-open) .logo__img {
  height: 52px;
  filter: none;
}

/* SVG logos switch via light/dark img pair — no invert filters */
[data-theme="dark"] .nav:not(.is-scrolled) .logo__img,
[data-theme="dark"] .nav.is-scrolled .logo__img,
[data-theme="dark"] .nav:has(.nav__links.is-open) .logo__img {
  filter: none;
}

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  z-index: 1001;
  flex-direction: column;
  justify-content: center;
}

.nav__toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: #000000;
  margin: 5px auto;
  transition: 0.3s var(--ease);
}

.nav.is-scrolled .nav__toggle span { background: #000000; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Light mode: match black logo ink (Call btn + badge stay separate) */
  color: #000000;
  overflow-x: hidden;
  overflow-y: visible;
}

.hero__media { position: absolute; inset: 0; }
.hero__media img,
.hero__media .hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

/* Light mode: light wash for dark text, without bleaching the photo */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(250, 248, 245, 0.28) 0%,
    rgba(250, 248, 245, 0.18) 40%,
    rgba(247, 243, 237, 0.32) 100%
  );
}

[data-theme="dark"] .hero {
  color: #faf8f5;
}

[data-theme="dark"] .hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(44, 42, 40, 0.5) 0%,
    rgba(44, 42, 40, 0.38) 40%,
    rgba(44, 42, 40, 0.58) 100%
  );
}

/* Dark mode nav over hero: light chrome */
/* Dark mode nav — light chrome (unchanged intent; overrides light #000 rules) */
[data-theme="dark"] .nav:not(.is-scrolled) .nav__links a,
[data-theme="dark"] .nav.is-scrolled .nav__links a {
  color: #faf8f5;
  opacity: 1;
}

[data-theme="dark"] .nav:not(.is-scrolled) .nav__links a:hover,
[data-theme="dark"] .nav.is-scrolled .nav__links a:hover {
  color: #faf8f5;
  opacity: 0.75;
}

[data-theme="dark"] .nav:not(.is-scrolled) .theme-toggle,
[data-theme="dark"] .nav:not(.is-scrolled) .nav__social-link,
[data-theme="dark"] .nav.is-scrolled .theme-toggle,
[data-theme="dark"] .nav.is-scrolled .nav__social-link {
  border-color: rgba(250, 248, 245, 0.35);
  color: #faf8f5;
}

[data-theme="dark"] .nav:not(.is-scrolled) .theme-toggle:hover,
[data-theme="dark"] .nav:not(.is-scrolled) .nav__social-link:hover,
[data-theme="dark"] .nav.is-scrolled .theme-toggle:hover,
[data-theme="dark"] .nav.is-scrolled .nav__social-link:hover {
  background: rgba(250, 248, 245, 0.12);
  color: #ffffff;
}

[data-theme="dark"] .nav:not(.is-scrolled) .nav__toggle span,
[data-theme="dark"] .nav.is-scrolled .nav__toggle span {
  background: #faf8f5;
}

[data-theme="dark"] .nav:not(.is-scrolled) .nav__cta,
[data-theme="dark"] .nav.is-scrolled .nav__cta {
  background: #faf8f5;
  color: #000000 !important;
}

[data-theme="dark"] .nav:not(.is-scrolled) .nav__cta:hover,
[data-theme="dark"] .nav.is-scrolled .nav__cta:hover {
  background: #ffffff;
  color: #000000 !important;
}

[data-theme="dark"] .nav.is-scrolled {
  box-shadow: 0 1px 0 rgba(250, 248, 245, 0.12);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 4rem;
  max-width: 42rem;
}

.hero__logo {
  margin: 0 auto 2rem;
  justify-content: center;
  padding: 0;
  background: none;
}

.hero__logo .logo__img {
  /* Larger on mobile; scales up further on desktop */
  height: clamp(150px, 38vw, 220px);
  max-width: min(82vw, 240px);
  width: auto;
  margin-inline: auto;
  background: transparent;
  /* Light mode: black logo (same as body) */
  filter: none;
}

.hero__logo .logo__img.logo__img--on-dark {
  filter: none;
}

/* Dark mode hero: use white SVG pair (no invert) */
[data-theme="dark"] .hero__logo .logo__img,
[data-theme="dark"] .hero__logo .logo__img.logo__img--on-dark {
  filter: none;
}

@media (min-width: 768px) {
  .hero__logo .logo__img {
    height: clamp(220px, 24vw, 340px);
    max-width: min(48vw, 380px);
  }

  .logo__img {
    height: 64px;
  }

  .nav:not(.is-scrolled) .logo__img,
  .nav.is-scrolled .logo__img {
    height: 60px;
  }

  .logo--footer .logo__img {
    height: 96px;
  }
}

@media (min-width: 1100px) {
  .hero__logo .logo__img {
    height: 360px;
    max-width: 400px;
  }

  .logo__img {
    height: 70px;
  }

  .nav:not(.is-scrolled) .logo__img,
  .nav.is-scrolled .logo__img {
    height: 66px;
  }

  .logo--footer .logo__img {
    height: 110px;
  }
}

.hero h1 {
  color: #000000;
  margin-bottom: 1.25rem;
}

.hero__sub {
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  color: #000000;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

/* Hours card on hero: black text to match logo (badge keeps its own color) */
.hero .hours-card__day,
.hero .hours-card__time,
.hero .hours-card__time--closed {
  color: #000000;
}

/* Trust strip under hero content */
.hero .trust-strip {
  color: #000000;
  border-top-color: rgba(0, 0, 0, 0.15);
}

.hero .trust-strip li::before {
  color: #000000;
}

[data-theme="dark"] .hero h1 {
  color: #faf8f5;
}

[data-theme="dark"] .hero__sub {
  color: rgba(250, 248, 245, 0.92);
}

[data-theme="dark"] .hero .hours-card__day,
[data-theme="dark"] .hero .hours-card__time,
[data-theme="dark"] .hero .hours-card__time--closed {
  color: #2c2a28;
}

[data-theme="dark"] .hero .trust-strip,
[data-theme="dark"] .hero .trust-strip li::before {
  color: rgba(250, 248, 245, 0.92);
  border-top-color: rgba(250, 248, 245, 0.22);
}

/* Badge on hero keeps its designed near-black on cream (not forced pure black) */
.hero .hours-card__badge {
  color: #1a1816 !important;
}

/* Services */
.services__header { text-align: center; margin-bottom: 3.5rem; }
.services__header .section-intro { margin-inline: auto; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.service-card {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.35s var(--ease);
}

.service-card:nth-child(4),
.service-card:nth-child(5) { grid-column: span 3; }

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.service-card:hover .service-card__img img { transform: scale(1.04); }

.service-card__body { padding: 1.5rem 1.4rem 1.75rem; }
.service-card__body h3 { margin-bottom: 0.5rem; }
.service-card__body p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Process */
.process { text-align: center; }
.process__header { margin-bottom: 3.5rem; }
.process__header .section-intro { margin-inline: auto; }

.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.process__steps::before {
  content: "";
  position: absolute;
  top: 2.25rem;
  left: 16%; right: 16%;
  height: 1px;
  background: var(--line-soft);
  z-index: 0;
}

.process-step { position: relative; z-index: 1; padding: 0 1rem; }

.process-step__num {
  width: 4.5rem; height: 4.5rem;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--heading);
}

.process-step h3 { margin-bottom: 0.65rem; }
.process-step p {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 18rem;
  margin-inline: auto;
}

.process__cta { margin-top: 3.5rem; }

/* Gallery — desktop card grid (full image) + mobile carousel */
.gallery__header { text-align: center; margin-bottom: 3rem; }

.gallery {
  position: relative;
}

.gallery__viewport {
  overflow: visible;
  border-radius: 0;
}

.gallery__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1.25rem;
  align-items: stretch;
}

.gallery__item {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.gallery__item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* Uniform image area — every tile same size */
.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--bg-alt);
  flex: 0 0 auto;
  transition: transform 0.45s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.03);
}

/* Caption always under the photo — equal height labels */
.gallery__item figcaption {
  position: static;
  opacity: 1;
  margin-top: auto;
  padding: 0.95rem 1.1rem 1.1rem;
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  background: transparent;
  color: var(--heading);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.35;
  border-top: 1px solid var(--border);
}

/* Motorized shades “video” tile — multi-frame crossfade loop */
.gallery__motion {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}

.gallery__motion-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.gallery__motion-frame.is-active {
  opacity: 1;
  z-index: 1;
}

.gallery__motion-badge {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #faf8f5;
  background: rgba(44, 42, 40, 0.55);
  padding: 0.35rem 0.55rem;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.gallery__item--motion:hover img {
  transform: none;
  opacity: 1;
}

/* Bottom bar + arrows — mobile carousel chrome (hidden on desktop grid) */
.gallery__bar {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.15rem 0;
}

.gallery__btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.gallery__btn:hover {
  background: var(--bg-alt);
  border-color: var(--taupe);
}

.gallery__btn svg {
  width: 20px;
  height: 20px;
}

.gallery__caption {
  flex: 1;
  text-align: center;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--heading);
  line-height: 1.4;
  min-height: 1.4em;
}

.gallery__dots {
  display: none;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.gallery__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--sand);
  opacity: 0.45;
  cursor: pointer;
  transition: opacity 0.25s, transform 0.25s, background 0.25s;
}

.gallery__dot.is-active {
  opacity: 1;
  background: var(--heading);
  transform: scale(1.15);
}

/* About + Reviews */
.about-reviews {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
  /* Marquee track is width:max-content; allow columns to shrink so
     “View on Google” stays inside the desktop viewport. */
  min-width: 0;
}

.about-reviews > * {
  min-width: 0;
}

.reviews {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

.about h2 {
  margin-bottom: 1.75rem;
}

.about__image {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.about__image img { width: 100%; height: 100%; object-fit: cover; }
.about__text {
  margin-top: 0.25rem;
}
.about__text p {
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  font-size: clamp(1.02rem, 1.1vw, 1.1rem);
}

.about__stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.about__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--heading);
  line-height: 1.2;
}

.about__stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.reviews__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.reviews__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: #f4b400;
  font-size: 0.95rem;
  line-height: 1;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.35rem 1.4rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.3s var(--ease), background 0.35s var(--ease);
}

.review-card:last-child { margin-bottom: 0; }
.review-card:hover { box-shadow: var(--shadow); }

.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--avatar-bg);
  color: var(--heading);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
  overflow: hidden;
  text-align: center;
  line-height: 1;
  padding: 0 2px;
  box-sizing: border-box;
}

.review-card__name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--heading);
}

.review-card__meta { font-size: 0.8rem; color: var(--text-muted); }
.review-card__quote { font-size: 1rem; color: var(--text); line-height: 1.7; }

/* Contact / Schedule — fixed light text (never use theme tokens that invert in dark mode) */
.contact {
  position: relative;
  color: #faf8f5;
  overflow: hidden;
}

.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 22, 0.82);
}

[data-theme="dark"] .contact__overlay {
  background: rgba(12, 10, 8, 0.88);
}

.contact__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
}

.contact .section-label {
  color: #e8dcc8;
  font-size: 0.85rem;
}

.contact h2 {
  color: #faf8f5;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.contact__lead {
  color: rgba(250, 248, 245, 0.92);
  margin-bottom: 2.5rem;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
  margin-bottom: 2.5rem;
}

.contact__item {
  background: rgba(250, 248, 245, 0.12);
  border: 1px solid rgba(250, 248, 245, 0.22);
  padding: 1.4rem 1.5rem;
  backdrop-filter: blur(8px);
}

[data-theme="dark"] .contact__item {
  background: rgba(250, 248, 245, 0.1);
  border-color: rgba(250, 248, 245, 0.28);
}

.contact__item span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8dcc8;
  margin-bottom: 0.5rem;
}

.contact__item a,
.contact__item p {
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  color: #faf8f5;
  line-height: 1.55;
  font-weight: 500;
}

/* Must follow .contact__item p so the cream badge stays dark-on-light (esp. mobile) */
.contact__item .hours-card__badge,
.contact__item p.hours-card__badge,
.contact .hours-card p.hours-card__badge {
  color: #1a1816 !important;
  background: #faf6ef !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  -webkit-text-fill-color: #1a1816;
}

.contact__item a:hover { color: #f0e6d8; }
.contact__item--full { grid-column: 1 / -1; }

.contact__address {
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: rgba(250, 248, 245, 0.45);
  text-underline-offset: 0.2em;
}

.contact__address:hover {
  text-decoration-color: rgba(250, 248, 245, 0.85);
  color: #ffffff;
}

.contact__item--hours {
  text-align: left;
}

/* Contact hours — stacked layout (not squeezed 2-column) */
.contact-hours {
  margin-top: 0.35rem;
  text-align: left;
}

.contact-hours__badge,
.contact__item p.contact-hours__badge {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1816 !important;
  background: #faf6ef !important;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 2px;
  line-height: 1.3;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
  -webkit-text-fill-color: #1a1816;
}

.contact-hours__block {
  display: grid;
  gap: 0.2rem;
  margin: 0 0 1.1rem;
  padding: 0 0 1.1rem;
  border-bottom: 1px solid rgba(250, 248, 245, 0.16);
}

.contact-hours__block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-hours__day {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #faf8f5;
  margin-bottom: 0.25rem;
}

.contact-hours__time {
  display: block;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(250, 248, 245, 0.9);
  font-weight: 500;
}

.contact-hours__time--closed {
  color: rgba(250, 248, 245, 0.6);
  font-style: italic;
  font-weight: 400;
}

.contact__actions .btn {
  font-size: 0.95rem;
  padding: 1.05rem 2rem;
}

.contact__actions .btn--outline {
  border-color: rgba(250, 248, 245, 0.65) !important;
  color: #faf8f5 !important;
}

.contact__actions .btn--outline:hover {
  background: rgba(250, 248, 245, 0.12) !important;
  color: #ffffff !important;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* Footer */
.footer {
  background: #1a1816;
  color: rgba(250, 248, 245, 0.75);
  padding: 3.5rem 0 2rem;
}

[data-theme="dark"] .footer {
  background: #0c0b0a;
  border-top: 1px solid var(--border);
}

.footer__top {
  display: grid;
  /* Brand | Contact | Hours (roomy) | Service | Follow */
  grid-template-columns: 1.15fr 1fr minmax(17.5rem, 1.5fr) 0.9fr 0.85fr;
  gap: 2.25rem 1.75rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250, 248, 245, 0.1);
  align-items: start;
}

.footer__brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  max-width: 18rem;
  line-height: 1.65;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  /* Fixed light color — do not use theme --warm-white (dark mode redefines it) */
  color: #faf8f5;
  margin-bottom: 1rem;
}

.footer__col a,
.footer__col p {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: rgba(250, 248, 245, 0.75);
  transition: color 0.25s;
}

.footer__col a:hover { color: #faf8f5; }

.social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(250, 248, 245, 0.35);
  border-radius: 50%;
  color: #faf8f5;
  background: rgba(250, 248, 245, 0.06);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.social a:hover {
  background: rgba(250, 248, 245, 0.14);
  border-color: rgba(250, 248, 245, 0.6);
  color: #ffffff;
}

.social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

[data-theme="dark"] .social a {
  color: #faf8f5;
  border-color: rgba(250, 248, 245, 0.4);
  background: rgba(250, 248, 245, 0.08);
}

[data-theme="dark"] .social a:hover {
  background: rgba(250, 248, 245, 0.16);
  border-color: rgba(250, 248, 245, 0.65);
  color: #ffffff;
}

.footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(250, 248, 245, 0.5);
}

/* Reveal — keep overflow parents from clipping translated text */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  /* Avoid paint glitches under fixed nav on mobile */
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* Responsive */
@media (max-width: 960px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) { grid-column: span 1; }
  .about-reviews { grid-template-columns: 1fr; }
  .gallery__track { grid-template-columns: repeat(2, 1fr); }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col--hours {
    grid-column: 1 / -1;
    max-width: 28rem;
  }
}

/* Compact nav: mid-width or short viewports (Tesla driving / PiP) */
@media (max-width: 1100px), (max-height: 700px) {
  :root { --nav-h: 64px; }

  .nav {
    /* Solid bar after any scroll so content never shows “through” or under a transparent strip */
    padding-block: 0.4rem;
    width: 100%;
    max-width: 100vw;
  }

  .nav.is-scrolled {
    /* Slightly stronger so section text can’t bleed under the bar */
    box-shadow: 0 1px 0 var(--border), 0 8px 24px rgba(0, 0, 0, 0.06);
  }

  .nav__inner {
    width: min(100% - 1.25rem, var(--max));
    gap: 0.5rem;
    min-width: 0;
  }

  .nav__toggle { display: flex; flex-shrink: 0; }

  /* Dimmed backdrop — click outside closes menu */
  .nav__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(18, 16, 14, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
    border: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
  }

  .nav__backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /*
   * Compact panel (not full-screen). Fixed under the header so page scroll
   * does not jump or tear the open menu.
   */
  .nav__links {
    position: fixed;
    top: calc(var(--nav-h) + 0.35rem);
    left: 0.75rem;
    right: 0.75rem;
    bottom: auto;
    width: auto;
    height: auto;
    max-height: min(62vh, 400px);
    background: var(--mobile-menu-bg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
    z-index: 1001;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 0.5rem 0.85rem 0.75rem;
    border-radius: 8px;
    box-sizing: border-box;
    border: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  }

  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__links a {
    color: var(--heading) !important;
    font-size: 0.95rem;
    opacity: 1;
    padding: 0.55rem 0.5rem;
    border-radius: 4px;
  }

  .nav__links a:not(.nav__cta):hover,
  .nav__links a:not(.nav__cta):focus-visible {
    background: var(--bg-alt);
  }

  /* Location: only in compact mobile menu */
  .nav__links a.nav__location {
    display: block !important;
  }

  /* Book / Call CTAs: desktop only — not in burger menu */
  .nav__links a.nav__cta {
    display: none !important;
  }

  .nav__toggle.is-open span { background: var(--heading); }

  .nav__right {
    position: relative;
    z-index: 1002;
    gap: 0.35rem;
    flex-shrink: 0;
    min-width: 0;
  }

  .nav:not(.is-scrolled) .nav__toggle.is-open span {
    background: var(--heading);
  }

  .nav__links.is-open ~ .theme-toggle,
  .nav__toggle.is-open {
    position: relative;
    z-index: 1003;
  }

  .nav__links.is-open ~ .theme-toggle,
  .nav__links.is-open ~ .nav__social .nav__social-link {
    color: var(--heading);
    border-color: var(--border);
  }

  /* Free horizontal space: hide social row in the top bar (links still in page/footer) */
  .nav__social {
    display: none;
  }

  /*
   * Lock page under open menu without position:fixed (that resets scrollY,
   * clears .is-scrolled, and causes nav transparency + jump glitches).
   */
  html.nav-menu-open,
  html.nav-menu-open body {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  body.nav-menu-open .nav {
    z-index: 1002;
    /* Keep solid bar while menu is open mid-page (scrollY can still read 0 on some browsers) */
    background: var(--nav-scrolled-bg) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  }

  body.nav-menu-open .nav .nav__toggle span {
    background: var(--heading);
  }

  body.nav-menu-open .nav .theme-toggle {
    color: var(--heading);
    border-color: var(--border);
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  /* Smaller nav logo — height-only sizing so the house/chair mark is not clipped */
  .nav .logo {
    min-width: 0;
    max-width: 48%;
  }
  .nav .logo__img,
  .nav:not(.is-scrolled) .logo__img,
  .nav.is-scrolled .logo__img,
  .nav:has(.nav__links.is-open) .logo__img {
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
    max-width: min(42vw, 120px) !important;
  }

}

@media (max-width: 768px) {
  /* Keep section titles clear of the fixed nav when scrolling */
  .section {
    padding-top: clamp(3.5rem, 10vw, 5rem);
    scroll-margin-top: calc(var(--nav-h) + 1.5rem);
  }

  .section-label,
  .section h2,
  .why__lead h2,
  .faq__header h2,
  .process__header h2,
  .services__header h2,
  .gallery__header h2 {
    scroll-margin-top: calc(var(--nav-h) + 1.25rem);
  }

  .hero {
    min-height: 100svh;
    align-items: flex-start;
    overflow-x: clip;
  }

  /* Mobile: slow horizontal pan of hero photo (Ken Burns style) */
  .hero__media {
    overflow: hidden;
  }

  .hero__media .hero__bg {
    width: 125%;
    max-width: none;
    height: 100%;
    left: 0;
    right: auto;
    object-fit: cover;
    object-position: center center;
    will-change: transform;
    animation: heroPanX 28s ease-in-out infinite alternate;
  }

  @keyframes heroPanX {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-18%, 0, 0); }
  }

  .hero__content {
    padding-top: calc(var(--nav-h) + 1rem);
    padding-bottom: 2rem;
    padding-inline: 1rem;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .hero__logo .logo__img {
    max-height: min(28vw, 120px) !important;
    max-width: min(42vw, 140px) !important;
    height: auto !important;
    width: auto !important;
  }

  .reviews,
  .live-gallery {
    max-width: 100%;
    overflow: hidden;
  }

  .reviews-carousel,
  .live-gallery-carousel {
    margin-inline: -0.25rem;
    max-width: 100vw;
  }

  .contact__map {
    min-height: 220px;
    aspect-ratio: 4 / 3;
  }

  .contact__inner {
    max-width: 100%;
    box-sizing: border-box;
  }

  .process__steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .process__steps::before { display: none; }
  .contact__grid { grid-template-columns: 1fr; }
  /* Featured work: single-slide carousel on mobile */
  .gallery__viewport {
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--surface);
  }

  .gallery__track {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    transition: transform 0.4s var(--ease);
    will-change: transform;
    align-items: stretch;
  }

  .gallery__item,
  .gallery__item:nth-child(n) {
    flex: 0 0 100%;
    width: 100%;
    grid-column: auto;
    grid-row: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }

  .gallery__item:hover {
    transform: none;
    box-shadow: none;
  }

  .gallery__item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    max-height: none;
    object-fit: cover;
    object-position: center;
    background: var(--bg-alt);
  }

  .gallery__item--motion .gallery__motion {
    aspect-ratio: 4 / 3;
    width: 100%;
  }

  .gallery__item--motion .gallery__motion-frame {
    aspect-ratio: auto;
    height: 100%;
  }

  /* Caption lives in the bar below on mobile */
  .gallery__item figcaption {
    display: none;
  }

  .gallery__bar {
    display: flex;
  }

  .gallery__dots {
    display: flex;
  }
  .about__stats { flex-wrap: wrap; gap: 1.5rem; }
}

@media (max-width: 520px) {
  .services__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__col--hours { max-width: none; min-width: 0; }
  .contact__actions { flex-direction: column; }
  .contact__actions .btn { width: 100%; }
}

/* Dual theme logos — use !important so earlier .logo__img { display:block } cannot force both visible */
.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo__img--light { display: block !important; }
.logo__img--dark { display: none !important; }
[data-theme="dark"] .logo__img--light { display: none !important; }
[data-theme="dark"] .logo__img--dark { display: block !important; }
/* Footer bar is always dark — always show white chair mark */
.logo--footer .logo__img--light { display: none !important; }
.logo--footer .logo__img--dark { display: block !important; }
.logo__img {
  height: auto;
  width: auto;
  max-height: 52px;
  max-width: 120px;
  object-fit: contain;
  filter: none !important;
}
.hero__logo .logo__img {
  max-height: clamp(100px, 26vw, 180px);
  max-width: min(60vw, 200px);
}
.logo--footer .logo__img {
  max-height: 96px;
  max-width: 140px;
  filter: none !important;
}

/* Dual hero backgrounds */
.hero__media { position: absolute; inset: 0; }
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--theme-duration) var(--ease);
}
.hero__bg--light { opacity: 1; z-index: 0; }
.hero__bg--dark { opacity: 0; z-index: 0; }
[data-theme="dark"] .hero__bg--light { opacity: 0; }
[data-theme="dark"] .hero__bg--dark { opacity: 1; }

/* Theme transitions on key surfaces */
body,
.nav,
.btn,
.section,
.admin-card {
  transition:
    background-color var(--theme-duration) var(--ease),
    color var(--theme-duration) var(--ease),
    border-color var(--theme-duration) var(--ease),
    box-shadow var(--theme-duration) var(--ease);
}

/* Reviews infinite carousel (JS-driven transform; no sticky CSS :hover pause) */
.reviews-carousel {
  overflow: hidden;
  margin-top: 1.25rem;
  touch-action: pan-y;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  cursor: grab;
  /* Prevent text highlight / selection while dragging or long-pressing */
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.reviews-carousel.is-paused {
  cursor: grabbing;
}
.reviews-carousel__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-user-select: none;
  user-select: none;
}
.reviews-carousel .review-card {
  position: relative;
  flex: 0 0 min(320px, 78vw);
  max-width: 340px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  min-height: 11.5rem;
  -webkit-user-select: none;
  user-select: none;
  transition:
    box-shadow 0.3s var(--ease),
    background 0.35s var(--ease),
    max-width 0.25s var(--ease),
    flex-basis 0.25s var(--ease);
}
.reviews-carousel .review-card * {
  -webkit-user-select: none;
  user-select: none;
}

/* Truncated quote + expandable long reviews */
.reviews-carousel .review-card__quote {
  flex: 1 1 auto;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
  font-size: 0.95rem;
  line-height: 1.65;
}

.reviews-carousel .review-card__more {
  display: none;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  align-self: flex-start;
}

.reviews-carousel .review-card.is-truncatable {
  cursor: pointer;
}

.reviews-carousel .review-card.is-truncatable .review-card__more {
  display: inline-block;
}

.reviews-carousel .review-card.is-truncatable:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Full review overlay — cards never expand in the marquee (stable layout) */
.review-sheet {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.review-sheet[hidden] {
  display: none !important;
}

.review-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 16, 14, 0.55);
  border: 0;
  cursor: pointer;
}

.review-sheet__panel {
  position: relative;
  z-index: 1;
  width: min(36rem, 100%);
  max-height: min(80vh, 640px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-hover);
  padding: 1.35rem 1.4rem 1.5rem;
  box-sizing: border-box;
}

.review-sheet__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--heading);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.review-sheet__close:hover,
.review-sheet__close:focus-visible {
  background: var(--bg-alt);
  outline: none;
}

.review-sheet__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding-right: 2rem;
  margin-bottom: 1rem;
}

.review-sheet__author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.review-sheet__avatar {
  min-width: 40px;
  height: 40px;
  padding: 0 0.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--avatar-bg);
  color: var(--heading);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  box-sizing: border-box;
}

.review-sheet__name {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--heading);
  line-height: 1.3;
}

.review-sheet__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.review-sheet__quote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  white-space: pre-wrap;
}

@media (max-width: 768px) {
  .review-sheet {
    align-items: flex-end;
    padding: 0;
  }

  .review-sheet__panel {
    width: 100%;
    max-height: min(82vh, 720px);
    border-radius: 14px 14px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    padding: 1.15rem 1.15rem 1.5rem;
    padding-bottom: calc(1.35rem + env(safe-area-inset-bottom, 0px));
  }

  .review-sheet__panel::before {
    content: "";
    display: block;
    width: 2.5rem;
    height: 4px;
    border-radius: 999px;
    background: var(--border);
    margin: 0 auto 0.85rem;
  }
}
.reviews__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

/* “View on Google” — high contrast on desktop + mobile, both themes */
.reviews__link {
  display: inline-block;
  flex-shrink: 0;
  align-self: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1c1917;
  text-decoration: underline;
  text-decoration-color: #c4a574;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  padding: 0.35rem 0.15rem;
  margin: 0;
  background: transparent;
  border: 0;
  line-height: 1.4;
  transition: color 0.25s var(--ease), text-decoration-color 0.25s var(--ease);
}

.reviews__link:hover,
.reviews__link:focus-visible {
  color: #8a6a3a;
  text-decoration-color: #8a6a3a;
  outline: none;
}

[data-theme="dark"] .reviews__link {
  color: #e0cba8;
  text-decoration-color: #d4bc94;
}

[data-theme="dark"] .reviews__link:hover,
[data-theme="dark"] .reviews__link:focus-visible {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

/* Location: mobile menu only */
.nav__location {
  display: none;
}

/* Backdrop only used on mobile; hide on desktop */
.nav__backdrop {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .reviews-carousel__track {
    flex-wrap: wrap;
    width: 100% !important;
    max-width: 100%;
    transform: none !important;
  }
  .reviews-carousel {
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
    cursor: default;
  }

  .hero__media .hero__bg {
    animation: none !important;
    width: 100% !important;
    transform: none !important;
  }
}

/* Contact map */
.contact__map-wrap {
  margin: 2rem 0 1.5rem;
}
.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(250, 248, 245, 0.18);
  box-shadow: var(--shadow);
  background: #1a1714;
  aspect-ratio: 16 / 10;
  min-height: 240px;
}
.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}
.contact__map-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(250, 248, 245, 0.82);
}
.contact__map-note a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Soft gold accents on key CTAs in dark mode */
[data-theme="dark"] .nav__cta,
[data-theme="dark"] .nav.is-scrolled .nav__cta {
  background: var(--gold);
  color: #1c1917 !important;
}
[data-theme="dark"] .btn--primary {
  background: var(--gold);
  color: #1c1917;
}
[data-theme="dark"] .btn--primary:hover {
  background: var(--gold-soft);
  color: #1c1917;
}
.section-label {
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
