/* Homepage bands: the look wall, the samples offer and the closing panel.
 *
 * These three only appear on the front page, so they are their own file
 * rather than more weight in layout.css, which every template loads.
 *
 * Container queries are not used here. Each band is full width at every
 * breakpoint, so the viewport is the right thing to ask.
 */

/* ---------------------------------------------------------------- look wall
 * Eight effects, each a real term with a real count and a real photograph of
 * a worktop that carries it. Four across on a desktop, two on a phone, which
 * keeps the tile wide enough for the photograph to read as a material rather
 * than a smudge.
 */
.wtd-section-head--split{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:16px;text-align:left;max-width:none;margin-left:0;margin-right:0}
.wtd-section-head--split>div{min-width:0}
.wtd-section-head__aside{font-family:var(--wtd-font-display);font-size:var(--wtd-text-md);color:var(--wtd-color-muted);margin:0}

.wtd-looks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;list-style:none;margin:0;padding:0}
@media (min-width:640px){.wtd-looks{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media (min-width:900px){.wtd-looks{grid-template-columns:repeat(4,minmax(0,1fr))}}

.wtd-look{display:block;text-decoration:none}
.wtd-look:hover{text-decoration:none}
.wtd-look__media{display:block;aspect-ratio:4/3;overflow:hidden;background:var(--wtd-color-sand);border:1px solid rgba(38,53,64,.1)}
.wtd-look__img{width:100%;height:100%;object-fit:cover;display:block;transition:transform var(--wtd-motion-slow,.4s) ease}
.wtd-look:hover .wtd-look__img{transform:scale(1.035)}
.wtd-look__bar{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:11px 2px 0}
.wtd-look__name{font-family:var(--wtd-font-display);font-size:var(--wtd-text-md);font-weight:var(--wtd-weight-semibold);color:var(--wtd-color-ink)}
.wtd-look__count{font-family:var(--wtd-font-display);font-size:var(--wtd-text-sm);color:var(--wtd-color-muted);flex:none}
.wtd-look:hover .wtd-look__name{color:var(--wtd-color-olive-700)}

/* ------------------------------------------------------------ samples band
 * The offer on the left, the live slot tray on the right. The tray reads the
 * real sample count, so it is not decoration: somebody who has already
 * chosen two sees two filled slots.
 */
.wtd-samples{display:flex;flex-wrap:wrap;gap:28px;align-items:center;background:var(--wtd-color-sand-100);padding:28px 24px}
@media (min-width:640px){.wtd-samples{gap:40px;padding:38px 42px 42px}}
.wtd-samples__say{flex:999 1 24rem;min-width:0}
.wtd-samples__say .wtd-h2{margin:6px 0 0}
.wtd-samples__say>p{margin:12px 0 0;font-size:var(--wtd-text-lg);line-height:1.55;max-width:52ch;color:var(--wtd-color-body)}
.wtd-samples__say .wtd-btn{margin-top:22px}
.wtd-samples__tray{flex:1 1 17rem;min-width:0}

.wtd-samples__count{font-family:var(--wtd-font-display);font-size:var(--wtd-text-2xs);font-weight:var(--wtd-weight-bold);letter-spacing:.12em;text-transform:uppercase;color:var(--wtd-color-ink);margin:0}
.wtd-samples__slots{display:grid;grid-template-columns:repeat(var(--wtd-slots,3),minmax(0,1fr));gap:9px;margin-top:14px}
.wtd-samples__tray{border:1px solid var(--wtd-color-line);background:#fff;padding:20px}
.wtd-slot{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;border:1.5px dashed var(--wtd-color-sand);font-family:var(--wtd-font-display);font-size:var(--wtd-text-2xl);line-height:1;color:var(--wtd-color-tan)}
.wtd-slot.is-filled{border-style:solid;border-color:var(--wtd-color-olive);background:var(--wtd-color-olive-50)}

/* -------------------------------------------------------------- ready band
 * The four things somebody asks themselves with a full basket, over the
 * navy. A definition list because that is what it is: four labels and four
 * answers.
 */
.wtd-ready{display:flex;flex-wrap:wrap;gap:0;background:var(--wtd-color-navy);color:var(--wtd-color-on-dark)}
.wtd-ready__media{flex:1 1 20rem;min-width:0;align-self:stretch}
.wtd-ready__media img{width:100%;height:100%;min-height:200px;object-fit:cover;display:block}
.wtd-ready__body{flex:999 1 26rem;min-width:0;padding:28px 24px}
@media (min-width:640px){.wtd-ready__body{padding:40px 42px}}
.wtd-ready__body .wtd-h2{color:#fff;margin:0}
.wtd-ready__list{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;margin:22px 0 0}
@media (min-width:640px){.wtd-ready__list{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}}
.wtd-ready__item{min-width:0}
.wtd-ready__item dt{color:var(--wtd-color-kicker-on-dark);margin:0}
.wtd-ready__item dd{margin:5px 0 0;font-size:var(--wtd-text-base);line-height:1.45;color:#dfe7e4}
.wtd-ready__call{margin:24px 0 0}
.wtd-ready__call a{font-family:var(--wtd-font-display);font-size:var(--wtd-text-lg);font-weight:var(--wtd-weight-bold);color:#fff}

/* ------------------------------------------------------------- doors landing
 * The two ways into the doors, on the page every doors link lands on until
 * the archive exists. Looks as cards, ranges as a plain multi-column list,
 * because twenty-odd range names want to be scanned, not browsed.
 */
.wtd-doorlooks{display:grid;grid-template-columns:minmax(0,1fr);gap:1px;background:var(--wtd-color-line-soft);border:1px solid var(--wtd-color-line-soft);list-style:none;margin:0;padding:0}
@media (min-width:640px){.wtd-doorlooks{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:900px){.wtd-doorlooks{grid-template-columns:repeat(5,minmax(0,1fr))}}
.wtd-doorlooks>li{display:flex;min-width:0}
.wtd-doorlook{display:flex;flex-direction:column;gap:5px;width:100%;padding:20px 18px 22px;background:#fff;text-decoration:none}
a.wtd-doorlook:hover{background:var(--wtd-color-sand-100);text-decoration:none;box-shadow:inset 0 3px 0 var(--wtd-color-olive)}
.wtd-doorlook__name{font-family:var(--wtd-font-display);font-size:var(--wtd-text-base);font-weight:var(--wtd-weight-semibold);color:var(--wtd-color-ink)}
.wtd-doorlook__blurb{font-size:var(--wtd-text-md);line-height:1.4;color:var(--wtd-color-muted)}
.wtd-doorlook__count{margin-top:auto;padding-top:8px;font-family:var(--wtd-font-display);font-size:var(--wtd-text-xs);color:var(--wtd-color-muted)}

.wtd-doorranges{columns:2;column-gap:28px;list-style:none;margin:0;padding:0}
@media (min-width:640px){.wtd-doorranges{columns:3}}
@media (min-width:900px){.wtd-doorranges{columns:4}}
.wtd-doorranges>li{break-inside:avoid;padding:9px 0;border-bottom:1px solid var(--wtd-color-line-soft);font-family:var(--wtd-font-display);font-size:var(--wtd-text-md);font-weight:var(--wtd-weight-medium)}
.wtd-doorranges>li>span{color:var(--wtd-color-muted)}
.wtd-doorranges a{color:var(--wtd-color-ink);text-decoration:none}
.wtd-doorranges a:hover{color:var(--wtd-color-olive-700);text-decoration:underline;text-underline-offset:3px}
/* The count beside a range name, so a live range reads as live and an
   empty one reads as coming. */
.wtd-doorranges__count{display:block;font-family:var(--wtd-font-display);font-size:var(--wtd-text-xs);font-weight:var(--wtd-weight-regular);color:var(--wtd-color-muted);letter-spacing:.02em}
/* A range with nothing published says so, in lighter type than a count, so
   the eye reads the buyable ones first and still finds an answer. */
.wtd-doorranges__count--soon{font-style:italic;opacity:.72}
