/* ======================================================================
   The store. The site's own language, set as a catalogue: each piece a
   print (stone, its gold composition, a plant across it, a numeral in the
   display serif), its ways of being bought as a toggle, its price in the
   serif and rolling as the choice changes. Paper and mist for the shelves,
   one night band for the Moment, gold for what matters: the compositions,
   the savings, the numerals of the steps, the free first session.
   ====================================================================== */

.st-plate { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); isolation: isolate; }
.st-plate::after { content: ""; position: absolute; inset: 0; z-index: 2; box-shadow: inset 0 0 0 1px rgba(25, 24, 24, .05); pointer-events: none; }
/* the store's one cover on every piece: the logo in gold foil on black
   leather, edge to edge, so each frame crops it around the logo. A slow lean
   in and a passing light when pointed at, the same light as the choice changes */
.st-shot { background: #1c1b19; }
.st-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 2s var(--ease-settle); }
.st-shot::before {
  content: ""; position: absolute; inset: -10% -30%; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 246, 222, .2) 50%, transparent 60%);
  mix-blend-mode: screen; opacity: 0; translate: -55% 0;
}
.st-card__open:hover .st-shot img, .st-card__open:focus-visible .st-shot img { scale: 1.035; }
.st-card__open:hover .st-shot::before, .st-shot.is-sheen::before { animation: st-sheen 1.5s var(--ease-fade); }
@keyframes st-sheen { 0% { opacity: 0; translate: -55% 0; } 18% { opacity: 1; } 100% { opacity: 0; translate: 55% 0; } }
.st-price__now > span { grid-area: 1 / 1; display: block; }
.is-out { animation: st-out .6s var(--ease) forwards; }
.is-in-roll { animation: st-in .85s var(--ease) both; }
@keyframes st-out { to { transform: translateY(-104%); opacity: 0; filter: blur(3px); } }
@keyframes st-in { from { transform: translateY(104%); opacity: 0; filter: blur(3px); } }

/* ---------------------------------------------------------------- opening */
/* The name across the top, and four windows below it, edge to edge: one per
   collection, each stone with its gold composition and its plant printed
   over it. One gold square grows in the middle, parts into four and opens
   into the four compositions; pointing at a window widens it. */
.sh { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100vh; height: 100svh; min-height: 660px; background: var(--mist); }
.sh__top {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: var(--u);
  padding: calc(var(--hd) + var(--u) * .35) var(--u) calc(var(--u) * .5);
}
.sh__label { grid-column: 1 / -1; margin-bottom: calc(var(--u) * .3); }
.sh__title { font-size: min(9.6vw, 17vh); font-weight: 500; line-height: .84; letter-spacing: -.055em; white-space: nowrap; }
.sh__title .ln { padding: .06em .02em .16em; margin: -.06em -.02em -.16em; }
.sh__title .stop { color: var(--gold); }
.sh__aside { width: calc(var(--u) * 5.3); padding-bottom: .5em; }
.sh__sub { font-family: var(--display); font-size: max(19px, 1.6vw); line-height: 1.15; color: var(--ink-2); }
.sh__meta { display: flex; flex-wrap: wrap; gap: .5em 1.5em; margin-top: 1.2em; font-size: 10.5px; letter-spacing: .05em; color: var(--muted); }
.sh__meta span:first-child::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .7em; border-radius: 50%; background: var(--gold); vertical-align: .1em; }

