/* CoinMemo — the home page's own sections (11-10). Loaded after styles.css and paper.css.
   Every section here is laid out anew; the names are new too, so nothing of the old layouts in styles.css applies.
   What is shared with the rest of the site (header, buttons, phones, the re-created scanner, the pig, the dock,
   the ending) stays in styles.css and paper.css. Behaviour: home.js. */

/* ═════════════ Opening: the headline, then coins drifting past a phone that names them ═════════════ */
.cover { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(24px, 4vw, 70px); align-items: center; padding: clamp(14px, 2.6vw, 44px) var(--edge) 0; overflow: clip; }
.cover__coins { z-index: 1; }
.cover__text { grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 3; container-type: inline-size; pointer-events: none; }
.cover__text .eyebrow { margin-bottom: clamp(10px, 1.2vw, 18px); }
.cover__line { margin: 0; font-family: var(--serif); font-weight: 400; font-size: min(11.55cqw, 176px); line-height: .9; letter-spacing: -0.028em; color: var(--ink); }
.cover__line em { display: block; font-style: italic; color: var(--gold-2); padding-bottom: .08em; }
.cover__lead { grid-column: 1 / -1; grid-row: 2; position: relative; z-index: 3; max-width: 31em; margin-top: clamp(16px, 2vw, 28px); color: var(--ink-2); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; text-wrap: pretty; }
.cover__side { display: contents; }
/* The buttons stand at the end of the headline's second line, where the line leaves room. */
.cover__actions { grid-column: 2; grid-row: 1; align-self: end; position: relative; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-bottom: clamp(14px, 2.1vw, 36px); }

