/* Signature and Wordforms share the stage. No extra scripts or motion. */
.dual-create-hero {
  padding: clamp(36px, 5vw, 68px) 0 clamp(48px, 6vw, 80px);
}

.dual-hero-intro {
  max-width: 880px;
  margin: 0 auto 40px;
  text-align: center;
}

.dual-hero-intro h1 {
  max-width: none;
  margin-bottom: 20px;
  font-size: clamp(2.65rem, 5.9vw, 4.75rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.dual-hero-intro .eyebrow {
  margin-bottom: 18px;
}

.dual-hero-intro .hero-lede {
  max-width: 640px;
  margin: 0 auto 24px;
  font-size: 1.125rem;
  text-wrap: balance;
}

.dual-hero-intro .hero-actions {
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
}

.dual-hero-intro .hero-platforms {
  display: block;
  width: 100%;
  min-height: 0;
  margin: 15px 0 0;
  font-size: 0.8125rem;
}

.creation-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.mode-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 12px 40px rgb(26 45 135 / 5%);
}

.mode-card-copy {
  flex: 1;
  padding: 25px 28px 22px;
}

.mode-card-copy h2 {
  margin: 0 0 8px;
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.mode-card-copy p {
  max-width: 440px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.creation-modes .mode-card-media {
  grid-area: auto;
  align-self: stretch;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  box-shadow: none;
}

.mode-card-media > video,
.mode-card-media > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: white;
}

.mode-card-media figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  min-height: 65px;
  padding: 10px 24px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}

.mode-card-still figcaption > span:last-child {
  color: var(--ink-soft);
}

.mode-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 15px 28px;
  border-top: 1px solid var(--line);
  color: var(--blue-deep);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
}

.mode-card-link:hover {
  background: var(--blue-pale);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mode-section {
  position: relative;
  padding-block: clamp(64px, 7vw, 96px);
}

.section-anchor {
  position: absolute;
  top: 0;
  left: 0;
}

.mode-section-heading {
  max-width: 700px;
  margin-bottom: 36px;
}

.mode-section-heading h2 {
  font-size: clamp(2.4rem, 4.6vw, 3.75rem);
  line-height: 1.06;
}

.wordforms-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.wordforms-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.wordforms-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: white;
}

.wordforms-card figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
}

.wordforms-card h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.wordforms-card figcaption > span {
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.wordforms-guide {
  margin-top: 42px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-md);
  background: var(--canvas);
}

.wordforms-guide > h3 {
  margin-bottom: 26px;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.wordforms-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.wordforms-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.wordforms-step-number {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--blue-deep);
  font-size: 0.8125rem;
  font-weight: 800;
}

.wordforms-steps h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.4;
}

.wordforms-steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.signature-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.signature-gallery figcaption {
  padding: 20px;
}

.signature-gallery h3 {
  font-size: 1.25rem;
}

.signature-gallery .example-detail {
  font-size: 0.8125rem;
}

.shared-film {
  padding: 0 0 clamp(64px, 7vw, 96px);
}

.film-shell {
  max-width: 1000px;
}

.shared-film-heading {
  max-width: 640px;
  margin: 0 auto 24px;
  text-align: center;
}

.shared-film-heading h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.08;
}

.shared-film-heading p:last-child {
  margin-bottom: 0;
  font-size: 1rem;
}

.shared-film .full-film {
  margin: 0;
  border-top: 0;
}

@media (max-width: 980px) {
  .signature-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wordforms-steps {
    gap: 20px;
  }

  .wordforms-steps li {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 680px) {
  .dual-hero-intro {
    margin-bottom: 30px;
    text-align: left;
  }

  .dual-hero-intro h1 {
    font-size: clamp(2.5rem, 9vw, 3.4rem);
  }

  .dual-hero-intro .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.09em;
  }

  .dual-hero-intro .hero-lede {
    font-size: 1rem;
    text-wrap: initial;
  }

  .dual-hero-intro .hero-actions {
    position: relative;
    justify-content: flex-start;
    gap: 10px 20px;
  }

  .dual-hero-intro .hero-actions .button {
    width: auto;
  }

  .wordforms-gallery,
  .signature-gallery,
  .wordforms-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .creation-modes,
  .wordforms-gallery {
    gap: 22px;
  }

  .creation-modes {
    gap: 12px;
  }

  .creation-modes .mode-card-copy {
    padding: 18px 14px;
  }

  .creation-modes .mode-card-copy h2 {
    margin: 0;
    font-size: clamp(1.1rem, 5vw, 1.45rem);
  }

  /* The introduction already explains both modes on small screens. */
  .creation-modes .mode-card-copy p,
  .creation-modes .mode-card-media figcaption > span:first-child {
    display: none;
  }

  .creation-modes .mode-card-media figcaption {
    justify-content: center;
    min-height: 65px;
    padding: 10px 8px;
  }

  .creation-modes .mode-card-link {
    padding: 14px;
    font-size: 0.8125rem;
    gap: 6px;
  }

  .mode-card-copy {
    padding: 22px 22px 20px;
  }

  .mode-card-copy h2 {
    font-size: 1.6rem;
  }

  .mode-card-media figcaption,
  .mode-card-link {
    padding-inline: 20px;
  }

  .mode-section-heading {
    margin-bottom: 28px;
  }

  .wordforms-card figcaption {
    padding: 18px 20px;
  }

  .wordforms-steps {
    gap: 22px;
  }

  .wordforms-steps li {
    flex-direction: row;
    gap: 14px;
  }

  .wordforms-guide {
    margin-top: 32px;
  }
}
