a[data-link][hidden]{display:none!important}
/* Editorial template: a calm magazine layout. Colours are sampled from the pack's art; fonts are self-hosted per pack. */
@font-face { font-family: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/YoungSerif-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/Outfit-normal-400-800.woff2') format('woff2'); }
@font-face { font-family: 'Dancing Script'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/DancingScript-normal-400-700.woff2') format('woff2'); }
:root {
  --paper: #e3ebf7;
  --paper-2: #cfdaed;
  --ink: #302117;
  --ink-soft: #624e41;
  --accent: #6497ec;
  --accent-deep: #184faa;
  --rule: #3021172b;
  --rule-soft: #30211717;
  --veil: #e3ebf7eb;
  --serif: 'Young Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --r: 0px;
  --align: left;
  --gutter: clamp(16px, 4.4vw, 64px);
  --max: 1240px;
  --wrap: min(var(--max), 100% - 2 * var(--gutter));
  --edge: max(var(--gutter), (100% - var(--max)) / 2);
  --mast: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mast) + 12px); -webkit-text-size-adjust: 100%; }
html.rm { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; margin: 0; letter-spacing: -0.015em; overflow-wrap: break-word; text-wrap: balance; }
em { font-style: italic; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); text-decoration: none; }
.skip:focus { left: 8px; }

/* Small capitals used for labels, folios and captions */
.folio, .eyebrow, .ca__label, .ca__tap, .chapter__label, .plate figcaption, .pull cite, .venues__label,
.menu__txt, .step__ca, .colophon__name span, .colophon__links, .lost__code {
  font-family: var(--sans); font-weight: 600; font-size: 11.5px; line-height: 1.2; letter-spacing: .18em; text-transform: uppercase;
}

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 12px 24px; border: 1px solid var(--ink); border-radius: var(--r); font: 600 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn__arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---- Masthead ---- */
.masthead { position: sticky; top: 0; z-index: 40; background: var(--veil); border-bottom: 1px solid var(--rule); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: border-color .3s ease; }
.masthead__in { width: var(--wrap); height: var(--mast); margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; min-width: 0; color: var(--ink); text-decoration: none; font: 400 clamp(20px, 5.6vw, 24px)/1 var(--serif); letter-spacing: -0.01em; }
.wordmark img { flex: none; width: 34px; height: 34px; border-radius: 50%; }
.wordmark span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 4px 0; }
.menu { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 2px 0 10px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.menu__bars { position: relative; width: 22px; height: 10px; }
.menu__bars i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu__bars i:first-child { top: 0; }
.menu__bars i:last-child { top: 8.5px; }
.menu[aria-expanded="true"] .menu__bars i { top: 4.25px; }
.menu[aria-expanded="true"] .menu__bars i:first-child { transform: rotate(45deg); }
.menu[aria-expanded="true"] .menu__bars i:last-child { transform: rotate(-45deg); }

.sitenav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; padding: 4px var(--gutter) 28px; background: var(--paper); border-bottom: 1px solid var(--ink); box-shadow: 0 30px 40px -30px rgba(0, 0, 0, .35); }
.sitenav.is-open { display: flex; }
.sitenav__link { display: flex; align-items: baseline; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font: 400 27px/1.1 var(--serif); letter-spacing: -0.01em; }
.sitenav__no { font: 600 11px/1 var(--sans); letter-spacing: .16em; color: var(--accent-deep); min-width: 20px; }
.sitenav__x { align-items: center; }
.sitenav__x img { width: 16px; height: 16px; margin: 0 2px; }
.sitenav__buy { margin-top: 24px; }

/* ---- Cover (hero) ---- */
.cover { width: var(--wrap); margin: 0 auto; padding: 16px 0 8px; }
.folio { display: flex; align-items: center; gap: 14px; color: var(--ink-soft); font-size: 10.5px; }
.folio i { flex: 1; height: 1px; background: var(--rule); }
.cover__grid { display: grid; grid-template-areas: "head" "plate" "body"; gap: 30px; padding: 30px 0 0; }
.cover__head { grid-area: head; display: flex; flex-direction: column; align-items: flex-start; }
.cover__body { grid-area: body; display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--accent-deep); }
.eyebrow::before { content: ''; flex: none; width: 26px; height: 1px; background: currentColor; }
.cover h1 { font-size: clamp(38px, 11.4vw, 54px); line-height: 1.02; }
.h1__one, .h1__two { display: block; }
.h1__two { color: var(--accent-deep); margin-top: .08em; }

