/* SECTIONS */
section {
  padding: 6rem 3rem;
  position: relative;
  z-index: var(--z-page-content);
}

/* SERVICES */
.services {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: "DM Mono", monospace;
  /* Pin the weight so the label reads identically whether it's a <p> eyebrow or
     the Services section's <h2> — a bare h2 would render bold (and faux-bold,
     since DM Mono ships no 700). */
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sky-3);
  margin-bottom: 3.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: var(--sky-4);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(var(--theme-glow), 0.06);
  border: 1px solid rgba(var(--theme-glow), 0.06);
  border-radius: 20px;
  overflow: hidden;
}

.service-card {
  background: rgba(var(--ink-rgb), 0.7);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition:
    background 0.4s,
    box-shadow 0.4s;
  backdrop-filter: blur(10px);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--theme-glow), 0.4),
    transparent
  );
  transform: scaleX(0);
  transition: transform 0.5s;
}
/* The grid clips overflow, so the cards can't lift — depth comes from an
   inner top glow instead of an outer drop shadow + translate. */
.service-card:hover {
  background: rgba(var(--theme-glow), 0.07);
  box-shadow:
    inset 0 1px 0 0 rgba(var(--theme-glow), 0.18),
    inset 0 24px 48px -28px rgba(var(--theme-glow), 0.3);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card:hover .service-icon {
  opacity: 1;
  transform: translateY(-3px);
}

.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.5rem;
  color: var(--sky-3);
  opacity: 0.8;
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.service-num {
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: rgba(var(--theme-glow), 0.4);
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.service-desc {
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

/* ABOUT STRIP */
.about-strip {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
}
.about-heading em {
  font-style: normal;
  background: var(
    --theme-heading-em-bg,
    linear-gradient(135deg, var(--sky-2), var(--sky-4))
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-body {
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 2;
  color: rgba(255, 255, 255, 0.6);
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.stat-item {
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* CONTACT */
.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-card {
  background: linear-gradient(
    135deg,
    rgba(var(--theme-glow), 0.08) 0%,
    rgba(var(--ink-rgb), 0.9) 100%
  );
  border: 1px solid rgba(var(--theme-glow), 0.18);
  border-radius: 24px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(var(--theme-glow), 0.12),
    transparent 70%
  );
  pointer-events: none;
}

.contact-heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.contact-sub {
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  transition:
    color 0.3s,
    border-color 0.3s,
    background 0.3s,
    transform 0.18s;
}
.contact-link:hover {
  color: #fff;
  border-color: rgba(var(--theme-glow), 0.3);
  background: rgba(var(--theme-glow), 0.08);
}
.contact-link:active {
  transform: scale(0.97);
}
.contact-link svg {
  flex-shrink: 0;
  color: var(--sky-3);
}
