@keyframes home-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ── Hero ── */
.home-hero {
  width: 100%;
  height: min(106.5vw, 940px);
  overflow: hidden;
  margin-bottom: 100px;
}
.home-hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.1);
}

/* ── Intro (below image) ── */
.home-intro {
  text-align: center;
  padding: 48px 20px 0;
}

.home-eyebrow {
  font-family: var(--font-body);
  font-size: 1.0rem;
  font-weight: bold;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 16px;
  opacity: 0.85;
  animation: home-fade-up 0.8s ease both;
}
.home-hero-title {
  font-size: 4.8rem;
  margin: 0;
  animation: home-fade-up 0.8s 0.1s ease both;
}
.home-hero-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 16px auto;
  max-width: 280px;
  animation: home-fade-up 0.8s 0.18s ease both;
}
.home-hero-rule span {
  flex: 1;
  height: 1px;
  background: var(--terracotta);
  opacity: 0.3;
}
.home-hero-tagline {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--terracotta);
  font-size: 1.05rem;
  margin: 0 0 20px;
  opacity: 0.88;
  animation: home-fade-up 0.8s 0.18s ease both;
}
.home-hero-blurb {
  max-width: 500px;
  margin: 0 auto 28px;
  font-size: 1rem;
  line-height: 1.75;
  opacity: 0.8;
  animation: home-fade-up 0.8s 0.26s ease both;
}
.home-hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  animation: home-fade-up 0.8s 0.34s ease both;
}

/* ── Section shared ── */
.home-section-eyebrow {
  font-family: var(--font-body);
  font-size: 1.0rem;
  font-weight: bold;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  text-align: center;
  display: block;
  margin: 0 0 6px;
  opacity: 0.8;
}
.home-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  padding-bottom: 65px;
}
.home-reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Carousel ── */
.hc-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  box-sizing: border-box;
  /* Above 1000px, JS adds position/left/transform/width inline to break out to full viewport width */
}
.hc-viewport {
  flex: 1;
  overflow: hidden;
}
.hc-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 2px;
}
.hc-track::-webkit-scrollbar { display: none; }
.hc-slide {
  flex: 0 0 clamp(200px, 26vw, 300px);
  height: clamp(200px, 26vw, 300px);
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sage);
}
.hc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.hc-slide:hover img { transform: scale(1.05); }
.hc-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--olive);
  background: var(--cream);
  color: var(--olive);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.hc-btn:hover { background: var(--olive); color: var(--cream); }

/* ── Lightbox ── */
.hc-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(24, 27, 11, 0.9);
  z-index: 1000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.hc-lightbox[hidden] { display: none; }
.hc-lb-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}
.hc-lb-img-wrap {
  position: relative;
  line-height: 0;
}
.hc-lb-close {
  position: absolute;
  top: -14px;
  right: -14px;
  background: rgba(24,27,11,0.75);
  border: 1.5px solid rgba(237,229,212,0.5);
  color: var(--cream);
  font-size: 0.85rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.2s ease;
}
.hc-lb-close:hover { background: rgba(24,27,11,0.95); }
.hc-lb-img {
  /* 30px lightbox padding×2 + 72px arrow+margin×2 = 204px */
  max-width: calc(100vw - 204px);
  /* 30px padding top + 30px padding bottom = 60px */
  max-height: calc(100vh - 60px);
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
}
.hc-lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 1.5px solid rgba(237,229,212,0.4);
  color: var(--cream);
  font-size: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease;
}
#hc-lb-prev { left: 20px; }
#hc-lb-next { right: 20px; }
.hc-lb-arrow:hover { background: rgba(237,229,212,0.15); border-color: rgba(237,229,212,0.7); }

/* ── Newsletter card ── */
.home-newsletter-card {
  background: #fff;
  border: 1px solid rgba(39,56,17,0.13);
  border-radius: var(--radius);
  padding: 40px 32px 32px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(24,27,11,0.04);
}
.home-newsletter-card h2 { margin-top: 8px; }

/* ── Responsive ── */
@media (max-width: 700px) {
  .home-hero-title { font-size: 3rem; }
  .hc-slide {
    flex: 0 0 clamp(160px, 68vw, 220px);
    height: clamp(160px, 68vw, 220px);
  }
  .hc-lb-inner { gap: 10px; }
  .hc-lb-arrow { width: 40px; height: 40px; font-size: 1.6rem; }
  .hc-lb-img { max-width: calc(100vw - 164px); max-height: calc(100vh - 60px); }
  .home-newsletter-card { padding: 28px 20px; }
}
