/* ===================================================================
   INDEX (Lead From Within home) — page-specific styles
   ================================================================== */

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/road.jpg") center/cover no-repeat;
  opacity: 0.85;
  transform: scale(1.08);
  animation: heroBgZoom 12s ease-out forwards;
}
@keyframes heroBgZoom {
  to {
    transform: scale(1);
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(47, 39, 31, 0.15) 0%,
    rgba(47, 39, 31, 0.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
}
.hero-logo {
  width: clamp(252px, 42vw, 476px);
  opacity: 0;
}
body.page-loaded .hero-logo {
  animation: heroLogoIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.2));
}
@keyframes heroLogoIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  opacity: 0;
}
body.page-loaded .hero-subtitle {
  animation: heroTextIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.hero-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
}
body.page-loaded .hero-pills {
  animation: heroTextIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.hero-pill {
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.4s ease;
}
.hero-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  padding: 1rem 2.2rem;
  background: var(--cream);
  color: var(--ink);
  font-family: "Archivo Black", sans-serif;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 100px;
  letter-spacing: 0.02em;
  opacity: 0;
}
body.page-loaded .hero-cta {
  animation: heroTextIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-cta:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.hero-cta svg {
  transition: transform 0.3s ease;
}
.hero-cta:hover svg {
  transform: translateX(4px);
}
@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: heroTextIn 1s cubic-bezier(0.16, 1, 0.3, 1) 1.5s both;
}
.scroll-indicator span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  width: 100%;
  height: 50%;
  background: rgba(255, 255, 255, 0.7);
  animation: scrollLineMove 2s ease-in-out infinite;
}
@keyframes scrollLineMove {
  0% {
    top: -50%;
  }
  100% {
    top: 150%;
  }
}

/* ---------- INTRO ---------- */
.intro {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.intro-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.intro-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}
.intro-image-wrap:hover img {
  transform: scale(1.04);
}
.intro-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--indigo);
  opacity: 0.12;
}
.intro-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.intro-body .section-text {
  margin-bottom: 0.5rem;
}
.intro-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--indigo);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: gap 0.3s ease;
}
.intro-link:hover {
  gap: 0.8rem;
}

/* ---------- SCOPE ---------- */
.scope {
  background: var(--ink);
  color: var(--cream);
}
.scope .section-label {
  color: rgba(255, 255, 255, 0.5);
}
.scope .section-title {
  color: #fff;
}
.scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.scope-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.scope-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--indigo);
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.scope-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}
.scope-card:hover::before {
  height: 100%;
}
.scope-card h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.75rem;
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
}
.scope-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- METHOD ---------- */
.method {
  background: var(--cream);
  position: relative;
}
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
  margin-top: 3rem;
}
.method-sticky {
  position: sticky;
  top: 120px;
}
.method-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.method-step {
  padding: 2rem 0;
  border-top: 1px solid rgba(47, 39, 31, 0.1);
  transition: all 0.4s ease;
}
.method-step:last-child {
  border-bottom: 1px solid rgba(47, 39, 31, 0.1);
}
.method-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.method-step-num {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--beige);
  flex-shrink: 0;
  transition: all 0.4s ease;
}
.method-step:hover .method-step-num {
  background: var(--indigo);
}
.method-step h3 {
  font-size: 1.2rem;
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
}
.method-step p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-soft);
  padding-left: 26px;
}

/* ---------- TRANSFORMATION ---------- */
.transformation {
  background: var(--beige);
}
.transform-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid rgba(47, 39, 31, 0.07);
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--indigo);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(47, 39, 31, 0.08);
  border-color: rgba(47, 39, 31, 0.12);
}
.service-card:hover::after {
  width: 100%;
}
.service-num {
  font-family: "Archivo Black", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--indigo);
  opacity: 0.5;
}
.service-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  font-style: normal;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  background: var(--cream);
}
.testimonial-carousel {
  position: relative;
  max-width: 720px;
  margin: 3rem auto 0;
  text-align: center;
  min-height: 200px;
}
.testimonial-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.testimonial-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}
.testimonial-slide blockquote {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--ink-soft);
  font-style: italic;
  max-width: 540px;
}
.testimonial-slide .author {
  font-family: "Archivo Black", sans-serif;
  font-size: 0.85rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--beige);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.testimonial-dot.active {
  background: var(--indigo);
  width: 24px;
  border-radius: 4px;
}

/* ---------- MEET NINA ---------- */
.meet-nina {
  background: var(--cream);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(3rem, 5vw, 5rem);
  position: relative;
  overflow: visible;
  padding: clamp(2rem, 3vw, 3rem) clamp(2rem, 8vw, 8rem) 0;
}
.nina-photo {
  width: clamp(280px, 28vw, 400px);
  position: relative;
  z-index: 0;
  flex-shrink: 0;
  margin-bottom: -4px;
  display: block;
}
.meet-nina-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding-bottom: clamp(2rem, 4vw, 4rem);
}
.meet-nina-body .section-label {
  color: var(--muted);
}
.meet-nina-body h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
  line-height: 1.1;
}
.meet-nina-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 44ch;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .intro {
    grid-template-columns: 1fr;
  }
  .intro-image-wrap {
    max-width: 480px;
    margin: 0 auto;
  }
  .method-grid {
    grid-template-columns: 1fr;
  }
  .method-sticky {
    position: static;
  }
  .meet-nina {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 0;
  }
  /* On mobile: text + button on top, Nina's photo flush at the bottom
     so it sits right above the LinkedIn strip. */
  .meet-nina > .reveal-right { order: 1; }
  .meet-nina > .reveal-left  { order: 2; }
  .meet-nina-body {
    align-items: center;
    padding-bottom: 0;
  }
  .meet-nina-body p {
    max-width: 100%;
  }
  .nina-photo {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .scope-grid {
    grid-template-columns: 1fr;
  }
}
