/* Design system — shower valve / fixture-first */
:root {
  --bg: #f7f5f2;
  --bg-deep: #1c1b1a;
  --surface: #ffffff;
  --ink: #1a1918;
  --ink-muted: #5c5854;
  --metal: #8a8e93;
  --chrome: #c5c9ce;
  --accent: #3d5a5b;
  --accent-hover: #2f4748;
  --warm: #e8e2d9;
  --line: rgba(26, 25, 24, 0.12);
  --radius-sm: 4px;
  --radius: 8px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --max: 1280px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }

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

/* Typography */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }
.lead { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem); color: var(--ink-muted); max-width: 38ch; }
.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), color 0.2s;
  text-decoration: none;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.02em;
  max-width: 14ch;
  line-height: 1.2;
}
.logo span { display: block; font-size: 0.7rem; font-family: var(--font-body); font-weight: 500; color: var(--ink-muted); letter-spacing: 0.04em; }
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-muted);
}
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--ink); }
.header-phone {
  display: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ink);
}
.header-phone:hover { color: var(--accent); }
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: 0.75rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0;
}
.nav-mobile .btn { margin-top: 0.5rem; justify-content: center; }

@media (min-width: 900px) {
  .nav-desktop, .header-phone { display: flex; }
  .menu-toggle { display: none; }
  .logo { max-width: none; }
}

/* Hero — asymmetric composition */
.hero {
  position: relative;
  padding: var(--space-5) 0 var(--space-6);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: var(--space-5);
  align-items: end;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-6);
    min-height: min(78vh, 720px);
  }
}
.hero-copy {
  padding-bottom: var(--space-3);
}
.hero-copy .label { margin-bottom: var(--space-3); }
.hero-copy h1 { margin-bottom: var(--space-3); }
.hero-copy .lead { margin-bottom: var(--space-4); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: var(--space-4);
}
.hero-meta {
  font-size: 0.875rem;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-visual {
  position: relative;
  min-height: 320px;
}
.hero-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--warm);
}
.hero-img-secondary {
  position: absolute;
  width: 48%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 4px solid var(--bg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  bottom: -8%;
  left: -4%;
  z-index: 2;
}
@media (max-width: 899px) {
  .hero-img-secondary {
    width: 42%;
    bottom: 8%;
    left: 4%;
  }
}
@media (min-width: 900px) {
  .hero-img-main { aspect-ratio: 3/4; max-height: 620px; }
  .hero-img-secondary {
    width: 42%;
    bottom: 12%;
    left: -12%;
  }
}

/* Editorial band */
.band {
  padding: var(--space-6) 0;
}
.band-deep {
  background: var(--bg-deep);
  color: #f0eeea;
}
.band-deep .lead, .band-deep .ink-muted { color: rgba(240,238,234,0.72); }
.band-warm { background: var(--warm); }

.split {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 800px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .split.reverse .split-visual { order: 2; }
  .split.reverse .split-text { order: 1; }
}

/* Process */
.process {
  display: grid;
  gap: 0;
}
.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent);
  line-height: 1;
  min-width: 2ch;
}
.process-step h3 { margin-bottom: 0.35em; }
.process-step p { margin: 0; color: var(--ink-muted); max-width: 48ch; }

@media (min-width: 900px) {
  .process {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .process-step {
    grid-template-columns: 1fr;
    padding: 0 1.25rem 0 0;
    border-top: none;
    border-right: 1px solid var(--line);
  }
  .process-step:last-child { border-right: none; border-bottom: none; }
  .process-step:first-child { padding-left: 0; }
}

/* Service list */
.services-editorial {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 700px) {
  .services-editorial {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-5);
  }
}
.service-block {
  padding: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.service-block.featured {
  background: var(--bg-deep);
  color: #f0eeea;
  border-color: transparent;
}
.service-block.featured p { color: rgba(240,238,234,0.75); }
.service-block h3 { margin-bottom: 0.4em; }
.service-block p { margin: 0 0 1rem; color: var(--ink-muted); }
.service-block a { font-weight: 600; font-size: 0.9rem; }

/* Area strip */
.area-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.area-strip span {
  position: relative;
  padding-right: 1.25rem;
}
.area-strip span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--metal);
  transform: translateY(-50%);
}

/* Contact close */
.contact-close {
  display: grid;
  gap: var(--space-4);
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}
.contact-close .phone-xl {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.contact-close .phone-xl:hover { color: var(--accent); }

/* Footer */
.site-footer {
  background: var(--bg-deep);
  color: rgba(240,238,234,0.85);
  padding: var(--space-6) 0 var(--space-4);
  margin-top: var(--space-6);
}
.footer-grid {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}
@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.site-footer a { color: rgba(240,238,234,0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240,238,234,0.5);
  margin-bottom: 1rem;
}
.footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-bottom {
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(240,238,234,0.45);
}

/* Utility */
.section-head { margin-bottom: var(--space-5); max-width: 40rem; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Page-specific */
.page-hero {
  padding: var(--space-5) 0 var(--space-4);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 18ch; }

/* FAQ */
.faq-list { display: grid; gap: 0; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
.faq-item p { margin: 0; color: var(--ink-muted); max-width: 60ch; }

/* Map placeholder */
.map-frame {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--warm);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

/* Mobile sticky call */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem 1rem;
  background: var(--bg-deep);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.sticky-call a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
@media (max-width: 899px) {
  .sticky-call { display: block; }
  body { padding-bottom: 4.5rem; }
}
