:root {
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --paper: #f9f5ee;
  --ink: #111827;
  --body: #374151;
  --muted: #6b5f64;
  --primary: #bf3059;
  --primary-dark: #8f1f3f;
  --accent: #ff739b;
  --plum: #21131a;
  --satin: #fff9f2;
  --line: rgba(33, 19, 26, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: radial-gradient(circle at top left, rgba(255, 115, 155, 0.13), transparent 28rem), var(--paper);
  font-size: 16px;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(39px, 11vw, 82px);
}

h2 {
  font-size: clamp(31px, 8vw, 56px);
}

h3,
h4 {
  font-size: clamp(22px, 5vw, 28px);
}

p,
li,
td,
th,
a,
button,
input,
textarea {
  font-size: 16px;
}

.site-shell {
  overflow: hidden;
}

.container-wide {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.desktop-only {
  display: none !important;
}

.mobile-only {
  display: flex !important;
}

@media (min-width: 768px) {
  .desktop-only {
    display: flex !important;
  }

  .mobile-only {
    display: none !important;
  }
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: rgba(249, 245, 238, 0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-inner {
  min-height: 76px;
}

.brand {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.nav-link {
  color: #21131a;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none !important;
  }
}

.mobile-panel {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  top: 88px;
  z-index: 70;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 18px 18px 0 rgba(191, 48, 89, 0.13);
  padding: 24px;
}

.mobile-panel.is-open {
  display: block;
}

@media (min-width: 768px) {
  .mobile-panel {
    display: none !important;
  }
}

.btn-primary,
.btn-secondary,
.header-call,
.mobile-menu-call,
.sticky-call {
  border-radius: 0;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 900;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-primary,
.header-call,
.mobile-menu-call,
.sticky-call {
  color: #fff !important;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.58), 10px 10px 0 rgba(33, 19, 26, 0.14);
  animation: pulseGlow 2.7s ease-in-out infinite;
}

.btn-primary:hover,
.header-call:hover,
.mobile-menu-call:hover,
.sticky-call:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  color: #fff !important;
}

.btn-secondary {
  color: var(--ink) !important;
  border: 1px solid var(--ink);
  background: #fff;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 132px 0 72px;
  color: #fff;
  isolation: isolate;
  background: var(--plum);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(rgba(21, 10, 15, 0.62), rgba(21, 10, 15, 0.7)), url("../images/hero-kitchen.jpg") center/cover no-repeat;
}

.hero h1,
.hero p {
  color: #fff;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.hero-card {
  position: relative;
  background: rgba(33, 19, 26, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 22px 22px 0 rgba(255, 115, 155, 0.16);
  backdrop-filter: blur(8px);
}

.stars {
  color: var(--accent);
  font-size: 25px;
  letter-spacing: 0.1em;
}

.review-icons img {
  width: auto;
  height: 48px;
  object-fit: contain;
  background: #fff;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 10px;
  background: var(--accent);
}

.title-rule::after,
.card-title::after {
  content: "";
  display: block;
  width: 62px;
  height: 3px;
  background: var(--accent);
  margin-top: 16px;
}

.section-pad {
  padding: 74px 0;
}

.paper-panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: 18px 18px 0 rgba(191, 48, 89, 0.11);
}

.satin-panel {
  background: linear-gradient(135deg, #fff 0%, var(--satin) 55%, #f2e5da 100%);
  border: 1px solid var(--line);
}

.dark-editorial {
  background: var(--plum);
  color: #f9f5ee;
}

.dark-editorial h2,
.dark-editorial h3,
.dark-editorial h4,
.dark-editorial p,
.dark-editorial li {
  color: #fff;
}

.dark-editorial .eyebrow {
  color: #ffd7e2;
}

.service-card,
.problem-card,
.review-card,
.faq-item,
.step-card,
.why-card {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--body);
  border-radius: 0;
}

.service-card h3,
.problem-card h3,
.review-card h3,
.faq-item h3,
.step-card h3,
.why-card h3 {
  color: var(--ink);
}

.dark-editorial .service-card p,
.dark-editorial .problem-card p,
.dark-editorial .review-card p,
.dark-editorial .faq-item p,
.dark-editorial .step-card p,
.dark-editorial .why-card p,
.dark-editorial .paper-panel p,
.dark-editorial .paper-panel h3 {
  color: var(--body);
}

.icon-box {
  width: 56px;
  height: 56px;
  border: 1px solid var(--primary);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff7f9;
}

.icon-box svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
}

.two-column-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 768px) {
  .two-column-feature {
    grid-template-columns: minmax(0, 7fr) minmax(240px, 3fr);
  }

  .two-column-feature.image-left {
    grid-template-columns: minmax(240px, 3fr) minmax(0, 7fr);
  }
}

.editorial-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 14px 14px 0 rgba(191, 48, 89, 0.16);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--body);
}

th {
  color: var(--ink);
  background: #fff1f5;
  font-weight: 900;
}

.reviews-viewport {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 420ms ease;
}

.review-slide {
  flex: 0 0 100%;
  padding: 8px;
}

@media (min-width: 1024px) {
  .review-slide {
    flex-basis: 33.3333%;
  }
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.zip-pill,
.city-pill {
  display: inline-flex;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 800;
}

.footer {
  background: var(--plum);
  color: #f9f5ee;
  padding: 58px 0 38px;
}

.footer a,
.footer p,
.footer li {
  color: #f9f5ee;
  font-size: 14px;
}

.footer .brand {
  color: #fff;
}

.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 -12px 30px rgba(33, 19, 26, 0.24);
}

.sticky-call.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .sticky-call {
    display: none !important;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.layered {
  transform: translateY(16px);
  transition: transform 700ms ease, box-shadow 700ms ease;
}

.layered.is-visible {
  transform: translateY(0);
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5), 10px 10px 0 rgba(33, 19, 26, 0.14);
  }

  50% {
    box-shadow: 0 0 0 13px rgba(255, 255, 255, 0.08), 10px 10px 0 rgba(33, 19, 26, 0.14);
  }
}

@media (max-width: 767px) {
  .container-wide {
    width: min(100% - 28px, 520px);
  }

  .section-pad {
    padding: 56px 0;
  }

  .hero-card {
    box-shadow: 10px 10px 0 rgba(255, 115, 155, 0.16);
  }

  .review-icons {
    gap: 8px;
  }

  .review-icons img {
    height: 38px;
    max-width: 18%;
    padding: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
