/* ==========================================================================
   Pick Your Palette - shared site stylesheet
   Palette harmonized with the established logo: four paint cans
   (pink / teal / yellow / maroon) on a dark navy ground.
   ========================================================================== */

:root {
  --plaster: #eee7da;
  --plaster-deep: #e4dbc9;
  --charcoal: #232e38; /* deep navy: text + dark surfaces */
  --navy: #1f2935; /* logo ground navy */
  --teal: #1e4b5f; /* logo teal can */
  --teal-deep: #143645;
  --gold: #feac02; /* logo yellow can */
  --gold-deep: #966300; /* darkened gold for star ratings on light backgrounds (5:1 contrast) */
  --clay: #471e19; /* logo maroon can */
  --pink: #f8cfc9; /* logo pink can */
  --fog: #d8d0c0;
  --paper: #f7f3ea;
  --white: #fffcf6;
  --shadow: 0 18px 40px -22px rgba(31, 41, 53, 0.45);
  --radius-chip: 4px 4px 18px 4px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--plaster);
  color: var(--charcoal);
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
section {
  padding: 104px 0;
}
@media (max-width: 720px) {
  section {
    padding: 68px 0;
  }
  .wrap {
    padding: 0 22px;
  }
}

:focus-visible {
  outline: 2px solid var(--teal-deep);
  outline-offset: 2px;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(238, 231, 218, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--fog);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", serif;
  font-size: 1.22rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--charcoal);
}
.brand-mark {
  height: 34px;
  width: auto;
  border-radius: 8px;
  flex: none;
  display: block;
}
@media (max-width: 480px) {
  .brand {
    font-size: 1.05rem;
  }
  .brand-mark {
    height: 26px;
    border-radius: 6px;
  }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.94rem;
}
.nav-links a {
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 0.2s;
}
.nav-links a:hover {
  opacity: 1;
}
.nav-links a[aria-current="page"] {
  opacity: 1;
  color: var(--teal-deep);
  font-weight: 600;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: 3px 3px 14px 3px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}
.btn-primary {
  background: var(--charcoal);
  color: var(--paper);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-ghost:hover {
  background: var(--charcoal);
  color: var(--paper);
}
.btn-line {
  background: transparent;
  color: var(--teal-deep);
  border: 1px solid var(--teal-deep);
}
.btn-line:hover {
  background: var(--teal-deep);
  color: var(--paper);
}
.phone-link {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  text-decoration: none;
  display: none;
  color: var(--charcoal);
}
@media (min-width: 861px) {
  .phone-link {
    display: inline-flex;
    align-items: center;
  }
}
.phone-link:hover {
  color: var(--teal-deep);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 34px;
  height: 34px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  display: block;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px 30px;
    gap: 20px;
    border-bottom: 1px solid var(--fog);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-toggle {
    display: flex;
  }
  .nav-cta .btn-ghost {
    display: none;
  }
}

/* ---------- hero (home) ---------- */
.hero {
  padding: 88px 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.35rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  margin: 18px 0 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--teal-deep);
}
.hero p.lede {
  font-size: 1.08rem;
  max-width: 46ch;
  color: #4a4844;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.hero-note {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: #6b6862;
  letter-spacing: 0.02em;
}

/* paint chip fan - signature element */
.chip-fan {
  position: relative;
  height: 420px;
}
.chip {
  position: absolute;
  width: 150px;
  height: 280px;
  border-radius: var(--radius-chip);
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--paper);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease;
  cursor: default;
}
.chip .code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  opacity: 0.85;
  letter-spacing: 0.06em;
}
.chip .name {
  font-family: "Fraunces", serif;
  font-size: 1.02rem;
  margin-top: 4px;
}
.chip:hover {
  transform: translateY(-14px) rotate(0deg) !important;
  box-shadow: 0 26px 46px -20px rgba(31, 41, 53, 0.55);
  z-index: 9;
}
.chip1 {
  background: var(--pink);
  color: var(--charcoal);
  left: 0;
  top: 56px;
  transform: rotate(-9deg);
  z-index: 1;
}
.chip2 {
  background: var(--teal);
  left: 88px;
  top: 20px;
  transform: rotate(-3deg);
  z-index: 2;
}
.chip3 {
  background: var(--gold);
  left: 176px;
  top: 4px;
  transform: rotate(3deg);
  z-index: 3;
}
.chip4 {
  background: var(--clay);
  left: 264px;
  top: 26px;
  transform: rotate(9deg);
  z-index: 2;
}
.chip5 {
  background: var(--navy);
  left: 340px;
  top: 70px;
  transform: rotate(15deg);
  z-index: 1;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .chip-fan {
    height: 300px;
  }
  .chip {
    width: 120px;
    height: 200px;
  }
}
@media (max-width: 560px) {
  .chip-fan {
    height: auto;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 6px 2px 18px;
  }
  .chip {
    position: static;
    transform: none !important;
    width: 118px;
    height: 170px;
    flex: none;
  }
  .chip:hover {
    transform: translateY(-6px) !important;
  }
}

