/* ============================================
   HOME PAGE STYLES
   ============================================ */

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: clip; /* clip doesn't create scroll container, prevents mobile width bleed */
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-texture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.5) 55%,
    rgba(0,0,0,0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero-text { flex: 1; max-width: 640px; }

.hero-tag { margin-bottom: 24px; }

.hero-title {
  font-family: var(--font-brand);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateX(-40px);
  animation: slideIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-title-line:nth-child(1) { animation-delay: 0.2s; }
.hero-title-line:nth-child(2) { animation-delay: 0.4s; }
.hero-title-line:nth-child(3) { animation-delay: 0.6s; }

.hero-title-outline {
  -webkit-text-stroke: 2px var(--yellow);
  color: transparent;
}

@keyframes slideIn {
  to { opacity: 1; transform: translateX(0); }
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .btn-secondary {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.hero-actions .btn-secondary:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}


/* Badge */
/*
.hero-badge {
  flex-shrink: 0;
}

.badge-ring {
  width: 180px;
  height: 180px;
  position: relative;
  animation: rotateBadge 12s linear infinite;
}

.badge-text-svg {
  width: 100%;
  height: 100%;
}

.badge-text-svg text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  fill: var(--yellow);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.badge-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  animation: rotateBadge 12s linear infinite reverse;
}

@keyframes rotateBadge {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

*/

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-hint span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--yellow);
  border-radius: 2px;
  animation: scrollPulse 1.6s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; top: 6px; }
  50%       { opacity: 0.3; top: 20px; }
}

/* ===== TICKER ===== */
.ticker {
  background: var(--yellow);
  overflow: clip; /* clip prevents layout bleed unlike hidden */
  white-space: nowrap;
  padding: 14px 0;
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  max-width: 100%;
  width: 100%;
  position: relative;
  contain: layout paint; /* prevents ticker-inner from expanding document scroll width */
}

.ticker-inner {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  animation: tickerScroll 30s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  /* GPU-accelerated — prevents layout bleed causing right-side whitespace */
  will-change: transform;
  backface-visibility: hidden;
}

.ticker-dot {
  color: var(--coral);
  font-size: 0.7rem;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== SECTION EYEBROW ===== */
.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

/* ===== INTRO ===== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}

.intro-body {
  font-size: 1.05rem;
  color: #444;
  margin-top: 20px;
  line-height: 1.75;
}

.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform var(--transition);
}

.stat-card:hover { transform: translateY(-4px) rotate(-1deg); }

.stat-num {
  font-family: var(--font-brand);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--black);
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(0,0,0,0.7);
}

/* ===== EXPERIENCES ===== */
.exp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.exp-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.exp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.exp-card-accent {
  height: 8px;
}

.exp-card-body {
  padding: 36px 32px;
}

.exp-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.exp-card h3 {
  font-family: var(--font-brand);
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1;
}

.exp-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.exp-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exp-features li {
  font-size: 0.88rem;
  color: #444;
  font-family: var(--font-display);
  font-weight: 500;
}

/* ===== TEXTURE BAND ===== */
.texture-band {
  overflow: hidden;
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
}

/* ===== HOW IT WORKS ===== */
.hiw-steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 60px;
}

.hiw-step {
  flex: 1;
  text-align: center;
  padding: 0 12px;
}

.hiw-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-family: var(--font-brand);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--black);
}

.hiw-step h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hiw-step p { font-size: 0.88rem; color: #666; line-height: 1.6; }

.hiw-arrow {
  font-size: 1.5rem;
  color: var(--light-gray);
  padding-top: 20px;
  flex-shrink: 0;
}

/* ===== GALLERY PREVIEW ===== */
.gallery-grid-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 12px;
  grid-template-areas:
    "a a b c"
    "a a d d";
  margin-top: 48px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== TESTIMONIALS ===== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.07);
  transition: transform var(--transition);
}

.testi-card:hover { transform: translateY(-4px); }

.testi-stars {
  color: var(--yellow);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testi-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #444;
  font-style: italic;
  margin-bottom: 24px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-brand);
  font-size: 1.2rem;
  color: var(--black);
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
}

.testi-author span {
  font-size: 0.8rem;
  color: #888;
}

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--yellow);
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  padding: 80px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-sub {
  color: rgba(0,0,0,0.65);
  font-size: 1.05rem;
  margin-top: 12px;
  max-width: 440px;
}

.cta-band-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .exp-cards { grid-template-columns: 1fr; }
  .hiw-steps { flex-direction: column; }
  .hiw-arrow { display: none; }
  .gallery-grid-preview {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
    grid-template-areas: "a b" "a c" "d d";
  }
  .testi-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .hero-content { flex-direction: column; }
  .hero-badge { display: none; }
  .intro-stats { grid-template-columns: 1fr 1fr; }
  .gallery-grid-preview { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d"; grid-template-rows: repeat(4, 200px); }
  .cta-band-actions { flex-direction: column; width: 100%; }
  .cta-band-actions .btn { justify-content: center; }
}
