/* The premium home and its product cards (spec 2026-11-10 section 6 "Store"), layered after premium.css, which owns the tokens, nav, buttons, footer and the Rise, Settle
   and Press patterns. connect-premium.html reuses these cards. Hallmark floor applied to a fixed system (no theme dealt): colours and fonts are tokens, no transition: all,
   nothing animates width, height, top or left, clipped overflow on html and body, minmax(0,1fr) tracks, no tracked capitals, no eyebrows, no arrows in copy. */
html{overflow-x:clip}
/* owner 2026-11-14 ("push the footer down"): a short page is a full-height column, so the footer sits at the window's bottom edge, never right under the cards */
body{min-height:100svh;display:flex;flex-direction:column}
main{flex:1}

/* the quiet button: a hairline pill, for actions that sit beside a link (kept after the uniform .btn.primary and .btn.deep) */
.btn.quiet{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--soft)}
@media (hover:hover){.btn.quiet:hover{background:var(--ink);color:var(--page);box-shadow:none}}

/* ---------- the home: a Display headline, then the two cards ---------- */
body[data-page=store] .top{text-align:center}   /* one centred composition: the headline and the brand line on the same axis as the card pair, on a phone too */
.top{padding:var(--s3) 0}
.top .lead{max-width:none;margin-top:var(--s2)}
@media (max-width:760px){.top{padding:var(--s2) 0 var(--s3)}.top .lead{margin-top:var(--s1)}}

/* ---------- the product cards (Pollen's: one tan panel, the photo flush to its top, a status tag in its corner, the whole card a link) ---------- */
.picks{padding:0 0 var(--s5)}   /* 64 px between the cards and the footer */   /* the page ends under the cards: no 168 px band of linen before the footer; the footer follows */
.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--col-gap);row-gap:var(--s3);list-style:none;margin:0;padding:0}
.pcard{position:relative;display:flex;flex-direction:column;border-radius:var(--r-card);background:var(--page2);transition:box-shadow var(--dur-hover) var(--ease-out)}   /* no overflow:hidden: it would clip the focus ring */
@media (hover:hover){.pcard:hover{box-shadow:0 24px 48px -28px color-mix(in srgb,var(--ink) 45%,transparent)}}   /* the card hover shadow stays (spec 4); nothing lifts */
.shot{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:var(--r-card) var(--r-card) 0 0;background:var(--page2)}
.shot picture,.shot img{display:block;width:100%;height:100%}
.shot img{object-fit:cover;object-position:var(--pos,50% 50%)}
.pc-body{display:flex;flex:1;flex-direction:column;padding:var(--s3)}
.pcard h2{font-size:var(--fs-heading);line-height:1.15;letter-spacing:-.02em}
.pcard .line{margin-top:var(--s1);color:var(--soft);text-wrap:pretty}
.pc-act{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--s1) var(--s2);margin-top:auto;padding-top:var(--s2)}
.pc-act .btn{min-height:44px;padding:0 20px;font-size:var(--fs-small)}
/* the whole card is the link: the "See" line's ::after covers it, so the card keeps one valid link and the Pre-order action (its own link) sits above the stretch */
.card-link::after{content:"";position:absolute;inset:0;border-radius:var(--r-card)}
.card-link:focus-visible{outline:none}   /* the ring goes round the whole card, not the line */
.card-link:focus-visible::after{outline:3px solid var(--focus);outline-offset:3px}
.pcard .btn{position:relative;z-index:1}
/* the whole photo (owner, round 3: "full photo here"): Hanu's studio shot is 4:5, so on desktop both cards show a 4:5 photo (nothing of the figure is cropped away) and the cards run below the first screen; on a phone Hanu is 4:5 too, and Dexy stays 4:3 so its Pre-order button is on the first screen */
#hanu .shot{aspect-ratio:4/5}
/* owner 2026-11-14 ("why is back to half photo"): no height cap; on desktop both cards are 4:5 so the whole Hanu photo shows (audit 2 item 5's cap is undone) */
@media (min-width:761px){.shot{aspect-ratio:4/5}}
/* owner 2026-11-14 ("make this fit into one window", then "keep the text below, smaller like Pollen"): from 761 px the headline scales with the window height and each card stays
   stacked, its whole 4:5 photo over a short, tight text block. The photo is sized from the height (--ph: what is left under the header less --text, the text block and the page's
   bottom margin) and its 4:5 width follows (matted in a card at least 300 px wide, so the text never wraps tall); the headline, the brand line and the pair share one centre axis (owner: keep them centred; the card text stays left-aligned, sharing its left edge with the photo), so nothing can pass the right edge. Tracks shrink only if the window is too narrow. */
@media (min-width:761px){
  main{--h1:clamp(40px,8svh,var(--fs-display))}
  .top{padding:var(--s2) 0 var(--s3)}
  .top h1{font-size:var(--h1)}
  .top .lead{margin-top:var(--s2)}
  .cards{--text:182px;--ph:max(220px,calc(100svh - var(--nav) - 2 * var(--s2) - var(--s3) - .92 * var(--h1) - 2.9 * var(--fs-lead) - var(--text)));grid-template-columns:repeat(2,minmax(0,max(300px,calc(var(--ph) * .8 + 2 * var(--s2)))));justify-content:center;column-gap:var(--s4)}
  .shot{width:min(calc(var(--ph) * .8),calc(100% - 2 * var(--s2)));margin:var(--s2) var(--s2) 0;border-radius:var(--r-media)}   /* the whole photo, inset in the card, its left edge the text's; a card never narrower than 300 px so the text keeps a readable width */
  .pc-body{padding:var(--s2)}
  .pcard h2{font-size:var(--fs-lead)}
  .pcard .line{margin-top:4px;font-size:var(--fs-small)}
  .pc-act{padding-top:var(--s1)}
}
@media (max-width:760px){.cards{grid-template-columns:minmax(0,1fr);gap:var(--s2)}}
/* Press: the card dips to .97 (140 ms) and comes back (320 ms), no overshoot. The card, not the line: a scaled link would shrink the hit area. The Rise transition keeps its stagger. */
@media (prefers-reduced-motion:no-preference){
  html.motion .pcard{transition:opacity var(--dur-reveal) var(--ease-out) calc(var(--n,0) * var(--stagger)),transform var(--dur-reveal) var(--ease-out) calc(var(--n,0) * var(--stagger)),scale var(--dur-back) var(--ease-out),box-shadow var(--dur-state) var(--ease-out)}
  html.motion .pcard:has(.card-link:active){scale:.97;transition-duration:var(--dur-reveal),var(--dur-reveal),var(--dur-press),var(--dur-state)}
  html.motion .pcard .card-link:active::after{inset:-2%}   /* .97 of 104%: the pressed card must not shrink out from under a press at its edge */
}