.sh__row { position: relative; display: flex; min-height: 0; }
.sh__win {
  position: relative; isolation: isolate; overflow: hidden;
  flex: 1 1 0; min-width: 0;
  background: var(--stone); color: var(--graphite);
  container-type: inline-size;              /* its name is sized to the window, as the window widens and narrows */
  transition: flex-grow 1.25s var(--ease);
}
.sh__win + .sh__win::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; z-index: 4; width: 1px; background: rgba(43, 43, 43, .2); transform-origin: 50% 0; transition: transform 1.3s var(--ease) calc(var(--k) * .07s); }
.sh__art { position: absolute; inset: 0; }
.sh__art svg { position: absolute; left: 4%; right: 4%; top: 5%; width: 92%; height: 70%; transition: scale 1.8s var(--ease-settle); }
.sh__art path { fill: var(--gold); }
.sh__plant {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  mix-blend-mode: multiply; opacity: 0; scale: 1.07;
  transition: opacity 1.8s var(--ease-fade), scale 2.6s var(--ease-settle);
}
.sh__win.is-lit .sh__plant { opacity: .92; scale: 1; }
.sh__no { position: absolute; left: 20px; top: 20px; z-index: 3; font-size: 10px; letter-spacing: .05em; }
.sh__cap { position: absolute; left: 20px; right: 20px; bottom: 22px; z-index: 3; display: grid; justify-items: start; }
.sh__name { max-width: 100%; font-family: var(--display); font-size: clamp(34px, 3.1vw, 58px); font-size: clamp(26px, 13.5cqi, 60px); line-height: .92; letter-spacing: -.01em; text-wrap: balance; mix-blend-mode: multiply; transition: font-size 1.25s var(--ease); }
.sh__from { margin-top: .75em; font-size: 10px; letter-spacing: .05em; }
.sh__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 1s var(--ease), opacity .6s var(--ease-fade); }
.sh__more > span { overflow: hidden; }
.sh__say { display: block; max-width: 21em; padding-top: 1em; font-size: 14px; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.sh__go { display: inline-flex; align-items: center; gap: .7em; margin-top: 1em; padding-bottom: .35em; border-bottom: 1px solid currentColor; font-size: 10.5px; letter-spacing: .05em; color: var(--ink); }
.sh__go svg { width: 11px; height: 11px; rotate: 90deg; }
.sh__lead { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; overflow: visible; pointer-events: none; visibility: hidden; }
.sh__lead rect { fill: var(--gold); }
@media (hover: hover) and (pointer: fine) {
  .sh.is-set .sh__row:hover .sh__win { flex-grow: .78; }
  .sh.is-set .sh__row .sh__win:hover { flex-grow: 2.1; }
  .sh.is-set .sh__win:hover .sh__more { grid-template-rows: 1fr; opacity: 1; transition-delay: .25s, .35s; }
  .sh.is-set .sh__win:hover .sh__plant { scale: 1.03; }
  .sh.is-set .sh__win:hover .sh__art svg { scale: 1.04; }
}
.sh__win:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.sh__win:focus-visible .sh__more { grid-template-rows: 1fr; opacity: 1; }

/* the opening, staged by store.js: is-on, is-lined, is-split, then each window is-lit, then is-set */
.js .sh__title .ln > span { transform: translateY(110%); }
.sh.is-on .sh__title .ln > span { transform: none; transition: transform 1.7s var(--ease) .1s; }
.js .sh__label, .js .sh__aside { opacity: 0; translate: 0 12px; }
.sh.is-on .sh__label, .sh.is-on .sh__aside { opacity: 1; translate: 0 0; transition: opacity 1.2s var(--ease-out) .5s, translate 1.5s var(--ease) .5s; }
.js .sh__win + .sh__win::before { transform: scaleY(0); }
.sh.is-lined .sh__win + .sh__win::before { transform: scaleY(1); }
.js .sh__art svg { opacity: 0; }
.sh.is-split .sh__art svg { opacity: 1; }
.js .sh__no, .js .sh__cap { opacity: 0; translate: 0 12px; }
.sh__win.is-lit .sh__no, .sh__win.is-lit .sh__cap { opacity: 1; translate: 0 0; transition: opacity 1.1s var(--ease-out) .7s, translate 1.4s var(--ease) .7s; }

/* ------------------------------------------------------------ collections */
.st-col { padding: calc(var(--u) * 1.9) var(--u) calc(var(--u) * 1.7); background: var(--paper); }
.st-col#sessions { background: var(--mist); }
.st-col__head {
  display: grid; grid-template-columns: calc(var(--u) * 1.5) minmax(0, 1fr) auto; align-items: end; column-gap: calc(var(--u) * .4);
  padding-bottom: calc(var(--u) * .55); margin-bottom: calc(var(--u) * .8);
  border-bottom: 1px solid var(--ink);
}
.st-col__no { align-self: start; padding-top: .9em; color: var(--muted); }
.st-col__head .sv-body { max-width: 31em; margin-top: calc(var(--u) * .3); }
.st-col__count { color: var(--muted); }

.st-grid { display: grid; gap: calc(var(--u) * 1.1) calc(var(--u) * .5); }
.st-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: calc(var(--u) * .7); }
.st-grid--2 .st-plate { aspect-ratio: 5 / 4; }

