/* Savon Appliance — the neighborhood stove shop. Porcelain cream, Wedgewood mint, enamel red. */
:root {
  --field: #faf5ec;
  --field-wash: #f3ecdd;
  --mint-wash: #dce8e1;
  --mint: #4f7a6c;
  --ink: #2b2320;
  --ink-soft: #5c524b;
  --call: #b23a2a;
  --call-hover: #962e21;
  --ghost: #2b2320;
  --accent: #b98a3c;
  --line: rgba(43, 35, 32, 0.16);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Archivo", system-ui, -apple-system, sans-serif;

  --ease-out-expo: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out-expo-alt: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-circ: cubic-bezier(0.075, 0.82, 0.165, 1);
  --dur-fast: 0.3s;
  --dur-hover: 0.5s;
  --dur-enter: 0.7s;
  --dur-nav: 0.8s;
  --dur-hero: 1.5s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0 0 0.4em;
}

h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: var(--field);
  padding: 0.5rem 1rem;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

/* Kicker: one tiny tracked label with a mint ring. */
.kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 0.9rem;
}
.kicker::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border: 2px solid var(--mint);
  border-radius: 50%;
  flex: none;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  transition: background var(--dur-fast) var(--ease-out-circ), color var(--dur-fast) var(--ease-out-circ), transform var(--dur-fast) var(--ease-out-circ);
}
.btn:hover {
  transform: translate3d(0, -2px, 0);
}
.btn-fill {
  background: var(--call);
  color: #fff;
}
.btn-fill:hover {
  background: var(--call-hover);
}
.btn-ghost {
  border: 1.5px solid currentColor;
  color: var(--ghost);
}
.call-nowrap {
  white-space: nowrap;
}

/* Signature flourish: underline grows from the left. */
.link-underline {
  position: relative;
  text-decoration: none;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform var(--dur-hover) var(--ease-out-expo-alt);
}
.link-underline:hover::after {
  transform: scaleX(1);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem 4vw;
  background: rgba(250, 245, 236, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-right: auto;
}
.site-header nav {
  display: flex;
  gap: 1.4rem;
  font-weight: 500;
  font-size: 0.98rem;
}
.site-header .btn {
  padding: 0.6rem 1.35rem;
  font-size: 0.95rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}
.hero-img {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity var(--dur-hero) var(--ease-out-expo);
}
.hero.is-in .hero-img,
.hero-img.is-in {
  opacity: 1;
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 35rem;
  margin: 5.5rem 6vw 2.5rem;
  padding: 2rem 2.1rem 1.7rem;
  background: rgba(250, 245, 236, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(250, 245, 236, 0.7);
  border-radius: 22px;
}
.hero-copy h1 {
  margin-bottom: 0.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.4rem 0 0.9rem;
}
.hero-proof {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* Sections */
.services,
.about,
.reviews,
.faq,
.area,
.contact {
  padding: 5rem 6vw;
  scroll-margin-top: 4.5rem;
}
.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}
.section-head h2 {
  margin-bottom: 0.5rem;
}
.section-note {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Services river */
.river {
  display: grid;
  gap: 3.5rem;
  max-width: 72rem;
}
.river-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.river-row:nth-child(even) .river-media {
  order: 2;
}
.river-media {
  background: var(--mint-wash);
  border-radius: 20px;
  overflow: hidden;
}
.river-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.river-text h3 {
  margin-bottom: 0.45rem;
}
.river-text p {
  margin: 0;
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

/* About */
.about {
  background: var(--mint-wash);
}
.about-inner {
  max-width: 44rem;
}
.about-inner p {
  font-size: 1.12rem;
}

/* Reviews */
.reviews {
  background: var(--field);
}
.review-carousel .review-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.5rem;
}
.review-slide blockquote {
  margin: 0;
  max-width: 44rem;
}
.review-slide p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.015em;
  line-height: 1.32;
  margin: 0 0 1rem;
}
.review-slide footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: 0.92rem;
}
.review-slide cite {
  font-style: normal;
  font-weight: 700;
}
.review-slide footer span {
  color: var(--ink-soft);
}
.review-nav {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.review-prev,
.review-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out-circ), background var(--dur-fast) var(--ease-out-circ);
}
.review-prev:hover,
.review-next:hover {
  transform: translate3d(0, -2px, 0);
  background: var(--mint-wash);
}
.review-dots {
  display: flex;
  gap: 0.45rem;
}
.review-dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.28;
  cursor: pointer;
}
.review-dots button[aria-current="true"] {
  opacity: 1;
}
.review-carousel.is-carousel .review-viewport {
  overflow: hidden;
}
.review-carousel.is-carousel .review-track {
  display: flex;
  gap: 0;
  transition: transform var(--dur-enter) var(--ease-out-expo);
}
.review-carousel.is-carousel .review-slide {
  flex: 0 0 100%;
  min-width: 0;
}
.review-carousel.is-carousel .review-nav {
  display: flex;
}

