/* Lavish Floors — Black, Gold, Parchment & Purple */

:root {
  /* Purple family */
  --purple: #6b4f8a;
  --purple-mid: #5a3f78;
  --purple-deep: #4a3466;
  --purple-dark: #352650;
  --purple-nav: #2d1f44;

  /* Gold family */
  --gold: #d4b44e;
  --gold-mid: #c9a632;
  --gold-soft: #e8d9a0;

  /* Black family */
  --ink: #111111;
  --ink-soft: #2a2a2a;

  /* Parchment family */
  --surface: #faf5ed;
  --page: #f2ece0;
  --parchment-deep: #e8dfd0;

  --text: #111111;
  --muted: #555048;
  --line: #ddd5c6;

  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 16px 40px rgba(17, 17, 17, 0.1);
  --shadow-soft: 0 8px 24px rgba(17, 17, 17, 0.06);
  --font-sans: "Inter", system-ui, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --header-edge-pad: clamp(0.75rem, 3.5vw, 2.75rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.25rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--page);
  line-height: 1.65;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

/* Sticky footer: main grows so the copyright bar sits at the bottom on short pages */
main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 1.75rem));
  max-width: 100%;
  margin: 0 auto;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

/* —— Top strip (address) —— */
.top-strip {
  background: var(--ink);
  color: #f0ece4;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(212, 180, 78, 0.25);
}

.top-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0.45rem var(--header-edge-pad);
  padding-left: max(var(--header-edge-pad), env(safe-area-inset-left, 0px));
  padding-right: max(var(--header-edge-pad), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.address-chip,
.top-strip-phone-chip {
  margin: 0;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  line-height: 1.35;
  white-space: nowrap;
}

a.address-chip,
a.top-strip-phone-chip {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.address-chip {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
}

a.address-chip:hover {
  background: #fff;
}

.address-chip::selection,
.top-strip-phone-chip::selection {
  background: rgba(53, 38, 80, 0.28);
  color: inherit;
}

.top-strip-phone-chip {
  padding: 0.35rem 0.9rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 10px rgba(201, 166, 50, 0.4);
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink);
  border-bottom: 2px solid var(--gold-mid);
  box-shadow: 0 6px 24px rgba(17, 17, 17, 0.35);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  row-gap: 0.65rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0.65rem var(--header-edge-pad);
  padding-left: max(var(--header-edge-pad), env(safe-area-inset-left, 0px));
  padding-right: max(var(--header-edge-pad), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

/* Brand: serif wordmark + black pill tagline (poster style) */
.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
  max-width: min(100%, 22rem);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
  max-width: 100%;
}

.brand-serif {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.2vw + 0.5rem, 1.55rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #faf8ff;
  line-height: 1.05;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  overflow-wrap: anywhere;
  word-wrap: break-word;
  hyphens: auto;
}

.brand-tagline {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: clamp(0.55rem, 1.1vw + 0.35rem, 0.62rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--surface);
  background: var(--ink);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--gold-mid);
  line-height: 1.2;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.95rem;
  justify-content: flex-end;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  font-size: clamp(0.78rem, 0.9vw + 0.42rem, 0.88rem);
}

.main-nav a:hover {
  color: var(--gold-soft);
}

.main-nav a[aria-current="page"] {
  color: var(--gold);
  font-weight: 700;
}

.nav-cta {
  flex-shrink: 0;
  white-space: nowrap;
  align-self: center;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 2px solid rgba(212, 180, 78, 0.45);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-soft);
  cursor: pointer;
  touch-action: manipulation;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold-mid);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 2px;
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.25rem;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, 0.55);
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  touch-action: manipulation;
}

@media (max-width: 900px) {
  .nav-backdrop:not([hidden]) {
    display: block;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-mid) 100%);
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 14px rgba(201, 166, 50, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #e0c86a 0%, var(--gold) 100%);
  color: var(--ink);
}

.btn-secondary {
  border-color: rgba(28, 25, 22, 0.22);
  background: var(--surface);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--ink);
  background: #fff;
}

