#hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  /* The deco square is rotated 45deg, so its bounding box is ~1.41x its
     width and can reach past the section edge on narrow viewports. */
  overflow-x: clip;
  padding: var(--section-padding);
  padding-top: 140px;
  background-color: var(--black);
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.03) 40px,
    rgba(255,255,255,0.03) 41px
  );
}

.hero-inner {
  display: grid;
  /* minmax(0,...) — without it a grid track floors at its content's
     min-width and the column refuses to shrink below the copy. */
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero-content {
  min-width: 0;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(38px, 8.4vw, 112px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-top: 16px;
}

.hero-heading span {
  display: block;
}

/* Grey carries the problem, white carries the offer. */
.hero-heading span.muted {
  color: var(--grey-3);
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--grey-4);
  max-width: min(460px, 100%);
  line-height: 1.7;
  margin-top: 28px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-deco {
  display: flex;
  align-items: center;
  justify-content: center;
}

.deco-outer {
  width: min(340px, 25vw);
  height: min(340px, 25vw);
  border: 1px solid var(--grey-2);
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spinOuter 30s linear infinite;
}

.deco-inner {
  width: min(146px, 10.7vw);
  height: min(146px, 10.7vw);
  background: var(--grey-2);
  transform: rotate(-45deg);
  animation: spinInner 30s linear infinite;
}

@keyframes spinOuter {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}

@keyframes spinInner {
  from { transform: rotate(-45deg); }
  to { transform: rotate(-765deg); }
}

/* ── Proof bar ────────────────────────────────────────────────────── */
/* Deliberately not animated: this is the first evidence a visitor sees
   and it has to be on screen the moment the page arrives. */

#proof {
  padding: 40px 8vw 48px;
  background: var(--black);
  border-top: 1px solid var(--grey-2);
  border-bottom: 1px solid var(--grey-2);
}

.proof-label {
  margin-bottom: 28px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 24px;
}

/* Flattened to white silhouettes. The source logos range from dark
   purple to cyan; on a black ground the dark ones vanish and the row
   reads as inconsistent rather than as a set. */
.proof-item img {
  height: 44px;
  width: auto;
  max-width: 178px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.72;
  transition: opacity var(--transition-base);
}

@media (hover: hover) and (pointer: fine) {
  .proof-item:hover img {
    opacity: 1;
  }
}

/* An abstract symbol says nothing about whose it is, so that mark gets
   the organisation's name set beside it, inside the same 44px slot the
   other logos occupy — the row stays aligned. */
.proof-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
}

.proof-lockup img {
  flex: none;
}

.proof-lockup-name {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.06em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.72;
  transition: opacity var(--transition-base);
}

@media (hover: hover) and (pointer: fine) {
  .proof-item:hover .proof-lockup-name {
    opacity: 1;
  }
}

/* Fallback lockup for a client with no logo asset yet. */
.proof-wordmark {
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: 0.08em;
  color: var(--white);
  opacity: 0.72;
  line-height: 44px;
}

.proof-fact {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey-3);
  line-height: 1.6;
  letter-spacing: 0.05em;
}