.plate { grid-area: plate; position: relative; margin: 0; }
.plate__frame { padding: 10px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r); }
.plate__frame img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--r) * .6); }
.plate figcaption { display: flex; align-items: baseline; gap: 14px; margin-top: 12px; padding-right: 104px; color: var(--ink-soft); font-size: 10.5px; }
.plate__no { flex: none; color: var(--accent-deep); }
.plate__cap { font: italic 400 15px/1.3 var(--serif); letter-spacing: 0; text-transform: none; min-width: 0; overflow-wrap: anywhere; }
.seal { position: absolute; right: 8px; bottom: -6px; width: 88px; height: 88px; overflow: visible; }
.seal__disc { fill: var(--paper); stroke: var(--ink); stroke-width: 1; }
.seal__line { fill: none; stroke: var(--ink); stroke-width: .6; opacity: .35; }
.seal__text { font: 600 9px var(--sans); letter-spacing: .14em; text-transform: uppercase; fill: var(--ink); transform-origin: 60px 60px; }
.seal__mark { font: italic 400 25px var(--serif); fill: var(--accent-deep); }

.standfirst { max-width: 33em; margin: 0 0 30px; font-size: 18.5px; line-height: 1.55; color: var(--ink-soft); }
.ca { width: 100%; max-width: 520px; margin: 0 0 26px; }
.ca__label { display: block; margin-bottom: 10px; color: var(--ink-soft); }
.ca__btn { display: flex; align-items: center; gap: 16px; width: 100%; padding: 15px 16px 15px 18px; border: 1px solid var(--ink); border-radius: var(--r); background: transparent; color: var(--ink); text-align: left; cursor: pointer; transition: background-color .25s ease; }
.ca__btn:hover, .ca__btn.is-copied { background: var(--paper-2); }
.ca__btn code { flex: 1; min-width: 0; font: 500 13.5px/1.45 var(--mono); overflow-wrap: anywhere; }
.ca__tap { flex: none; padding-bottom: 3px; border-bottom: 1px solid currentColor; color: var(--accent-deep); font-size: 10.5px; }
.cover__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Chapters ---- */
.chapter { width: var(--wrap); margin: 0 auto; padding-top: clamp(76px, 10vw, 148px); }
.chapter__label { display: flex; align-items: baseline; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); color: var(--ink); }
.chapter__no { color: var(--accent-deep); }
.chapter__dash { color: var(--ink-soft); letter-spacing: 0; }
.chapter__title { margin: 34px 0 0; max-width: 15em; font-size: clamp(36px, 5.4vw, 76px); }
.chapter__title em { color: var(--accent-deep); }

/* Story: a two-page spread with the caption as a pull-quote, then the cards as a numbered list */
.story__spread { display: grid; gap: 34px; margin-top: 40px; }
.story__fig { margin: 0; }
.story__fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); background: var(--paper-2); }
.pull { position: relative; margin: 0; padding: 0; }
.pull::before { content: '\201C'; display: block; height: .5em; margin-bottom: 6px; font: 400 104px/1 var(--serif); color: var(--accent); }
.pull p { margin: 0; font: italic 400 clamp(30px, 3.5vw, 48px)/1.12 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.pull cite { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-style: normal; color: var(--ink-soft); }
.pull cite::before { content: ''; width: 28px; height: 1px; background: currentColor; }

.cards { margin-top: clamp(56px, 8vw, 112px); border-top: 1px solid var(--ink); }
.card { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 10px; row-gap: 10px; align-items: baseline; padding: 26px 0 28px; border-bottom: 1px solid var(--rule); }
.card__num { font: italic 400 24px/1 var(--serif); color: var(--accent-deep); }
.card h3 { font-size: 27px; line-height: 1.1; }
.card p { grid-column: 2; margin: 0; color: var(--ink-soft); }

/* Plates: a horizontal strip; only the strip scrolls sideways */
.plates { width: auto; }
.plates > .chapter__label, .plates__head, .strip__track { width: var(--wrap); margin-left: auto; margin-right: auto; }
.plates__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.plates__ctl { display: none; flex: none; gap: 10px; }
.arrow { display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); font: 400 19px/1 var(--sans); cursor: pointer; transition: background-color .25s ease, color .25s ease, opacity .25s ease; }
.arrow:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.arrow:disabled { opacity: .28; cursor: default; }
.strip { display: flex; gap: clamp(14px, 2vw, 28px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 40px var(--edge) 6px; scroll-padding-inline: var(--edge); scrollbar-width: none; counter-reset: pl 1; }
.strip::-webkit-scrollbar { display: none; }
.strip:focus-visible { outline-offset: -2px; }
.strip figure { flex: none; width: min(76vw, 320px); margin: 0; scroll-snap-align: start; counter-increment: pl; }
.strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); background: var(--paper-2); }
.strip figcaption { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); font: italic 400 18px/1.3 var(--serif); color: var(--ink); }
.strip figcaption::before { content: 'Pl. ' counter(pl, upper-roman); display: block; margin-bottom: 8px; font: normal 600 10.5px/1 var(--sans); letter-spacing: .18em; color: var(--accent-deep); }
.strip__track { position: relative; height: 1px; margin-top: 30px; background: var(--rule); }
.strip__track span { position: absolute; left: 0; top: -1px; width: 30%; height: 3px; background: var(--accent-deep); }
.plates.is-static .strip__track, .plates.is-static .plates__ctl { visibility: hidden; }

