/* Blacher & Co., Inc. — a quiet downtown ledger. */
:root {
  --field: #faf6ee;
  --ink: #1b2433;
  --call: #a97a1f;
  --call-ink: #1b2433;
  --ghost: #1b2433;
  --accent: #2e5e4e;
  --slab: rgba(27, 36, 51, 0.92);
  --line: rgba(27, 36, 51, 0.18);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Archivo", system-ui, 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-in-out-quart: cubic-bezier(0.77, 0, 0.175, 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: 500;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1em;
}

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

a {
  color: inherit;
}

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

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.8em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  line-height: 1;
  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: var(--call-ink);
  border: 1px solid var(--call);
}
.btn-ghost {
  border: 1px solid currentColor;
  color: var(--ghost);
  background: transparent;
}
.call-nowrap {
  white-space: nowrap;
}

.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);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem 4vw;
  background: var(--field);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  margin-right: auto;
}
.site-header nav {
  display: flex;
  gap: 1.4rem;
  font-weight: 500;
}
.site-header nav a {
  text-decoration: none;
}
.site-header .btn {
  padding: 0.7rem 1.2rem;
  font-size: 0.95rem;
}

.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: 62% 22%;
  opacity: 0;
  transition: opacity var(--dur-hero) var(--ease-out-expo);
}
.hero.is-in .hero-img,
.hero-img.is-in {
  opacity: 1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27, 36, 51, 0.88) 0%, rgba(27, 36, 51, 0.62) 34%, rgba(27, 36, 51, 0.08) 62%, rgba(27, 36, 51, 0) 75%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin: 0 4vw;
  padding: 2.2rem 2.4rem;
  background: var(--slab);
  color: var(--field);
  border-radius: 4px;
  border-left: 3px solid var(--call);
}
.hero-copy .kicker {
  color: #d9b45b;
}
.hero-copy h1 {
  color: var(--field);
}
.hero-copy p {
  color: #f2ecdd;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.4em 0 0.6em;
}
.hero-actions .btn-ghost {
  color: var(--field);
}
.proof {
  font-size: 0.92rem;
  color: #d9cfae;
  margin: 0.6em 0 0;
}

section {
  padding: 5rem 4vw;
}
.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.river {
  display: grid;
  gap: 3.5rem;
  max-width: 70rem;
}
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.service-row:nth-child(even) figure {
  order: 2;
}
.service-row figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.service-row h3 {
  margin-bottom: 0.4em;
}

#about .about-body {
  max-width: 42rem;
}

.reviews,
.faq {
  padding: 5rem 4vw;
}
.faq-list {
  max-width: 42rem;
}
.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: 600;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list details p {
  margin: 0 0 1.15rem;
  max-width: 46ch;
}

#area .section-head p {
  font-size: 1.1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 70rem;
  margin-bottom: 2.5rem;
}
.contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.contact-info svg {
  flex: none;
  margin-top: 0.25em;
  color: var(--accent);
}
.contact-form {
  display: grid;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.6rem;
}
.contact-form label {
  font-weight: 700;
  font-size: 0.92rem;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--field);
  color: var(--ink);
  width: 100%;
}
.contact-form button {
  justify-content: center;
  cursor: pointer;
  margin-top: 0.6rem;
}
.form-note {
  font-size: 0.88rem;
  color: rgba(27, 36, 51, 0.78);
  margin: 0.4em 0 0;
}
.map-wrap {
  max-width: 70rem;
}
.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.site-footer {
  padding: 2.5rem 4vw 5rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.site-footer p {
  max-width: 60rem;
  margin: 0 0 0.6em;
}

.call-dock {
  display: none;
}

[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);
}

@media (max-width: 900px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .service-row:nth-child(even) figure {
    order: 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header nav {
    display: none;
  }
  .site-header .btn {
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
  }
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100dvh;
  }
  .hero::after {
    background: linear-gradient(180deg, rgba(27, 36, 51, 0) 30%, rgba(27, 36, 51, 0.55) 62%, rgba(27, 36, 51, 0.92) 100%);
  }
  .hero-img {
    object-position: center 18%;
  }
  .hero-copy {
    width: auto;
    margin: 0 1rem calc(4.5rem + env(safe-area-inset-bottom));
    padding: 1.15rem 1.1rem 1.05rem;
  }
  .hero-copy h1 {
    font-size: 1.7rem;
  }
  .hero-copy .hero-body,
  .hero-copy .proof {
    display: none;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  section {
    padding: 3.5rem 5vw;
  }
  .call-dock {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
    background: var(--field);
    border-top: 1px solid var(--line);
  }
  .call-dock .btn {
    width: 100%;
    justify-content: center;
  }
  .site-footer {
    padding-bottom: 7rem;
  }
}

@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 {
    transform: none;
  }
}
