/* Website design (D110): what did they come for? A row of choices beside the device stack; picking one plays that real page. */
.wd-stage { padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(40px, 5vw, 72px); display: grid; gap: clamp(24px, 3vw, 40px); }
.wd-p { margin-top: 14px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.45; color: var(--soft); max-width: 30em; }
.wd-picks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.wd-picks button { appearance: none; font: inherit; font-weight: 600; font-size: 16px; color: var(--paper); background: transparent; border: 1px solid var(--rule2); border-radius: 2px; min-height: 48px; padding: 0 18px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.wd-picks button:hover { border-color: var(--paper); }
.wd-picks button[aria-checked="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.wd-cap { margin-top: 22px; text-align: center; font-size: 15.5px; line-height: 1.5; color: var(--soft); max-width: 44em; margin-left: auto; margin-right: auto; min-height: 3em; }
.wd-dev .dvs { transition: opacity .3s ease; }
.wd-dev.is-swap .dvs { opacity: .25; }
.wd-phone { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 88px); }
.wd-num { display: grid; gap: 10px; max-width: 46em; }
.wd-num b { font-family: var(--disp); font-weight: 800; font-size: clamp(2.6rem, 7vw, 6rem); line-height: .92; letter-spacing: -.03em; }
.wd-num span { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.42; color: var(--soft); max-width: 30em; }
.wd-src { margin: 14px 0 0; font-size: .82rem; line-height: 1.45; color: var(--soft); max-width: 46em; }
@media (min-width: 900px) { .wd-num { grid-template-columns: auto minmax(0, 1fr); column-gap: 40px; align-items: end; } }
@media (max-width: 619px) { .wd-cap { text-align: left; } .wd-picks { flex-wrap: nowrap; gap: 6px; } .wd-picks button { flex: 1 1 0; padding: 0 6px; font-size: 14.5px; white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { .wd-picks button, .wd-dev .dvs { transition: none; } }

/* the creative director's revision: the real phone page first, large and in front; the laptop and tablet behind it, smaller, as what
   the other three in ten see. On a phone, the phone recording alone. */
.wd-dev .dvs.is-pick { width: min(100%, 980px); padding-bottom: 0; }
.wd-dev .dvs.is-pick .dv-ph { position: relative; left: 6%; bottom: auto; width: 31%; padding: 1cqw; border-radius: 3.6cqw; z-index: 2; }
.wd-dev .dvs.is-pick .dv-ph .dv-scr { border-radius: 2.8cqw; }
.wd-dev .dvs.is-pick .dv-lap { position: absolute; right: 0; top: 9%; width: 56%; margin: 0; z-index: 1; }
.wd-dev .dvs.is-pick .dv-tab { right: auto; left: 41%; bottom: 3%; width: 15%; z-index: 1; }
@container (max-width: 620px) {
  .wd-dev .dvs.is-pick .dv-lap, .wd-dev .dvs.is-pick .dv-tab { display: none; }
  .wd-dev .dvs.is-pick .dv-ph { left: auto; width: 62%; margin: 0 auto; padding: 2cqw; border-radius: 7cqw; }
  .wd-dev .dvs.is-pick .dv-ph .dv-scr { border-radius: 5.4cqw; }
}

@media (max-width: 899px) {
  .wd-words { display: contents; }
  .wd-stage h2 { order: 1; } .wd-picks { order: 2; margin-top: 0; } .wd-dev { order: 3; } .wd-p { order: 4; margin-top: 0; }
}
/* a wide screen: the choices on the left, the devices beside them from the top of the section, so the picture is in the first screen */
@media (min-width: 900px) {
  .wd-stage { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(28px, 3.4vw, 60px); align-items: start; }
  .wd-words { position: sticky; top: calc(var(--hd) + 24px); }
  .wd-dev { grid-column: 2; grid-row: 1; }
  .wd-picks { flex-direction: column; align-items: stretch; max-width: 260px; }
  .wd-picks button { text-align: left; }
}
