/* ============================================================
   HERO — Lumè Nail Spa & Beauty Bar
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(to right, rgba(18, 16, 14, 0.88) 0%, rgba(18, 16, 14, 0.2) 100%);
}

/* Subtle grain texture overlay */
.hero__overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 580px;
  padding-left: 72px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Eyebrow */
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.hero__eyebrow-line {
  width: 28px;
  height: 1px;
  background-color: #b8977e;
}

.hero__eyebrow-text {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #b8977e;
}

/* Headline */
.hero__wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 96px;
  font-weight: 200;
  letter-spacing: 12px;
  color: #b8977e;
  line-height: 1;
  margin-left: 12px; /* Visual balance for letter spacing */
}

.hero__subtitle {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #e8c98a;
  text-transform: uppercase;
  letter-spacing: 8px;
  margin-top: 12px;
  margin-bottom: 32px;
}

/* Divider */
.hero__divider {
  width: 40px;
  height: 1px;
  background-color: #b8977e;
  margin-bottom: 32px;
  border: none;
}

/* Quote */
.hero__quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 40px;
  max-width: 400px;
}

/* CTAs */
.hero__ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.hero__ctas .btn {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero__ctas .btn--primary {
  background-color: #C9A84C;
  color: #1C1410;
  padding: 14px 28px;
  border: 1px solid #C9A84C;
}

.hero__ctas .btn--primary:hover {
  background-color: #b8943e;
  border-color: #b8943e;
}

.hero__ctas .btn--secondary {
  background-color: transparent;
  color: #ffffff;
  padding: 13px 24px;
  border: 0.5px solid rgba(255, 255, 255, 0.35);
}

.hero__ctas .btn--secondary:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}

/* Status + Address */
.hero__meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero__status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: #6bc87a;
  border-radius: 50%;
}

.status-text {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
}

.meta-divider {
  width: 1px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.2);
}

