/* Charon gold: the live site's tokens (0010-tokens.css), copied for review. */
@layer legacy {
:root {
  --bg: #0e1013; --surface: #15181d; --card: #1e2229; --card-hover: #272c34;
  --border: #2c3139; --border-strong: #3c424c;
  --text: #e6e8ec; --text-muted: #9aa0a8; --text-dim: #646a73;
  --amber: #c79a4a; --amber-bright: #d8aa5c; --amber-deep: #7a5f28;
  --gold-cream: color-mix(in srgb, var(--amber-bright) 45%, white);
  --gold-rich: color-mix(in srgb, var(--amber-bright) 75%, #e8883a);
  --gold-ember: color-mix(in srgb, var(--amber) 72%, #8a4a1e);
  --on-gold: #2e1606;
  --gold-fill:
    radial-gradient(ellipse 65% 130% at 12% 0%, color-mix(in srgb, var(--gold-cream) 95%, transparent), color-mix(in srgb, var(--gold-cream) 35%, transparent) 45%, transparent 80%),
    radial-gradient(ellipse 30% 90% at 100% 100%, color-mix(in srgb, var(--gold-rich) 80%, transparent), transparent 75%),
    linear-gradient(135deg, var(--amber-bright) 0%, var(--gold-rich) 30%, var(--amber) 55%, var(--gold-ember) 85%, var(--amber) 100%);
  /* the metal as a line or as letters: same light, top left to bottom right */
  --gold-line: linear-gradient(135deg, var(--gold-cream) 0%, var(--amber-bright) 25%, var(--amber) 55%, var(--gold-ember) 80%, var(--amber-bright) 100%);
  --gold-ink: linear-gradient(170deg, var(--gold-cream) 0%, var(--amber-bright) 40%, var(--amber) 70%, var(--gold-ember) 100%);
  /* light caught on a thin line: the line itself, bright over a short stretch, and a faint haze beside it */
  --line-core: radial-gradient(closest-side, rgba(255,246,226,1.000) 0%, rgba(255,246,226,0.967) 10%, rgba(255,246,226,0.875) 20%, rgba(255,246,226,0.737) 30%, rgba(255,246,226,0.574) 40%, rgba(255,246,226,0.410) 50%, rgba(255,246,226,0.265) 60%, rgba(255,246,226,0.150) 70%, rgba(255,246,226,0.071) 80%, rgba(255,246,226,0.024) 90%, rgba(255,246,226,0.000) 100%);
  --line-haze: radial-gradient(closest-side, rgba(255,222,166,0.350) 0%, rgba(255,222,166,0.333) 10%, rgba(255,222,166,0.287) 20%, rgba(255,222,166,0.223) 30%, rgba(255,222,166,0.155) 40%, rgba(255,222,166,0.095) 50%, rgba(255,222,166,0.051) 60%, rgba(255,222,166,0.024) 70%, rgba(255,222,166,0.009) 80%, rgba(255,222,166,0.002) 90%, rgba(255,222,166,0.000) 100%);
}
/* Blue ground option: a deep blue-slate, between the old navy (#0a0e1a)
   and the current charcoal. Blue enough to read as night sky, grey
   enough that gold stays gold, not yellow. 2026-11-10: pulled toward the
   site nav's midnight blue (#0f1a2e) so the page and the bar read as one
   night sky; was #0c1119 / #121823 / #1a2130 / #222b3c / #283245 / #364257.
   Mirrors the tokens at the top of main.css. */
.ground-blue {
  --bg: #0a1322; --surface: #101a2c; --card: #182339; --card-hover: #202d45;
  --border: #26344e; --border-strong: #344460;
  --text: #e4e8ef; --text-muted: #96a1b3; --text-dim: #5f6a7d;
}
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, sans-serif; }

/* ---- sheet layout ---- */
.sheet { box-sizing: border-box; padding: 64px 72px; display: flex; flex-direction: column; gap: 48px; background: var(--bg); }
.sheet-head { display: flex; flex-direction: column; gap: 8px; }
.sheet-title { margin: 0; font-size: 2rem; font-weight: 700; letter-spacing: -0.01em; }
.sheet-sub { margin: 0; color: var(--text-muted); font-size: 0.9375rem; }
.row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; padding-top: 28px; border-top: 1px solid var(--border); }
.row-label { display: flex; flex-direction: column; gap: 6px; }
.row-name { font-size: 0.875rem; font-weight: 600; }
.row-use { font-size: 0.75rem; color: var(--text-dim); line-height: 1.5; }
.specimens { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.state { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.state-tag { font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }

/* ---- buttons ----
   Removed 2026-11-17: the site has one button family, plain square outline,
   defined in src/styles/main/01-foundation.css ("Buttons"), which styles .b
   and .btn alike. The canvas boards use it too. The light effects below
   (.bloom, .hot, .spark) are hidden on buttons there. */

/* ---- text: gold only on the wordmark and buttons; the rest is silver and grey ---- */
.t-gold { background: var(--gold-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-display { margin: 0; font-size: 4.5rem; line-height: 1; font-weight: 800; letter-spacing: 0.02em; }
.t-flare { position: relative; isolation: isolate; display: inline-block; }
.t-h2 { margin: 0; font-size: 2.5rem; font-weight: 700; letter-spacing: -0.01em; }
.t-tagline { margin: 0; font-size: 0.875rem; letter-spacing: .5em; text-transform: uppercase; color: var(--text); padding-left: .5em; }
.t-eyebrow { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted); }
.t-eyebrow-rule { display: inline-flex; align-items: center; gap: 14px; }
.t-eyebrow-rule::before, .t-eyebrow-rule::after { content: ""; width: 32px; height: 1px; background: var(--border-strong); }
.t-num { font-size: 3.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.t-num small { font-size: 1.125rem; font-weight: 500; -webkit-text-fill-color: var(--text-muted); }
.t-body { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--text-muted); max-width: 520px; }
.t-body a { color: var(--amber-bright); text-decoration: none; background: var(--gold-line) left bottom / 100% 1px no-repeat; padding-bottom: 1px; }
.t-body strong { color: var(--text); font-weight: 600; }

/* ---- golden borders ---- */
.frame { box-sizing: border-box; width: 240px; height: 140px; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: var(--text-dim); background: var(--card); }
.f-hair { border: 1px solid rgba(199,154,74,.35); }
.f-gilt { position: relative; isolation: isolate; border: 1px solid; border-image: var(--gold-line) 1; }
.f-rim { position: relative; isolation: isolate; border: 1px solid; border-image: var(--gold-line) 1; box-shadow: inset 0 0 0 1px rgba(0,0,0,.55), inset 0 0 0 2px color-mix(in srgb, var(--gold-cream) 35%, transparent), inset 0 0 0 3px rgba(0,0,0,.35); }
.f-plate { position: relative; isolation: isolate; padding: 3px; background: var(--gold-fill); }
.f-plate > div { width: 100%; height: 100%; box-sizing: border-box; background: var(--card); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.6); }
.f-corners { position: relative; isolation: isolate; border: 1px solid var(--border); }
.f-corners::before, .f-corners::after { content: ""; position: absolute; width: 18px; height: 18px; }
.f-corners::before { top: -1px; left: -1px; border-top: 2px solid var(--gold-cream); border-left: 2px solid var(--gold-cream); }
.f-corners::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--gold-ember); border-right: 2px solid var(--gold-ember); }
.f-top { border: 1px solid var(--border); border-top: 0; position: relative; isolation: isolate; }
.f-top::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold-fill); }
.rule { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--amber) 12%, var(--gold-cream) 30%, var(--amber) 55%, var(--gold-ember) 85%, transparent); }
.rule-obol { display: flex; align-items: center; gap: 16px; width: 100%; }
.rule-obol::before, .rule-obol::after { content: ""; flex: 1; height: 1px; }
.rule-obol::before { background: linear-gradient(90deg, transparent, var(--amber)); }
.rule-obol::after { background: linear-gradient(90deg, var(--amber), transparent); }
.coin { width: 14px; height: 14px; border-radius: 50%; background: var(--gold-fill); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold-ember) 85%, transparent); position: relative; isolation: isolate; }