/* ---------- page hero (interior pages) ---------- */
.page-hero {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--fog);
  background: var(--plaster-deep);
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin: 14px 0 16px;
}
.page-hero p {
  color: #4a4844;
  max-width: 56ch;
  font-size: 1.04rem;
  margin: 0;
}
.page-hero .crumb {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  color: #8a877f;
  margin-bottom: 8px;
  display: block;
}
.page-hero .crumb a {
  text-decoration: none;
  color: #8a877f;
}
.page-hero .crumb a:hover {
  color: var(--teal-deep);
}
.page-hero-chips {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.page-hero-chips span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 7px 12px;
  border-radius: 3px 3px 10px 3px;
  background: var(--white);
  border: 1px solid var(--fog);
  color: #4a4844;
}

/* ---------- brand band (about page logo feature) ---------- */
.brand-band {
  background: var(--navy);
  padding: 64px 0;
}
.brand-band-logo {
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.65);
}

/* ---------- badges bar ---------- */
.badges {
  border-top: 1px solid var(--fog);
  border-bottom: 1px solid var(--fog);
  background: var(--plaster-deep);
}
.badges .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  padding: 26px 32px;
  justify-content: space-between;
}
.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  color: var(--charcoal);
}
.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- about / two-col ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin: 14px 0 20px;
}
.about p {
  color: #4a4844;
  margin: 0 0 16px;
  max-width: 52ch;
}
.quote-chip {
  background: var(--charcoal);
  color: var(--paper);
  border-radius: var(--radius-chip);
  padding: 34px 30px;
  box-shadow: var(--shadow);
}
.quote-chip p {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--paper);
  max-width: none;
}
.quote-chip .code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-top: 18px;
  display: block;
}
@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* photo frame used on About + Gallery */
.photo-frame {
  border-radius: var(--radius-chip);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--fog);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure-cap {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  color: #8a877f;
  margin-top: 10px;
}

/* ---------- section head ---------- */
.services {
  background: var(--paper);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-top: 10px;
}
.section-head p {
  color: #4a4844;
  max-width: 42ch;
  margin: 0;
}

/* ---------- services grid ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: var(--radius-chip);
  padding: 28px 26px 30px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card .swatch {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  margin-bottom: 18px;
}
.service-card .code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  color: #8a877f;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.service-card h3 {
  font-size: 1.18rem;
  margin: 6px 0 10px;
}
.service-card p {
  color: #55524c;
  font-size: 0.94rem;
  margin: 0;
}
.service-card .card-link {
  display: inline-block;
  margin-top: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  text-decoration: none;
  color: var(--teal-deep);
  border-bottom: 1px solid var(--teal-deep);
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- detailed service blocks (services.html) ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--fog);
}
.service-detail:first-of-type {
  border-top: none;
}
.service-detail.flip .photo-frame {
  order: 2;
}
.service-detail .code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  color: var(--teal-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.service-detail h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
  margin: 12px 0 14px;
}
.service-detail p {
  color: #4a4844;
  max-width: 50ch;
  margin: 0 0 14px;
}
.service-detail ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.service-detail li {
  padding: 10px 0 10px 22px;
  border-top: 1px solid var(--fog);
  font-size: 0.94rem;
  color: #4a4844;
  position: relative;
}
.service-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.service-detail .photo-frame {
  aspect-ratio: 4/3;
}
@media (max-width: 860px) {
  .service-detail,
  .service-detail.flip {
    grid-template-columns: 1fr;
  }
  .service-detail.flip .photo-frame {
    order: 0;
  }
}

/* ---------- process ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--fog);
}
.process-item {
  padding: 30px 22px 30px 6px;
  border-right: 1px solid var(--fog);
}
.process-item:last-child {
  border-right: none;
}
.process-item .num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: var(--teal-deep);
  display: block;
  margin-bottom: 14px;
}
.process-item h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}
.process-item p {
  color: #55524c;
  font-size: 0.92rem;
  margin: 0;
}
@media (max-width: 860px) {
  .process-list {
    grid-template-columns: 1fr 1fr;
  }
  .process-item {
    border-right: none;
    border-bottom: 1px solid var(--fog);
  }
}
@media (max-width: 560px) {
  .process-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- service area ---------- */
