/* TLC Hero — scoped port of hero.tsx. */

.tlc-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 100svh;
  background: var(--tlc-ink);
}

/* ---- video reveal (clip + zoom on mount) ---- */
.tlc-hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  animation: tlc-hero-clip 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.tlc-hero__video-scale {
  position: absolute;
  inset: 0;
  animation: tlc-hero-zoom 2.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.tlc-hero__video-scale video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
@keyframes tlc-hero-clip {
  from { clip-path: inset(6% round 20px); }
  to   { clip-path: inset(0% round 0px); }
}
@keyframes tlc-hero-zoom {
  from { transform: scale(1.14); }
  to   { transform: scale(1); }
}

/* ---- tints ---- */
.tlc-hero__tint { position: absolute; inset: 0; z-index: 1; }
.tlc-hero__tint--side {
  background: linear-gradient(to right, var(--tlc-ink) 0%, rgba(10, 20, 34, 0.75) 50%, rgba(10, 20, 34, 0.35) 100%);
}
.tlc-hero__tint--bottom {
  background: linear-gradient(to top, var(--tlc-ink) 0%, transparent 40%);
}

/* ---- embers ---- */
.tlc-hero__embers { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.tlc-ember {
  position: absolute;
  border-radius: 50%;
  background: var(--tlc-ember);
  opacity: 0;
}

/* ---- content ---- */
.tlc-hero__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}
@media (min-width: 640px) {
  .tlc-hero__inner { padding: 8rem 1.5rem 6rem; }
}

.tlc-hero__eyebrow {
  font-family: var(--tlc-font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--tlc-brass-soft);
  margin: 0;
}

.tlc-hero__title {
  margin: 1.25rem 0 0;
  max-width: 56rem;
  font-family: var(--tlc-font-display);
  font-size: clamp(2rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--tlc-ivory);
}
.tlc-hero__br { display: none; }
@media (min-width: 640px) { .tlc-hero__br { display: block; } }

.tlc-hero__rotator {
  position: relative;
  display: inline-block;
  height: 1.1em;
  min-width: 6ch;
  vertical-align: bottom;
  color: var(--tlc-brass);
}
@media (min-width: 640px) { .tlc-hero__rotator { min-width: 9ch; } }

.tlc-hero__word {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(60%);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.tlc-hero__word.is-active { opacity: 1; transform: translateY(0); }
.tlc-hero__word.is-exit   { opacity: 0; transform: translateY(-60%); }

.tlc-hero__desc {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.625;
  color: color-mix(in srgb, var(--tlc-ivory) 80%, transparent);
}
@media (min-width: 640px) { .tlc-hero__desc { font-size: 1.125rem; } }

.tlc-hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

/* hero buttons grow slightly on sm+ (base .tlc-btn lives in tokens.css) */
@media (min-width: 640px) {
  .tlc-hero__actions .tlc-btn { padding: 1rem 2rem; }
}

/* ---- scroll chevron ---- */
.tlc-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  z-index: 10;
  color: color-mix(in srgb, var(--tlc-brass) 70%, transparent);
  animation: tlc-hero-bob 2.2s ease-in-out infinite;
}
@keyframes tlc-hero-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ---- mount reveal (replaces framer initial/animate) ---- */
.tlc-reveal {
  opacity: 0;
  animation: tlc-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--d, 0s);
}
