/* Hero: animated title and a tilting stage where one idea becomes five network previews. */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
  min-height: calc(100svh - 110px);
  padding: 32px max(64px, calc((100% - 1312px) / 2)) 96px;
  isolation: isolate;
}
.hero-ribbon,
.cta-ribbon {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--color-logo);
  stroke-width: 1.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.hero-ribbon path,
.cta-ribbon path {
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.hero-ribbon .hero-ribbon-echo {
  stroke-opacity: 0.28;
}
.motion .hero-ribbon path {
  stroke-dashoffset: 1;
  animation: draw 2.6s 0.5s var(--ease-out) forwards;
}
.motion .hero-ribbon .hero-ribbon-echo {
  animation-delay: 0.8s;
}
.hero-mark {
  position: absolute;
  z-index: -2;
  top: -40px;
  right: -120px;
  width: clamp(320px, 38vw, 620px);
  opacity: 0.07;
  translate: 0 var(--shift, 0px);
  pointer-events: none;
}

.hero-copy {
  display: grid;
  gap: 28px;
  justify-items: start;
}
.hero-eyebrow {
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: rgba(252, 251, 247, 0.7);
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 13px;
}
.hero-title {
  font-size: clamp(46px, 5.6vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.048em;
  font-weight: 500;
}
.hero-title .line {
  display: block;
  overflow: clip;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}
.hero-title .line > span {
  display: block;
}
.hero-title .nowrap {
  white-space: nowrap;
}
.hero-title .line-accent {
  color: var(--color-brand);
}
.hero-description {
  max-width: 540px;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--color-text-secondary);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
}
.hero-actions .button {
  min-height: 60px;
  padding-inline: 28px;
  box-shadow: 0 18px 40px -18px rgba(186, 62, 39, 0.6);
}
.hero-footnote {
  font-size: 14px;
  color: var(--color-text-muted);
}
.hero-footnote strong {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-text);
}
.motion .hero-title .line > span {
  animation: rise 1.15s 0.1s var(--ease-out) both;
}
.motion .hero-title .line-accent > span {
  animation-delay: 0.24s;
}
.hero-title .word {
  display: inline-block;
  white-space: nowrap;
}
.hero-title .char {
  display: inline-block;
}
.motion .hero-title.is-split .line > span {
  animation: none;
}
.motion .hero-title.is-split .char {
  animation: rise-letter 1s calc(0.08s + var(--c) * 24ms) var(--ease-out) both;
}
@keyframes rise-letter {
  from {
    opacity: 0;
    transform: translateY(0.9em) rotate(6deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.motion .hero-eyebrow,
.motion .hero-description,
.motion .hero-actions,
.motion .hero-footnote {
  animation: fade-up 1s var(--ease-out) both;
}
.motion .hero-eyebrow {
  animation-delay: 0.05s;
}
.motion .hero-description {
  animation-delay: 0.5s;
}
.motion .hero-actions {
  animation-delay: 0.62s;
}
.motion .hero-footnote {
  animation-delay: 0.74s;
}

/* Stage: drawn at 60em wide; 1em is a sixtieth of its width at every size. */
.hero-stage {
  position: relative;
  container-type: inline-size;
  width: 100%;
  max-width: 640px;
  justify-self: end;
  perspective: 1600px;
}
.hero-canvas {
  position: relative;
  aspect-ratio: 60 / 60;
  font-size: calc(100cqw / 60);
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--my, 0) * -5deg)) rotateY(calc(var(--mx, 0) * 7deg));
  transition: transform 700ms var(--ease-out);
}
.float-card,
.hero-agent,
.hero-decision {
  position: absolute;
  translate: 0 var(--shift, 0px);
}
.float-inner {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 1.6em;
  background: var(--color-surface);
  box-shadow: 0 2.6em 5em -2.6em rgba(25, 28, 26, 0.42);
}
.float-inner > p {
  padding: 0.9em 1.2em 1.2em;
  font-family: var(--font-heading);
  font-size: 1.35em;
  line-height: 1.2;
}
.card-net {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 1em 1.2em;
  font-size: 1.1em;
  font-weight: 600;
}
.card-net img {
  width: 1.3em;
  height: 1.3em;
}
.card-net--light {
  position: absolute;
  z-index: 1;
  color: #fff;
}
.card-net--light img {
  filter: invert(1);
}
.card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.card-caption {
  position: absolute;
  left: 1em;
  right: 1em;
  bottom: 1.2em;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.55em;
  font-weight: 600;
  line-height: 1.05;
  text-shadow: 0 0.1em 0.8em rgba(0, 0, 0, 0.45);
}
.card-dots {
  display: flex;
  justify-content: center;
  gap: 0.4em;
  margin-top: 0.8em;
}
.card-dots i {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--color-border-strong);
}
.card-dots i:first-child {
  background: var(--flow-ink);
}
.card-ig {
  left: 0;
  top: 3em;
  width: 23em;
  rotate: -7deg;
}
.card-tt,
.card-yt {
  width: 15em;
}
.card-tt .float-inner,
.card-yt .float-inner {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--color-stage);
  border-color: transparent;
}
.card-tt .card-photo,
.card-yt .card-photo {
  height: 100%;
  aspect-ratio: auto;
  object-position: 70% 50%;
}
.card-tt {
  left: 25em;
  top: 0;
  rotate: 4deg;
}
.card-yt {
  left: 45em;
  top: 33em;
  width: 13.5em;
  rotate: -6deg;
}
.card-yt .card-photo {
  object-position: 28% 60%;
}
.card-fb {
  left: 0.5em;
  top: 41em;
  width: 21em;
  rotate: 4deg;
}
.card-fb .float-inner > p {
  padding-block: 0 0.9em;
  font-family: var(--font-body);
  font-size: 1.15em;
}
.card-fb .card-photo {
  aspect-ratio: 16 / 8;
}
.card-ig-gift {
  left: 43em;
  top: 6em;
  width: 16.5em;
  rotate: 8deg;
}
.card-ig-gift .float-inner {
  background: #fff;
}
.card-iguana {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.8em 1em;
  border-bottom: 0.3em solid var(--iguana);
  color: var(--iguana);
  font-size: 1.15em;
  font-weight: 700;
}
.card-iguana img {
  width: 1.9em;
  height: 1.9em;
}
.card-ig-gift .card-photo {
  aspect-ratio: 1;
  object-position: 76% 50%;
}
.card-gift {
  display: block;
  margin: 0.9em;
  padding: 0.5em 0.8em;
  border-radius: 0.8em;
  background: var(--iguana-soft);
  color: var(--iguana);
  font-size: 1.1em;
  font-weight: 600;
}

