/* "See how it works" on the landing (owner, 2026-09-26): the how-to Short,
   "here's how to make your own invitation at weddingisblooming.com".
   A still of the video until it is pressed, so the landing never loads
   YouTube for a visitor who does not ask for it. */

.wtut {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: #1c2618;
  box-shadow: 0 24px 60px rgba(41, 59, 44, .22), 0 0 0 1px rgba(255, 255, 255, .6), 0 0 0 7px rgba(255, 253, 247, .72);
}
.wtut-play,
.wtut iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.wtut-play {
  display: block;
  padding: 0;
  background: none;
  cursor: pointer;
}
.wtut-play img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wtut-play::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 38, 24, 0) 55%, rgba(28, 38, 24, .42) 100%);
}
.wtut-badge {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 253, 247, .92);
  color: #1c2618;
  box-shadow: 0 10px 30px rgba(28, 38, 24, .3);
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}
.wtut-badge svg { width: 30px; height: 30px; margin-left: 5px; }
.wtut-play:hover .wtut-badge { transform: translate(-50%, -50%) scale(1.06); }
.wtut-play:focus-visible { outline: 3px solid #b08a4a; outline-offset: -3px; }
.wtut-caption {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #fffdf7;
  font: 600 13px/1.35 "DM Sans", system-ui, sans-serif;
  text-align: left;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

/* Desktop band: the copy beside the phone-shaped video. */
.band-tutorial {
  padding: clamp(64px, 9vw, 120px) 0;
  background-color: #f3ddd6;
}
/* Its top fades into the bouquet band; without its own layer the bouquet
   (z-index 2) painted over that fade and left a hard seam. Lace (3) stays above. */
.view-home > .band-tutorial { z-index: 2; }
.band-tutorial .home-wrap {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
}
.band-tutorial .wtut { width: 320px; }
.band-tutorial .home-actions { margin-top: 8px; }
.band-tutorial .tut-copy h2 {
  margin: 0 0 var(--s4, 16px);
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  line-height: 1.05;
}

/* Phone landing section. */
.mobile-landing .ml-tutorial {
  padding: 56px 20px 64px;
  text-align: center;
}
.mobile-landing .ml-tutorial h2 {
  margin: 10px auto 12px;
  font-size: 34px;
  line-height: 1.08;
}
.mobile-landing .ml-tutorial .ml-tutorial-lede {
  max-width: 30ch;
  margin: 0 auto 26px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(41, 59, 44, .72);
}
.mobile-landing .ml-tutorial .wtut { width: min(100%, 300px); }

@media (prefers-reduced-motion: reduce) {
  .wtut-badge { transition: none; }
}