.btn-on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.btn-on-dark:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn:focus-visible {
  outline: 2px solid var(--gold-mid);
  outline-offset: 3px;
}

/* —— Home hero —— */
.hero {
  padding: 2.5rem 0 3.5rem;
}

.hero-home {
  padding: 0;
}

.hero-stage {
  position: relative;
  min-height: clamp(32rem, 84vh, 46rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  min-height: clamp(260px, 50vh, 620px);
  width: 100%;
  border-radius: 0;
  background: var(--ink);
  border: none;
}

.hero-home .hero-media {
  position: absolute;
  inset: 0;
  min-height: 0;
  height: 100%;
}

.hero-media--slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0;
}

.hero-media--slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18, 15, 13, 0.78) 0%, rgba(18, 15, 13, 0.42) 46%, rgba(18, 15, 13, 0.12) 100%),
    linear-gradient(0deg, rgba(18, 15, 13, 0.5) 0%, transparent 48%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }

  .visit-review-slide {
    transition: none;
  }

  .work-tile:hover img {
    transform: none;
  }

  .photo-card:hover,
  .home-link-card:hover,
  .blog-cluster:hover {
    transform: none;
  }
}

.promo-ribbon {
  margin: 0;
  text-align: center;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--gold-soft);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: clamp(0.78rem, 1.6vw, 0.9rem);
  border-bottom: 1px solid rgba(232, 217, 160, 0.18);
}

.hero-home .hero-content {
  position: relative;
  z-index: 3;
  padding: 5.5rem 0 3.25rem;
  max-width: 40rem;
}

.hero-home .eyebrow {
  color: var(--gold-soft);
}

