/* Home and /offers/ preview (2 Dec 2026, chat "2 Dec · hearing day, session start"; his pop-up "Preview home + offers").
   The methods read off two Apple product pages, rebuilt in Seven Sky's own tokens, as on /films/ (v86): a frosted page
   bar that sticks with the page's one action, gold figures filled with a metal gradient, and blocks that arrive in turn
   timed by the scroll itself (CSS scroll-driven animations, no script). The fixed sky (his 22 Oct pick) is untouched.
   DESIGN_SYSTEM.md rules kept: opacity and transform only; nothing waits or moves under reduced motion; older browsers
   see everything in place; forced colours and print get plain gold or ink. Loaded after the page's own stylesheets. */

/* 1. The page bar */
.pbar { position: sticky; top: 0; z-index: 4; background: rgba(0, 10, 43, 0.94); border-bottom: 1px solid var(--panel-edge); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .pbar { background: rgba(0, 10, 43, 0.6); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
}
.pbar-in { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); min-height: 56px; display: flex; align-items: center; gap: 26px; }
.pbar-title { font: 700 18px var(--font-display); color: var(--cream); text-decoration: none; margin-right: auto; white-space: nowrap; }
.pbar-links { display: flex; gap: 22px; }
.pbar-links a { font-size: 14px; color: var(--mist); text-decoration: none; padding: 12px 0; white-space: nowrap; }
.pbar-links a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
/* The price and the button keep fixed widths, so their words can change without moving anything in the bar */
.pbar-price { width: 204px; flex: 0 0 204px; text-align: right; overflow: hidden; text-overflow: ellipsis; font: 600 14px var(--font-display); color: var(--gold-text); white-space: nowrap; }
.pbar-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--cream); color: var(--navy); font: 600 14px var(--font-display); text-decoration: none; white-space: nowrap; }
.pbar-price + .pbar-cta { width: 196px; flex: 0 0 196px; box-sizing: border-box; }
.pbar a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
#layers, #how, #record, #contact, .offer, #receive { scroll-margin-top: 64px; }
@media (max-width: 1099px) { .pbar-links { display: none; } }
@media (max-width: 640px) { .pbar-in { min-height: 52px; gap: 14px; } .pbar-price { display: none; } }
@media (prefers-reduced-motion: no-preference) { .pbar-cta { transition: transform 0.16s ease, box-shadow 0.16s ease; } .pbar-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-rest); } }

/* 2. Gold figures with a metal fill: the layer numerals, the price strip, each offer's price */
.numeral, .price-strip .price, .amount {
  background-image: linear-gradient(180deg, #f6dc8f 0%, var(--gold-text) 45%, #b98a1f 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
@media (color-gamut: p3) {
  .numeral, .price-strip .price, .amount { background-image: linear-gradient(180deg, color(display-p3 0.98 0.87 0.55) 0%, var(--gold-text) 45%, color(display-p3 0.72 0.53 0.1) 100%); }
}

/* 3. Arrival in turn, timed by the scroll */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .layer .numeral { animation: am-num linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .layer .col, .record li, .how li { animation: am-rise linear both; animation-timeline: view(); animation-range: entry 5% entry 75%; }
    .layer .col:nth-child(2), .record li:nth-child(3n+2), .how li:nth-child(2) { animation-range: entry 15% entry 85%; }
    .layer .col:nth-child(3), .record li:nth-child(3n+3), .how li:nth-child(3) { animation-range: entry 25% entry 95%; }
    .how li:nth-child(n+4) { animation-range: entry 30% entry 100%; }
  }
}
@keyframes am-num { from { opacity: 0.12; transform: translateY(36px) scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes am-rise { from { opacity: 0.01; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Forced colours and print: plain gold or ink, no bar */
@media (forced-colors: active) {
  .numeral, .price-strip .price, .amount { background: none; -webkit-text-fill-color: CanvasText; color: CanvasText; }
}
@media print {
  .pbar { display: none !important; }
  .numeral, .price-strip .price, .amount { background: none; -webkit-text-fill-color: currentColor; }
  .numeral, .amount { color: var(--navy); } .price-strip .price { color: var(--bronze); }
  .layer .numeral, .layer .col, .record li, .how li { animation: none !important; }
}