.hero-agent {
  z-index: 3;
  left: 12em;
  top: 21em;
  width: 33em;
  padding: 2em;
  border: 1px solid var(--color-border);
  border-radius: 2.4em;
  background: var(--color-surface);
  box-shadow: 0 3.6em 7em -3em rgba(25, 28, 26, 0.5);
}
.hero-agent-head {
  display: flex;
  align-items: center;
  gap: 1.2em;
}
.hero-agent-head .face {
  width: 2.4em;
  height: 2.4em;
  font-size: 1.85em;
}
.hero-agent-head .face i {
  width: 0.6em;
  height: 0.6em;
}
.hero-agent-head strong,
.hero-agent-head small {
  display: block;
}
.hero-agent-head strong {
  font-family: var(--font-heading);
  font-size: 1.9em;
  font-weight: 600;
  line-height: 1.1;
}
.hero-agent-head small {
  font-size: 1.2em;
  color: var(--color-text-muted);
}
.hero-says {
  margin: 1.4em 0;
  padding: 1.1em 1.3em;
  border-radius: 0.4em 1.4em 1.4em 1.4em;
  background: var(--tone-soft);
  color: var(--tone-ink);
  font-family: var(--font-heading);
  font-size: 1.55em;
  line-height: 1.3;
}
.hero-trail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7em;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-trail li {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.6em 0.9em;
  border: 1px dashed var(--color-border-strong);
  border-radius: 99em;
  font-size: 1.15em;
  white-space: nowrap;
}
.hero-trail li span {
  color: var(--tone);
}
.hero-trail .is-you {
  border: 0;
  background: var(--color-brand);
  color: var(--color-on-brand);
  font-weight: 600;
}
.hero-trail .is-you span {
  color: inherit;
}
.hero-decision {
  z-index: 4;
  left: 15em;
  top: 50.5em;
  display: flex;
  align-items: center;
  gap: 1.4em;
  padding: 0.85em 0.85em 0.85em 1.7em;
  border-radius: 99em;
  background: var(--flow-ink);
  color: var(--flow-paper);
  white-space: nowrap;
  box-shadow: 0 2em 4em -2em rgba(25, 28, 26, 0.6);
}
.hero-decision > * {
  font-size: 1.2em;
}
.hero-decision-nets {
  display: flex;
  gap: 0.45em;
}
.hero-decision-nets img {
  width: 1.2em;
  height: 1.2em;
  filter: invert(1);
}
.hero-decision-nets img:last-child {
  filter: none;
  border-radius: 0.3em;
}
.hero-approve {
  padding: 0.6em 1.3em;
  border-radius: 99em;
  background: var(--color-brand);
  color: var(--color-on-brand);
  font-weight: 600;
}
.hero-stage .stage-caption {
  margin-top: 0;
}

.motion .float-card,
.motion .hero-agent,
.motion .hero-decision {
  animation: card-in 1.2s var(--ease-out) both;
}
.motion .card-ig {
  animation-delay: 0.35s;
}
.motion .card-tt {
  animation-delay: 0.45s;
}
.motion .card-ig-gift {
  animation-delay: 0.55s;
}
.motion .card-yt {
  animation-delay: 0.65s;
}
.motion .card-fb {
  animation-delay: 0.75s;
}
.motion .hero-agent {
  animation-delay: 0.2s;
}
.motion .hero-decision {
  animation-delay: 1.5s;
}
.motion .float-inner {
  animation: float 7s ease-in-out infinite;
}
.motion .card-tt .float-inner {
  animation-delay: -2s;
}
.motion .card-ig-gift .float-inner {
  animation-delay: -4s;
  animation-duration: 8s;
}
.motion .card-yt .float-inner {
  animation-delay: -1s;
  animation-duration: 6s;
}
.motion .card-fb .float-inner {
  animation-delay: -5s;
}
.motion .hero-trail li {
  animation: pop 0.6s var(--ease-spring) both;
}
.motion .hero-trail li:nth-child(1) {
  animation-delay: 1s;
}
.motion .hero-trail li:nth-child(2) {
  animation-delay: 1.15s;
}
.motion .hero-trail li:nth-child(3) {
  animation-delay: 1.3s;
}
.motion .hero-trail li:nth-child(4) {
  animation-delay: 1.6s;
}
.motion .hero-approve {
  animation: ring 2.4s 2.4s ease-out infinite;
}
@keyframes card-in {
  from {
    opacity: 0;
    scale: 0.82;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}