.hero-home h1 {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-home .hero-text {
  color: rgba(255, 255, 255, 0.9);
  max-width: 38rem;
}

.hero:not(.hero-home) {
  padding: 3rem 0 1rem;
}

.page-hero {
  padding: 3rem 0 1rem;
}

.page-hero h1 {
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.section-tight-top {
  padding-top: 2rem;
}

.section-outro {
  margin-top: 2rem;
  text-align: center;
  color: var(--muted);
}

.section-outro a {
  color: var(--purple-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.section-outro a:hover {
  color: var(--ink);
}

.services-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.section-services-teaser .section-intro {
  margin-bottom: 0;
}

.home-links-heading {
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.home-links-intro {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.home-links {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.home-links .container {
  background: var(--surface);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.home-links-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.home-link-card {
  display: block;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  border-radius: var(--radius);
}

.home-link-card:hover {
  border-color: var(--gold-mid);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.home-link-card h3 {
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.home-link-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.home-pillar-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.home-services-list {
  max-width: 52rem;
}

.home-offers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 800px) {
  .home-offers {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.home-offer {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.home-offer h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.home-offer .feature-list {
  margin: 0 0 1rem;
  flex: 1 1 auto;
}

.home-offer-link {
  display: inline-block;
  margin-top: auto;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--purple-dark);
}

.home-offer:hover .home-offer-link {
  color: var(--ink);
}

.home-guides {
  margin-top: 0.25rem;
}

.home-about-link {
  margin-top: 1rem;
  margin-bottom: 0;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  color: var(--purple);
  font-weight: 600;
  margin: 0 0 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-family: var(--font-sans);
  font-weight: 600;
}

h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  margin-bottom: 1rem;
  line-height: 1.15;
  color: var(--ink);
}

h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.hero-text,
.section-intro {
  color: var(--muted);
  max-width: 65ch;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--parchment-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.grid {
  display: grid;
  gap: 1rem;
}

.services-section-group {
  margin-bottom: 2.75rem;
}

.services-section-group:last-child {
  margin-bottom: 0;
}

.services-section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* —— Blog index: clusters, search, results —— */
.blog-clusters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
}

@media (min-width: 620px) {
  .blog-clusters {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .blog-clusters {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-cluster {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.15rem 1.2rem 1.2rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.blog-cluster:hover {
  border-color: var(--gold-mid);
  transform: translateY(-2px);
}

.blog-cluster.is-active {
  border-color: var(--gold-mid);
  box-shadow: 0 0 0 2px rgba(212, 180, 78, 0.35);
}

.blog-cluster-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--purple-deep);
}

.blog-cluster h2,
.home-offer h3,
.home-link-card h3,
.blog-card h3,
.photo-card h3 {
  font-family: var(--font-sans);
  letter-spacing: 0;
  font-weight: 600;
}

.blog-cluster h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.blog-cluster p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.blog-find {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.35rem 1.35rem 1.15rem;
  margin-bottom: 2rem;
}

.blog-find-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  color: var(--ink);
}

.blog-find-intro {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 58ch;
}

.blog-search-label {
  display: block;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.blog-search-row {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: stretch;
}

.blog-search-row input[type="search"] {
  flex: 1 1 220px;
  min-width: 0;
}

.blog-search-clear {
  flex: 0 0 auto;
  align-self: stretch;
}

.blog-search-clear[hidden] {
  display: none !important;
}

.blog-category-filters {
  margin-top: 0.9rem;
}

.blog-search-status {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 1.4em;
}

.blog-group-count {
  font-weight: 600;
  color: var(--purple-deep);
  font-size: 0.85em;
}

.blog-card-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 11.5rem;
  overflow: hidden;
}

.blog-card-media {
  margin: -1.25rem -1.3rem 1rem;
  aspect-ratio: 16 / 10;
  background: var(--parchment-deep);
}

.blog-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blog-card-category {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple-deep);
}

.blog-card h3 {
  margin-bottom: 0.4rem;
}

.blog-card > p {
  flex: 1 1 auto;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.blog-card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(201, 189, 216, 0.35);
  border: 1px solid rgba(53, 38, 80, 0.12);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.blog-card-cta {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--purple-dark);
}

.blog-card:hover .blog-card-cta {
  color: var(--ink);
}

.blog-empty {
  background: rgba(255, 255, 255, 0.65);
  border: 1px dashed rgba(53, 38, 80, 0.28);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: var(--muted);
}

.blog-empty p {
  margin: 0;
}

.blog-featured {
  margin-bottom: 2.5rem;
}

.blog-group-lead {
  margin: -0.35rem 0 1rem;
  color: var(--muted);
  max-width: 62ch;
}

.blog-card-featured-label {
  display: inline-block;
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-mid) 100%);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}

.blog-post {
  padding: 2.5rem 0 4rem;
}

.blog-post-inner h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.blog-post-inner ol {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
}

.blog-post-inner ol li + li {
  margin-top: 0.35rem;
}

.blog-compare {
  overflow-x: auto;
  margin: 0 0 1.25rem;
}

.blog-post-inner table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.blog-post-inner th,
.blog-post-inner td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(53, 38, 80, 0.18);
  color: var(--ink-soft);
}

.blog-post-inner th {
  background: rgba(201, 189, 216, 0.35);
  color: var(--ink);
  font-weight: 700;
}

.blog-faq {
  margin-top: 2.25rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}

.blog-related {
  margin-top: 2rem;
  padding: 1.15rem 1.2rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.blog-related h2 {
  margin-top: 0;
}

.blog-related ul {
  margin: 0;
  padding-left: 1.15rem;
}

.blog-related li + li {
  margin-top: 0.35rem;
}

.blog-post-inner {
  max-width: 65ch;
}

.blog-post-meta {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-post-inner p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.blog-post-inner h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}

.blog-post-inner li {
  color: var(--ink-soft);
}

/* Inline links need explicit styling because the global rule strips it */
.blog-post-inner p:not(.blog-post-back) a,
.blog-post-inner li a {
  color: var(--purple-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.blog-post-inner p:not(.blog-post-back) a:hover,
.blog-post-inner li a:hover {
  color: var(--ink);
}

.blog-post-back {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.eyebrow a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.services-grid,
.projects-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.products-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.products-toolbar {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.products-search-wrap {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.products-search-wrap input {
  max-width: 560px;
}

.products-type-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  border: 1px solid rgba(53, 38, 80, 0.25);
  background: #fff;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--gold-mid);
}

.filter-btn.is-active {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-mid) 100%);
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.12);
}

.product-group {
  margin-bottom: 2rem;
}

.product-group-title {
  margin: 0 0 0.25rem;
}

.product-group-count {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-group-empty {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-style: italic;
}

.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow-soft);
}

.product-card h2,
.product-card-title {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

/* Detail page link: title, brand line, description, spec list — not the preview image. */
.product-card-hit-area {
  display: block;
  margin: 0 -0.35rem;
  padding: 0.5rem 0.5rem 0.65rem;
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.product-card-hit-area:hover {
  background: rgba(107, 79, 138, 0.1);
  box-shadow: 0 0 0 1px rgba(212, 180, 78, 0.35);
}

.product-card-hit-area:focus-visible {
  outline: 2px solid var(--gold-mid);
  outline-offset: 3px;
}

.product-card-hit-area .product-card-title {
  color: var(--ink-soft);
  text-decoration: none;
}

.product-card-hit-area:hover .product-card-title {
  color: var(--purple-dark);
}

.product-card-hit-area .product-meta {
  color: var(--muted);
}

.product-card-hit-area .product-description {
  color: var(--ink-soft);
}

.product-image {
  min-height: 150px;
  border-radius: 12px;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0.75rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.product-image span:not(.product-carousel-counter) {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.82rem;
}

.product-image--has-carousel > span:not(.product-carousel-counter) {
  z-index: 4;
}

.product-image-carousel {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  overflow: hidden;
}

.product-image--has-carousel .product-image-file {
  cursor: pointer;
}

.product-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.1rem;
  height: 3rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.55);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.product-carousel-btn:hover {
  background: rgba(17, 17, 17, 0.75);
}

.product-carousel-btn:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 2px;
}

.product-carousel-btn--prev {
  left: 0.35rem;
}

.product-carousel-btn--next {
  right: 0.35rem;
}

.product-image-carousel--single .product-carousel-btn {
  display: none;
}

.product-carousel-counter {
  position: absolute;
  bottom: 0.45rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: #f0ece4;
  text-shadow: none;
  letter-spacing: 0.02em;
}

.product-image-file {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image--fallback .product-image-file {
  display: none;
}

.product-image--tile {
  background: linear-gradient(145deg, #8ca0bd 0%, #5f789d 100%);
}

.product-image--laminate {
  background: linear-gradient(145deg, #af8d6b 0%, #8c6a4a 100%);
}

.product-image--vinyl {
  background: linear-gradient(145deg, #819287 0%, #5e7066 100%);
}

.product-image--general {
  background: linear-gradient(145deg, #8674a2 0%, #5f4e7b 100%);
}

.product-meta {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-description {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.product-spec-list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem;
}

.product-spec-list dt {
  margin-top: 0.45rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.product-spec-list dd {
  margin: 0;
  color: var(--muted);
}

/* Product detail — color thumbnails, main image, dropdown */
.product-detail-color-picker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(200px, 280px);
  gap: 1rem 1.25rem;
  align-items: start;
  padding: 1.35rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.product-detail-color-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  padding: 0.15rem;
  margin: 0;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}

.product-detail-color-thumb {
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  padding: 0;
  border: 2px solid rgba(53, 38, 80, 0.2);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.product-detail-color-thumb:hover {
  border-color: var(--gold-mid);
}

.product-detail-color-thumb:focus-visible {
  outline: 2px solid var(--gold-mid);
  outline-offset: 2px;
}

.product-detail-color-thumb.is-active {
  border-color: var(--gold-mid);
  box-shadow: 0 0 0 2px rgba(212, 180, 78, 0.45);
}

.product-detail-color-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-color-picker-visual {
  min-width: 0;
}

.product-detail-color-picker-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f8f6fc 0%, #ebe4f5 100%);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-color-picker-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail-color-picker-controls {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.25rem;
}

.product-detail-color-picker-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.product-detail-color-select {
  width: 100%;
  max-width: 100%;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  padding: 0.65rem 2.25rem 0.65rem 0.85rem;
  border: 2px solid rgba(53, 38, 80, 0.28);
  border-radius: 12px;
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234a3d5c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 14px;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.product-detail-color-select:hover {
  border-color: var(--gold-mid);
}

.product-detail-color-select:focus {
  outline: none;
  border-color: var(--gold-mid);
  box-shadow: 0 0 0 3px rgba(212, 180, 78, 0.35);
}

@media (max-width: 768px) {
  .product-detail-color-picker {
    grid-template-columns: 1fr;
  }

  .product-detail-color-picker-visual {
    order: 1;
  }

  .product-detail-color-thumbs {
    order: 2;
    flex-direction: row;
    flex-wrap: nowrap;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.5rem;
    padding-bottom: 0.25rem;
  }

  .product-detail-color-picker-controls {
    order: 3;
  }
}

@media (min-width: 769px) {
  .product-detail-color-picker-controls {
    padding-top: 1.5rem;
  }
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
  align-items: center;
}

.feature-list {
  margin: 0;
  padding-left: 1.2rem;
}

.feature-list li {
  margin: 0.45rem 0;
}

.placeholder-image,
.project-tile {
  min-height: 220px;
  border-radius: var(--radius);
  border: 2px dashed rgba(107, 79, 138, 0.55);
  display: grid;
  place-items: center;
  color: var(--purple-dark);
  background: linear-gradient(145deg, #f5f2fa 0%, #ebe4f5 100%);
  font-weight: 600;
}

.quote {
  margin: 0;
}

.quote cite {
  display: block;
  margin-top: 0.8rem;
  color: var(--muted);
  font-style: normal;
}

.contact-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.contact-details h2,
.contact-form h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

.contact-details-lead,
.contact-form-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-optional {
  font-weight: 400;
  color: var(--muted);
}

.contact-details p {
  margin: 0 0 0.7rem;
}

.contact-tip {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-form {
  display: grid;
  gap: 0.55rem;
}

.form-alert {
  margin: 0 0 0.35rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.form-alert--success {
  background: rgba(46, 125, 80, 0.12);
  border: 1px solid rgba(46, 125, 80, 0.35);
  color: #1b4d2e;
}

.form-alert--error {
  background: rgba(183, 28, 28, 0.08);
  border: 1px solid rgba(183, 28, 28, 0.35);
  color: #6d1b1b;
}

.contact-recaptcha-label {
  margin: 0.5rem 0 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-recaptcha {
  margin: 0.35rem 0 0.15rem;
  min-height: 78px;
}

.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  border: 1px solid rgba(53, 38, 80, 0.25);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: #fff;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(212, 180, 78, 0.55);
  border-color: var(--gold-mid);
}

.visit-section {
  padding: 3.25rem 0 3rem;
  background: var(--ink);
  border-top: 3px solid var(--gold-mid);
}

.visit-section .eyebrow {
  color: var(--gold-soft);
}

.visit-heading {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  color: #fff;
}

.visit-section .section-intro,
.visit-intro {
  max-width: 42rem;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.78);
}

.visit-section .visit-grid .card {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.25rem;
  align-items: start;
}

.visit-map h3,
.visit-reviews-panel h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--ink);
}

.visit-reviews-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 180, 78, 0.28);
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.08);
}

.visit-reviews-header {
  padding: 1.35rem 1.35rem 1.1rem;
  text-align: center;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(247, 242, 252, 0.98) 55%,
    rgba(239, 233, 244, 0.95) 100%
  );
  border-bottom: 1px solid rgba(53, 38, 80, 0.08);
}

.visit-reviews-stars {
  margin-bottom: 0.45rem;
}

.visit-reviews-stars .visit-stars {
  font-size: 1.15rem;
}

.visit-reviews-tagline {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.visit-reviews-panel .visit-rating-summary {
  margin: 0;
  padding: 0.85rem 1.35rem;
  justify-content: center;
  background: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(53, 38, 80, 0.06);
}

.visit-reviews-panel .visit-review-list {
  padding: 1.1rem 1.35rem;
  flex: 1;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}

.visit-review-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  pointer-events: none;
}

.visit-review-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.visit-reviews-placeholder {
  text-align: center;
  padding: 0.65rem 0.5rem 0.25rem;
}

.visit-reviews-placeholder-lead {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.visit-reviews-placeholder p:last-child {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 22rem;
  margin-inline: auto;
}

.visit-reviews-panel .visit-review {
  border: 1px solid rgba(53, 38, 80, 0.1);
  background: #fff;
  padding: 1rem 1.05rem;
  box-shadow: none;
}

.visit-reviews-panel .visit-review-text {
  font-style: italic;
}

.visit-review-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: auto;
  padding: 1rem 1.35rem 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.85) 100%);
  border-top: 1px solid rgba(212, 180, 78, 0.22);
}

.visit-review-cta .btn {
  width: 100%;
  min-height: 2.75rem;
  font-size: 0.86rem;
  padding: 0.65rem 0.85rem;
}

.visit-cta-view {
  background: #fff;
}

.visit-address,
.visit-phone {
  margin: 0 0 0.45rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.visit-map-embed {
  margin: 0.85rem 0 0.65rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(53, 38, 80, 0.15);
  background: var(--parchment-deep);
}

.visit-map-embed iframe {
  display: block;
  width: 100%;
  height: min(320px, 52vw);
  min-height: 240px;
  border: 0;
}

.visit-map-actions {
  margin: 0;
  font-size: 0.9rem;
}

.visit-map-actions a {
  color: var(--purple-deep);
  font-weight: 600;
}

.visit-map-actions a:hover {
  color: var(--gold-mid);
}

.visit-rating-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.85rem;
}

.visit-rating-number {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}

.visit-rating-count {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.visit-stars {
  display: inline-flex;
  letter-spacing: 0.08em;
  font-size: 1rem;
  line-height: 1;
}

.visit-stars-full {
  color: var(--gold-mid);
}

.visit-stars-empty {
  color: rgba(53, 38, 80, 0.22);
}

.visit-review-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.visit-review-text {
  margin: 0.55rem 0 0.45rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}

.visit-review-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

body.review-modal-open {
  overflow: hidden;
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.review-modal[hidden] {
  display: none;
}

.review-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 11, 16, 0.62);
}

.review-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 32rem);
  max-height: min(92vh, 52rem);
  overflow: auto;
  margin: 0;
  padding: 1.35rem 1.35rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(212, 180, 78, 0.35);
  background: #fff;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.review-modal-panel--feedback {
  width: min(100%, 42rem);
  max-height: min(96vh, 58rem);
  padding: 1.25rem 1.5rem 1.35rem;
}

.review-modal-panel h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--ink);
}

.review-modal-panel > p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: 0.95rem;
}

.review-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}

.review-modal-close:hover {
  color: var(--ink);
}

.review-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.review-gate-actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.review-feedback-form {
  display: grid;
  gap: 0.4rem;
}

.review-feedback-form textarea {
  min-height: 3.25rem;
  resize: vertical;
}

.review-feedback-form label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.review-feedback-form .form-alert {
  margin-bottom: 0.25rem;
}

.review-feedback-form .contact-recaptcha {
  margin: 0.25rem 0;
}

/* —— Homepage showroom blocks —— */
.photo-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 800px) {
  .photo-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .photo-card-grid--services {
    grid-template-columns: repeat(4, 1fr);
  }
}

.photo-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.photo-card-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--parchment-deep);
}

.photo-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photo-card-body {
  padding: 1.15rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.photo-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  color: var(--ink);
}

.photo-card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1 1 auto;
}

