/* Phase 2 — Homepage */

/* —— Hero —— */
.hero--home {
  min-height: 100vh;
  min-height: 100dvh;
  align-items: flex-end;
  justify-content: flex-start;
  padding-bottom: clamp(72px, 10vh, 120px);
}

.hero--home .hero-bg--kenburns {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  will-change: transform;
  transition: none !important;
}

body.loaded .hero--home .hero-bg--kenburns {
  transform: scale(1);
}

.hero--home .hero-overlay--editorial {
  background:
    linear-gradient(
      160deg,
      rgba(0, 0, 0, 0.42) 0%,
      rgba(0, 0, 0, 0.32) 35%,
      rgba(0, 0, 0, 0.48) 65%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.78) 0%,
      rgba(0, 0, 0, 0.35) 45%,
      rgba(0, 0, 0, 0.18) 100%
    );
}

.hero--home .hero-content--bl {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px) clamp(24px, 4vh, 48px);
  text-align: left;
}

.hero-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  opacity: 0;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
}

.hero--home .hero-heading {
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 300;
  line-height: 1.02;
  color: #fff;
  margin: 0 0 8px;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.5);
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(-28px);
  margin-right: 0.22em;
}

.hero-word--italic {
  font-style: italic;
  color: var(--gold-light);
}

.hero--home .hero-subtext {
  opacity: 0;
  transform: translateY(16px);
  margin: 24px 0 40px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.45);
}

.hero--home .hero-actions {
  opacity: 0;
  transform: translateY(16px);
}

.hero-scroll-hint {
  position: absolute;
  right: clamp(20px, 5vw, 80px);
  bottom: clamp(48px, 8vh, 100px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
}

.hero-scroll-hint__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.hero-scroll-hint__line {
  width: 1px;
  height: 48px;
  background: var(--gold-line);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.85); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* —— Stats —— */
.stats-bar--home .stat-item {
  opacity: 0;
  transform: translateY(24px);
}

/* —— Brand story (dark) —— */
.brand-story {
  background: var(--dark-bg);
  padding: var(--section-py) 0;
  color: rgba(255, 255, 255, 0.72);
}

.brand-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: center;
}

.brand-story__label {
  color: var(--gold-light);
}

.brand-story .split-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 300;
  line-height: 1.12;
  color: #fff;
  margin: 20px 0 32px;
}

.brand-story .split-line {
  display: block;
  overflow: hidden;
}

.brand-story .split-line-inner {
  display: block;
}

.brand-story__prose p {
  font-size: var(--text-body-lg);
  line-height: var(--lh-body);
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.62);
}

.brand-story__frame {
  position: relative;
  padding: 12px;
}

.brand-story__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold-line);
  pointer-events: none;
  z-index: 2;
}

.brand-story__frame img {
  width: 100%;
  height: min(520px, 55vh);
  object-fit: cover;
  display: block;
}

/* —— Compact homepage —— */
.page-home .stats-bar--home,
.page-home .services-section--home,
.page-home .testimonials-section--home,
.page-home .gallery-section--home,
.page-home .quick-answers,
.page-home .cta-banner--home {
  padding-top: clamp(48px, 8vh, 72px);
  padding-bottom: clamp(48px, 8vh, 72px);
}

.page-home .seo-intro {
  padding: clamp(32px, 5vh, 48px) 0;
}
.services-section--home .service-card {
  opacity: 1;
  transform: none;
}

.service-card-teaser {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}

.service-card-full {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: max-height 0.55s var(--ease), opacity 0.45s ease, transform 0.55s var(--ease);
}

.service-card:hover .service-card-teaser {
  opacity: 0;
  max-height: 0;
  margin: 0;
}

.service-card:hover .service-card-full {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 12px;
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.45) 55%);
}

/* Split headings (light sections) */
.split-heading {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 300;
  color: var(--black);
  line-height: 1.15;
}

.split-heading .split-line {
  display: block;
  overflow: hidden;
}

.split-heading .split-line-inner {
  display: block;
}

/* —— Why home —— */
.why-section--home .why-image-wrap,
.why-section--home .why-content {
  opacity: 0;
}

.why-section--home .why-image-wrap {
  transform: translateX(-56px);
}

.why-section--home .why-content {
  transform: translateX(56px);
}

/* —— Event panels home —— */
.event-panels--home {
  position: relative;
  opacity: 0;
  transform: scale(0.97);
}

.event-panels--home::after {
  display: none;
}

.event-panels--home .event-panels__divider {
  position: absolute;
  left: 50%;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: var(--gold-line);
  transform: translateX(-50%) scaleY(0);
  transform-origin: center top;
  z-index: 5;
  pointer-events: none;
}

.event-panel h3 em {
  font-style: italic;
  color: var(--gold-light);
}

/* —— Testimonials home —— */
.testimonial-card--home {
  opacity: 0;
  transform: translateY(40px) rotate(2deg);
}

/* —— Masonry gallery —— */
.masonry-grid {
  column-count: 3;
  column-gap: 8px;
  margin-top: 56px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 8px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(32px);
}

.masonry-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.75s var(--ease);
}

.masonry-item:hover img {
  transform: scale(1.05);
}

/* —— Journal —— */
.blog-section--home {
  background: var(--ivory-dark);
}

.blog-section--home .blog-card {
  opacity: 0;
  transform: translateY(36px);
}

/* —— CTA home —— */
.cta-banner--home {
  position: relative;
  padding-top: 120px;
}

.cta-banner__rule {
  width: 0;
  height: 1px;
  background: var(--gold-line);
  margin: 0 auto 48px;
}

.cta-banner--home .cta-heading .cta-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(32px);
  margin-right: 0.2em;
}

.cta-banner--home .cta-rest {
  opacity: 0;
}

.btn--whatsapp {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #fff !important;
}

.btn--whatsapp:hover {
  filter: brightness(1.08);
}

@media (max-width: 900px) {
  .brand-story__grid {
    grid-template-columns: 1fr;
  }
  .brand-story__frame img {
    height: 360px;
  }
  .masonry-grid {
    column-count: 2;
  }
  .hero-scroll-hint {
    display: none;
  }
}

@media (max-width: 540px) {
  .masonry-grid {
    column-count: 1;
  }
  .hero--home .hero-heading {
    font-size: clamp(36px, 10vw, 48px);
  }
}