/* ---- golden panels ---- */
.p { position: relative; isolation: isolate; box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--card); }
.p-title { margin: 0; font-size: 1.125rem; font-weight: 700; }
.p-text { margin: 0; font-size: 0.875rem; line-height: 1.55; color: var(--text-muted); }
.p-gilt { border: 1px solid; border-image: var(--gold-line) 1;
  background: var(--card);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--gold-cream) 22%, transparent), 0 8px 24px rgba(0,0,0,.45); }
.p-feature { position: relative; border: 1px solid; border-image: var(--gold-line) 1;
  background: linear-gradient(180deg, #23211d, var(--card));
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.5), inset 0 0 0 2px color-mix(in srgb, var(--gold-cream) 28%, transparent), 0 12px 32px rgba(0,0,0,.5); }
.p-badge { position: relative; isolation: isolate; align-self: flex-start; padding: 5px 10px; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-gold); background: var(--gold-fill); text-shadow: 0 1px 0 rgba(255,255,255,.3); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold-ember) 70%, transparent); }
.p-quiet { border: 1px solid var(--border); }
.p-quiet-top { border: 1px solid var(--border); position: relative; }
.p-quiet-top::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 2px; background: var(--gold-fill); }
.p-plate { background: var(--gold-fill); color: var(--on-gold); border: 1px solid; border-color: var(--gold-cream) var(--amber-bright) var(--gold-rich) var(--gold-cream);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold-ember) 85%, transparent), inset 0 0 0 2px color-mix(in srgb, var(--gold-cream) 75%, transparent), 0 10px 30px rgba(0,0,0,.5); }
.p-plate .p-title { text-shadow: 0 1px 0 rgba(255,255,255,.35); }
.p-plate .p-text { color: color-mix(in srgb, var(--on-gold) 80%, transparent); }
.p-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 0.875rem; color: var(--text); }
.p-list li { display: flex; gap: 10px; align-items: center; }
.p-list li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold-fill); flex: none; }

