/* Portfolio typography and colour come from site.css. */
.xbo-wrap img, .glass-reader img, .render-dialog img { display: block; max-width: 100%; height: auto; }
.xbo-wrap [hidden], .glass-reader [hidden] { display: none !important; }
.xbo-wrap p:not([class]), .glass-description > p:not(.eyebrow), .chapter-intro > p {
  font-size: clamp(16px, 1.36vw, 21px); line-height: 1.5; color: #b6b3ae;
}
.eyebrow, .chapter-nav, .case-credits dt, .figure-note, .switches, .atlas figcaption,
.scroll-hint, .coin-preset figcaption, .reader-link, .reader-bar, .close-render, .return-case {
  font: 500 11px/1.5 var(--mono); letter-spacing: .045em;
}
.eyebrow, .case-credits dt { text-transform: uppercase; color: var(--muted); }
.cover-stage { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; isolation: isolate; }
.cover-copy { align-self: start; max-width: 54ch; }
.cover-art { position: relative; display: grid; place-items: center; }
.cover-art::before { content: ''; position: absolute; z-index: -1; inset: -10% -1%; background: radial-gradient(ellipse at 63% 55%, #3d345150, transparent 62%); }
.cover-art img { width: min(94%, 690px); }
.case-credits { display: grid; grid-template-columns: .85fr .9fr 1.25fr 1.4fr; gap: 18px; border-block: 1px solid var(--line); padding-block: 20px; }
.case-credits dd { font-size: clamp(13px, 1.15vw, 18px); line-height: 1.4; margin-top: 5px; }
.chapter-nav { display: flex; flex-wrap: wrap; gap: 1em 2.5em; padding-block: 20px; text-transform: none; }
.chapter-nav a { color: #cac7c1; }
.chapter { margin-top: clamp(80px, 9.5vw, 154px); scroll-margin-top: 30px; }
.chapter-intro { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 6%; margin-bottom: clamp(24px, 3.5vw, 54px); }
.chapter-intro > p { max-width: 51ch; }
.xbo-wrap h2 { text-wrap: balance; }
.eyebrow + h2 { margin-top: .32em; }
.switches { display: flex; flex-wrap: wrap; align-items: center; column-gap: 24px; row-gap: 2px; padding: 0 0 12px; }
.switches a { display: inline-flex; align-items: center; min-height: 40px; color: #aaa7a2; border-bottom: 1px solid transparent; }
.switches a[aria-selected="true"] { border-color: var(--ink); color: var(--ink); }
.switches a:hover { color: white; text-decoration: none; }
[data-panel] { scroll-margin-block: 20px; }
.product-frame { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3%; padding: 4% 7%; min-height: clamp(325px, 39.4vw, 614px); border-radius: 6px; }
.product-frame + .product-frame { margin-top: 16px; }
.product-copy { z-index: 1; }
.product-copy h3 { font-size: clamp(34px, 4vw, 67px); line-height: 1; letter-spacing: -.055em; }
.product-frame .product-copy p { margin-top: 18px; max-width: 40ch; font-size: clamp(15px, 1.35vw, 20px); color: inherit; }
.product-art { justify-self: center; max-height: clamp(230px, 31vw, 490px); width: 100%; object-fit: contain; }
.product-emoney { color: #21113f; background: radial-gradient(ellipse at 68% -25%, #f6ccea, transparent 60%), linear-gradient(168deg, #94acfa 0%, #d2cbf2 37%, #f5f4fa 83%); }
.product-card { background: radial-gradient(ellipse at 75% 68%, #293760 0%, transparent 47%), #0b0c21; }
.product-corporate { color: #241743; background: radial-gradient(at 78% 12%, #d1bbf0, transparent 62%), linear-gradient(135deg,#eeedf6,#d7e3ed); }
.product-slash { display: block; background: currentColor; width: clamp(15px, 1.65vw, 25px); height: clamp(20px, 2.25vw, 37px); transform: skew(-36deg); margin: 0 0 1.25em .6em; }
.product-emoney .product-slash, .product-corporate .product-slash { color: #732bfc; }
.product-cta, .glass-cta { display: inline-flex; justify-content: center; align-items: center; gap: 1em; border-radius: 100px; padding: 0 26px; min-height: 43px; margin-top: 25px; background: #160b2c; color: white; font-size: 13px; font-weight: 600; }
.product-card .product-cta, .glass-cta { background: #c9affe; color: #160b2c; }
.figure-note { color: var(--muted); margin-top: 12px; }
.glass-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: center; border-block: 1px solid var(--line); padding: clamp(35px, 5.3vw, 86px) 0; }
.glass-description { max-width: 510px; }
.glass-description > p:not(.eyebrow), .coin-copy p:not(.eyebrow) { margin-top: 22px; }
.reader-link { display: inline-flex; gap: 28px; align-items: center; border-bottom: 1px solid currentColor; margin-top: 28px; padding-block: 10px; font-size: 13px; text-decoration: none !important; }
.reader-link span { font-size: 19px; transition: transform .25s ease; }
.reader-link:hover span { transform: translate(2px,-2px); }
.landing-print { display: block; justify-self: center; width: min(100%, 456px); padding: clamp(8px,1vw,16px); background: #141416; border: 1px solid #2c2c32; border-radius: 5px; }
.landing-print img { width: 100%; }
.atlas { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; border-block: 1px solid var(--line); overflow: clip; }
.atlas figure { background: var(--bg); box-shadow: 0 0 0 1px #2a2928; padding: 8% 8% 6%; min-width: 0; }
.atlas a { display: grid; place-items: center; aspect-ratio: 1.42; }
.atlas img { width: 88%; height: 100%; object-fit: contain; transition: transform .45s cubic-bezier(.2,.72,.28,1); }
.atlas a:is(:hover,:focus-visible) img { transform: translateY(-4px) scale(1.05); }
.atlas figcaption { margin-top: 12px; color: #bbb8b4; text-transform: none; }
@media (min-width:1100px) {
  .atlas { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
.render-dialog { color: var(--ink); background: #171718; border: 1px solid var(--line); padding: 28px; width: min(90vw,780px); position: fixed; max-height: 86svh; border-radius: 5px; }
.render-dialog::backdrop { background: #000c; }
.render-dialog img { height: min(53vh,520px); margin: 8px auto 16px; object-fit: contain; }
.render-dialog figcaption { color: var(--ink); text-transform: none; }
.close-render { margin-left: auto; display: block; background: none; border: 1px solid var(--line); color: inherit; padding: 7px 12px; cursor: pointer; }
.coin-chapter { border-block: 1px solid var(--line); }
.coin-sticky { display: grid; align-items: center; gap: 6%; grid-template-columns: .85fr 1.15fr; padding-block: clamp(32px, 6vw, 90px); }
.coin-copy p:not(.eyebrow) { max-width: 34ch; }
.coin-copy .scroll-hint { display: none; color: var(--muted); }
.coin-deck { display: flex; flex-direction: column; min-width: 0; }
.token-switches {
  flex-wrap: nowrap;
  gap: 4px;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  padding: 5px 0;
  border-top: 1px solid var(--line);
}
.xbo-enhanced .token-switches { order: 1; }
.token-switches a { flex: 0 0 auto; min-width: 44px; min-height: 44px; padding-inline: 8px; justify-content: center; white-space: nowrap; }
.token-switches a:focus-visible { outline-offset: -2px; }
.coin-preset { --coin-height: clamp(238px,41vw,490px); position: relative; }
.coin-frame { display: block; position: relative; overflow: hidden; width: min(100%, 640px, calc(var(--coin-height) * 1.30151)); aspect-ratio: 777 / 597; margin: auto; }
.coin-frame img { width: 100%; }
.xbo-enhanced .coin-frame { touch-action: pan-y pinch-zoom; }
/* The new square exports have wider transparent margins. Register the artwork
   to the original 777 × 597 camera frame without altering the source PNGs. */
.coin-frame-square img { position: absolute; width: 102.78%; max-width: none; left: -2.17%; top: -12.96%; }
.coin-preset figcaption { padding: 6px 0 12px; text-transform: none; color: #c7c4c0; }
.next-case { display: flex; flex-direction: column; align-items: start; gap: 6px; margin-top: clamp(70px,8vw,130px); border-top: 1px solid var(--line); padding: 30px 0 60px; }
.next-case strong { font-size: clamp(27px,3vw,48px); font-weight: 500; letter-spacing: -.04em; }
.next-case:hover { text-decoration: none; }
.next-case:hover strong { text-decoration: underline; }
@media (min-width:761px) and (prefers-reduced-motion:no-preference) {
  .coin-sticky {
    --coin-padding: clamp(8px,2.4svh,32px);
    padding-block: var(--coin-padding) calc(var(--coin-padding) + var(--bar-height,0px));
  }
  .coin-preset { --coin-height: clamp(100px,calc((100svh - var(--bar-height,0px)) * .68),490px); }
  /* Include the hint when measuring whether the entire stage fits. */
  .xbo-enhanced .coin-copy .scroll-hint { display: block; visibility: hidden; }
  .xbo-enhanced [data-pinned] .coin-copy .scroll-hint { visibility: visible; }
}
@media (prefers-reduced-motion:no-preference) {
  .coin-run[data-pinned] { height: calc(100vh + var(--coin-travel)); height: calc(100svh + var(--coin-travel)); }
  .coin-run[data-pinned] .coin-sticky { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; }
  .coin-run[data-pinned] .scroll-hint { display: block; }
  .cover-art img { animation: hero-arrive .95s cubic-bezier(.16,.76,.23,1) both; }
  .panel-enter { animation: panel-arrive .35s ease-out both; }
  .glass-block.in-view .glass-visual { animation: hero-arrive .75s ease-out both; }
  .coin-preset.panel-enter { animation: preset-in .18s ease-out both; }
  @keyframes hero-arrive { from { opacity: .35; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes panel-arrive { from { opacity: .6; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes preset-in { from { opacity: .76; } to { opacity: 1; } }
}
@media (max-width:760px) {
  .cover-stage { grid-template-columns: 1fr; }
  .cover-art { margin: 0 auto; width: min(100%, 450px); }
  .cover-art img { width: 86%; }
  .case-credits { grid-template-columns: 1fr 1.2fr; gap: 16px; padding-block: 16px; }
  .chapter-nav { column-gap: 18px; row-gap: 0; padding: 10px 0; }
  .chapter-nav a { padding-block: 8px; }
  .chapter-intro, .glass-feature { grid-template-columns: 1fr; gap: 22px; }
  .chapter-intro > p, .glass-description { max-width: 50ch; }
  .atlas { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .product-frame { grid-template-columns: 1fr; gap: 12px; padding: 26px; }
  .product-art { grid-row: 1; height: clamp(175px,48vw,280px); max-width: 90%; }
  .product-copy { padding-bottom: 4px; }
  .product-copy p { margin-top: 10px !important; }
  .product-copy .product-slash { width: 10px; height: 15px; margin-bottom: 10px; }
  .product-cta { min-height: 38px; margin-top: 16px; }
  .landing-print { max-width: 390px; margin-top: 8px; }
  .coin-sticky { grid-template-columns: 1fr; align-content: center; gap: 10px; padding-block: 32px; }
  .coin-copy p:not(.eyebrow) { margin-top: 14px; max-width: 43ch; }
  .coin-copy h2 br { display: none; }
  .coin-copy h2 br::after { content: ' '; }
  .coin-preset { --coin-height: clamp(190px,32svh,360px); }
  .coin-copy .scroll-hint { margin-top: 7px !important; }
}
@media (prefers-reduced-motion:reduce) {
  .xbo-wrap *, .glass-reader * { animation: none !important; transition: none !important; }
}

/* Source frame 11:1347 is 1920 px wide, with 1720 px content and 60 px gaps. */
.landing-reader { background: #030303; }
.glass-reader { max-width: 1940px; margin-inline: auto; }
.reader-bar { min-height: 48px; display: flex; align-items: center; gap: 18px; padding: 6px clamp(15px,4vw,80px); border-bottom: 1px solid #302e31; background: #101011; }
.reader-bar > span { color: #aaa7a4; }
.reader-bar > div { margin-left: auto; display: flex; gap: 16px; align-items: center; }
.reader-bar a, .reader-bar button { padding-block: 7px; }
.reader-bar button { background: none; color: #d3cfcb; border: 0; font: inherit; cursor: pointer; }
.reader-bar button[aria-pressed="true"] { color: #a4efff; text-decoration: underline; text-underline-offset: .35em; }
.glass-site { position: relative; background: #000; color: #fff; container-type: inline-size; }
.glass-nav { display: flex; align-items: center; gap: 2.3%; min-height: 7.4cqw; padding-inline: 5.20833%; }
.glass-nav > a:first-child { width: 8.2%; min-width: 75px; }
.glass-nav nav { display: flex; gap: clamp(8px,1.7vw,34px); font: 400 clamp(10px,.87vw,16px)/1.2 Arial,sans-serif; text-transform: none; letter-spacing: 0; }
.visit-xbo { margin-left: auto; border-radius: 90px; padding: 9px 17px; background: #7027ff; font-size: clamp(11px,.9vw,16px); }
.glass-sections { width: 89.58334%; margin-inline: auto; display: grid; gap: 3.125cqw; }
.glass-block { container-type: inline-size; position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1720/760; display: flex; align-items: center; border-radius: clamp(5px,.65vw,13px); background: #030629; }
.glass-offer { background: radial-gradient(ellipse at 63% -20%,#2c54aa,transparent 58%),radial-gradient(ellipse at 94% 30%,#272461,transparent 65%),#040729; }
.glass-copy { position: relative; z-index: 1; margin-left: 8.15%; width: 36%; }
.glass-copy .product-slash { width: 1.4cqw; height: 3.1cqw; margin: 0 0 1.75cqw 1cqw; }
.glass-copy h1, .glass-copy h2 { font: 680 3.26cqw/1 Arial,Helvetica,sans-serif; letter-spacing: -.034em; text-wrap: initial; }
.glass-copy p, .glass-copy li { font: 400 max(12px,1.08cqw)/1.65 Arial,Helvetica,sans-serif; }
.glass-copy p { margin-top: .85cqw; color: #deddeb; }
.glass-copy .glass-cta { min-height: max(34px,3.5cqw); min-width: 15.1cqw; margin-top: 1.85cqw; padding-inline: 15px; font-size: max(12px,1cqw); }
.glass-visual { position: absolute; z-index: -1; width: 56%; right: 2%; }
.glass-network .glass-copy { width: 25%; margin-left: 8.9%; }
.glass-network .glass-visual { width: 65%; right: 1.8%; }
.glass-carousel { position: relative; }
.glass-state { background: radial-gradient(ellipse at 26% 52%,#20274c 0,transparent 40%),#03062b; }
.glass-state .state-visual { position: absolute; left: 7%; width: 43%; max-height: 86%; object-fit: contain; }
.glass-state .glass-copy { margin-left: 56.3%; width: 31%; }
.glass-state .glass-copy h2 { max-width: 15ch; }
.glass-state ul { padding-left: 1em; margin: 3.2cqw 0 0; }
.glass-state li { margin-top: .56cqw; }
.glass-state li::marker { color: #c9aaff; }
.glass-dots { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-block: 10px; }
.glass-slides { display: grid; grid-template-columns: minmax(0,1fr); gap: 3.125cqw; }
.glass-slides .glass-state { width: 100%; }
[data-mode="scroll"]::after { content: ''; display: block; height: var(--glass-travel); }
[data-mode="scroll"] .glass-stage { position: sticky; top: var(--glass-inset); }
[data-mode="scroll"] .glass-slides {
  gap: 0;
  isolation: isolate;
  overflow: hidden;
  border-radius: clamp(5px,.65vw,13px);
  background: radial-gradient(ellipse at 26% 52%,#20274c 0,transparent 40%),#03062b;
}
[data-mode="scroll"] .glass-state {
  grid-area: 1 / 1;
  min-width: 0;
  align-self: stretch;
  background: transparent;
  opacity: var(--glass-opacity,0);
}
[data-mode="scroll"] .glass-state:first-child { opacity: var(--glass-opacity,1); }
[data-mode="scroll"] .state-visual { transform: translateY(var(--glass-image-y,0px)); }
[data-mode="scroll"] .glass-state .glass-copy {
  opacity: var(--glass-type-opacity,1);
  transform: translateY(var(--glass-type-y,0px));
}
[data-mode="scroll"] .glass-dots {
  --rail-step: clamp(26px,2.1cqw,42px);
  --rail-width: clamp(6px,.43cqw,9px);
  --rail-pill: calc(3 * var(--rail-width));
  position: absolute;
  z-index: 2;
  right: 2.4%;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 0;
  padding: 0;
}
[data-mode="scroll"] .glass-dots a {
  display: grid;
  place-items: center;
  width: 44px;
  height: var(--rail-step);
  font-size: 0;
  border-radius: 6px;
}
[data-mode="scroll"] .glass-dots a::after {
  content: '';
  width: var(--rail-width);
  height: var(--rail-width);
  border-radius: 50%;
  background: #827e99;
}
[data-mode="scroll"] .glass-dots::before {
  content: '';
  position: absolute;
  z-index: 1;
  pointer-events: none;
  left: calc(50% - var(--rail-width) / 2);
  top: calc((var(--rail-step) - var(--rail-pill)) / 2);
  width: var(--rail-width);
  height: var(--rail-pill);
  border-radius: 999px;
  background: white;
  transform: translateY(calc(var(--glass-mark,0) * var(--rail-step))) scaleY(var(--glass-stretch,1));
}
[data-mode="scroll"] .glass-dots a:focus-visible { outline: 2px solid #c5b4ff; outline-offset: -2px; }
.glass-original-footer { margin-top: 3.125cqw; }
.glass-original-footer img { width: 100%; }
.source-guides { display: none; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.show-guides .source-guides { display: block; }
.source-guides i { display: block; position: absolute; inset-block: 0; border-inline: 1px solid #78f3ffd9; }
.source-guides i:nth-child(1) { inset-inline: 5.20833%; }
.source-guides i:nth-child(2) { inset-inline: 12.5%; border-color: #ff84d9bb; }
.source-guides i:nth-child(3) { inset-inline: 15.98958%; border-color: #fcce7daa; }
.return-case { padding: 25px 5.2% 55px; border-top: 1px solid var(--line); }
@media (max-width:740px) {
  .reader-bar { gap: 6px; }
  .reader-bar > span { display: none; }
  .reader-bar > div { gap: 10px; }
  .glass-nav { min-height: 70px; padding-inline: 5%; }
  .glass-nav nav { display: none; }
  .glass-sections { width: 92%; gap: 14px; }
  .glass-block { aspect-ratio: auto; flex-direction: column; align-items: stretch; padding: 27px 24px; }
  .glass-copy, .glass-network .glass-copy, .glass-state .glass-copy { width: auto; margin: 0; }
  .glass-copy h1, .glass-copy h2 { font-size: clamp(27px,6.8vw,48px); max-width: 17ch; }
  .glass-copy .product-slash { width: 10px; height: 17px; margin: 0 0 12px 5px; }
  .glass-copy p, .glass-copy li { font-size: 14px; line-height: 1.45; }
  .glass-copy p { margin-top: 10px; max-width: 41ch; }
  .glass-copy .glass-cta { min-height: 40px; min-width: 135px; margin-top: 14px; }
  .glass-block .glass-visual, .glass-state .state-visual { position: static; width: 100%; height: clamp(175px,45vw,320px); object-fit: contain; margin: 12px auto 0; }
  .glass-state .state-visual { margin: 0 auto 8px; height: clamp(170px,42vw,280px); }
  .glass-state { padding-bottom: 20px; }
  .glass-state ul { margin: 15px 0 0; }
  .glass-state li { margin-top: 5px; }
  .glass-slides { gap: 14px; }
  .glass-state { padding-right: 48px; }
  [data-mode="scroll"] .glass-dots { --rail-step: 36px; right: 0; }
  .glass-original-footer { margin-top: 18px; }
  .source-guides i:nth-child(1) { inset-inline: 4%; }
  .source-guides i:nth-child(2) { inset-inline: calc(4% + 24px); }
  .source-guides i:nth-child(3) { display: none; }
}
.figure-note a { text-decoration: underline; text-underline-offset: .22em; }
.glass-mobile-footer { display: none; }
@media (max-width:740px) {
  .glass-original-footer { display: none; }
  .glass-mobile-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 20px 4% 0; padding: 18px 0; border-top: 1px solid var(--line); font: 12px/1.5 Arial,sans-serif; }
  .glass-mobile-footer img { width: 65px; }
}