.st-card { display: flex; flex-direction: column; }
.st-card__open { display: block; width: 100%; padding: 0; text-align: left; cursor: pointer; }
.st-card__open:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.st-card__body { display: flex; flex-direction: column; flex: 1; padding-top: 1.35em; }
.st-card__meta { display: flex; justify-content: space-between; align-items: center; gap: 1em; color: var(--muted); }
.st-tag { display: inline-flex; align-items: center; gap: .55em; color: var(--ink); }
.st-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.st-card__name { margin-top: .75em; font-size: max(21px, 1.74vw); font-weight: 500; line-height: 1.06; letter-spacing: -.035em; }
.st-card__line { margin-top: .55em; max-width: 25em; font-size: max(14px, .97vw); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
/* the choice and the price sit at the foot of every card, so a row's prices line up */
.st-card__line { margin-bottom: 1.5em; }
.st-card__body > .st-seg { margin-top: auto; }
.st-card__body > .st-card__line + .st-price { margin-top: auto; }

/* the ways to buy it */
.st-seg {
  position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  margin-top: 1.5em; padding: 3px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
}
.st-seg i { position: absolute; left: 3px; top: 3px; bottom: 3px; width: calc((100% - 6px) / var(--n)); border-radius: 999px; background: var(--ink); translate: calc(var(--v, 0) * 100%) 0; transition: translate .85s var(--ease); }
.st-seg button { position: relative; z-index: 1; padding: .66em .5em; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: -.005em; color: var(--ink-2); white-space: nowrap; transition: color .5s var(--ease-fade); }
.st-seg button[aria-checked="true"] { color: var(--paper); }
.st-seg button:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

.st-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3em .8em; margin-top: 1.15em; }
.st-price__now { display: inline-grid; overflow: hidden; padding: .06em 0 .04em; font-family: var(--display); font-size: max(40px, 3.2vw); line-height: 1; letter-spacing: -.01em; color: var(--ink); }
.st-price__was { font-size: 14px; color: var(--muted); text-decoration-thickness: 1px; }
.st-price__was:empty { display: none; }
.st-save { padding: .45em .75em .4em; border-radius: 999px; background: var(--gold); font-family: var(--mono); font-size: 10px; line-height: 1; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.st-save[hidden] { display: none; }
.st-note { margin-top: .45em; font-size: 13px; color: var(--muted); }

.st-card__acts { display: flex; align-items: center; gap: 1.6em; margin-top: 1.4em; }
.st-buy {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .75em;
  height: 48px; padding: 0 1.35em 0 1.55em;
  border-radius: 999px; background: var(--ink);
  font-size: 14px; font-weight: 500; color: var(--paper);
  transition: color .5s var(--ease-fade);
}
.st-buy::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--gold); transform: translateY(101%); transition: transform .75s var(--ease); }
.st-buy:hover, .st-buy:focus-visible { color: var(--ink); }
.st-buy:hover::before, .st-buy:focus-visible::before { transform: none; }
.st-buy svg { width: 11px; height: 11px; transition: translate .6s var(--ease); }
.st-buy:hover svg { translate: 2px -2px; }
.st-buy:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ----------------------------------------------------------- the Moment */
.st-moment {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: calc(var(--u) * 6.4) calc(var(--u) * 8); justify-content: space-between; align-items: center;
  padding: calc(var(--u) * 2) var(--u);
  background: var(--night); color: var(--ivory);
}
.st-moment::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 22% 50%, rgba(248, 176, 0, .1), transparent 70%); pointer-events: none; }
.st-moment__plate { position: relative; }
.st-plate--cover { aspect-ratio: 3 / 4; box-shadow: 0 70px 120px -50px rgba(0, 0, 0, .85), 0 0 0 1px rgba(245, 243, 238, .05); }
.st-moment__words { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.st-moment__label { display: flex; gap: 1.2em; color: rgba(245, 243, 238, .6); }
.st-moment__label span { color: var(--gold); }
.st-moment .sv-h2 { margin-top: calc(var(--u) * .45); max-width: 11em; }
.st-moment .sv-body { margin-top: calc(var(--u) * .45); max-width: 31em; color: rgba(245, 243, 238, .7); }
.st-moment .st-card__meta { margin-top: calc(var(--u) * .7); color: rgba(245, 243, 238, .55); }
.st-moment .st-seg { width: min(100%, 420px); border-color: rgba(245, 243, 238, .18); background: rgba(245, 243, 238, .04); }
.st-moment .st-seg i { background: var(--ivory); }
.st-moment .st-seg button { color: rgba(245, 243, 238, .72); }
.st-moment .st-seg button[aria-checked="true"] { color: var(--night); }
.st-moment .st-price__now { color: var(--ivory); }
.st-moment .st-price__was, .st-moment .st-note { color: rgba(245, 243, 238, .5); }
.st-moment .st-buy { background: var(--ivory); color: var(--night); }
.st-moment .link { color: var(--ivory); }

/* --------------------------------------------------------- side by side */
.st-cmp { padding: calc(var(--u) * 1.9) var(--u); background: var(--mist); }
.st-cmp__head { margin-bottom: calc(var(--u) * .8); }
.st-cmp__head .label { margin-bottom: calc(var(--u) * .45); }
.st-cmp__table { border-top: 1px solid var(--ink); }
.st-cmp__row { display: grid; grid-template-columns: calc(var(--u) * 3.2) repeat(3, minmax(0, 1fr)); column-gap: calc(var(--u) * .4); align-items: baseline; padding: 1.15em 0; border-bottom: 1px solid var(--line); font-size: max(15px, 1.11vw); line-height: 1.35; }
.st-cmp__row--h { align-items: end; padding: 1.4em 0 1.1em; }
.st-cmp__h b { display: block; font-size: max(17px, 1.39vw); font-weight: 500; letter-spacing: -.02em; }
.st-cmp__h .sv-mono, .st-cmp__k { color: var(--muted); }
.st-cmp__row s { margin-left: .45em; font-size: .82em; color: var(--muted); }

/* ------------------------------------------------------------ how it works */
.st-how { display: grid; grid-template-columns: calc(var(--u) * 5.6) minmax(0, 1fr); column-gap: var(--u); padding: calc(var(--u) * 1.9) var(--u) calc(var(--u) * .6); background: var(--paper); }
.st-how + .sv-faq { padding-top: calc(var(--u) * 1.6); }
.st-how__head .label { margin-bottom: calc(var(--u) * .45); }
.st-how__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: calc(var(--u) * .5); border-top: 1px solid var(--ink); }
.st-how__list li { padding-top: 1.3em; }
.st-how__n { display: block; font-family: var(--display); font-size: max(64px, 5vw); line-height: .9; color: var(--gold); }
.st-how__list h3 { margin-top: .6em; font-size: max(18px, 1.39vw); font-weight: 500; letter-spacing: -.02em; }
.st-how__list p { margin-top: .5em; max-width: 22em; font-size: max(14px, .97vw); line-height: 1.55; color: var(--ink-2); }

