/* ============================================
   SHARED SECTION STYLES
   ============================================ */
section {
  padding: var(--section-pad-y) var(--section-pad-x);
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 20px;
  padding-left: 56px;
  position: relative;
}

.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--black);
}

.eyebrow.center {
  padding-left: 0;
  text-align: center;
}

.eyebrow.center::before {
  display: none;
}

.section-title {
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

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

.intro-text p {
  font-size: 17px;
  color: var(--gray-600);
  margin-bottom: 24px;
  max-width: 580px;
}

.intro-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--black);
  padding-bottom: 4px;
}

.intro-link svg {
  width: 14px;
  transition: transform var(--t-base);
}

.intro-link:hover svg {
  transform: translateX(6px);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */

@keyframes revealUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes revealRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}

.section-title,
.service-card,
.project,
.closer-img {
  opacity: 0;
}

.section-title.in-view {
  animation: revealUp 0.7s var(--ease) both;
}

.service-card.in-view {
  animation: revealUp 0.7s var(--ease) both;
}

.services-grid .service-card:nth-child(2).in-view { animation-delay: 0.12s; }
.services-grid .service-card:nth-child(3).in-view { animation-delay: 0.24s; }

.project.in-view {
  animation: revealUp 0.6s var(--ease) both;
}

.projects-grid .project:nth-child(2).in-view  { animation-delay: 0.05s; }
.projects-grid .project:nth-child(3).in-view  { animation-delay: 0.10s; }
.projects-grid .project:nth-child(4).in-view  { animation-delay: 0.15s; }
.projects-grid .project:nth-child(5).in-view  { animation-delay: 0.05s; }
.projects-grid .project:nth-child(6).in-view  { animation-delay: 0.10s; }
.projects-grid .project:nth-child(7).in-view  { animation-delay: 0.15s; }
.projects-grid .project:nth-child(8).in-view  { animation-delay: 0.20s; }

.closer-img.in-view {
  animation: revealRight 0.8s var(--ease) both;
}

@media (prefers-reduced-motion: reduce) {
  .section-title,
  .service-card,
  .project,
  .closer-img {
    opacity: 1;
    animation: none !important;
  }
}