/* The belt: the stretch the coins drift along. The canvas that draws them covers the whole opening. */
.belt { grid-column: 1 / -1; grid-row: 3; position: relative; z-index: 2; height: clamp(370px, 50svh, 620px); margin: clamp(10px, 1.6vw, 26px) calc(var(--edge) * -1) 0; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.belt.is-dragging { cursor: grabbing; }
.belt__hint { position: absolute; right: var(--edge); top: 8px; margin: 0; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; opacity: .9; transition: opacity .5s var(--ease); pointer-events: none; }
.belt__hint .ic { width: 15px; height: 15px; }
.belt.was-moved .belt__hint { opacity: 0; }

/* The phone: a frame you look through. The coin behind it shows on its screen, with the scanner's marks over it. */
.lens { position: absolute; left: 50%; top: 50%; z-index: 3; height: 94%; aspect-ratio: 390 / 800; translate: -50% -50%; container-type: inline-size; pointer-events: none; }
.lens::before { content: ""; position: absolute; inset: 0; border-radius: 17cqw; border: 3.4cqw solid #15120f; background: linear-gradient(180deg, rgba(23, 19, 14, .05), rgba(23, 19, 14, .015) 34%, rgba(23, 19, 14, .09)); box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), 0 26cqw 30cqw -20cqw rgba(var(--shade), .7), 0 10cqw 14cqw -10cqw rgba(var(--shade), .45), inset 0 0 0 1px rgba(255, 255, 255, .28), inset 0 0 16cqw rgba(23, 19, 14, .10); }
.lens__island { position: absolute; left: 50%; top: 6.4cqw; width: 30cqw; height: 8.6cqw; translate: -50% 0; border-radius: 999px; background: #0b0a09; }
.lens__ring { position: absolute; left: 50%; top: 50%; width: 82cqw; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: .7cqw solid rgba(23, 19, 14, .30); transition: border-color .35s var(--ease), scale .5s var(--spring); }
.lens__ring i { position: absolute; inset: -1.6cqw; border-radius: 50%; border: 1cqw solid transparent; border-top-color: var(--gold); opacity: 0; }
.lens[data-state="think"] .lens__ring i { opacity: 1; animation: lens-turn .8s linear infinite; }
.lens[data-state="found"] .lens__ring { border-color: var(--gold); border-width: 1cqw; scale: 1.03; }
@keyframes lens-turn { to { rotate: 1turn; } }
.lens__hint, .lens__card { position: absolute; left: 50%; display: inline-flex; align-items: center; white-space: nowrap; background: rgba(24, 19, 13, .92); color: #fff7e6; box-shadow: 0 6cqw 10cqw -6cqw rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08); opacity: 0; transition: opacity .25s var(--ease), translate .5s var(--spring), scale .5s var(--spring); }
.lens__hint { top: 36cqw; gap: 2.6cqw; padding: 2.4cqw 4.6cqw 2.4cqw 3.4cqw; border-radius: 999px; font-size: 4.9cqw; font-weight: 600; translate: -50% 6px; }
.lens__hint i { width: 3.4cqw; height: 3.4cqw; border-radius: 50%; border: .7cqw solid rgba(243, 220, 163, .35); border-top-color: #f3dca3; animation: lens-turn .7s linear infinite; }
.lens[data-state="think"] .lens__hint { opacity: 1; translate: -50% 0; }
.lens__card { bottom: 29cqw; gap: 3.4cqw; padding: 2.6cqw 4.6cqw 2.6cqw 2.6cqw; border-radius: 999px; border: 1px solid rgba(243, 220, 163, .32); translate: -50% 8px; scale: .9; }
.lens__card img { width: 13cqw; height: 13cqw; border-radius: 50%; }
.lens__card span { display: grid; line-height: 1.18; }
.lens__card b { font-size: 5.6cqw; font-weight: 650; }
.lens__card small { font-size: 4.3cqw; color: rgba(239, 227, 200, .74); }
.lens__card .chip__tick { width: 7.6cqw; height: 7.6cqw; margin-left: 1cqw; background: #f3dca3; }
.lens__card .chip__tick::after { left: 2.7cqw; top: 1.4cqw; width: 1.9cqw; height: 3.6cqw; border-color: #2a1f10; border-width: 0 .8cqw .8cqw 0; }
.lens[data-state="found"] .lens__card { opacity: 1; translate: -50% 0; scale: 1; }
.lens__top { position: absolute; left: 7cqw; right: 7cqw; top: 19cqw; display: flex; justify-content: space-between; }
.lens__top i { width: 11cqw; height: 11cqw; border-radius: 50%; display: grid; place-items: center; background: rgba(24, 19, 13, .78); color: #fff7e6; font-style: normal; font-size: 6cqw; line-height: 1; }
.lens__top i:last-child::before { content: ""; width: 3.4cqw; height: 5.6cqw; background: #f3dca3; clip-path: polygon(58% 0, 8% 58%, 44% 58%, 34% 100%, 92% 38%, 54% 38%); }
.lens__mode { position: absolute; left: 50%; bottom: 29.5cqw; display: inline-flex; gap: 1cqw; padding: 1cqw; translate: -50% 0; border-radius: 999px; background: rgba(24, 19, 13, .78); font-size: 3.5cqw; font-weight: 700; letter-spacing: .08em; white-space: nowrap; transition: opacity .25s var(--ease); }
.lens__mode span { padding: 1.9cqw 4.2cqw; border-radius: 999px; color: rgba(239, 227, 200, .72); }
.lens__mode .is-on { background: #efe3c8; color: #2a1f10; }
.lens[data-state="found"] .lens__mode { opacity: 0; }
.lens__shutter { position: absolute; left: 50%; bottom: 8cqw; width: 17cqw; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: #fffdf8; box-shadow: 0 0 0 1cqw rgba(23, 19, 14, .16), 0 0 0 1.7cqw rgba(255, 255, 255, .9), 0 3cqw 6cqw rgba(var(--shade), .35); transition: scale .35s var(--spring); }
.lens[data-state="found"] .lens__shutter { scale: .9; }

/* The opening arrives once, on load. */
@media (prefers-reduced-motion: no-preference) {
  .cover__text .eyebrow, .cover__line, .cover__lead, .cover__actions { animation: rise-in .9s var(--out) both; }
  .cover__line { animation-delay: .06s; } .cover__lead { animation-delay: .18s; } .cover__actions { animation-delay: .26s; }
  .lens { animation: lens-in 1.1s var(--out) .2s both; }
}
@keyframes lens-in { from { opacity: 0; translate: -50% calc(-50% + 50px); scale: .96; } }

/* ═════════════ What it reads: one coin as a specimen, its type and its year called out ═════════════ */
.anatomy.statement { height: 250svh; }
.anatomy__pin { position: sticky; top: 0; height: 100svh; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: center; gap: clamp(14px, 3svh, 44px); padding: clamp(84px, 12svh, 130px) var(--edge) clamp(30px, 6svh, 70px); overflow: hidden; }
.anatomy__stage { --sw: min(40vw, 540px, 50svh); position: relative; width: var(--sw); aspect-ratio: 1; }
.anatomy__stage::before { content: ""; position: absolute; inset: -22%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 70%); }
.anatomy__stage::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: -5%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--shade), .42), rgba(var(--shade), 0)); }
.anatomy__stage canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; max-width: none; opacity: 0; transition: opacity .6s var(--ease); }
.anatomy__stage canvas.is-ready { opacity: 1; }
.anatomy__stage .statement__ring { border-color: var(--gold); }
.anatomy__stage.has-year .statement__ring { animation: strike .9s var(--ease) both; }
.anatomy__text { margin: 0; max-width: 21em; text-align: center; font-family: var(--serif); font-size: clamp(28px, 3.35vw, 56px); line-height: 1.05; letter-spacing: -0.016em; color: var(--ink); text-wrap: balance; }
.anatomy__text em { font-style: italic; color: var(--gold-2); }
.anatomy__text .w { opacity: clamp(.2, calc(var(--p) * (var(--n) + 3) - var(--i)), 1); }

/* A callout: a label, the value in the serif, and a hairline that runs from it to the coin. */
.anatomy .callout { position: absolute; z-index: 3; left: auto; right: auto; top: auto; bottom: auto; display: grid; gap: 3px; width: max-content; opacity: 0; transition: opacity .45s var(--ease), translate .7s var(--out); }
.callout__k { color: var(--muted); font-size: 12.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.callout b { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.2vw, 52px); line-height: 1; letter-spacing: -0.015em; color: var(--ink); }
.callout small { color: var(--muted); font-size: 14.5px; }
.callout__line { position: absolute; top: 50%; height: 1px; width: calc(var(--sw) * .36); background: rgba(23, 19, 14, .42); scale: 0 1; transition: scale .8s var(--out) .12s; }
.callout__line::after { content: ""; position: absolute; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px rgba(244, 240, 232, .85); }
.anatomy .callout--type { right: 112%; top: 60%; text-align: right; translate: 14px 0; }
.callout--type .callout__line { left: calc(100% + 16px); transform-origin: left; }
.callout--type .callout__line::after { right: -4px; }
.anatomy .callout--year { left: 112%; top: 22%; translate: -14px 0; }
.callout--year .callout__line { right: calc(100% + 16px); transform-origin: right; }
.callout--year .callout__line::after { left: -4px; }
.anatomy__stage.has-type .callout--type, .anatomy__stage.has-year .callout--year { opacity: 1; translate: 0 0; }
.anatomy__stage.has-type .callout--type .callout__line, .anatomy__stage.has-year .callout--year .callout__line { scale: 1 1; }

/* ═════════════ Hurtigscan: what you do, the phone, what you get ═════════════ */
.run { --inset: clamp(0px, 1.6vw, 28px); margin: clamp(20px, 4vw, 70px) var(--inset) 0; padding: clamp(60px, 8vw, 124px) max(var(--gutter), calc(var(--edge) - var(--inset))) clamp(40px, 5vw, 84px); border-radius: clamp(0px, 3vw, 44px); background: var(--card); box-shadow: var(--plate); overflow: hidden; }
.run__head { display: grid; justify-items: center; text-align: center; }
.run__head h2 { max-width: none; }
.run__head .section-lead { max-width: 34em; margin-left: auto; margin-right: auto; }
.run__stage { --pw: min(clamp(250px, 22vw, 340px), calc((100svh - 190px) * .462)); margin-top: clamp(36px, 5vw, 76px); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: clamp(26px, 5vw, 86px); }

.run__steps { --fill: 0; position: relative; justify-self: end; width: min(100%, 350px); margin: 0; padding: 0; list-style: none; display: grid; gap: clamp(22px, 3vw, 42px); text-align: right; }
.run__steps::before, .run__steps::after { content: ""; position: absolute; right: 22.5px; top: 24px; bottom: 44px; width: 1px; background: var(--hair-2); }
.run__steps::after { background: var(--gold); transform-origin: top; scale: 1 var(--fill); transition: scale .7s var(--ease); }
.run__steps li { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 18px; align-items: start; }
.run__steps li > div { grid-column: 1; grid-row: 1; opacity: .42; transition: opacity .4s var(--ease); }
.run__steps li.is-active > div { opacity: 1; }
.run__steps .steps__n { grid-column: 2; grid-row: 1; width: 46px; height: 46px; background: var(--bg); font-family: var(--serif); font-size: 17px; }
.run__steps li.is-active .steps__n { background: var(--ink); color: var(--bg); border-color: var(--ink); scale: 1.08; }
.run__steps strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.5vw, 34px); line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
.run__steps p { margin: 5px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; text-wrap: pretty; }
.run__phone { position: relative; display: grid; justify-items: center; }

/* The tray: six round slots, as a coin tray has; each recognised coin flies from the phone into its slot. */
.run__tray { justify-self: start; width: min(100%, 290px); }
.run__trayhead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 0 6px; }
.run__slots { list-style: none; margin: 12px 0 0; padding: clamp(14px, 1.5vw, 20px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.3vw, 18px); border-radius: 30px; background: var(--bg); box-shadow: inset 0 3px 10px rgba(var(--shade), .16), inset 0 0 0 1px rgba(23, 19, 14, .06); }
.run__slots li { position: relative; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; border: 1px dashed var(--hair-2); background: radial-gradient(circle at 50% 30%, #fffefb, #e9e2d4); box-shadow: inset 0 4px 9px rgba(var(--shade), .2); }
.run__slots li i { font-family: var(--serif); font-style: normal; font-size: clamp(18px, 1.8vw, 24px); color: rgba(23, 19, 14, .24); }
.run__slots li.is-live { border: 1px solid var(--gold); }
.run__slots li.is-full { border-color: transparent; }
.run__slots li.is-full i { visibility: hidden; }
.run__slots li img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; border-radius: 50%; box-shadow: 0 0 0 1px rgba(23, 19, 14, .14), 0 8px 14px -4px rgba(var(--shade), .5); }
.run__slots li.is-pop img { animation: slot-in .6s var(--spring) both; }
.run__slots li.is-pop::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: strike .7s var(--ease) both; }
.run__tray .tray__name { margin: 14px 6px 0; }
.run__note { max-width: 46em; margin: clamp(30px, 4vw, 60px) auto 0; text-align: center; }

/* ═════════════ Screens: an index in large type; the phone shows the one chosen ═════════════ */
.index { padding: clamp(84px, 11vw, 176px) var(--edge) 0; }
.index__head h2 { max-width: none; }
.index__body { margin-top: clamp(28px, 4vw, 60px); display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(30px, 7vw, 130px); align-items: center; }
.index__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair-2); }
.index__list li { border-bottom: 1px solid var(--hair-2); }
.index__item { position: relative; display: grid; grid-template-columns: clamp(40px, 4.4vw, 70px) minmax(0, 1fr); align-items: baseline; width: 100%; margin: 0; padding: clamp(9px, 1.05vw, 15px) 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.index__n { color: var(--muted); font-size: 12.5px; font-weight: 600; letter-spacing: .09em; }
.index__name { font-family: var(--serif); font-size: clamp(38px, 4.5vw, 76px); line-height: 1.02; letter-spacing: -0.022em; color: rgba(23, 19, 14, .26); transition: color .35s var(--ease), translate .6s var(--out); }
.index__item:hover .index__name { color: rgba(23, 19, 14, .58); }
.index__item.is-active .index__name { color: var(--ink); translate: clamp(4px, .8vw, 14px) 0; }
.index__desc { grid-column: 2; max-width: 31em; max-height: 0; overflow: hidden; opacity: 0; color: var(--ink-2); font-size: clamp(15.5px, 1.25vw, 17.5px); line-height: 1.5; translate: clamp(4px, .8vw, 14px) 0; transition: max-height .5s var(--out), opacity .35s var(--ease), margin .5s var(--out); }
.index__item.is-active .index__desc { max-height: 5em; margin-top: 6px; opacity: 1; }
.index__item::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--ink); scale: 0 1; transform-origin: left; transition: scale .7s var(--out); }
.index__item.is-active::after { scale: 1 1; }
.index__stage { position: relative; display: grid; justify-items: center; }
.index__phone { --iw: min(clamp(250px, 23vw, 352px), calc((100svh - 180px) * .462)); position: relative; width: var(--iw); aspect-ratio: 780 / 1688; margin: calc(var(--iw) * .03); border-radius: calc(var(--iw) * .145); background: #0d0c0b; overflow: hidden; box-shadow: 0 0 0 calc(var(--iw) * .03) #15120f, 0 0 0 calc(var(--iw) * .03 + 1px) rgba(0, 0, 0, .35), 0 calc(var(--iw) * .26) calc(var(--iw) * .3) calc(var(--iw) * -.18) rgba(var(--shade), .7), 0 calc(var(--iw) * .1) calc(var(--iw) * .14) calc(var(--iw) * -.09) rgba(var(--shade), .45); touch-action: pan-y; }
.index__shot { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; scale: 1.05; transition: opacity .5s var(--ease), scale .8s var(--out); }
.index__shot.is-active { opacity: 1; scale: 1; }
.index__caption { display: none; }

/* ═════════════ Inside: three round wells, as in a coin album ═════════════ */
.wells { padding: clamp(84px, 11vw, 176px) var(--edge) 0; }
.wells__row { margin-top: clamp(34px, 5vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3.6vw, 64px); }
.well { display: grid; align-content: start; justify-items: start; }
.well__cup { position: relative; justify-self: stretch; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 32%, #fffefb, #ece6da 74%); box-shadow: inset 0 14px 30px rgba(var(--shade), .17), inset 0 -3px 0 rgba(255, 255, 255, .95), 0 0 0 1px rgba(23, 19, 14, .06); }
.well__cup--scan > img { width: 58%; height: auto; filter: drop-shadow(0 14px 14px rgba(var(--shade), .36)); }
@property --sweep { syntax: "<number>"; inherits: false; initial-value: 1; }
.well__sweep { --sweep: 1; position: absolute; inset: 13%; border-radius: 50%; background: conic-gradient(from 0deg, var(--gold) calc(var(--sweep) * 1turn), rgba(23, 19, 14, .10) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px)); }
.well__tag { position: absolute; left: 50%; bottom: 11%; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 9px; border-radius: 999px; translate: -50% 0; white-space: nowrap; background: var(--card); color: var(--ink); font-size: 13.5px; font-weight: 650; box-shadow: 0 0 0 1px var(--hair-2), 0 14px 24px -14px rgba(var(--shade), .6); }
.well__tag i { position: relative; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); }
.well__tag i::after { content: ""; position: absolute; left: 5.5px; top: 3px; width: 4px; height: 7px; border-right: 1.6px solid var(--card); border-bottom: 1.6px solid var(--card); rotate: 45deg; }
@media (prefers-reduced-motion: no-preference) {
  /* about a second for the ring to close, then the answer; then it rests and starts again */
  .well__sweep { animation: well-sweep 3.6s cubic-bezier(.4, 0, .2, 1) infinite; }
  .well__tag { animation: well-tag 3.6s var(--ease) infinite; }
}
@keyframes well-sweep { 0% { --sweep: 0; } 28% { --sweep: 1; } 100% { --sweep: 1; } }
@keyframes well-tag { 0%, 26% { opacity: 0; scale: .8; } 32%, 94% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1; } }
.well__cup--fan .fan { width: 96%; justify-content: center; translate: 0 16%; }
.well__cup--fan .fan img { width: 30%; margin: 0 -4.5%; filter: drop-shadow(0 10px 10px rgba(var(--shade), .4)); }
.well__cup--flip .flip { width: 56%; margin: 0; }
.well__cup--flip .flip::after { background: radial-gradient(closest-side, rgba(var(--shade), .4), rgba(var(--shade), 0)); }
.well__hint { position: absolute; left: 50%; bottom: 9%; display: inline-flex; align-items: center; gap: 7px; translate: -50% 0; white-space: nowrap; color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; pointer-events: none; }
.well__hint .ic { width: 15px; height: 15px; }
.well__num { margin: clamp(20px, 2.4vw, 36px) 0 0; display: flex; align-items: baseline; gap: .12em; font-family: var(--serif); font-size: clamp(60px, 6.4vw, 104px); line-height: .88; letter-spacing: -0.035em; color: var(--ink); white-space: nowrap; }
.well__num em { font-style: italic; font-size: .4em; letter-spacing: 0; color: var(--gold-2); }
.well__num .reel { --cell: .96em; display: flex; }
.paper .well__num .reel__strip b { font-weight: 400; color: var(--ink); background: none; }
.well h3 { margin: clamp(10px, 1.2vw, 16px) 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.5vw, 38px); line-height: 1.08; letter-spacing: -0.01em; }
.well > p:last-child { margin: 8px 0 0; max-width: 31ch; color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.5; text-wrap: pretty; }