.photo-card-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--purple);
}

.photo-card:hover .photo-card-link {
  color: var(--ink);
}

.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 800px) {
  .pillar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.pillar-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .work-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
  }

  .work-tile--wide {
    grid-column: span 2;
  }
}

.work-tile {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--parchment-deep);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.05);
  transition: box-shadow 0.3s ease;
}

.work-tile--wide {
  /* Matches the height of a single-column 4:3 tile at 2x the width,
     so wide and normal tiles land on the same row height with no gap. */
  aspect-ratio: 8 / 3;
}

.work-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0) 55%, rgba(17, 17, 17, 0.45) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-tile::before {
  content: "";
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background-color: rgba(17, 17, 17, 0.55);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8d9a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M9 21H3v-6'/%3E%3Cpath d='M21 3l-7 7'/%3E%3Cpath d='M3 21l7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.05rem;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1;
}

.work-tile:hover,
.work-tile:focus-visible {
  box-shadow: var(--shadow);
}

.work-tile:hover img,
.work-tile:focus-visible img {
  transform: scale(1.04);
}

.work-tile:hover::after,
.work-tile:focus-visible::after,
.work-tile:hover::before,
.work-tile:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.work-tile:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.work-tile figcaption {
  display: none;
}

.work-tile img.work-tile-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2.4s ease-in-out, transform 0.6s ease;
}

