/*
  Architecture hero elephant — abstract 3D node figure + blind men.
*/

.section-head .body,
.arch-canvas-body {
  max-width: 62ch;
}

.section-head .body p,
.arch-canvas-body p {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.section-head .body p:last-child,
.arch-canvas-body p:last-child {
  margin-bottom: 0;
}

.arch-canvas-scroll {
  margin-top: 1.75rem;
}

.arch-canvas-body {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.arch-canvas-cta {
  margin-top: clamp(1.5rem, 2.5vw, 2rem);
}

.page-hero--elephant {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(2.25rem, 5vh, 3.5rem);
}

.page-hero--elephant .hero-inner {
  position: relative;
  z-index: 1;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.page-hero--elephant .hero-copy-stack {
  max-width: 38rem;
  position: relative;
  z-index: 1;
}

.arch-elephant__edge--ground {
  stroke-width: 0.9;
}

.arch-elephant__node--ground {
  opacity: 0.14;
}

.page-hero--elephant .hero-copy-stack .lede {
  max-width: 52ch;
}

.arch-elephant {
  position: relative;
  width: min(100%, 34rem);
  margin: 0.25rem auto 0;
  aspect-ratio: 440 / 340;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  animation: arch-elephant-in 900ms var(--ease, cubic-bezier(0.22, 1, 0.36, 1)) 120ms forwards;
}

.arch-elephant__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.arch-elephant__edge {
  fill: none;
  stroke: var(--ink, #1a1a1a);
  stroke-width: 1.15;
  stroke-linecap: round;
  opacity: 0.2;
  vector-effect: non-scaling-stroke;
}

.arch-elephant__edge--depth {
  stroke-width: 1;
}

.arch-elephant__node {
  fill: var(--ink, #1a1a1a);
  opacity: 0.42;
}

.arch-elephant__node--green {
  fill: var(--green, #beebcc);
  opacity: 1;
}

.arch-elephant__halo {
  fill: var(--green, #beebcc);
  opacity: 0.38;
}

@keyframes arch-elephant-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes arch-elephant-pulse {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.12);
  }
}

@keyframes arch-elephant-breathe {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0.4px, -0.6px);
  }
}

@media (min-width: 900px) {
  .page-hero--elephant .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(18rem, 1.15fr);
    gap: clamp(1rem, 2.5vw, 2.25rem);
    align-items: center;
  }

  .arch-elephant {
    width: 100%;
    max-width: none;
    margin: 0;
    justify-self: stretch;
    min-height: 22rem;
  }
}

@media (min-width: 1100px) {
  .arch-elephant {
    min-height: 26rem;
  }
}

@media (max-width: 899px) {
  .arch-elephant {
    width: min(92%, 28rem);
    opacity: 0.95;
  }
}

@media (prefers-reduced-motion: reduce) {
  .arch-elephant {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