/* The collector's side: one wide plate. */
.club { margin-top: clamp(44px, 6.5vw, 104px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(20px, 4vw, 76px); padding: clamp(28px, 4.4vw, 72px); border-radius: clamp(26px, 3vw, 44px); background: var(--card); box-shadow: var(--plate); overflow: hidden; }
.club h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4vw, 64px); line-height: 1; letter-spacing: -0.018em; }
.club__text > p { margin: 16px 0 0; max-width: 30em; color: var(--ink-2); font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.5; text-wrap: pretty; }
.club .icons { margin-top: clamp(22px, 2.4vw, 34px); font-size: 15.5px; }
.club__crops { min-height: clamp(280px, 30vw, 440px); flex: none; }
@media (hover: hover) { .club:hover .crop--card { rotate: -8deg; translate: -8px -6px; } .club:hover .crop--rings { rotate: 7deg; translate: 8px 6px; } }

/* What stays on the phone: five answers in a row. */
.yours { margin-top: clamp(44px, 6.5vw, 104px); padding-top: clamp(26px, 3vw, 44px); border-top: 1px solid var(--hair-2); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.yours h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 46px); line-height: 1.04; letter-spacing: -0.012em; }
.yours__list { margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.yours__list div { padding: 2px 0 2px clamp(12px, 1.6vw, 24px); border-left: 1px solid var(--hair-2); }
.yours__list dt { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.yours__list dd { margin: 10px 0 0; font-family: var(--serif); font-size: clamp(22px, 2.3vw, 34px); line-height: 1.05; color: var(--ink); }

/* ═════════════ Share: one frame, and a handle to drag between the photograph and what is sent ═════════════ */
.share { --inset: clamp(0px, 1.6vw, 28px); margin: clamp(60px, 8vw, 136px) var(--inset) 0; padding: clamp(54px, 7vw, 112px) max(var(--gutter), calc(var(--edge) - var(--inset))); border-radius: clamp(0px, 3vw, 44px); background: var(--card); box-shadow: var(--plate); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); column-gap: clamp(30px, 5.5vw, 100px); row-gap: clamp(26px, 3.4vw, 50px); align-items: start; }
.share__text { grid-column: 1; grid-row: 1; }
.share__text h2 { font-size: clamp(38px, 4.2vw, 64px); }
.share__text h2 em { display: block; }
.share__facts { grid-column: 1; grid-row: 2; }
.share__facts .compare { width: 100%; margin: 0; }
.share__facts .clean__note { margin: clamp(18px, 2vw, 28px) 0 0; max-width: none; color: var(--muted); }
/* The frame keeps beside the text while the table below it is read. */
.wipe { grid-column: 2; grid-row: 1 / span 2; align-self: start; position: sticky; top: clamp(88px, 12svh, 124px); margin: 0; }
.wipe__frame { --cut: 50%; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: clamp(24px, 2.6vw, 36px); background-color: var(--card); background-image: conic-gradient(rgba(23, 19, 14, .05) 25%, transparent 0 50%, rgba(23, 19, 14, .05) 0 75%, transparent 0); background-size: 22px 22px; box-shadow: 0 0 0 1px rgba(23, 19, 14, .09), 0 60px 90px -60px rgba(var(--shade), .75); }
.wipe__sent { position: absolute; inset: 0; }
.wipe__sent img { position: absolute; left: 20.573%; top: 23.177%; width: 53.776%; height: auto; max-width: none; filter: drop-shadow(0 16px 18px rgba(var(--shade), .4)); }
.wipe__photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
.wipe__tag { position: absolute; top: 16px; z-index: 1; padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; pointer-events: none; transition: opacity .3s var(--ease); }
.wipe__tag--photo { left: 16px; background: rgba(20, 16, 10, .62); color: #fff7e6; }
.wipe__frame.is-low .wipe__tag--photo, .wipe__frame.is-high .wipe__tag--sent { opacity: 0; }
.wipe__tag--sent { right: 16px; background: var(--bg); color: var(--gold-2); box-shadow: 0 0 0 1px var(--hair-2); }
.wipe__handle { position: absolute; top: 0; bottom: 0; left: var(--cut); width: 2px; margin-left: -1px; background: #fffdf8; box-shadow: 0 0 0 1px rgba(23, 19, 14, .18); pointer-events: none; }
.wipe__handle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; translate: -50% -50%; border-radius: 50%; background: #fffdf8; box-shadow: 0 0 0 1px rgba(23, 19, 14, .12), 0 14px 24px -10px rgba(var(--shade), .7); }
.wipe__handle .ic { position: absolute; top: 50%; width: 16px; height: 16px; translate: 0 -50%; color: var(--ink); }
.wipe__handle .ic:first-child { right: 5px; }
.wipe__handle .ic:last-child { left: 5px; }
.wipe__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; }
.wipe__range:focus-visible ~ .wipe__handle, .wipe__frame:has(.wipe__range:focus-visible) .wipe__handle::before { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ═════════════ Narrower than a desk ═════════════ */
@media (max-width: 1180px) {
  .cover__actions { grid-column: 1 / -1; grid-row: 3; align-self: auto; margin: clamp(16px, 2vw, 26px) 0 0; }
  .belt { grid-row: 4; }
}
@media (max-width: 1000px) {
  .cover { grid-template-columns: minmax(0, 1fr); }
  .cover__line { font-size: min(13.4cqw, 104px); line-height: .93; text-wrap: balance; }
  .anatomy__stage { --sw: min(64vw, 440px, 44svh); }
  .anatomy .callout { padding: 9px 14px 10px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--hair-2), 0 16px 28px -16px rgba(var(--shade), .6); gap: 1px; }
  .callout__line { display: none; }
  .callout b { font-size: 26px; }
  .callout small { font-size: 12.5px; }
  .callout__k { font-size: 11px; }
  .anatomy .callout--type { right: auto; left: -9%; top: auto; bottom: 2%; text-align: left; }
  .anatomy .callout--year { left: auto; right: -9%; top: 20%; }
  .run__stage { grid-template-columns: minmax(0, 1fr); row-gap: clamp(26px, 5vw, 44px); justify-items: center; }
  .run__phone { order: 1; }
  .run__steps { order: 2; justify-self: center; width: min(100%, 520px); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: center; }
  .run__steps::before, .run__steps::after { left: 16.66%; right: 16.66%; top: 23px; bottom: auto; width: auto; height: 1px; }
  .run__steps::after { transform-origin: left; scale: var(--fill) 1; }
  .run__steps li { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 10px; }
  .run__steps li > div { grid-column: 1; grid-row: 2; }
  .run__steps .steps__n { grid-column: 1; grid-row: 1; }
  .run__steps strong { font-size: 22px; }
  .run__steps p { display: none; }
  .run__tray { order: 3; justify-self: center; width: min(100%, 520px); }
  .run__slots { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; padding: 12px; border-radius: 999px; }
  .run__slots li i { font-size: 15px; }
  .run__tray .tray__name { text-align: center; }
  .index__body { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .index__stage { order: -1; }
  .index__phone { --iw: min(64vw, 300px, calc((100svh - 260px) * .462)); }
  .index__caption { display: grid; gap: 4px; margin: 18px 0 0; text-align: center; }
  .index__caption b { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.05; color: var(--ink); }
  .index__caption span { max-width: 26em; color: var(--muted); font-size: 16px; line-height: 1.5; min-height: 3em; }
  .index__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; border: 0; }
  .index__list li { border: 0; }
  .index__item { display: block; width: auto; padding: 9px 15px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-2); }
  .index__item::after, .index__n, .index__desc { display: none; }
  .index__name { font-family: var(--sans); font-size: 14.5px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
  .index__item.is-active { background: var(--ink); box-shadow: none; }
  .index__item.is-active .index__name { color: var(--bg); translate: none; }
  .wells__row { grid-template-columns: minmax(0, 1fr); gap: clamp(84px, 12vw, 100px); }
  .well { justify-items: center; text-align: center; }
  .well__cup { width: min(100%, 340px); justify-self: center; }
  .well__num { justify-content: center; }
  .well > p:last-child { max-width: 34ch; }
  .club { grid-template-columns: minmax(0, 1fr); }
  .yours { grid-template-columns: minmax(0, 1fr); }
  .yours__list { grid-template-columns: minmax(0, 1fr); }
  .yours__list div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-left: 0; border-top: 1px solid var(--hair-2); }
  .yours__list dd { margin: 0; font-size: 24px; }
  .share { grid-template-columns: minmax(0, 1fr); }
  .share__text, .share__facts, .wipe { grid-column: 1; grid-row: auto; }
  .wipe { position: static; width: min(100%, 520px); justify-self: center; margin-top: 48px; }   /* (room for the pig above the frame) */
}
@media (max-width: 700px) {
  .cover { padding-top: 6px; }
  .cover__line { font-size: 14.6cqw; }
  .belt { height: clamp(360px, 50svh, 460px); margin-top: 88px; }
  .belt__hint { left: var(--edge); right: auto; top: -30px; font-size: 11.5px; }
  .lens { height: 96%; }
  .anatomy.statement { height: 220svh; }
  .anatomy__text { font-size: clamp(27px, 7.4vw, 40px); }
  .run { padding-left: var(--gutter); padding-right: var(--gutter); }
  .run__stage { --pw: min(72vw, 300px); }
  .share { padding-left: var(--gutter); padding-right: var(--gutter); }
  .club { padding: 26px 22px 0; }
  .club__crops { min-height: 300px; }
  .wipe__handle::before { width: 46px; height: 46px; }
}