.work-tile img.work-tile-slide.is-active {
  opacity: 1;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .work-tile img,
  .work-tile::after,
  .work-tile::before,
  .work-tile-slide {
    transition: none;
  }
}

/* Gallery lightbox */
body.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 11, 16, 0.86);
}

.gallery-lightbox-figure {
  position: relative;
  z-index: 1;
  width: min(94vw, 78rem);
  max-height: min(90vh, 56rem);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: min(90vh, 56rem);
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--ink);
}

.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232, 217, 160, 0.35);
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.55);
  color: var(--gold-soft);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
  background: rgba(17, 17, 17, 0.8);
  border-color: var(--gold);
}

.gallery-lightbox-close {
  top: -3rem;
  right: 0;
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.4rem;
  line-height: 1;
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
  top: 50%;
  width: 2.75rem;
  height: 2.75rem;
  transform: translateY(-50%);
}

.gallery-lightbox-prev {
  left: -1rem;
}

.gallery-lightbox-next {
  right: -1rem;
}

.gallery-lightbox-prev svg,
.gallery-lightbox-next svg,
.gallery-lightbox-close svg {
  width: 1.15rem;
  height: 1.15rem;
}

.gallery-lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: -2.4rem;
  transform: translateX(-50%);
  color: var(--gold-soft);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  z-index: 2;
}