/* ---- light: the Obol's flare, on UI ----
   One light, top left. Each lit element carries up to three pieces of light,
   all from the LogoFlare board, all starting on the metal:
   .hot   the point of the rim facing the light, painted brightest
   .bloom that point's light scattering in the lens: long, soft, low peak
   .spark the far rim's inner edge, which curves back to the light and glints
   Matte things (grey cards, enamel, the ground) get none of them.
   Knobs: --hx/--hy (hot point), --bloom (size), --bloom-o, --hot (size),
   --sx/--sy (glint inset from the bottom-right), --spark (scale), --d (delay). */
.hot, .bloom, .spark { position: absolute; pointer-events: none; z-index: -1; }
.hot { left: var(--hx, 0px); top: var(--hy, 0px); width: calc(var(--hot, 18px) * 2.4); height: calc(var(--hot, 18px) * 2.4); transform: translate(-50%, -50%);
  /* a gaussian, not a disc: no visible edge anywhere */
  background: radial-gradient(closest-side, rgba(255,246,226,0.850) 0.0%, rgba(255,246,226,0.827) 6.2%, rgba(255,246,226,0.763) 12.5%, rgba(255,246,226,0.665) 18.8%, rgba(255,246,226,0.549) 25.0%, rgba(255,246,226,0.428) 31.2%, rgba(255,246,226,0.315) 37.5%, rgba(255,246,226,0.218) 43.8%, rgba(255,246,226,0.141) 50.0%, rgba(255,246,226,0.086) 56.2%, rgba(255,246,226,0.048) 62.5%, rgba(255,246,226,0.025) 68.8%, rgba(255,246,226,0.012) 75.0%, rgba(255,246,226,0.005) 81.2%, rgba(255,246,226,0.002) 87.5%, rgba(255,246,226,0.000) 93.8%, rgba(255,246,226,0.000) 100.0%); }