.area {
  background: var(--charcoal);
  color: var(--paper);
}
.area .eyebrow {
  color: var(--gold);
}
.area h2 {
  color: var(--paper);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin: 12px 0 40px;
}
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.area-card {
  border: 1px solid rgba(247, 243, 234, 0.18);
  border-radius: var(--radius-chip);
  padding: 26px 24px;
}
.area-card .code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.area-card h3 {
  margin: 10px 0 8px;
  font-size: 1.15rem;
}
.area-card p {
  margin: 0;
  color: #c9c5ba;
  font-size: 0.92rem;
}
@media (max-width: 760px) {
  .area-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- why us / values ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.values.prep {
  grid-template-columns: repeat(2, 1fr);
}
.prep-block {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--fog);
}
.value-card {
  padding-top: 20px;
  border-top: 2px solid var(--charcoal);
}
.value-card h3 {
  font-size: 1.08rem;
  margin: 0 0 10px;
}
.value-card p {
  color: #55524c;
  font-size: 0.92rem;
  margin: 0;
}
@media (max-width: 860px) {
  .values {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .values,
  .values.prep {
    grid-template-columns: 1fr;
  }
}

.social-proof {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: var(--radius-chip);
}
.social-proof .fb-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  flex: none;
}
.social-proof p {
  margin: 0;
  font-size: 0.92rem;
  color: #4a4844;
}
.social-proof a {
  font-weight: 600;
  color: var(--teal-deep);
  text-decoration: none;
}
.social-proof a:hover {
  text-decoration: underline;
}

/* ---------- gallery ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 9px 16px;
  border-radius: 3px 3px 10px 3px;
  border: 1px solid var(--fog);
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}
.filter-btn:hover {
  border-color: var(--teal-deep);
}
.filter-btn.active {
  background: var(--charcoal);
  color: var(--paper);
  border-color: var(--charcoal);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  border-radius: var(--radius-chip);
  overflow: hidden;
  border: 1px solid var(--fog);
  cursor: pointer;
  background: var(--white);
  position: relative;
  aspect-ratio: 4/3;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item .tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  padding: 5px 9px;
  border-radius: 2px 2px 8px 2px;
  background: rgba(35, 46, 56, 0.78);
  color: var(--paper);
}
.gallery-item.hidden {
  display: none;
}

/* visually hidden live region for filter announcements */
.filter-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(16, 22, 28, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.lightbox.open {
  display: flex;
}
.lightbox figure {
  margin: 0;
  max-width: 920px;
  width: 100%;
}
.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox figcaption {
  color: var(--fog);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  margin-top: 14px;
  text-align: center;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(247, 243, 234, 0.1);
  border: 1px solid rgba(247, 243, 234, 0.3);
  color: var(--paper);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close {
  top: 24px;
  right: 24px;
}
.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 640px) {
  .lightbox-prev {
    left: 8px;
  }
  .lightbox-next {
    right: 8px;
  }
  .lightbox-close {
    top: 10px;
    right: 10px;
  }
}

/* ---------- reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: var(--radius-chip);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.review-stars {
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.review-card p.quote {
  color: #3d3b37;
  font-size: 0.98rem;
  margin: 0 0 18px;
  flex: 1;
}
.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  color: #8a877f;
  border-top: 1px solid var(--fog);
  padding-top: 14px;
}
.review-meta .who {
  color: var(--charcoal);
  font-weight: 600;
  font-family: "Work Sans", sans-serif;
  font-size: 0.86rem;
}
@media (max-width: 900px) {
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
}

.rating-banner {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  padding: 30px 28px;
  background: var(--charcoal);
  color: var(--paper);
  border-radius: var(--radius-chip);
  margin-bottom: 48px;
}
.rating-banner .big {
  font-family: "Fraunces", serif;
  font-size: 3rem;
}
.rating-banner .stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.rating-banner p {
  margin: 4px 0 0;
  color: #c9c5ba;
  font-size: 0.9rem;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-top: 1px solid var(--fog);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--fog);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Fraunces", serif;
  font-size: 1.08rem;
  color: var(--charcoal);
}
.faq-q .plus {
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.2rem;
  color: var(--teal-deep);
  flex: none;
  margin-left: 20px;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p {
  color: #4a4844;
  margin: 0 0 22px;
  max-width: 64ch;
  font-size: 0.95rem;
}
.faq-item.open .faq-a {
  max-height: 220px;
}
.faq-item.open .plus {
  transform: rotate(45deg);
}

/* ---------- contact / cta ---------- */
.contact {
  background: var(--paper);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin: 12px 0 18px;
}
.contact-info-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.contact-info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--fog);
}
.contact-info-list li:last-child {
  border-bottom: 1px solid var(--fog);
}
.contact-info-list .label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a877f;
  width: 88px;
  flex: none;
  padding-top: 2px;
}
.contact-info-list a {
  text-decoration: none;
}
.contact-info-list a:hover {
  color: var(--teal-deep);
}

