/* Homepage orbit hero, inspired by an editorial community landing page. */
.orbit-hero {
  --hero-ink: #222328;
  --hero-muted: #696b72;
  position: relative;
  min-height: 100vh;
  padding: clamp(72px, 8vw, 112px) clamp(18px, 6vw, 88px) clamp(40px, 6vw, 88px);
  overflow: visible; /* lets the hand canvas bleed down into the next section */
  color: var(--hero-ink);
  background:
    radial-gradient(
      circle at 50% 44%,
      transparent 0 21%,
      rgba(34, 35, 40, 0.055) 21.1% 21.2%,
      transparent 21.3% 34%,
      rgba(34, 35, 40, 0.045) 34.1% 34.2%,
      transparent 34.3%
    ),
    #e9e8e6;
}

.orbit-stage {
  position: relative;
  display: flex;
  min-height: 650px;
  align-items: center;
  justify-content: center;
  margin-top: -18px;
}

.orbit-center {
  position: absolute;
  z-index: 8;
  top: 47%;
  left: 50%;
  display: flex;
  width: min(88%, 650px);
  flex-direction: column;
  align-items: center;
  padding: 26px;
  transform: translate(-50%, -50%);
  text-align: center;
}

.orbit-eyebrow {
  margin-bottom: 24px;
  color: #bd476a;
  font:
    700 0.69rem/1.2 Arial,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orbit-title {
  margin: 0;
  color: var(--hero-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3rem, 5.8vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.orbit-subtitle {
  max-width: 530px;
  margin: 28px 0 26px;
  color: var(--hero-muted);
  font:
    400 clamp(0.85rem, 1.2vw, 1rem)/1.55 Arial,
    sans-serif;
}

.orbit-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.orbit-btn-primary,
.orbit-btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font:
    600 0.76rem/1 Arial,
    sans-serif;
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.orbit-btn-primary {
  padding: 14px 18px;
  border-radius: 5px;
  color: #fff;
  background: #24252a;
  box-shadow: 0 8px 18px rgba(25, 25, 28, 0.16);
}

.orbit-btn-text {
  border-bottom: 1px solid #bbbcc0;
  padding: 5px 0;
}
.orbit-btn-primary:hover {
  transform: translateY(-2px);
  background: #bd476a;
}
.orbit-btn-text:hover {
  transform: translateX(2px);
}

.about-showcase {
  position: relative;
  z-index: 10;
  padding: 120px var(--spacing-md) 140px;
  color: var(--color-text-light);
  /* Transparent so the hero's hand canvas can show through underneath as it
     sinks down from the hero; body.theme-dark supplies the (theme-reactive)
     backdrop everywhere else, so this stays in sync with light/dark mode. */
  background: transparent;
}

.about-showcase-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--spacing-md);
  max-width: 1360px;
  margin: 0 auto var(--spacing-lg);
}

.about-showcase-label {
  flex: 0 0 auto;
  color: var(--color-text-dim);
  font:
    600 0.7rem/1 Arial,
    sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-showcase-heading {
  flex: 1 1 480px;
  max-width: 920px;
  margin: 0 0 0 auto;
  color: var(--color-text-light);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.28;
  text-align: right;
  text-transform: uppercase;
}

.about-showcase-heading .is-strong {
  color: var(--color-text-light);
}

.about-showcase-heading .is-muted {
  color: var(--color-text-dim);
  font-weight: 500;
}

.about-showcase-grid {
  display: grid;
  max-width: 1360px;
  grid-template-columns: 1fr 1.15fr 1fr;
  grid-template-rows: repeat(2, minmax(190px, auto));
  gap: var(--spacing-md);
  margin: 0 auto;
}

.about-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  overflow: hidden;
}

.about-card--plain {
  grid-row: 1 / 3;
  border: 1px solid rgba(var(--ink), 0.22);
}

.about-card--strategy {
  grid-column: 1;
}

.about-card--speed {
  grid-column: 3;
}

.about-card--media {
  grid-column: 2;
  padding: 0;
  background: rgba(var(--ink), 0.22);
}

.about-card--results {
  grid-row: 1;
}

.about-card--creative {
  grid-row: 2;
}

.about-card--cut {
  clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%, 0 28px);
}

