/* ══ Shaker page — three blocks, one after another ═════════
 * /shaker/ and the record's own URL share one landing, so every rule here is scoped to
 * .pg--shaker and only adds what the shared sheet in style.css does not already carry.
 *
 * The page has its own ground and its own working colour — #F8FAFB paper, #12212E type,
 * #2C5F7D for anything that acts — declared here rather than in tokens.css, because no other
 * page of the site is drawn on them yet. Nothing here encodes a record value.
 */

.pg--shaker {
  --shp-bg: #F8FAFB;
  --shp-ink: #12212E;
  --shp-brand: #2C5F7D;
  --shp-line: #DCE4EA;
  --shp-ph: #E6ECF0;
  --shp-ph-ink: #8794A0;

  /* the page paints its own ground edge to edge, so it takes over main's gutter and measure */
  max-width: none;
  padding: 0;
  background: var(--shp-bg);
  color: var(--shp-ink);
}

/* one measure for every block, the same one the rest of the site uses: this page gives up main's
   frame, so it hands the same gutter in again here */
.shp-in { max-width: none; margin-inline: 0; padding-inline: var(--frame) }

/* every block breathes 96px above and below; 56px on a phone */
.shp-block { padding-block: 96px }
@media (max-width: 640px) { .shp-block { padding-block: 56px } }

/* the empty-archive state still has a heading, and it keeps the gutter this page gave up */
.pg--shaker > .pg-hero { max-width: none; margin-inline: 0; padding: 96px var(--frame) }

/* headings on this page are deep-sea, not the shared ink */
.pg--shaker .section-h { color: var(--shp-ink) }
.shp-h2 { margin: 0 0 var(--s4) }

/* ── the two buttons the whole site has, dressed for this page ────────────────────────────────
   Solid for the one action, outlined for the other. No third kind anywhere on the page. */
.pg--shaker .btn { border-color: var(--shp-ink); color: var(--shp-ink) }
.pg--shaker .btn:hover, .pg--shaker .btn:focus-visible { background: var(--shp-ink); border-color: var(--shp-ink); color: #FFF }
.pg--shaker .btn--primary { border-color: var(--shp-brand); background: var(--shp-brand); color: #FFF }
.pg--shaker .btn--primary:hover, .pg--shaker .btn--primary:focus-visible { border-color: var(--shp-ink); background: var(--shp-ink); color: #FFF }

/* ── pictures: a frame of a fixed ratio, carrying the photograph or the grey tile that stands
   in for it until the camera is done. 图1 … 图7 are the shot list, not decoration: each tile names
   the photograph that belongs in it. ─────────────────────────────────────────────────────── */
.shp-fig { margin: 0 }
.shp-frame { position: relative; overflow: hidden; background: var(--shp-ph) }
.shp-frame > .ph { height: 100%; background: var(--shp-ph) }
.shp-frame .ph__label { font-size: .8rem; letter-spacing: .18em; color: var(--shp-ph-ink) }
.shp-frame .ph__img { display: block; width: 100%; height: 100%; object-fit: cover }
.shp-frame--34 { aspect-ratio: 3 / 4 }
.shp-frame--11 { aspect-ratio: 1 / 1 }
.shp-frame--32 { aspect-ratio: 3 / 2 }

/* The hero frame holds every photograph the record holds, not one: the picture on show fills the
   square uncropped from its middle, and the whole set sits under it as small squares. The frame is
   the square it always was, so the column keeps its height whatever is stepped to. */
.shp-hero__fig { display: grid; gap: var(--s2); align-content: start }
.shp-hero__fig .shot-flip,
.shp-hero__fig .shot-flip__frame,
.shp-hero__fig .shot-flip__slide { height: 100% }
.shp-hero__fig .shot-flip img { display: block; width: 100%; height: 100%; object-fit: cover }
.shp-hero__thumbs { min-width: 0 }
/* the product's name rides in the h1 for a screen reader; the design keeps the campaign line */
.shp-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 }

/* ── 01 · hero: the claim left, the tall photograph right ───────────────────────────────────── */
.shp-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center }
.shp-hero h1 { margin: 0 0 var(--s3); font-family: var(--op-f-display); font-weight: 400; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.03em; color: var(--shp-ink) }


/* ── 02 · four steps ─────────────────────────────────────────────────────────────────────────── */
.shp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3) var(--s4); margin: 0; padding: 0; list-style: none }
.shp-step__h { margin: var(--s2) 0 .35rem; font-family: var(--op-f-display); font-weight: 400; font-size: 1.15rem; line-height: 1.25; color: var(--shp-ink) }
.shp-step__n { margin-right: .3rem; font-family: var(--op-f-body); font-size: .82rem; letter-spacing: .13em; color: var(--shp-brand) }
.shp-step__p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--op-ink-700) }
/* a phone turns the row into cards that scroll sideways and stop one at a time — no arrows, no
   carousel, nothing that moves by itself */
@media (max-width: 640px) {
  .shp-steps { display: flex; gap: var(--s2); margin-inline: 0; padding: 0 0 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; -webkit-overflow-scrolling: touch }
  .shp-step { flex: 0 0 76%; scroll-snap-align: start }
}



/* ── 01b · the specification: a small table under the product's name in the hero ───────────────
 * One line per fact, the label in small capitals and the value beside it, hairline between the
 * rows. Read in a glance beside the product's photograph, not as a band of its own — but large
 * enough to hold the column it sits in: the measure and the type are the first size × 1.2.
 * A row the record cannot fill is never printed (the template drops it). */
.shp-spec { margin-top: var(--s4); max-width: 32.5rem }
.shp-spec__rows { margin: 0 }
.shp-row { display: grid; grid-template-columns: 7.8rem minmax(0, 1fr); gap: var(--s3); padding: .6rem 0; border-top: 1px solid var(--shp-line) }
.shp-row:last-child { border-bottom: 1px solid var(--shp-line) }
.shp-row dt { font-size: .86rem; letter-spacing: .15em; text-transform: uppercase; line-height: 1.7; color: var(--op-stone-500) }
.shp-row dd { margin: 0; font-size: 1.1rem; line-height: 1.5; color: var(--shp-ink) }

/* ── 03 · the questions ──────────────────────────────────────────────────────────────────────── */
.shp-faq { max-width: 900px; border-top: 1px solid var(--shp-line) }
.shp-faq__i { border-bottom: 1px solid var(--shp-line) }
.shp-faq__h { margin: 0 }
.shp-faq__q { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2); width: 100%; padding: var(--s3) 0; border: 0; background: none; font-family: var(--op-f-display); font-size: 1.05rem; font-weight: 400; line-height: 1.35; color: var(--shp-ink); text-align: left; cursor: pointer }
.shp-faq__q:hover { color: var(--shp-brand) }
.shp-faq__q::after { content: "+"; flex: 0 0 auto; font-size: 1.1rem; line-height: 1; color: var(--shp-brand) }
.shp-faq__q[aria-expanded="true"]::after { content: "–" }
.shp-faq__a { padding: 0 var(--s2) var(--s3) 0 }
.shp-faq__a p { margin: 0; max-width: 62ch; font-size: .98rem; line-height: 1.65; color: var(--op-ink-700) }

/* ── a phone stacks every two-column block, in the page's order, picture first ──────────────── */
@media (max-width: 900px) {
  .shp-hero__in { grid-template-columns: minmax(0, 1fr); gap: var(--s4) }
  .shp-hero__fig { order: -1 }
}
@media (max-width: 520px) {
  .shp-row { grid-template-columns: minmax(0, 1fr); gap: .25rem }
  .shp-step__p { font-size: .96rem }
}