/* FAQ */
.faq-list {
  max-width: 44rem;
}
.faq-list details {
  border-top: 1px solid var(--ink);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--ink);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0;
  font-weight: 700;
  font-size: 1.08rem;
  font-family: var(--font-display);
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list details p {
  margin: 0 0 1.15rem;
  max-width: 46ch;
  color: var(--ink-soft);
}

/* Area */
.area {
  background: var(--field-wash);
}
.area .section-head {
  margin-bottom: 0;
}
.area p:last-child {
  margin-bottom: 0;
  font-size: 1.12rem;
  max-width: 56ch;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 72rem;
  margin-bottom: 2.5rem;
}
.contact-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.contact-row:last-of-type {
  border-bottom: 1px solid var(--line);
}
.contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  padding-top: 0.25rem;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.contact-form {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 500;
  font-size: 0.98rem;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.contact-form button {
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  justify-self: start;
}
.form-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}
.contact-map {
  max-width: 72rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--field);
  padding: 2.5rem 6vw;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  align-items: baseline;
  justify-content: space-between;
}
.site-footer p {
  margin: 0;
}
.site-footer a {
  color: var(--field);
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 50px, 0);
  transition:
    opacity var(--dur-enter) var(--ease-out-expo),
    transform var(--dur-enter) var(--ease-out-expo);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
[data-reveal="cascade"] {
  opacity: 1;
  transform: none;
  transition: none;
}
[data-reveal="cascade"] > * {
  opacity: 0;
  transform: translate3d(0, 50px, 0);
  transition:
    opacity var(--dur-enter) var(--ease-out-expo),
    transform var(--dur-enter) var(--ease-out-expo);
}
[data-reveal="cascade"].is-in > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* 390: same brand, narrower. Nav hides, Call stays one line, hero slab pins low. */
@media (max-width: 640px) {
  .site-header {
    gap: 1rem;
    padding: 0.75rem 1rem;
  }
  .site-header nav {
    display: none;
  }
  .site-header .btn {
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
  }
  .brand {
    font-size: 1.2rem;
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100dvh;
  }
  .hero-img {
    object-position: 82% 12%;
  }
  .hero-copy {
    width: auto;
    max-width: none;
    margin: 0 1rem calc(1rem + env(safe-area-inset-bottom));
    padding: 1.15rem 1.1rem 1.05rem;
  }
  .hero-copy h1 {
    font-size: 1.9rem;
  }
  .hero-copy > p:nth-of-type(1) {
    font-size: 0.98rem;
  }
  .hero-actions .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.92rem;
  }

  .services,
  .about,
  .reviews,
  .faq,
  .area,
  .contact {
    padding: 3.5rem 1.25rem;
  }
  .river {
    gap: 2.5rem;
  }
  .river-row {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .river-row:nth-child(even) .river-media {
    order: 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-map iframe {
    height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-reveal],
  [data-reveal="cascade"] > *,
  .hero-img {
    opacity: 1;
    transform: none !important;
    transition: none;
  }
  .btn:hover,
  .review-prev:hover,
  .review-next:hover {
    transform: none;
  }
  .review-carousel.is-carousel .review-track {
    transition: none;
  }
}
