/* ==========================================================================
   home.css — Home page template
   --------------------------------------------------------------------------
   Role: full-viewport hero with floating phone mockup, heritage quote block
   and the gradient CTA band. Text is injected by the JS renderer; this file
   only describes layout, imagery treatment and motion.
   --------------------------------------------------------------------------
   Key classes:
     Hero     : .hero .hero__inner .hero-kicker .hero-title .hero-sub
                .hero-ctas .hero-badges .hero-badge .hero-phone .hero-scroll
     Heritage : .heritage .heritage-quote .heritage-attr
     CTA band : .cta-band .cta-band__inner .cta-band__title .cta-band__sub
   ========================================================================== */

/* ================================ Hero ================================= */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--ink);
  isolation: isolate;
}
/* Background artwork (assets/img/hero/hero-bg.svg), path relative to css/ */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../img/hero/hero-bg.svg") center / cover no-repeat;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(42,6,3,.94) 20%, rgba(42,6,3,.72) 48%, rgba(42,6,3,.35) 75%, rgba(42,6,3,.55) 100%),
    linear-gradient(0deg, var(--charcoal) 0%, transparent 22%);
  z-index: -1;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-copy { max-width: 38rem; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.hero-kicker::before {
  content: "";
  width: 2.6rem; height: 1px;
  background: var(--gold);
  display: inline-block;
}

.hero-title {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 1.08;
  margin-bottom: 1.4rem;
  text-wrap: balance;
}
.hero-title em { font-style: italic; }

.hero-sub {
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  color: var(--cream-dim);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2.2rem;
  max-width: 32rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }

/* Small trust badges under the CTAs */
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding: 0; margin: 0; list-style: none; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .82rem; letter-spacing: .08em;
  color: var(--muted);
  text-transform: uppercase;
}
.hero-badge .dot {
  width: .45rem; height: .45rem; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(201,162,75,.8);
  flex: 0 0 auto;
}

/* Floating phone on the right of the hero (desktop only) */
.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
.hero-phone .phone-mockup {
  animation: phone-float 7s ease-in-out infinite;
  transform: rotate(4deg);
}
@keyframes phone-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -16px; }
}
.hero-phone__ring {
  position: absolute;
  width: 24rem; height: 24rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.hero-phone__ring--outer { width: 30rem; height: 30rem; opacity: .45; }

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 1.8rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--muted-dark);
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  z-index: 1;
}
.hero-scroll .line {
  width: 1px; height: 3rem;
  background: linear-gradient(var(--gold), transparent);
  animation: scroll-pulse 2.2s var(--ease) infinite;
}
@keyframes scroll-pulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================== Heritage =============================== */

.heritage {
  position: relative;
  text-align: center;
  background:
    radial-gradient(46rem 20rem at 50% 50%, rgba(201,162,75,.07), transparent 70%),
    var(--charcoal);
}
.heritage-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.6;
  color: var(--cream);
  max-width: 52rem;
  margin: 0 auto 1.75rem;
  text-wrap: balance;
}
.heritage-quote::before {
  content: "\201C";
  display: block;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--gold);
  font-style: normal;
  margin-bottom: .5rem;
}
.heritage-attr {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold);
}

/* ============================== CTA band =============================== */

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #241c0e 0%, var(--gold-dark) 38%, var(--gold) 62%, #8a6c26 100%);
  color: var(--ink);
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(40rem 18rem at 80% 20%, rgba(255,255,255,.22), transparent 60%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.cta-band__title {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  color: var(--ink);
  margin-bottom: .5rem;
}
.cta-band__sub {
  color: rgba(42,6,3,.78);
  font-size: 1.05rem;
  margin-bottom: 0;
  max-width: 36rem;
}
.cta-band .btn-gold {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold-light);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  flex: 0 0 auto;
}
.cta-band .btn-gold:hover { color: var(--gold-light); filter: brightness(1.25); }