.bloom { left: var(--hx, 0px); top: var(--hy, 0px); width: var(--bloom, 150px); height: var(--bloom, 150px); transform: translate(-50%, -50%); border-radius: 50%;
  opacity: var(--bloom-o, 1); mix-blend-mode: screen;
  background: radial-gradient(closest-side, rgba(255,222,166,0.470) 0.0%, rgba(255,222,166,0.440) 5.0%, rgba(255,222,166,0.365) 10.0%, rgba(255,222,166,0.277) 15.0%, rgba(255,222,166,0.202) 20.0%, rgba(255,222,166,0.150) 25.0%, rgba(255,222,166,0.117) 30.0%, rgba(255,222,166,0.094) 35.0%, rgba(255,222,166,0.076) 40.0%, rgba(255,222,166,0.060) 45.0%, rgba(255,222,166,0.046) 50.0%, rgba(255,222,166,0.035) 55.0%, rgba(255,222,166,0.025) 60.0%, rgba(255,222,166,0.017) 65.0%, rgba(255,222,166,0.011) 70.0%, rgba(255,222,166,0.007) 75.0%, rgba(255,222,166,0.004) 80.0%, rgba(255,222,166,0.002) 85.0%, rgba(255,222,166,0.001) 90.0%, rgba(255,222,166,0.000) 95.0%, rgba(255,222,166,0.000) 100.0%);
  animation: ui-bloom 6s ease-in-out infinite; animation-delay: var(--d, 0s);
  transition: opacity .35s, width .35s, height .35s; }