/* How to buy: three rows, like a table */
.buy__grid { display: grid; gap: 40px; margin-top: 34px; }
.buy__intro .chapter__title { margin-top: 0; font-size: clamp(36px, 4.2vw, 60px); }
.buy__intro .chapter__title em { display: block; white-space: nowrap; }
.buy__note { max-width: 28em; margin: 20px 0 30px; color: var(--ink-soft); }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.step { display: grid; grid-template-columns: 40px minmax(0, 1fr) 26px; column-gap: 12px; row-gap: 8px; align-items: baseline; padding: 24px 0 26px; border-bottom: 1px solid var(--rule); }
.step__no { font: italic 400 22px/1 var(--serif); color: var(--accent-deep); }
.step__title { font: 400 25px/1.1 var(--serif); letter-spacing: -0.01em; }
.step__text { grid-column: 2 / 4; color: var(--ink-soft); }
.step__icon { grid-column: 3; grid-row: 1; align-self: center; width: 24px; height: 24px; }
.step__ca { display: block; margin-top: 14px; color: var(--ink-soft); font-size: 10.5px; }
.step__ca code { display: block; margin-top: 6px; font: 500 12px/1.5 var(--mono); letter-spacing: 0; text-transform: none; color: var(--ink); word-break: break-all; text-wrap: balance; }
.venues { margin-top: clamp(52px, 7vw, 96px); }
.venues__label { margin: 0 0 14px; color: var(--ink-soft); }
.venues__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.venue { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 64px; padding: 14px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font: 500 15px/1.2 var(--sans); transition: background-color .25s ease; }
.venue img { flex: none; width: 20px; height: 20px; }
.venue span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.venue i { display: none; margin-left: auto; font-style: normal; color: var(--ink-soft); transition: transform .25s var(--ease); }
.venue:hover { background: var(--paper-2); }
.venue:hover i { transform: translate(2px, -2px); }

/* ---- Colophon (footer) ---- */
.colophon { margin-top: clamp(88px, 10vw, 136px); border-top: 1px solid var(--ink); background: var(--paper-2); }
.colophon__in { width: var(--wrap); margin: 0 auto; padding: 44px 0 56px; display: grid; gap: 26px; }
.colophon__brand { display: flex; align-items: center; gap: 14px; }
.colophon__brand img { flex: none; border-radius: 50%; }
.colophon__name { margin: 0; font: 400 26px/1.1 var(--serif); }
.colophon__name span { display: block; margin-top: 8px; color: var(--ink-soft); font-size: 10.5px; }
.colophon__small { max-width: 46em; margin: 0; font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
.colophon__links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; }
.colophon__links a { padding: 6px 0 4px; border-bottom: 1px solid var(--ink); color: var(--ink); text-decoration: none; }
.colophon__links a:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

/* ---- 404 ---- */
.lost { min-height: 100svh; display: grid; place-items: center; padding: 24px 16px; }
.lost__box { width: min(620px, 100%); padding: 18px 0 44px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-align: center; }
.lost__code { display: flex; align-items: center; gap: 14px; margin: 0 0 40px; color: var(--ink-soft); }
.lost__code i { flex: 1; height: 1px; background: var(--rule); }
.lost__box img { margin: 0 auto 26px; border-radius: 50%; }
.lost h1 { margin: 0 0 32px; font-size: clamp(38px, 8vw, 64px); }
.lost h1 em { display: block; color: var(--accent-deep); }

/* ---- Motion (only with JS and motion on) ---- */
html:not(.rm) .cover__head { animation: rise .9s var(--ease) both; }
html:not(.rm) .cover__body { animation: rise .9s var(--ease) .12s both; }
html:not(.rm) .plate { animation: settle 1.2s var(--ease) .08s both; }
html:not(.rm) .seal__text { animation: turn 48s linear infinite; }
html.js:not(.rm) .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s var(--ease); }
html.js:not(.rm) .reveal.seen { opacity: 1; transform: none; }
html.js:not(.rm) .strip__track span { transition: transform .12s linear; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  html:not(.rm) .cover__head, html:not(.rm) .cover__body, html:not(.rm) .plate, html:not(.rm) .seal__text { animation: none; }
}

