/* "What are you looking for?" on the home page: six ways in, one section at a time (js/picker.js). */
.choose { padding-top: clamp(36px, 5vw, 64px); }
.choose h2 { margin: 0 0 clamp(16px, 2.4vw, 28px); }
.pick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.8vw, 32px) clamp(10px, 1.8vw, 22px); } /* 3 across, 2 down at every size */
.pick { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; min-width: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
/* the picture: four photos in a 2 x 2 grid, one of them swapped now and then (js/picker.js) */
.pick-img { position: relative; display: grid; grid: 1fr 1fr / 1fr 1fr; gap: 2px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--bg); grid-area: 1 / 1; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .2s; }
.pick-cell { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: var(--bg-2); }
.pick-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.pick-cell img.on { opacity: 1; }
.pick-img .render-tag { position: absolute; z-index: 1; left: 6px; top: 6px; }
.pick small { grid-area: 2 / 1; margin-top: 8px; color: var(--muted); font-size: .92rem; line-height: 1.35; }
/* the name sits in the middle of the picture, on a ribbon whose top and bottom edges fade out into the photos */
.pick b {
  grid-area: 1 / 1; align-self: center; position: relative; z-index: 2; padding: 6px 14px; text-align: center;
  font: 400 clamp(1.3rem, 2.8vw, 2rem)/1.1 var(--display); letter-spacing: -.01em; color: var(--ink);
}
.pick b::before {
  content: ''; position: absolute; z-index: -1; inset: -16px 0;
  background: linear-gradient(180deg, rgba(247, 246, 242, 0) 0%, rgba(247, 246, 242, .93) 34%, rgba(247, 246, 242, .93) 66%, rgba(247, 246, 242, 0) 100%);
  transition: background .25s;
}
/* the one showing below */
.pick[aria-pressed="true"] .pick-img { outline-color: var(--ink); }
.pick[aria-pressed="true"] b { color: #fff; }
.pick[aria-pressed="true"] b::before { background: linear-gradient(180deg, rgba(24, 23, 22, 0) 0%, rgba(24, 23, 22, .9) 34%, rgba(24, 23, 22, .9) 66%, rgba(24, 23, 22, 0) 100%); }
.pick:focus-visible { outline: none; }
.pick:focus-visible .pick-img { outline-color: var(--accent); }
@media (hover: hover) { .pick:not([aria-pressed="true"]):hover .pick-img { outline-color: var(--line-2); } }
@media (prefers-reduced-motion: reduce) { .pick-img, .pick-cell img, .pick b::before { transition: none; } }

/* only the section they picked shows; it starts close under the choices */
section[data-panel][hidden], .lt-panel[data-panel][hidden] { display: none !important; }
.section[data-panel] { padding-top: clamp(40px, 6vw, 72px); scroll-margin-top: 8px; }

/* under it: the other ways in */
.pick-again { max-width: 1280px; margin: clamp(40px, 6vw, 72px) auto 0; padding: 20px var(--gutter) 0; }
.pick-again p { margin: 0 0 12px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.pick-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pick-chips .chip[hidden] { display: none; }

/* phones: the same 3 x 2, square tiles with just their names (the one-liners would crowd it) */
@media (max-width: 640px) {
  .choose { padding-top: 36px; }
  .pick-grid { gap: 16px 10px; }
  .pick small { display: none; }
  .pick b { padding: 4px 8px; font-size: 1.05rem; line-height: 1.12; }
  .pick b::before { inset: -10px 0; }
  .pick-img { aspect-ratio: 1; gap: 1px; }
  .pick-img .render-tag { left: 4px; top: 4px; padding: 2px 5px; font-size: .56rem; }
  .section[data-panel] { padding-top: 36px; }
}

/* (Bulk & business no longer sits between two other sections, so it doesn't need its band) */
#business::before { display: none; }
#business { padding-bottom: 0; }