@media (max-width: 700px) {
  .gallery-lightbox-figure {
    width: min(94vw, 78rem);
  }

  .gallery-lightbox-close {
    top: -2.75rem;
    right: 0.25rem;
    width: 2.15rem;
    height: 2.15rem;
  }

  .gallery-lightbox-prev,
  .gallery-lightbox-next {
    width: 2.35rem;
    height: 2.35rem;
  }

  .gallery-lightbox-prev {
    left: 0.25rem;
  }

  .gallery-lightbox-next {
    right: 0.25rem;
  }

  .gallery-lightbox-counter {
    bottom: -2.15rem;
  }
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 800px) {
  .quote-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.quote-card {
  padding: 1.5rem 1.45rem 1.4rem;
}

.quote-card-stars {
  margin: 0 0 0.75rem;
  color: var(--gold-mid);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.quote-card blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.45;
  color: var(--ink);
}

.quote-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.quote-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}

.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 18rem;
  display: flex;
  align-items: center;
}

.cta-band-media {
  position: absolute;
  inset: 0;
}

.cta-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 15, 13, 0.78) 0%, rgba(18, 15, 13, 0.4) 70%);
}

.cta-band .container {
  position: relative;
  z-index: 1;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.cta-band h2 {
  color: #fff;
  max-width: 18ch;
}

.cta-band h1 {
  color: #fff;
  max-width: 26ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.cta-band .eyebrow {
  color: var(--gold-soft);
}

.cta-band .eyebrow a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(232, 217, 160, 0.5);
}

.service-hero {
  min-height: clamp(19rem, 46vh, 28rem);
}

.service-hero .container {
  padding-top: 4.25rem;
  padding-bottom: 2.75rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 38rem;
}

.cta-band .hero-actions {
  margin-top: 1.35rem;
}

.site-footer {
  flex-shrink: 0;
  border-top: 1px solid rgba(232, 217, 160, 0.18);
  background: #1a1620;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  color: var(--gold-soft);
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 2rem;
  padding: 2.75rem 0 1.75rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  }
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #fff;
  margin: 0 0 0.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-tag {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.footer-grid p {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-grid h2 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.7rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin: 0 0 0.4rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 0 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.bbb-seal {
  margin: 1.15rem 0 0;
}

.bbb-seal a {
  display: inline-block;
  line-height: 0;
}

.bbb-seal img {
  display: block;
  border: 0;
  width: 100%;
  max-width: 18.3rem;
  height: auto;
}

.bbb-seal--footer {
  margin: 0.95rem 0 0;
}

.bbb-seal--footer img {
  max-width: 13.5rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin: 0.85rem 0 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.social-links svg {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
}

.contact-social {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.contact-social h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-social .social-links {
  margin: 0;
}

.bbb-seal-caption {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.bbb-trust-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
  margin: 1.75rem 0 0;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.bbb-trust-line .bbb-seal {
  margin: 0;
}

.bbb-trust-copy {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 36ch;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .top-strip-phone-chip {
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
  }

  .nav-cta {
    padding: 0.62rem 0.95rem;
    font-size: 0.82rem;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    left: auto;
    width: min(20rem, 88vw);
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(5rem + env(safe-area-inset-top, 0)) 1.25rem 1.5rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0));
    margin: 0;
    background: var(--ink);
    border-left: 2px solid var(--gold-mid);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.35);
    font-size: 1.05rem;
    font-weight: 600;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s ease, visibility 0.25s ease;
  }

  body.nav-open .main-nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(212, 180, 78, 0.2);
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .visit-grid {
    grid-template-columns: 1fr;
  }

  .visit-review-cta {
    grid-template-columns: 1fr;
  }

  .services-teaser {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-strip-inner {
    justify-content: space-between;
    text-align: left;
  }

  .footer-legal {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 2.75rem 0;
  }

  .home-links .container {
    padding: 1.5rem 1.1rem;
  }

  .page-hero,
  .hero:not(.hero-home) {
    padding: 2rem 0 0.75rem;
  }

  .hero-stage {
    min-height: min(34rem, 92dvh);
  }

  .hero-home .hero-content {
    padding: 4.25rem 0 2rem;
  }

  .hero-home .hero-text {
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    text-align: center;
    justify-content: center;
    min-height: 3rem;
  }

  .work-grid {
    gap: 0.55rem;
  }

  .work-tile--wide {
    grid-column: span 2;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .main-nav {
    transition: none;
  }

  .nav-toggle-bar {
    transition: none;
  }
}

@media (max-width: 480px) {
  .brand-serif {
    font-size: clamp(1rem, 4.2vw, 1.35rem);
    letter-spacing: 0.04em;
  }

  .brand-tagline {
    font-size: 0.55rem;
    padding: 0.3rem 0.6rem;
    letter-spacing: 0.08em;
  }

  .address-chip {
    font-size: 0.75rem;
    padding: 0.3rem 0.65rem;
  }

  .top-strip-phone-chip {
    font-size: 0.68rem;
    padding: 0.28rem 0.65rem;
  }

  .nav-cta {
    font-size: 0.72rem;
    padding: 0.5rem 0.7rem;
    min-height: 2.45rem;
  }
}
