/* Editorial hero — Luminescent Monolith */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display:flex;
  align-items:center;
  min-height:88svh;
  padding-top:var(--nav-height);
  background:var(--surface);
}

@media (min-width: 769px) {
  .hero { min-height: 100svh; }
}

.hero__inner {
  position: relative;
  z-index: 1;
  width:100%;
  padding-block:clamp(64px,8vw,112px);
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__particles::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(19, 19, 19, 0.7), transparent);
}

.hero__particles canvas {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero__motion {
  position: absolute;
  z-index: 2;
  right: var(--space-6);
  bottom: var(--space-3);
  padding: var(--space-3);
  border: 0;
  background: transparent;
  color: var(--on-surface-variant);
  font: inherit;
  font-size: var(--text-xs);
  cursor: pointer;
}

.hero__motion:hover { color: var(--primary-container); }
.hero__motion:focus-visible {
  outline: 2px solid var(--primary-container);
  outline-offset: 2px;
}

.hero__content {
  width:100%;
  animation:heroEntry 700ms cubic-bezier(0.16,1,0.3,1);
}

.hero__headline {
  margin:0 0 clamp(32px,4vw,56px);
  font-size:clamp(2.75rem,6.7vw,6rem);
  font-weight:var(--font-display);
  line-height:1.06;
  letter-spacing:-0.04em;
  color:var(--on-surface);
}

.hero__line {
  display:block;
}

.hero__mobile-copy { display: none; }

.hero__headline .accent {
  color:var(--primary-container);
}

.hero__details {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--space-12);
}

.hero__description {
  max-width:46ch;
  margin:0;
  font-size:var(--text-lg);
  line-height:1.65;
  color:var(--on-surface-variant);
}

.hero__actions {
  display:flex;
  flex:0 0 auto;
  align-items:center;
  gap:var(--space-6);
}

.hero__actions .btn {
  min-height:48px;
  background:var(--primary-container);
  text-transform:none;
  letter-spacing:normal;
  font-size:var(--text-base);
}

.hero__project-link {
  display:inline-flex;
  align-items:center;
  gap:var(--space-2);
  min-height:48px;
  color:var(--on-surface);
  font-size:var(--text-base);
  white-space:nowrap;
  text-decoration:underline;
  text-decoration-color:transparent;
  text-underline-offset:6px;
  transition:color var(--transition-base),text-decoration-color var(--transition-base);
}

.hero__project-link:hover {
  color:var(--primary-container);
  text-decoration-color:currentColor;
}

.hero__actions :focus-visible {
  outline:2px solid var(--primary-container);
  outline-offset:5px;
}

.hero__services {
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-3) var(--space-6);
  margin:clamp(48px,6vw,80px) 0 0;
  padding:0;
  list-style:none;
  color:var(--on-surface-variant);
  font-size:var(--text-sm);
}

.hero__services li + li::before {
  content:'·';
  margin-right:var(--space-6);
  color:var(--primary-container);
}

@keyframes heroEntry {
  from {
  clip-path:inset(0 0 12% 0);
  transform:translateY(12px);
}
 to {
  clip-path:inset(0);
  transform:translateY(0);
}

}

@media(max-width:1100px) {
  .hero__details {
  align-items:flex-start;
  flex-direction:column;
  gap:var(--space-8);
}
 .hero__description {
  max-width:54ch;
}

}

@media(max-width:768px) {
  .hero {
  min-height:100svh;
}
 .hero__inner {
  padding-block:var(--space-16);
}
 .hero__headline {
  font-size:clamp(2.5rem,8.3vw,4rem);
  line-height:1.1;
}
 .hero__description {
  font-size:var(--text-base);
}
 .hero__services {
  gap:var(--space-3);
}
 .hero__services li + li::before {
  margin-right:var(--space-3);
}

}

@media(max-width:480px) {
  .hero__actions {
  width:100%;
  flex-direction:column;
  align-items:flex-start;
  gap:var(--space-3);
}
 .hero__actions .btn {
  width:100%;
  justify-content:center;
  white-space:normal;
}
 .hero__services {
  flex-direction:column;
  gap:var(--space-2);
}
 .hero__services li + li::before {
  content:none;
}

}

/* Mobile editorial composition; desktop rules remain unchanged. */
@media (max-width: 768px) {
  .hero__inner { padding-block: 52px 72px; }
  .hero__headline {
    font-size: clamp(2.25rem, 11.6vw, 4.5rem);
    line-height: 1.06;
    margin-bottom: 28px;
  }
  .hero__mobile-line { display: block; }
  .hero__desktop-copy { display: none; }
  .hero__mobile-copy { display: inline; }
  .hero__description { max-width: 34ch; line-height: 1.6; }
  .hero__details { gap: 24px; }
  .hero__actions { width: 100%; flex-direction: column; align-items: stretch; gap: 4px; }
  .hero__actions .btn { width: 100%; min-height: 52px; justify-content: center; }
  .hero__project-link { align-self: center; }
  .hero__services {
    display: grid;
    grid-template-columns: max-content max-content;
    gap: 10px 20px;
    margin-top: 28px;
    font-size: 0.8125rem;
  }
  .hero__services li:last-child { grid-column: 1 / -1; }
  .hero__services li + li::before { content: none; }
  .hero__particles {
    isolation: isolate;
  }
  .hero__particles::after {
    background: linear-gradient(180deg, transparent, rgba(19, 19, 19, 0.15) 40%, rgba(19, 19, 19, 0.6) 65%, transparent);
  }
  .hero__motion { right: 12px; bottom: 8px; }
}

@media(prefers-reduced-motion:reduce) {
  .hero__content {
  animation:none;
}
 .hero__project-link {
  transition:none;
}

}
