/* ══════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════ */
#about {
  min-height: 100vh;
  padding: 10rem 6vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Subtle background glow */
#about::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(74, 44, 109, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.about-heading-block {
  position: relative;
}

.about-heading-block .label {
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-heading-block .label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--text-muted);
}

.about-heading-block h2 {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--text);
}

.about-heading-block h2 .italic-line {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.3em;
}

.about-body-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-body-block p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 520px;
}

.about-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--glass-border);
  border-radius: 2px;
  width: fit-content;
}

.about-notice::before {
  content: '◈';
  font-size: 0.625rem;
  color: var(--accent-purple);
}

/* Divider between sections */
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--glass-border);
  margin: 0 6vw;
  width: calc(100% - 12vw);
}

/* ══════════════════════════════════════════
   SERVICES SECTION — Horizontal Scroll
═══════════════════════════════════════════ */
#services {
  position: relative;
  padding-top: 6rem;
}

.services-header {
  padding: 0 6vw 4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.services-header .label {
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.services-header .label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--text-muted);
}

.services-header h2 {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--text);
}

.services-scroll-hint {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.services-scroll-hint svg {
  animation: nudge-right 2s ease-in-out infinite;
}

@keyframes nudge-right {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(6px); }
}

/* Pin container — GSAP horizontal scroll target */
.services-pin-wrapper {
  position: relative;
  overflow: hidden;
}

.services-track {
  display: flex;
  gap: 1.5rem;
  padding: 0 6vw 5rem;
  /* Width set by JS based on card count */
  width: max-content;
}

/* Individual service card */
.service-card {
  position: relative;
  flex-shrink: 0;
  width: clamp(300px, 32vw, 420px);
  min-height: 520px;
  padding: 2.5rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: border-color 0.4s ease;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

/* Large background number */
.service-card .bg-number {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  font-size: clamp(7rem, 12vw, 11rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Abstract shape / icon area */
.service-card .card-shape {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  width: 48px;
  height: 48px;
  opacity: 0.25;
}

/* Counter */
.service-card .card-counter {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: auto;
}

/* Title */
.service-card .card-title {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

/* Description */
.service-card .card-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 32ch;
}

/* Bottom accent line */
.service-card .card-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
  transition: width 0.5s var(--ease-out);
}

.service-card:hover .card-accent {
  width: 100%;
}

/* Drag cursor hint while dragging */
.services-track.is-dragging {
  cursor: grabbing;
}

/* ══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  #about {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 7rem 6vw;
  }
}

@media (max-width: 600px) {
  #about {
    padding: 5rem 5vw;
  }

  .services-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-card {
    width: 85vw;
    min-height: 440px;
  }
}