.hero__address {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-text {
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
}

/* RESPONSIVE — DESKTOP TWEAKS */
@media (max-width: 1024px) {
  .hero__content { padding-left: 40px; }
  .hero__wordmark { font-size: 80px; }
}

/* ============================================================
   MOBILE HERO — Haute Couture Editorial Redesign
   All rules below are mobile-ONLY. Desktop above is untouched.
   ============================================================ */

@keyframes scrollPulse {
  0%   { opacity: 1;   transform: scaleY(1);   }
  100% { opacity: 0;   transform: scaleY(0.4); }
}

@media (max-width: 768px) {

  /* === MOBILE HERO FIX ROUND 2 START === */
  /* ── 1. Section shell ── */
  .hero {
    position: relative;
    width: 100%;
    min-height: 100svh;
    height: auto;
    margin-top: 0;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 24px 32px 24px; /* Reduced since scroll is now in document flow */
    overflow: hidden;
    box-sizing: border-box;
    align-items: unset;
  }

  /* ── 2. Background image becomes CSS bg on the section via ::before ── */
  /* The .hero__bg img is hidden; background is applied via inline style
     added by the mobile wrapper script. We set the gradient as ::before. */
  .hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
  }

  .hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  /* ── 3. Gradient overlay (cinematic fade — faces visible top, darkens below) ── */
  .hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      to bottom,
      rgba(28, 20, 16, 0.18) 0%,
      rgba(28, 20, 16, 0.55) 45%,
      rgba(28, 20, 16, 0.92) 100%
    );
  }

  .hero__overlay::after { display: none; }

  /* ── 4. Content block — sits above everything via z-index ── */
  .hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Entrance animation — starts invisible, rises on .hero-loaded */
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .hero.hero-loaded .hero__content {
    opacity: 1;
    transform: translateY(0);
  }

  /* ── 5. Eyebrow — Location tag with hairline side rules ── */
  .hero__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px; /* Reduced to tighten spacing */
  }

  .hero__eyebrow-line {
    display: inline-block;
    width: 16px;
    height: 1px;
    background: rgba(201, 168, 76, 0.2);
    flex-shrink: 0;
  }

  .hero__eyebrow-text {
    font-family: 'Jost', sans-serif;
    font-size: 9px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(201, 168, 76, 0.85);
    font-weight: 400;
    white-space: nowrap;
  }

  /* ── 6. Brand wordmark ── */
  .hero__wordmark {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(72px, 22vw, 96px);
    letter-spacing: 0.12em;
    color: #FAF7F4;
    line-height: 1;
    margin-left: 0;
    margin-bottom: 0;
  }

  /* ── 7. Editorial gold divider thread ── */
  .hero__divider {
    display: block;
    width: 38px;
    height: 1px;
    background: #C9A84C;
    border: none;
    margin: 8px auto; /* Reduced */
  }

  /* ── 8. Brand descriptor ── */
  .hero__subtitle {
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: rgba(201, 168, 76, 0.9);
    margin-top: 0;
    margin-bottom: 0;
  }

  /* ── 9. Signature quote ── */
  .hero__quote {
    margin-top: 14px; /* Reduced from 22px */
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.02em;
    color: rgba(250, 247, 244, 0.78);
    max-width: 100%;
    margin-bottom: 0;
    text-align: center;
  }

  /* ── 10. CTA buttons — stacked normal width ── */
  .hero__ctas {
    margin-top: 18px; /* Reduced from 28px */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center buttons horizontally */
    gap: 16px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
  }

  .hero__ctas .btn {
    display: inline-flex;
    justify-content: center;
    width: 280px; /* Normal mobile button width */
    max-width: 100%;
    text-align: center;
    border-radius: 50px !important; /* MATCH PILL SHAPE */
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    text-decoration: none;
    box-sizing: border-box;
  }

  .hero__ctas .btn--primary {
    background: #C9A84C !important;
    color: #1C1410 !important;
    padding: 17px 20px !important;
    border: none !important;
    transition: background 0.3s ease, letter-spacing 0.3s ease !important;
  }

  .hero__ctas .btn--primary:active {
    background: #b8943e !important;
    letter-spacing: 0.5em !important;
  }

  .hero__ctas .btn--secondary {
    background: rgba(255, 255, 255, 0.05) !important; /* FIXED GHOST BUTTON */
    color: #FAF7F4 !important;
    padding: 17px 20px !important; /* MATCH PRIMARY PADDING */
    border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
    font-weight: 500 !important;
    backdrop-filter: none !important; /* NO BLUR ARTIFACTS */
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    background-image: none !important;
    transition: all 0.25s ease !important;
  }

  .hero__ctas .btn--secondary:active {
    border-color: #C9A84C !important;
    color: #C9A84C !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }

  /* ── 11. Status + Address bar ── */
  .hero__meta {
    margin-top: 18px; /* Reduced from 24px */
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    width: 100%;
  }

  .hero__status {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }

  .status-dot {
    width: 6px;
    height: 6px;
    background-color: #4CAF50;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .status-text {
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: rgba(250, 247, 244, 0.65);
    white-space: nowrap;
  }

  .meta-divider {
    display: inline-block;
    width: 1px;
    height: 10px;
    background: rgba(250, 247, 244, 0.2);
    flex-shrink: 0;
  }

  .hero__address {
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: rgba(250, 247, 244, 0.65);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ── 12. Scroll indicator — normal document flow ── */
  .hero__scroll {
    position: relative; /* Normal document flow to prevent overlap */
    bottom: auto;
    left: auto;
    transform: none;
    align-self: center; /* Center horizontally in the flex column */
    margin-top: 24px; /* Clearance below the status bar */
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .scroll-text {
    font-family: 'Jost', sans-serif;
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 0.55em;
    text-transform: uppercase;
    color: rgba(201, 168, 76, 0.6);
  }

  .scroll-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, rgba(201, 168, 76, 0.6), transparent);
    margin: 6px auto 0;
    transform-origin: top;
    animation: scrollPulse 1.8s ease-in-out infinite alternate;
  }

}
/* ── End mobile hero ── */