/* -------------------------------------------------------------- the dock */
.st-dock {
  position: fixed; left: 50%; bottom: 22px; z-index: 30;
  display: flex; align-items: center; gap: 2px;
  max-width: calc(100vw - 24px);
  padding: 5px; border-radius: 999px;
  background: rgba(246, 245, 243, .8);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 0 0 1px rgba(25, 24, 24, .07), 0 20px 44px -22px rgba(25, 24, 24, .45);
  translate: -50% 150%; opacity: 0; pointer-events: none;
  transition: translate .95s var(--ease), opacity .6s var(--ease-fade);
}
.st-dock.is-on { translate: -50% 0; opacity: 1; pointer-events: auto; }
.st-dock a { position: relative; z-index: 1; padding: .72em 1.1em; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: -.005em; color: var(--ink-2); white-space: nowrap; transition: color .45s var(--ease-fade); }
.st-dock a:hover { color: var(--ink); }
.st-dock a.is-on { color: var(--paper); }
.st-dock__dot { position: absolute; z-index: 0; left: 0; top: 5px; bottom: 5px; width: 0; border-radius: 999px; background: var(--ink); opacity: 0; transition: translate .75s var(--ease), width .75s var(--ease), opacity .4s var(--ease-fade); }
.st-dock.has-on .st-dock__dot { opacity: 1; }
.st-dock .st-dock__free { margin-left: 4px; background: var(--gold); color: var(--ink); }
.st-dock .s { display: none; }
.st-dock .st-dock__free:hover { background: #ffc22e; }

/* ------------------------------------------------------------- the sheet */
html.st-lock { overflow: hidden; }
.sd { position: fixed; inset: 0; z-index: 60; }
.sd[hidden] { display: none; }
.sd__veil { position: absolute; inset: 0; background: rgba(25, 24, 24, .34); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .7s var(--ease-fade); }
.sd__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
  width: min(660px, 100%); overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper);
  box-shadow: -40px 0 80px -40px rgba(25, 24, 24, .35);
  translate: 102% 0;
  transition: translate 1s var(--ease);
}
.sd__panel:focus { outline: none; }
.sd.is-open .sd__veil { opacity: 1; }
.sd.is-open .sd__panel { translate: 0 0; }
.sd__top { position: sticky; top: 0; z-index: 4; display: flex; justify-content: space-between; align-items: center; padding: 16px 28px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sd__kind { color: var(--muted); }
.sd__close { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 12px; background: rgba(222, 219, 214, .62); font-family: var(--mono); font-size: 12px; letter-spacing: .02em; transition: background .45s var(--ease-fade); }
.sd__close svg { width: 9px; height: 9px; }
.sd__close:hover { background: rgba(206, 202, 196, .8); }
.sd__plate { padding: 0 28px; }
.sd__plate .st-plate { aspect-ratio: 16 / 11; }
.sd__in { padding: 26px 28px 8px; }
.sd__name { margin-top: .55em; font-size: max(30px, 2.5vw); font-weight: 500; line-height: 1.02; letter-spacing: -.04em; }
.sd__line { margin-top: .6em; font-family: var(--display); font-size: max(19px, 1.5vw); line-height: 1.2; color: var(--ink-2); }
.sd__words p { margin-top: 1em; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.sd__words p:first-child { margin-top: 1.6em; }
.sd__incl { margin-top: 1.8em; border-top: 1px solid var(--ink); }
.sd__incl div { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: .8em; padding: .85em 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sd__incl dt { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.sd__incl i { border-bottom: 1px dotted #cfccc6; translate: 0 -.3em; }
.sd__incl dd { max-width: 24em; text-align: right; color: var(--ink); }
.sd__bar { position: sticky; bottom: 0; z-index: 4; margin-top: 28px; padding: 18px 28px 22px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--line); }
.sd__bar .st-seg { margin-top: 0; }
.sd__bar .st-price { margin-top: .9em; }
.sd__bar .st-card__acts { margin-top: 1em; }
.sd__bar .st-note { margin-top: .3em; }
.sd__nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.sd__nav button { display: grid; gap: .4em; padding: 20px 28px 26px; text-align: left; transition: background .45s var(--ease-fade); }
.sd__nav button + button { border-left: 1px solid var(--line); text-align: right; }
.sd__nav button:hover { background: var(--mist); }
.sd__nav .sv-mono { color: var(--muted); }
.sd__nav b { font-size: 15px; font-weight: 500; letter-spacing: -.015em; }
.sd.is-open .sd__in > *, .sd.is-open .sd__bar { animation: st-rise 1s var(--ease) both; animation-delay: calc(.28s + var(--k, 0) * .06s); }
@keyframes st-rise { from { opacity: 0; translate: 0 18px; } }

/* ------------------------------------------------- back from the checkout */
/* How a checkout went, from the right, as a piece's sheet opens: the word in
   mono with its gold dot, the thanks in the serif, what was bought, and what
   happens next. Without script it simply shows, over the store. */
.st-done { position: fixed; inset: 0; z-index: 70; }
.st-done[hidden] { display: none; }
.st-done__veil { position: absolute; inset: 0; background: rgba(25, 24, 24, .34); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .7s var(--ease-fade); }
.st-done__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
  width: min(580px, 100%); overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper);
  box-shadow: -40px 0 80px -40px rgba(25, 24, 24, .35);
  transition: translate 1s var(--ease);
}
.st-done__panel:focus { outline: none; }
.js .st-done:not(.is-open) .st-done__veil { opacity: 0; }
.js .st-done:not(.is-open) .st-done__panel { translate: 102% 0; }
.st-done__top { display: flex; justify-content: space-between; align-items: center; padding: 16px 28px; }
.st-done__k { display: inline-flex; align-items: center; gap: .75em; color: var(--muted); }
.st-done__k::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.st-done[data-state="cancelled"] .st-done__k::before, .st-done[data-state="unconfirmed"] .st-done__k::before { box-sizing: border-box; border: 1px solid var(--muted); background: none; }
.st-done__in { flex: 1; padding: clamp(36px, 9vh, 96px) 28px 32px; }
.st-done__t { font-family: var(--display); font-size: max(46px, 3.7vw); font-weight: 400; line-height: .95; letter-spacing: -.01em; text-wrap: balance; }
.st-done__line { max-width: 26em; margin-top: .75em; font-size: max(18px, 1.3vw); line-height: 1.35; color: var(--ink-2); text-wrap: pretty; }
.st-done__sum { margin-top: 2.2em; border-top: 1px solid var(--ink); }
.st-done__sum div { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: .8em; padding: .85em 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.st-done__sum dt { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.st-done__sum i { border-bottom: 1px dotted #cfccc6; translate: 0 -.3em; }
.st-done__sum dd { text-align: right; color: var(--ink); }
.st-done__next { margin-top: 2.4em; }
.st-done__next .sv-mono { color: var(--muted); }
.st-done__next ol { margin-top: 1em; counter-reset: st-next; }
.st-done__next li { display: grid; grid-template-columns: 2.2em 1fr; padding: .75em 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--ink-2); counter-increment: st-next; }
.st-done__next li::before { content: counter(st-next, decimal-leading-zero); padding-top: .25em; font-family: var(--mono); font-size: 11px; color: var(--gold-ink); }
.st-done__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2em 1.6em; margin-top: 2.4em; }
.st-done.is-open .st-done__in > * { animation: st-rise 1s var(--ease) both; animation-delay: calc(.32s + var(--k, 0) * .07s); }
.st-done.is-open:is([data-state="paid"], [data-state="processing"]) .st-done__k::before { animation: st-dot 1.3s var(--ease) .55s both; }
.st-buy--plain { padding: 0 1.55em; }
@keyframes st-dot { 0% { scale: 0; box-shadow: 0 0 0 0 rgba(248, 176, 0, .55); } 55% { scale: 1; } 100% { box-shadow: 0 0 0 12px rgba(248, 176, 0, 0); } }

/* ------------------------------------------------------------ the checkout */
/* Purchase opens the checkout from the right, as a piece's sheet opens: a
   lock and "Secure checkout" in mono; what is being bought, its name, its
   way and its price in the serif over an ink rule; then Stripe's own form,
   on the panel's white. While Stripe is asked, a gold line runs; when the
   form cannot show, a word in the serif says why, and what to do instead. */
.sp { position: fixed; inset: 0; z-index: 66; }
.sp[hidden] { display: none; }
.sp__veil { position: absolute; inset: 0; background: rgba(25, 24, 24, .34); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .7s var(--ease-fade); }
.sp__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
  width: min(620px, 100%); overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper);
  box-shadow: -40px 0 80px -40px rgba(25, 24, 24, .35);
  translate: 102% 0;
  transition: translate 1s var(--ease);
}
.sp__panel:focus { outline: none; }
.sp.is-open .sp__veil { opacity: 1; }
.sp.is-open .sp__panel { translate: 0 0; }
.sp__edge { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.sp__top { position: sticky; top: 0; z-index: 4; display: flex; justify-content: space-between; align-items: center; padding: 16px 28px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sp__k { display: inline-flex; align-items: center; gap: .7em; color: var(--muted); }
.sp__k svg { width: 9px; height: 11px; color: var(--gold-ink); }
.sp__head { padding: 10px 28px 24px; }
.sp__kind { color: var(--muted); }
.sp__name { margin-top: .5em; font-size: max(28px, 2.1vw); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.sp__sum { display: flex; justify-content: space-between; align-items: baseline; gap: 1.2em; margin-top: 1.1em; padding-top: .9em; border-top: 1px solid var(--ink); }
.sp__way { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.sp__price { flex: none; font-family: var(--display); font-size: 34px; line-height: 1; letter-spacing: -.01em; }
.sp__stage { position: relative; flex: 1 0 auto; min-height: 360px; border-top: 1px solid var(--line); }   /* never shorter than Stripe's form: the panel scrolls instead */
/* Stripe's form: its frame takes the height of what it holds */
.sp__mount { display: none; padding: 6px 0 12px; }
.sp[data-state="ready"] .sp__mount { display: block; animation: st-rise .9s var(--ease) both; }
.sp__wait { display: none; padding: 30px 28px; }
.sp[data-state="wait"] .sp__wait { display: block; }
.sp__wait i { position: relative; display: block; height: 2px; overflow: hidden; background: var(--fog); }
.sp__wait i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 34%; background: var(--gold); animation: sp-run 1.5s var(--ease-fade) infinite; }
.sp__wait p { margin-top: 1.1em; color: var(--muted); }
@keyframes sp-run { from { translate: -100% 0; } to { translate: 300% 0; } }
.sp__say { padding: clamp(28px, 6vh, 60px) 28px 36px; }
.sp__say[hidden] { display: none; }
.sp__say > * { animation: st-rise .9s var(--ease) both; }
.sp__say > :nth-child(2) { animation-delay: .06s; }
.sp__say > :nth-child(n+3) { animation-delay: .12s; }
.sp__t { font-family: var(--display); font-size: max(40px, 3.1vw); font-weight: 400; line-height: .98; letter-spacing: -.01em; text-wrap: balance; }
.sp__line { max-width: 27em; margin-top: .8em; font-size: 17px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.sp__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2em 1.6em; margin-top: 2em; }
.sp__admin { max-width: 34em; margin-top: 2.4em; padding-top: 1.1em; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--muted); }
.sp__admin a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.sp__foot { padding: 16px 28px 24px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.55; color: var(--muted); }

/* -------------------------------------------------------------- phones */
@media (max-width: 899px) {
  .sh { height: auto; min-height: 0; grid-template-rows: auto auto; }
  .sh__top { grid-template-columns: 1fr; row-gap: 6vw; padding: calc(var(--hd) + 9vw) 5vw 9vw; }
  .sh__label { margin-bottom: 0; }
  .sh__title { font-size: 16vw; }
  .sh__aside { width: auto; }
  .sh__sub { font-size: 20px; }
  .sh__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(43, 43, 43, .2); }
  .sh__win { aspect-ratio: 4 / 5; }
  .sh__win + .sh__win::before { display: none; }
  .sh__art svg { top: 7%; height: 64%; }
  .sh__no { left: 12px; top: 12px; }
  .sh__cap { left: 12px; right: 12px; bottom: 14px; }
  .sh__name { font-size: 28px; }
  .sh__more { display: none; }
  .st-col, .st-cmp, .st-how { padding: 18vw 5vw 16vw; }
  .st-col__head { grid-template-columns: 1fr; row-gap: 3vw; margin-bottom: 9vw; padding-bottom: 6vw; }
  .st-col__no { padding-top: 0; }
  .st-grid--3, .st-grid--2 { grid-template-columns: 1fr; row-gap: 16vw; }
  .st-grid--2 .st-plate { aspect-ratio: 4 / 5; }
  .st-card__name { font-size: 24px; }
  .st-price__now { font-size: 44px; }
  .st-moment { grid-template-columns: 1fr; row-gap: 12vw; padding: 20vw 5vw; }
  .st-moment__plate { width: 78%; justify-self: center; }
  .st-cmp__table { overflow-x: auto; margin: 0 -5vw; padding: 0 5vw; }
  .st-cmp__row { grid-template-columns: 30vw repeat(3, 44vw); min-width: max-content; font-size: 15px; }
  .st-how { grid-template-columns: 1fr; row-gap: 9vw; }
  .st-how__list { grid-template-columns: 1fr; row-gap: 8vw; }
  .st-dock { bottom: 12px; overflow-x: auto; scrollbar-width: none; }
  .st-dock::-webkit-scrollbar { display: none; }
  .st-dock a { padding: .72em .8em; font-size: 12px; }
  .st-dock .l { display: none; }
  .st-dock .s { display: inline; }
  .st-dock .st-dock__free { display: none; }              /* on a phone the four collections only; the free session has its card and the band */
  .sd__panel { width: 100%; }
  .sd__top, .sd__in, .sd__bar, .sd__plate { padding-left: 5vw; padding-right: 5vw; }
  .sd__nav button { padding: 18px 5vw 24px; }
  .st-done__panel { width: 100%; }
  .st-done__top, .st-done__in { padding-left: 5vw; padding-right: 5vw; }
  .st-done__in { padding-top: 12vw; }
  .st-done__t { font-size: 13vw; }
  .sp__panel { width: 100%; }
  .sp__top, .sp__head, .sp__wait, .sp__say, .sp__foot { padding-left: 5vw; padding-right: 5vw; }
  .sp__name { font-size: 26px; }
  .sp__t { font-size: 11vw; }
}

@media (prefers-reduced-motion: reduce) {
  .js .sh__title .ln > span, .js .sh__label, .js .sh__aside, .js .sh__no, .js .sh__cap, .js .sh__art svg { opacity: 1; translate: 0 0; transform: none; transition: none; }
  .js .sh__win + .sh__win::before { transform: none; }
  .sh__plant { opacity: .92; scale: 1; }
  .is-out, .is-in-roll, .sd.is-open .sd__in > *, .sd.is-open .sd__bar { animation: none; }
  .sd__panel, .sd__veil, .st-dock { transition: none; }
  .st-done.is-open .st-done__in > *, .st-done.is-open .st-done__k::before { animation: none; }
  .st-done__panel, .st-done__veil { transition: none; }
  .sp[data-state="ready"] .sp__mount, .sp__say > *, .sp__wait i::before { animation: none; }
  .sp__panel, .sp__veil { transition: none; }
}