form {
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: var(--radius-chip);
  padding: 34px;
}
.form-row {
  margin-bottom: 18px;
}
.form-row label {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b6862;
  margin-bottom: 7px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: "Work Sans", sans-serif;
  font-size: 0.96rem;
  padding: 11px 13px;
  border: 1px solid var(--fog);
  border-radius: 3px;
  background: var(--paper);
  color: var(--charcoal);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}
.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) {
  .form-two {
    grid-template-columns: 1fr;
  }
}
.form-note {
  font-size: 0.82rem;
  color: #8a877f;
  margin-top: 14px;
}
.form-success {
  display: none;
  background: var(--teal-deep);
  color: var(--paper);
  padding: 14px 16px;
  border-radius: 3px;
  font-size: 0.9rem;
  margin-top: 16px;
}
.form-success.show {
  display: block;
}
.form-fallback {
  display: none;
  margin-top: 14px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--fog);
  border-radius: 3px;
}
.form-fallback.show {
  display: block;
}
.form-fallback p {
  font-size: 0.85rem;
  color: #4a4844;
  margin: 0 0 10px;
}
.form-fallback pre {
  margin: 0;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: 3px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--charcoal);
}

/* coming-soon card (contact page, stands in for the estimate form) */
.coming-soon-card {
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: var(--radius-chip);
  padding: 34px;
}
.coming-soon-card .code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  color: #8a877f;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.coming-soon-card h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
  margin: 8px 0 14px;
}
.coming-soon-card p {
  color: #4a4844;
  margin: 0 0 22px;
}
.coming-soon-card .form-note {
  margin: 16px 0 0;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* map */
.map-frame {
  border-radius: var(--radius-chip);
  overflow: hidden;
  border: 1px solid var(--fog);
  box-shadow: var(--shadow);
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

/* ---------- mini CTA band ---------- */
.cta-band {
  background: var(--teal-deep);
  color: var(--paper);
}
.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 56px 32px;
}
.cta-band h2 {
  color: var(--paper);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  max-width: 22ch;
}
.cta-band .btn-primary {
  background: var(--paper);
  color: var(--charcoal);
}
.cta-band .btn-line {
  border-color: rgba(247, 243, 234, 0.5);
  color: var(--paper);
}
.cta-band .btn-line:hover {
  background: var(--paper);
  color: var(--charcoal);
}

/* ---------- footer ---------- */
footer {
  background: var(--charcoal);
  color: var(--fog);
  padding: 56px 0 30px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(247, 243, 234, 0.14);
}
.footer-brand .brand {
  color: var(--paper);
}
.footer-brand p {
  max-width: 36ch;
  color: #a9a59a;
  font-size: 0.9rem;
  margin-top: 14px;
}
.footer-col h4 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a9a59a;
  margin-bottom: 16px;
  font-weight: 400;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  text-decoration: none;
  color: var(--fog);
  font-size: 0.92rem;
}
.footer-col a:hover {
  color: var(--gold);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 0.8rem;
  color: #8f8b81;
  font-family: "IBM Plex Mono", monospace;
}