.about-card--cut-alt {
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
}

.about-card-inner {
  position: absolute;
  inset: 1px;
}

.about-card--cut .about-card-inner {
  clip-path: polygon(27px 0, 100% 0, 100% 100%, 0 100%, 0 27px);
}

.about-card--cut-alt .about-card-inner {
  clip-path: polygon(27px 0, 100% 0, 100% calc(100% - 27px), calc(100% - 27px) 100%, 0 100%, 0 27px);
}

.about-card-inner img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.about-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.about-card-title {
  margin: 0;
  color: var(--color-text-light);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-transform: uppercase;
}

.about-card-desc {
  max-width: 260px;
  margin: 0;
  color: var(--color-text-dim);
  font:
    400 0.82rem/1.55 Arial,
    sans-serif;
}

@media (max-width: 1100px) {
  .orbit-stage {
    min-height: 610px;
  }
}

@media (max-width: 760px) {
  .orbit-hero {
    padding: 68px 12px 36px;
  }
  .orbit-stage {
    min-height: 570px;
  }
  .orbit-center {
    top: 48%;
    width: 100%;
    padding: 22px;
  }
  .orbit-eyebrow {
    margin-bottom: 18px;
    font-size: 0.58rem;
  }
  .orbit-title {
    font-size: clamp(2.75rem, 15vw, 4.3rem);
  }
  .orbit-subtitle {
    margin: 24px 0;
  }
  .orbit-actions {
    flex-direction: column;
    gap: 14px;
  }
  .about-showcase {
    padding: 72px 16px 90px;
  }
  .about-showcase-head {
    flex-direction: column;
    gap: 14px;
  }
  .about-showcase-heading {
    max-width: 100%;
    margin-left: 0;
    text-align: left;
  }
  .about-showcase-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 16px;
  }
  .about-card,
  .about-card--plain,
  .about-card--media {
    grid-column: 1;
    grid-row: auto;
  }
  .about-card--media {
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-btn-primary,
  .orbit-btn-text {
    transition: none;
  }
}

/* Homepage composition, with a Three.js hand scene layered behind the copy. */
.orbit-hero {
  min-height: 100vh;
  padding: 0;
  color: var(--color-text-light);
  background: var(--color-bg-dark);
}

.orbit-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 50%, var(--color-surface) 0%, var(--color-bg-dark) 70%);
}

.hands-stage {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  /* Extends past the hero's own bottom edge so the hands can keep sinking
     into view over the top of the next section (about-showcase) instead of
     being cut off right at the hero's boundary. */
  bottom: -45vh;
  z-index: 1;
}

.hands-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.orbit-stage {
  z-index: 2;
  min-height: 100vh;
  margin-top: 0;
  padding: 140px var(--spacing-md) 100px;
}

.orbit-center {
  top: 38%;
}
.orbit-eyebrow {
  color: var(--color-accent);
}
.orbit-title {
  color: var(--color-text-light);
  font-family: var(--font-primary);
  font-weight: 400;
}
.orbit-subtitle {
  color: var(--color-text-dim);
  font-family: var(--font-primary);
}

.orbit-btn-primary {
  color: var(--color-bg-dark);
  background: var(--color-text-light);
}

.orbit-btn-text {
  color: var(--color-text-light);
  border-color: rgba(var(--ink), 0.3);
}

@media (max-width: 1100px) {
  .orbit-stage {
    min-height: 100vh;
  }
}

@media (max-width: 760px) {
  .orbit-hero {
    padding: 0;
  }
  .orbit-stage {
    min-height: 100vh;
    padding: 120px var(--spacing-md) 70px;
  }
  .orbit-center {
    top: 32%;
    width: min(100%, 650px);
    /* Extra clearance so the eyebrow/title never sit under the fixed navbar
       + logo (which the plain 22px base padding wasn't always enough for on
       shorter mobile viewports). */
    padding-top: 88px;
  }
}