/* ---- Larger screens ---- */
@media (min-width: 640px) {
  .card { grid-template-columns: 72px minmax(0, 1fr); }
  .plates__ctl { display: flex; }
}
@media (min-width: 760px) {
  .card { grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1.45fr); column-gap: 32px; padding: 34px 0 36px; }
  .card h3 { font-size: clamp(27px, 2.7vw, 36px); }
  .card p { grid-column: 3; grid-row: 1; }
  .step { grid-template-columns: 56px minmax(120px, 180px) minmax(0, 1fr) 28px; column-gap: 22px; padding: 30px 0; }
  .step__text { grid-column: 3; grid-row: 1; }
  .step__icon { grid-column: 4; }
  .strip figure { width: clamp(270px, 30vw, 360px); }
  .venues__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .venue { min-height: 76px; padding: 18px; font-size: 16px; }
}
@media (min-width: 900px) {
  :root { --mast: 72px; }
  .cover { min-height: calc(100svh - var(--mast)); display: flex; flex-direction: column; padding: 22px 0 36px; }
  .folio { font-size: 11px; }
  .cover__grid { flex: 1; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "head plate" "body plate"; grid-template-rows: auto auto; align-content: center; column-gap: clamp(56px, 7vw, 120px); row-gap: 30px; padding-top: 36px; }
  .cover__head { align-self: end; }
  .cover__body { align-self: start; }
  .cover__head, .cover__body { align-items: flex-start; align-items: left; text-align: left; }
  .eyebrow, .cover__actions { justify-content: flex-start; justify-content: left; }
  .cover h1 { font-size: clamp(52px, 4.8vw + 8px, 86px); }
  .cover + .chapter { padding-top: clamp(40px, 5vw, 80px); }
  .plate { align-self: center; justify-self: end; width: min(100%, 62vh, 520px); }
  .plate figcaption { justify-content: space-between; padding-right: 0; }
  .plate__cap { text-align: right; }
  .seal { right: auto; left: -46px; bottom: 64px; width: 116px; height: 116px; }
  .story__spread { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(48px, 6vw, 104px); align-items: end; margin-top: 52px; }
  .pull { padding-bottom: 6px; }
  .colophon__in { grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); align-items: start; gap: 48px; padding: 56px 0 64px; }
  .colophon__links { justify-content: flex-end; }
}
@media (min-width: 900px) {
  /* Centred covers get a rule on both sides of the eyebrow (browsers without style queries keep the left one only). */
  @container style(--align: center) {
    .eyebrow::after { content: ''; flex: none; width: 26px; height: 1px; background: currentColor; }
  }
}
@media (min-width: 1024px) {
  .menu { display: none; }
  .sitenav { position: static; display: flex; flex-direction: row; align-items: center; gap: 30px; margin-left: auto; padding: 0; background: none; border: 0; box-shadow: none; }
  .sitenav__link { position: relative; gap: 8px; padding: 8px 0; border: 0; font: 500 14.5px/1 var(--sans); letter-spacing: .01em; white-space: nowrap; }
  .sitenav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .sitenav__link:hover::after { transform: scaleX(1); }
  .sitenav__no { font-size: 10px; min-width: 0; }
  .sitenav__x img { width: 14px; height: 14px; margin: 0; }
  .sitenav__buy { margin: 0; min-height: 42px; padding: 10px 18px; font-size: 14px; white-space: nowrap; }
  .venue { padding: 18px 22px; }
  .venue i { display: inline; }
  .buy__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(56px, 7vw, 120px); align-items: start; margin-top: 44px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .sitenav { gap: 24px; }
  .sitenav__long { display: none; }
}

/* ---- The DexScreener chart (shown by js/main.js once the CA exists) ---- */
.chart { padding: clamp(48px, 8vw, 96px) 16px; background: var(--night, #0b0b10); color: var(--on-night, #f4f4f6); }
.chart__inner { max-width: 1100px; margin: 0 auto; }
.chart__title { margin: 0 0 18px; font-size: clamp(26px, 4vw, 40px); line-height: 1.1; }
.chart__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 420px; max-height: 80vh; overflow: hidden; border-radius: 12px; background: #0b0b10; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.chart__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chart__note { margin: 12px 0 0; font-size: 14px; color: var(--on-night-soft, #c9c9d1); }