.spark { right: var(--sx, 2px); bottom: var(--sy, 2px); width: 40px; height: 40px; transform: translate(50%, 50%) scale(var(--spark, .7));
  background:
    radial-gradient(closest-side, #fff, #fff 10%, rgba(255,242,208,.45) 28%, rgba(255,226,166,.12) 60%, rgba(255,226,166,0)) center / 14px 14px no-repeat,
    radial-gradient(closest-side, #fff, rgba(255,246,224,.55) 30%, rgba(255,246,224,0)) center / 100% 1.6px no-repeat,
    radial-gradient(closest-side, #fff, rgba(255,246,224,.5) 30%, rgba(255,246,224,0)) center / 1.3px 58% no-repeat;
  animation: ui-glitter 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.spark::before, .spark::after { content: ""; position: absolute; inset: 36%; opacity: .45;
  background: radial-gradient(closest-side, #fff6e0, rgba(255,246,224,0)) center / 100% 1px no-repeat; transform: rotate(45deg); }
.spark::after { transform: rotate(-45deg); }
@keyframes ui-bloom { 0%, 100% { opacity: calc(var(--bloom-o, 1) * .8); } 50% { opacity: var(--bloom-o, 1); } }
@keyframes ui-glitter {
  0%, 55%, 100% { opacity: 0; transform: translate(50%, 50%) scale(calc(var(--spark, .7) * .5)); }
  66% { opacity: var(--spark-o, 1); transform: translate(50%, 50%) scale(var(--spark, .7)); }
  80% { opacity: 0; transform: translate(50%, 50%) scale(calc(var(--spark, .7) * .7)); } }

/* hover: the element turns towards the light. The bloom grows, the glint holds. */
.b:hover .bloom, .b.is-hover .bloom, .p-hover:hover .bloom { --bloom-o: 1; width: calc(var(--bloom, 150px) * 1.2); height: calc(var(--bloom, 150px) * 1.2); }
.b:hover .spark, .b.is-hover .spark { animation: none; opacity: 1; }
/* outline: the hot point sits on the border's corner itself; the far corner
   glints at rest too, smaller and dimmer than a plate's */
.b-outline { --hx: -.5px; --hy: 10px; --sx: -.5px; --sy: 10px; }
/* on a thin line the light runs along the line: the border itself brightens
   over a short stretch and fades out both ways, with a faint haze beside it,
   instead of a round spot sitting on top of it */
.b-outline .hot, .line-lit > .hot, .b-quiet .hot { width: 14px; height: 40px; border-radius: 0;
  background: var(--line-core) center / 1.5px 100% no-repeat, var(--line-haze); }
/* the same light on a level line: a top bar, an underline */
.line-lit-h > .hot, .b-link .hot { width: 40px; height: 14px; border-radius: 0;
  background: var(--line-core) center / 100% 1.5px no-repeat, var(--line-haze); }
.b-outline .spark { --spark: .38; --spark-o: .6; }
/* a thin line reflects less than a plate: soften the top hot point's centre */
.b-outline .hot, .line-lit > .hot, .line-lit-h > .hot { opacity: .5; }
/* where the light lands on a frame's left line, or a level line's left end */
.line-lit { --hx: -.5px; --hy: 22px; }
.line-lit-h { --hx: 22px; }
.b-outline .hot.hot-far { opacity: .35; }
/* a steady, dimmer hot point on the far corner, so the glint has light to come from between flickers */
.hot.hot-far { left: auto; top: auto; right: var(--sx, 0px); bottom: var(--sy, 0px); transform: translate(50%, 50%); opacity: .55; }
.b-outline .hot.hot-far { height: 30px; }
.b-outline:hover .spark, .b-outline.is-hover .spark { opacity: .6; }
/* the quiet button's light only shows on hover */
.b-quiet .hot { opacity: 0; transition: opacity .3s; }
.b-quiet:hover .hot, .b-quiet.is-hover .hot { opacity: .5; }
.b-quiet { --hx: -.5px; --hy: 10px; }
.b-link .hot { left: 0; top: auto; bottom: 0; transform: translate(-20%, 50%); opacity: 0; transition: opacity .3s; }
.b-link:hover .hot, .b-link.is-hover .hot { opacity: .6; }

@media (prefers-reduced-motion: reduce) {
  .bloom { animation: none; transition: none; }
  .spark { animation: none; opacity: .85; }
  .b-outline .spark { opacity: .5; }
}
/* light that must sit over a host's own positioned layers (a frame's inner card, a top bar, corner brackets) */
.lit-top > .bloom, .lit-top > .hot, .lit-top > .spark { z-index: 1; }
/* a glint on the hot point itself, for shapes with no far rim (letters) */
.spark-at-hot { right: auto; bottom: auto; left: calc(var(--hx, 0px) - 40px); top: calc(var(--hy, 0px) - 40px); }
/* plate: the light lands inside the lit corner, on the face, diagonally in from the corner */
.b-plate { --hx: 12px; --hy: 12px; }
.b-plate.b-sm, .b-plate.b-case { --hx: 8px; --hy: 8px; }
.b-plate.b-icon { --hx: 10px; --hy: 10px; }
/* outline: a second, dimmer glint where the bottom line catches the light, flashing between the main ones */
.spark.spark-low { right: auto; left: calc(var(--lx, 64%) - 40px); bottom: -1px; --spark: var(--spark-low, .38); --spark-o: .3; --d: var(--d-low, 3s); }
.b-outline .spark.spark-low, .b-outline:hover .spark.spark-low, .b-outline.is-hover .spark.spark-low { animation: ui-glitter 6s ease-in-out infinite; animation-delay: var(--d-low, 3s); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .b-outline .spark.spark-low { animation: none; opacity: .25; } }

}
