/* uwee-u.css: /uwee-u layout the relaunch owns. Linked last in the page's own css list (lib/site/pages/uwee-u.ts).
   Every rule here is keyed on a `uu-` class only /uwee-u prints.
   Design audit 2026-11-09, U27 (signed spec specs/uwee-u.md): the shelves as cards, each with its keeper's
   picture; Fold once, at working size; one ending. Round two U23 (round-two/specs/uwee-u.md): the open hero,
   four open cards. Build three U27: three open cards and two greyed (`shelf-card--soon`, printed only here). The shelves no longer load this sheet (lib/site/templates/shelf-index.ts drops it). */

/* 1. The hero is the shared open hero (round two U23): it keeps the shared part's own styling, so nothing here. */

/* 2. The shelves (build three U27, specs/uwee-u.md part 1): five cards in one grid, three open then two greyed. One
   on a phone, two from 700px, three from 1100px (the greyed pair is the second row). */
/* Build six G3-U3 (Sarah's comment 5duXn42r2nlI: "tighter spacing and smaller text blocks"): the shelves band and
   Fold's band take site.css's .band--tight padding instead of the full .band clamp; the cards sit closer and their
   words step down one size. The hero is the shared open hero and is not touched. */
section.band.uu-shelves, section.band.uu-why { padding-block: clamp(36px, 5vw, 64px); }
.uu-shelves .section-head { margin-bottom: clamp(18px, 2.2vw, 26px); }
/* Build nine (Sarah XRjKmAfh7nJ8): the start line holds one line ("...with Research." no longer wraps) where the row has the room. */
.uu-shelves__start { max-width: none; margin: 8px 0 0; font-size: .95rem; color: var(--muted, var(--ink-2)); }
.uu-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 700px) { .uu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .uu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* No overflow clip on the card: the kit's lift draws its shadow outside the box, so the picture rounds its own top. */
.uu-card { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--card, #fff); color: var(--fg, var(--ink)); border: 1px solid var(--rule, rgba(21, 23, 28, .12)); border-radius: var(--radius); scroll-margin-top: 120px; }
.uu-card__pic { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.uu-card__body { display: flex; flex-direction: column; gap: 6px; padding: clamp(14px, 1.6vw, 18px); }
.uu-card h3 { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: clamp(1.15rem, 1.4vw, 1.3rem); }
.uu-card p { margin: 0; font-size: .95rem; line-height: 1.45; }
.uu-card .dest { margin-top: auto; padding-top: 4px; font-weight: 700; }

/* An open shelf is a link as a whole card: the name's link stretches over it, the destination link sits above. The
   lift on hover and focus is the kit's (`kit-lift` on the card); the page adds the underline and the focus ring. */
.uu-card__go { color: inherit; text-decoration: none; }
.uu-card__go::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.uu-card .dest a { position: relative; z-index: 2; }
.uu-card--open:hover .uu-card__go { text-decoration: underline; text-underline-offset: 3px; }
.uu-card--open:focus-within { outline: 3px solid var(--amber); outline-offset: 2px; }
.uu-card__go:focus-visible { outline: none; }

/* A greyed shelf (shelf-index.ts `shelfSoonCard`): the open card's footprint in text. A flat quiet panel where the
   picture would be, the name set large in the muted ink; greyed by tone and the tag, never by opacity (the muted ink is
   above 4.5 to 1 on both grounds). No lift, the default cursor. */
.uu-cell { display: grid; }
.uu-grid .shelf-card--soon { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--rule, rgba(21, 23, 28, .12)); border-radius: var(--radius); background: transparent; color: var(--ink-3); cursor: default; }
.uu-grid .shelf-card__panel { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 16px; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; background: var(--paper-2); }
.uu-grid .shelf-card__panel span { font-family: var(--head); font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.1; text-align: center; color: var(--ink-3); }
.uu-grid .shelf-card__body { display: flex; flex-direction: column; gap: 6px; padding: clamp(14px, 1.6vw, 18px); }
.uu-grid .shelf-card__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.uu-grid .shelf-card--soon h3 { margin: 0; font-size: clamp(1.15rem, 1.4vw, 1.3rem); color: var(--ink-2); }
.uu-grid .shelf-card--soon p { margin: 0; font-size: .95rem; line-height: 1.45; color: var(--ink-3); }
/* On a phone the cards stack one above the other, so the greyed panel is a short band, not a picture's height of empty. */
@media (max-width: 699px) { .uu-grid .shelf-card__panel { aspect-ratio: 3 / 1; } }
/* A greyed panel with a picture (build six part two A3, Case Studies): the open cards' 3:2 at every width, so neither
   Biscuit nor the "Coming soon" sign is cropped; the picture is not greyed, the card's words and outline stay quiet. */
.uu-grid .shelf-card__panel.shelf-card__panel--pic { aspect-ratio: 3 / 2; padding: 0; overflow: clip; background: var(--paper-2); }
.uu-grid .shelf-card__panel--pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.uu-grid .soon-tag { display: inline-block; padding: 2px 9px; border: 1px solid currentColor; border-radius: 999px; font-family: var(--ui); font-size: .78rem; font-weight: 600; letter-spacing: .02em; line-height: 1.4; white-space: nowrap; color: var(--ink-3); }

/* 3. Fold at working size beside the copy: about 260px, about 160px on a phone.
   `section.` outranks the shared part's own width rule, which loads after this sheet. */
section.uu-why .uwee { width: min(260px, 100%); }
@media (max-width: 860px) { section.uu-why .uwee { width: 160px; } }

/* 4. The ending's button and two text links, in one row */
.uu-close .doors { column-gap: 28px; }
