html { scroll-behavior: smooth; }

/* Image placeholders — replace the div with your own <img> or set a background-image */
.img-slot {
  position: relative;
  width: 100%;
  border: 1px dashed #cfc7b8;
  border-radius: 1rem;
  background-color: #efeae1;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.img-slot::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9a9287;
}
.img-slot-dark { background-color: #24211f; border-color: #3a3532; }
.img-slot-dark::after { color: #7c746c; }
.img-slot img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }

.marquee { display: flex; gap: 2rem; white-space: nowrap; overflow: hidden; }
.marquee span { animation: slide 28s linear infinite; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-100%); } }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .marquee span { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---- Component styles (plain CSS so they work with the Tailwind CDN) ---- */
.nav-link { color: #141312; transition: color .2s; }
.nav-link:hover { color: #b0272a; }
.mobile-link { padding: .75rem 0; border-bottom: 1px solid #e3ddd2; }
.mobile-link:last-child { border-bottom: 0; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px; background: #141312; color: #fff;
  padding: .9rem 1.75rem; font-size: .9rem; letter-spacing: .02em;
  transition: background .25s, transform .25s;
}
.btn-primary:hover { background: #b0272a; transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px; border: 1px solid #cfc7b8; color: #141312;
  padding: .9rem 1.75rem; font-size: .9rem; transition: background .25s, border-color .25s;
}
.btn-ghost:hover { background: #fff; border-color: #141312; }

.section-eyebrow { font-size: .7rem; text-transform: uppercase; letter-spacing: .28em; color: #6f6a63; }
.section-title { font-family: "Cormorant Garamond", serif; font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.1; margin-top: .75rem; }

.service-card { border: 1px solid #e3ddd2; border-radius: 1.25rem; background: #fff; padding: 1.25rem; transition: transform .3s, box-shadow .3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(20,19,18,.45); }
.service-title { font-family: "Cormorant Garamond", serif; font-size: 1.5rem; margin-top: 1.1rem; }
.service-text { margin-top: .5rem; font-size: .92rem; line-height: 1.6; color: #6f6a63; }

.caption { margin-top: .85rem; font-size: .82rem; letter-spacing: .04em; color: #6f6a63; }
figure.group:hover .img-slot { transform: scale(1.01); }
.img-slot { transition: transform .4s ease; }

.step { display: flex; gap: 1.25rem; }
.step-num { font-family: "Cormorant Garamond", serif; font-size: 1.35rem; color: #b0272a; min-width: 2.25rem; }
.step-title { font-family: "Cormorant Garamond", serif; font-size: 1.35rem; }
.step-text { margin-top: .35rem; font-size: .92rem; color: #6f6a63; }

.quote { border-left: 2px solid #b0272a; padding-left: 1rem; font-size: .95rem; line-height: 1.7; color: rgba(255,255,255,.85); }
.quote-by { margin-top: .75rem; font-size: .8rem; color: rgba(255,255,255,.5); }

.contact-row { display: flex; gap: 1rem; align-items: baseline; border-bottom: 1px solid #e3ddd2; padding-bottom: .75rem; }
.contact-key { min-width: 4.5rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; color: #6f6a63; }

.field-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; color: #6f6a63; margin-bottom: .45rem; }
.field { width: 100%; border: 1px solid #e3ddd2; border-radius: .85rem; background: #faf8f5; padding: .8rem 1rem; font-size: .95rem; color: #141312; outline: none; transition: border-color .2s, box-shadow .2s; }
.field:focus { border-color: #b0272a; box-shadow: 0 0 0 3px rgba(176,39,42,.12); }

.footer-head { font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; color: #141312; }
.footer-list { margin-top: .9rem; display: grid; gap: .55rem; font-size: .9rem; color: #6f6a63; }

.service-card-dark { background: #141312; color: #fff; }
.service-card-dark h3 { color: #fff; }
.service-card-dark .service-text { color: rgba(255,255,255,.7); }

.img-slot:has(img) { border: none; background-color: #efeae1; }

.what {
  position: fixed;
  bottom: 30px;
  left: 20px;
  z-index: 999;
} 
.what a {
  color: #fff;
  font-size: 30px;
  border-radius: 100%;
  height: 50px;
  width: 50px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 5px 10px 0px #050a3069;
  background: #1dbf73;
}
.what a:last-child {
  font-size: 20px;
}
