/* Regenerative Ecosystem on the Digital Assets and Tokenization masterclass (22 Nov 2026), moved from the designledger.co
   home: the network and information in BLOOM blue, the returns in SEED green, the chain and goods in the neutral roles. One drawing on a 1440 by 800 field, the Human Agency card laid over it. */
.dl-cchain__field { position: relative; width: 100%; margin-top: clamp(32px, 4vw, 56px); aspect-ratio: 1440 / 800; container-type: inline-size; }
.dl-cchain__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; font-family: var(--dl-typeface-plain), system-ui, sans-serif; }
/* SVG text sizes are set on the drawing in its own units, scaling with it. */
/* The card sits under Consumption at 560, scaled with the field. */
.dl-cchain__card { position: absolute; left: calc(850 / 1440 * 100%); top: calc(664 / 800 * 100%); width: 560px; transform: translateX(-50%) scale(calc(100cqw / 1440px * .62)); transform-origin: top center; }

/* No disc behind the network (22 Nov 2026): only its dotted parallels and meridians. */
.cc-globe { display: none; }
.cc-lat { fill: none; stroke: var(--dl-color-outline-variant); stroke-width: 1; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .7; }
.cc-spoke { stroke: color-mix(in srgb, var(--dl-tier-bloom) 45%, transparent); stroke-width: 1.5; }
.cc-layer polygon { stroke: var(--dl-tier-bloom); stroke-width: 1.2; }
.cc-layer path { fill: none; stroke: var(--dl-tier-bloom); stroke-width: .6; opacity: .55; }
.cc-layer--t polygon { fill: color-mix(in srgb, var(--dl-tier-bloom) 34%, var(--dl-color-surface)); }
.cc-layer--b polygon { fill: color-mix(in srgb, var(--dl-tier-bloom) 14%, var(--dl-color-surface)); }
.cc-layer--b { opacity: 1; }
.cc-layer--m polygon { fill: color-mix(in srgb, var(--dl-tier-bloom) 22%, var(--dl-color-surface)); }
.cc-layer--m path { stroke: var(--dl-tier-bloom); }
.cc-node circle { fill: color-mix(in srgb, var(--dl-tier-bloom) 10%, var(--dl-color-surface)); stroke: color-mix(in srgb, var(--dl-tier-bloom) 70%, transparent); stroke-width: 1.5; }
.cc-node svg { color: var(--dl-tier-bloom); }
/* Each capability is named under its circle, and each layer of the core on a chip at its right. */
.cc-node-name { fill: var(--dl-color-on-surface); font-weight: 500; paint-order: stroke; stroke: var(--dl-color-surface); stroke-width: 6; stroke-linejoin: round; }
.cc-tier rect { fill: var(--dl-color-surface); stroke: color-mix(in srgb, var(--dl-tier-bloom) 45%, transparent); stroke-width: 1; }
.cc-tier text { fill: var(--dl-color-on-surface); font-weight: 500; }
.cc-cap { fill: var(--dl-color-on-surface); font-family: var(--dl-typeface-mono), monospace; font-weight: 600; letter-spacing: .14em; }

.cc-info { fill: none; stroke: var(--dl-tier-bloom); stroke-width: 1.5; stroke-dasharray: 5 6; opacity: .85; }
.cc-info-head { fill: var(--dl-tier-bloom); }
.cc-fork { fill: var(--dl-tier-bloom); }
.cc-info-arrow { stroke: var(--dl-tier-bloom); stroke-width: 1.5; }
.cc-goods { stroke: var(--dl-color-on-surface-variant); stroke-width: 1.5; }
.cc-goods-head { fill: var(--dl-color-on-surface-variant); }
.cc-pill rect { fill: var(--dl-color-surface-container); stroke: var(--dl-color-outline-variant); stroke-width: 1; }
.cc-pill text { fill: var(--dl-color-on-surface); font-weight: 500; letter-spacing: -.01em; }
.cc-tie { stroke: var(--dl-color-on-surface-variant); stroke-width: 1.2; stroke-dasharray: 2 5; }

.cc-loop { fill: none; stroke: var(--dl-tier-seed); stroke-width: 1.5; opacity: .8; }
.cc-loop-head { fill: var(--dl-tier-seed); }
.cc-spark { fill: var(--dl-tier-seed); filter: drop-shadow(0 0 4px var(--dl-tier-seed)); }
.cc-ret circle { fill: color-mix(in srgb, var(--dl-tier-seed) 10%, var(--dl-color-surface)); stroke: color-mix(in srgb, var(--dl-tier-seed) 70%, transparent); stroke-width: 1.5; }
.cc-ret svg { color: var(--dl-tier-seed); }
.cc-ret text, .cc-use { fill: var(--dl-color-on-surface); font-weight: 500; }
/* Each name sits on a chip of the section ground, so the arcs that cross it pass beneath. */
.cc-chip { fill: var(--dl-color-surface); stroke: color-mix(in srgb, var(--dl-tier-seed) 30%, transparent); stroke-width: 1; }
.cc-legend text { fill: var(--dl-color-on-surface-variant); font-weight: 500; }

@media (prefers-reduced-motion: no-preference) {
  .cc-info { animation: cc-flow 1.6s linear infinite; }
}
@keyframes cc-flow { to { stroke-dashoffset: -38; } }

/* On a phone the drawing keeps a readable size and pans sideways inside the column. */
.dl-cchain__pan { margin-top: clamp(32px, 4vw, 56px); }
.dl-cchain__pan .dl-cchain__field { margin-top: 0; }
@media (max-width: 760px) {
  .dl-cchain__pan { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; margin-inline: calc(var(--dl-page-gutter, 16px) * -1); padding-inline: var(--dl-page-gutter, 16px); }
  .dl-cchain__pan .dl-cchain__field { width: 880px; }
}

/* On the masterclass page: the drawing under its heading, full width, its own rhythm before Tools. */
.dl-regen { margin: clamp(48px, 6vw, 88px) 0; }
.dl-regen .dl-cchain__pan { margin-top: 0; }
