/* Lavish Floors — poster-inspired theme: lavender, gold, black serif wordmark */

:root {
  --lavender: #c9bdd8;
  --lavender-mid: #b5a6c9;
  --lavender-deep: #8b7aa3;
  --lavender-dark: #4a3d5c;
  --lavender-nav: #3f354f;
  --gold: #d4b44e;
  --gold-mid: #c9a632;
  --gold-soft: #e8d9a0;
  --ink: #141414;
  --ink-soft: #2a2633;
  --surface: #ffffff;
  --text: #141414;
  --muted: #4a4456;
  --line: rgba(212, 180, 78, 0.35);
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 14px 40px rgba(39, 32, 56, 0.12);
  --shadow-soft: 0 8px 28px rgba(39, 32, 56, 0.08);
  --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;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: linear-gradient(180deg, var(--lavender) 0%, #ded4ea 45%, #e8e2f0 100%);
  line-height: 1.6;
  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(1120px, calc(100% - 1.5rem));
  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(--lavender-dark);
  color: #f5f0ff;
  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;
  cursor: text;
  user-select: text;
  -webkit-user-select: text;
  white-space: nowrap;
}

.address-chip {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
}

.address-chip::selection,
.top-strip-phone-chip::selection {
  background: rgba(74, 61, 92, 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: linear-gradient(180deg, var(--lavender-nav) 0%, #342b42 100%);
  border-bottom: 2px solid var(--gold-mid);
  box-shadow: 0 6px 24px rgba(20, 15, 30, 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);
  line-height: 1.2;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  justify-content: center;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  font-size: clamp(0.82rem, 1.1vw + 0.45rem, 0.92rem);
}

.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(10, 8, 16, 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;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  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: var(--gold-mid);
  background: var(--surface);
  color: var(--ink-soft);
}

.btn-secondary:hover {
  border-color: var(--gold);
  background: #fffef8;
}

/* —— Home hero —— */
.hero {
  padding: 2.5rem 0 3.5rem;
}

.hero-home {
  padding: 0 0 0;
}

.hero-media {
  min-height: clamp(260px, 50vh, 620px);
  width: 100%;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(20, 18, 28, 0.35) 0%, transparent 55%),
    linear-gradient(160deg, var(--lavender-deep) 0%, var(--lavender-mid) 45%, #a090b8 100%);
  border: none;
  border-bottom: 3px solid var(--gold-mid);
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.08);
}

/* Home hero: rotating kitchen photos (see index.html) */
.hero-media--slideshow {
  position: relative;
  overflow: hidden;
  background: var(--lavender-deep);
  isolation: isolate;
  border-radius: 0;
}

.hero-media--slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  /* Light touch so photography stays easy to read (heavier overlay hid detail) */
  background: linear-gradient(145deg, rgba(20, 18, 28, 0.18) 0%, transparent 68%);
}

.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;
  }
}

/* Optional: drop a photo at assets/hero.jpg — uncomment rule in hero override file or add:
   .hero-media { background-image: url('assets/hero.jpg'); background-size: cover; background-position: center; }
*/

/* Add assets/hero.jpg next to index.html, then add class "has-photo" to .hero-media */
.hero-media.has-photo {
  background-image:
    linear-gradient(145deg, rgba(20, 18, 28, 0.4) 0%, transparent 55%),
    url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
}

.promo-ribbon {
  margin: 0;
  text-align: center;
  padding: 0.85rem 1rem;
  background: linear-gradient(90deg, var(--gold-mid) 0%, var(--gold) 40%, var(--gold-mid) 100%);
  color: var(--ink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: clamp(0.72rem, 2vw, 0.88rem);
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.hero-home .hero-content {
  padding: 2.25rem 0 0;
  max-width: 760px;
}

.hero:not(.hero-home) {
  padding: 3rem 0 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
}

.page-hero {
  padding: 3rem 0 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 70%);
}

.page-hero h1 {
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.section-tight-top {
  padding-top: 2rem;
}

.section-outro {
  margin-top: 2rem;
  text-align: center;
}

.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-about-link {
  margin-top: 1rem;
  margin-bottom: 0;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  color: var(--lavender-dark);
  font-weight: 700;
  margin: 0 0 0.8rem;
  letter-spacing: 0.02em;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
  font-family: var(--font-sans);
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--ink);
}

h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.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: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(212, 180, 78, 0.2);
  border-bottom: 1px solid rgba(212, 180, 78, 0.2);
}

.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-post {
  padding: 2.5rem 0 4rem;
}

.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-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(74, 61, 92, 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.15rem;
  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(139, 122, 163, 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(--lavender-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(20, 15, 30, 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(20, 15, 30, 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: #f5f0ff;
  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(74, 61, 92, 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(74, 61, 92, 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(139, 122, 163, 0.55);
  display: grid;
  place-items: center;
  color: var(--lavender-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-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-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,
textarea {
  width: 100%;
  font: inherit;
  border: 1px solid rgba(74, 61, 92, 0.25);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(212, 180, 78, 0.55);
  border-color: var(--gold-mid);
}

.site-footer {
  flex-shrink: 0;
  border-top: 3px solid var(--gold-mid);
  background: linear-gradient(180deg, #1a1620 0%, #0d0b10 100%);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  color: var(--gold-soft);
}

.site-footer a:hover {
  color: #fff;
}

.footer-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@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: linear-gradient(180deg, var(--lavender-nav) 0%, #2a2235 100%);
    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;
  }

  .services-teaser {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-strip-inner {
    justify-content: space-between;
    text-align: left;
  }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
    min-height: unset;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    gap: 0.75rem;
  }

  .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-home .hero-content {
    padding: 1.5rem 0 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }
}

@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.75rem;
    padding: 0.55rem 0.75rem;
  }
}
