/* ============================================================================
   PR&R × Trybe — design reference kit
   ---------------------------------------------------------------------------
   Trybe's card architecture, elevation construction and mini-UI language,
   re-inked onto PR&R's blue / dark-blue brand.

   Namespaced --tk-* / .tk-* so it can be dropped alongside packages/ui/src/
   tokens.css without collision. PR&R's own tokens are referenced with a
   fallback so this file also works standalone.
   ========================================================================= */

:root {
  /* ── PR&R brand (mirrors tokens.css) ─────────────────────────────── */
  --tk-blue:        #2563eb;
  --tk-blue-400:    #60a5fa;
  --tk-blue-500:    #3b82f6;
  --tk-blue-700:    #1d4ed8;
  --tk-blue-900:    #0e2350;
  --tk-navy:        #0a1733;
  --tk-sky:         #38bdf8;
  --tk-blue-soft:   #eff6ff;
  --tk-blue-soft-2: #dbeafe;

  --tk-ink-1: #0a0a0c;
  --tk-ink-2: #1f2937;
  --tk-ink-3: #475569;
  --tk-ink-4: #64748b;
  --tk-ink-5: #94a3b8;

  --tk-success: #16a34a;
  --tk-success-bg: #ecfdf3;
  --tk-warn:    #ca8a04;
  --tk-warn-bg: #fefbe8;
  --tk-danger:  #b91c1c;

  --tk-bg:        #ffffff;
  --tk-surface-1: #fafbfc;
  --tk-surface-2: #f4f6f8;

  /* ── Elevation ink ────────────────────────────────────────────────
     Trybe tints every shadow rgba(31,17,77) — violet-black under a violet
     accent. Ours is navy, sitting under --blue-700. One ink, no exceptions. */
  --tk-shadow-ink: 15, 34, 80;

  /* Contact + heavily-negative-spread ambient. The -24px spread pulls the
     blur inside the element footprint so cards can sit 20px apart cleanly. */
  --tk-e1: 0 1px 2px rgba(var(--tk-shadow-ink), .04);
  --tk-e2: 0 2px 6px rgba(var(--tk-shadow-ink), .04),
           0 18px 36px -24px rgba(var(--tk-shadow-ink), .10);
  --tk-e3: 0 2px 6px rgba(var(--tk-shadow-ink), .05),
           0 24px 48px -24px rgba(var(--tk-shadow-ink), .14);
  --tk-e-inner: 0 8px 24px -12px rgba(var(--tk-shadow-ink), .18);
  --tk-e-glass: 0 24px 70px -24px rgba(29, 78, 216, .38),
                0 8px 24px -12px rgba(2, 6, 23, .16),
                inset 0 1px 1px rgba(255, 255, 255, .9);
  --tk-e-chip:  inset 0 1px 0 rgba(255, 255, 255, .20);

  /* ── Rings — navy-tinted, attenuating with depth ─────────────────── */
  --tk-ring:      0 0 0 1px rgba(10, 25, 60, .06);
  --tk-ring-soft: 0 0 0 1px rgba(10, 25, 60, .035);
  --tk-ring-blue: 0 0 0 1px rgba(37, 99, 235, .22);
  --tk-line:      #e4e7eb;              /* PR&R hairline, instrument surfaces */

  /* ── Two radius scales, split by role ─────────────────────────────
     Instrument (--r-*) stays 2–8px: tables, terminals, books, fields.
     Card (--rc-*) is the Trybe-derived soft scale. A soft card may contain
     a sharp table; never the reverse. Concentric rule: inner = outer − pad. */
  /* Squared. 90-degree corners throughout — both scales collapse to 0 at
     source so every consumer of a --tk-r* or --tk-rc-* token follows. */
  --tk-r-xs: 0;  --tk-r-sm: 0;  --tk-r-md: 0;
  --tk-r-lg: 0;  --tk-r-xl: 0;

  --tk-rc-xs:  0;  --tk-rc-sm: 0; --tk-rc-md: 0;
  --tk-rc-lg: 0;  --tk-rc-xl: 0; --tk-rc-2xl: 0;
  --tk-rc-pill: 0;

  /* ── Brand gradients — the only three ────────────────────────────── */
  --tk-grad-cta:  linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  --tk-grad-deep: linear-gradient(180deg, #0A1733 0%, #0E2350 42%, #123A86 100%);
  /* Footer ramp is inverted: the top of the element hides under the panel, so
     the *bottom* is the visible strip and must be the deep end, not the bright
     one. Trybe gets away with a brightening ramp only because their light end
     (#1D065C) is still near-black. */
  --tk-grad-footer: linear-gradient(180deg, #050D1E 0%, #0A1733 55%, #10254F 100%);
  --tk-grad-glow: radial-gradient(circle,
                    rgba(37, 99, 235, .22) 0%,
                    rgba(56, 189, 248, .10) 45%,
                    transparent 72%);

  /* ── Well tints — blue family + the two real semantics ───────────── */
  --tk-well-blue:   linear-gradient(180deg, #E4EDFF 0%, #F5F8FF 100%);
  --tk-well-indigo: linear-gradient(180deg, #E5E8FB 0%, #F5F6FE 100%);
  --tk-well-sky:    linear-gradient(180deg, #DFF1FB 0%, #F2FAFE 100%);
  --tk-well-slate:  linear-gradient(180deg, #E6EAF0 0%, #F6F8FA 100%);
  --tk-well-mint:   linear-gradient(180deg, #DCF3E6 0%, #F1FBF5 100%);
  --tk-well-amber:  linear-gradient(180deg, #FCEFD3 0%, #FEF9EC 100%);

  /* ── Faces ────────────────────────────────────────────────────────
     Every surface a component paints, as a token. Nothing below this line
     hardcodes a colour, which is what makes .tk-dark a pure token swap
     rather than a parallel stylesheet. */
  --tk-face:            #ffffff;                    /* card, mini-app, ghost button */
  --tk-face-2:          rgba(244, 246, 248, .8);    /* row / kpi inside a mini-app */
  --tk-face-glass:      rgba(255, 255, 255, .45);
  --tk-face-glass-edge: rgba(255, 255, 255, .6);
  --tk-face-rim:        rgba(255, 255, 255, .96);   /* inner face of the conic rim */
  --tk-face-seg:        rgba(255, 255, 255, .7);    /* segmented control trough */
  --tk-face-acc:        rgba(255, 255, 255, .72);   /* accordion item */
  --tk-track:           rgba(148, 163, 184, .28);   /* bar track */
  --tk-glyph-bg:        rgba(37, 99, 235, .12);
  --tk-glyph-ring:      rgba(37, 99, 235, .25);
  --tk-fade:            #ffffff;                    /* marquee edge mask */
  --tk-nav-face: linear-gradient(175deg, rgba(30, 41, 59, .22) 0%, #f3f6fb 22%, #ffffff 58%, #e6eefb 100%);
  --tk-nav-shadow:
    0 12px 36px -8px rgba(15, 34, 80, .13),
    0 17px 97px 42px rgba(2, 6, 23, .07),
    inset 0 0 0 4px rgba(255, 255, 255, .26),
    inset -38px 12px 100px -24px rgba(255, 255, 255, .78),
    inset 0 -32px 64px -18px rgba(255, 255, 255, .52),
    inset -14px -10px 40px -12px rgba(255, 255, 255, .28),
    inset 0 4px 4px rgba(255, 255, 255, 1),
    inset 0 -4px 4px rgba(2, 6, 23, .025);
  --tk-panel-face:
    radial-gradient(120% 90% at 50% 0%, rgba(37, 99, 235, .14) 0%, transparent 62%),
    linear-gradient(180deg, #EAF1FF 0%, #F6F9FF 55%, #FFFFFF 100%);

  /* ── Type ─────────────────────────────────────────────────────────── */
  --tk-font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --tk-font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --tk-font-serif: "Source Serif 4", Georgia, serif;

  --tk-tight:  -0.01em;   /* every heading and label */
  --tk-tighter: -0.02em;  /* big numbers only */
  --tk-eyebrow-track: 0.14em;

  --tk-maxw: 1120px;
  --tk-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================================
   1 · LAYOUT
   ========================================================================= */
.tk-container { max-width: var(--tk-maxw); margin: 0 auto; padding: 0 16px; width: 100%; }
.tk-section   { padding: 64px 0; }
@media (min-width: 768px) { .tk-section { padding: 96px 0; } }

.tk-head        { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.tk-head--bare  { max-width: 820px; }
@media (min-width: 768px) { .tk-head { margin-bottom: 56px; } }

.tk-eyebrow {
  font: 600 12px/1 var(--tk-font-mono);
  letter-spacing: var(--tk-eyebrow-track);
  text-transform: uppercase;
  color: var(--tk-blue);
  margin: 0 0 12px;
}
.tk-h2 {
  font: 600 clamp(1.75rem, 3.2vw, 2.6rem)/1.14 var(--tk-font-sans);
  letter-spacing: var(--tk-tight);
  color: var(--tk-ink-1);
  margin: 0;
}
.tk-lead {
  font: 400 17px/1.5 var(--tk-font-sans);
  color: var(--tk-ink-3);
  margin: 16px auto 0;
  max-width: 640px;
}

/* ============================================================================
   2 · THE CARD RECIPE  —  outer shell → tinted well → mini-app → foot
   ========================================================================= */
.tk-card {
  background: var(--tk-face);
  border-radius:0;
  padding: 10px;                      /* concentric: well radius = 22 − 10 + 6 */
  box-shadow: var(--tk-ring), var(--tk-e2);
  display: flex; flex-direction: column;
}
.tk-card--lg  { border-radius:0; padding: 12px; box-shadow: var(--tk-ring), var(--tk-e3); }
.tk-card--link { text-decoration: none; color: inherit; transition: box-shadow .25s var(--tk-ease), transform .25s var(--tk-ease); }
.tk-card--link:hover { transform: translateY(-2px); box-shadow: var(--tk-ring-blue), var(--tk-e3); }

/* the tinted illustration well */
.tk-well {
  position: relative;
  border-radius:0;
  overflow: hidden;
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: var(--tk-well-blue);
}
.tk-well--tall  { height: 220px; }
.tk-well--short { height: 140px; }
.tk-well--blue   { background: var(--tk-well-blue); }
.tk-well--indigo { background: var(--tk-well-indigo); }
.tk-well--sky    { background: var(--tk-well-sky); }
.tk-well--slate  { background: var(--tk-well-slate); }
.tk-well--mint   { background: var(--tk-well-mint); }
.tk-well--amber  { background: var(--tk-well-amber); }

.tk-card-foot { padding: 18px 12px 10px; }
@media (min-width: 768px) { .tk-card-foot { padding: 22px 14px 12px; } }
.tk-card-num {
  font: 600 17px/1 var(--tk-font-mono);
  letter-spacing: 0; color: var(--tk-blue);
  margin: 0 0 8px;
}
.tk-card-title {
  font: 600 19px/1.25 var(--tk-font-sans);
  letter-spacing: var(--tk-tight); color: var(--tk-ink-1); margin: 0 0 6px;
}
.tk-card-desc {
  font: 400 14.5px/1.5 var(--tk-font-sans);
  color: var(--tk-ink-3); margin: 0;
}
.tk-card-title--sm { font-size: 16px; }
.tk-card-desc--sm  { font-size: 13.5px; line-height: 1.45; }

/* ============================================================================
   3 · MINI-APP LANGUAGE  —  drawn product UI, 8–11px, tabular
   ========================================================================= */
.tk-mini {
  width: 100%; max-width: 220px;
  background: var(--tk-face);
  border-radius:0;
  padding: 10px;
  box-shadow: var(--tk-ring), var(--tk-e-inner);
  font-family: var(--tk-font-sans);
}
.tk-mini--wide { max-width: 250px; }

.tk-mini-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.tk-mini-title {
  font: 600 11px/1.2 var(--tk-font-sans);
  letter-spacing: var(--tk-tight); color: var(--tk-ink-2);
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tk-mini-glyph {
  width: 20px; height: 20px; flex: none;
  border-radius:0; display: grid; place-items: center;
  background: var(--tk-glyph-bg);
  box-shadow: inset 0 0 0 1px var(--tk-glyph-ring);
  color: var(--tk-blue);
}
.tk-mini-glyph svg { width: 11px; height: 11px; }

/* a row inside a mini-app — the third and last level of nesting */
.tk-mini-row {
  display: flex; align-items: center; gap: 6px;
  background: var(--tk-face-2);
  border-radius:0;
  box-shadow: var(--tk-ring-soft);
  padding: 5px 6px;
  font: 500 10px/1.3 var(--tk-font-sans);
  color: var(--tk-ink-2);
}
.tk-mini-row + .tk-mini-row { margin-top: 4px; }
.tk-mini-row-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tk-mini-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 6px; }
.tk-mini-kpi {
  background: var(--tk-face-2);
  border-radius:0;
  box-shadow: var(--tk-ring-soft);
  padding: 6px;
}
.tk-mini-kpi-label {
  font: 500 8px/1 var(--tk-font-mono);
  letter-spacing: .08em; text-transform: uppercase; color: var(--tk-ink-4);
}
.tk-mini-kpi-val {
  font: 600 11px/1 var(--tk-font-sans);
  color: var(--tk-ink-1); margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.tk-mini-bar { height: 4px; border-radius: var(--tk-rc-pill); background: var(--tk-track); overflow: hidden; flex: none; }
.tk-mini-bar > i { display: block; height: 100%; border-radius:0; background: linear-gradient(90deg, #2563eb, #60a5fa); }
.tk-num { font-variant-numeric: tabular-nums; }

/* ============================================================================
   4 · PILLS / BADGES
   ========================================================================= */
.tk-pill {
  display: inline-flex; align-items: center; gap: 5px;
  border-radius:0;
  font: 500 10px/1 var(--tk-font-sans);
  padding: 4px 7px;
  background: var(--tk-surface-2); color: var(--tk-ink-3);
  box-shadow: var(--tk-ring-soft);
  white-space: nowrap;
}
.tk-pill i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; flex: none; }
.tk-pill--live    { background: var(--tk-success-bg); color: #15803d; box-shadow: none; }
.tk-pill--blue    { background: var(--tk-blue-soft);  color: var(--tk-blue-700); box-shadow: none; }
.tk-pill--warn    { background: var(--tk-warn-bg);    color: #a16207; box-shadow: none; }
.tk-pill--pending { background: var(--tk-surface-2);  color: var(--tk-ink-4); box-shadow: none; }
.tk-pill--mono    { font-family: var(--tk-font-mono); letter-spacing: .04em; }
.tk-pill--lg      { font-size: 12.5px; padding: 7px 12px; }

/* dark, glossy chip — for overlays on media */
.tk-chip-dark {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 10px; border-radius:0;
  background: rgba(2, 6, 23, .38);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: var(--tk-e-chip);
  backdrop-filter: blur(6px);
  font: 500 11.5px/1 var(--tk-font-sans); color: #fff;
}

/* ============================================================================
   5 · BUTTONS
   ========================================================================= */
.tk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border: 0; cursor: pointer;
  border-radius:0;
  font: 500 15px/1 var(--tk-font-sans);
  letter-spacing: var(--tk-tight);
  text-decoration: none;
  transition: transform .18s var(--tk-ease), box-shadow .18s var(--tk-ease), background .18s var(--tk-ease);
}
.tk-btn--primary {
  background: var(--tk-grad-cta); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset,
              0 10px 24px -12px rgba(29, 78, 216, .70);
}
.tk-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 16px 30px -12px rgba(29,78,216,.8); }
.tk-btn--ghost {
  background: var(--tk-face); color: var(--tk-ink-2);
  box-shadow: var(--tk-ring), var(--tk-e1);
}
.tk-btn--ghost:hover { color: var(--tk-blue-700); box-shadow: var(--tk-ring-blue), var(--tk-e2); }
.tk-btn--lg { height: 50px; padding: 0 32px; font-size: 16px; }

/* ============================================================================
   6 · ANIMATED CONIC RIM  —  Trybe's case-study card, re-stopped on blue
   ========================================================================= */
.tk-rim {
  position: relative; isolation: isolate;
  border-radius:0;
  padding: 1.5px;                       /* inner radius = 26 − 1.5 = 24.5 */
  overflow: hidden;
  background: var(--tk-face-glass);
  box-shadow: var(--tk-e-glass);
  backdrop-filter: blur(16px);
}
.tk-rim-orbit { position: absolute; inset: 0; pointer-events: none; }
.tk-rim-orbit > span {
  position: absolute; left: 50%; top: 50%;
  width: 260%; aspect-ratio: 1;         /* oversize keeps the corners lit */
  transform: translate(-50%, -50%);
  display: block;
}
.tk-rim-orbit > span > i {
  display: block; width: 100%; height: 100%;
  backface-visibility: hidden; will-change: transform;
  transform-origin: 50%;
  animation: tk-orbit 14s linear infinite;
  background: conic-gradient(from 0deg,
    rgba(37, 99, 235, 0)    0deg,
    #2563eb                38deg,
    #38bdf8                82deg,
    rgba(37, 99, 235, 0)  132deg,
    rgba(37, 99, 235, 0)  214deg,
    #93c5fd               268deg,
    #1d4ed8               306deg,
    rgba(37, 99, 235, 0)  356deg);
}
.tk-rim-face {
  position: relative; z-index: 1;
  height: 100%;
  border-radius:0;
  border: 1px solid var(--tk-face-glass-edge);
  background: var(--tk-face-rim);
  backdrop-filter: blur(16px);
  padding: 20px 22px;
  display: flex; flex-direction: column;
}
@keyframes tk-orbit { from { transform: rotate(0turn); } to { transform: rotate(1turn); } }

/* ============================================================================
   7 · METRIC  —  before → after typographic pattern
   ========================================================================= */
.tk-metric-label {
  font: 600 10px/1 var(--tk-font-mono);
  letter-spacing: .1em; text-transform: uppercase; color: var(--tk-ink-5); margin: 0;
}
.tk-metric-row { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.tk-metric-from {
  font: 500 15px/1 var(--tk-font-sans); color: var(--tk-ink-5);
  font-variant-numeric: tabular-nums;
}
.tk-metric-to {
  font: 700 clamp(30px, 4vw, 40px)/1 var(--tk-font-sans);
  letter-spacing: var(--tk-tighter); color: var(--tk-ink-1);
  font-variant-numeric: tabular-nums;
}
.tk-metric-to small { font: 600 15px/1 var(--tk-font-sans); color: var(--tk-ink-5); margin-left: 2px; }
.tk-metric-sub {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font: 500 13px/1.3 var(--tk-font-sans); color: var(--tk-ink-4); margin: 12px 0 0;
  font-variant-numeric: tabular-nums;
}
.tk-metric-sub b { color: var(--tk-ink-2); font-weight: 600; }

/* ============================================================================
   8 · DARK MEDIA CARD
   ========================================================================= */
.tk-media {
  position: relative; overflow: hidden; flex: none;
  width: 240px; height: 330px;
  border-radius:0;
  background: #050b18;
  box-shadow: var(--tk-e3);
}
.tk-media-art { position: absolute; inset: 0; }
.tk-media-scrim {
  position: absolute; inset-inline: 0; bottom: 0; height: 58%;
  background: linear-gradient(to top, rgba(2,6,23,.96), rgba(2,6,23,.35) 45%, transparent);
  pointer-events: none;
}
.tk-media-body { position: absolute; inset-inline: 0; bottom: 0; padding: 14px; }
.tk-media-name { font: 500 14.5px/1 var(--tk-font-sans); color: #fff; }
.tk-media-meta { font: 400 11.5px/1 var(--tk-font-sans); color: rgba(255,255,255,.82); margin-top: 5px; }
.tk-media-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* ============================================================================
   9 · SEGMENTED CONTROL
   ========================================================================= */
.tk-seg {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--tk-face-seg);
  border-radius: var(--tk-rc-pill); padding: 4px;
  box-shadow: var(--tk-ring), var(--tk-e2);
  backdrop-filter: blur(8px);
}
.tk-seg button {
  height: 36px; padding: 0 18px; border: 0; cursor: pointer; background: none;
  border-radius:0;
  font: 500 14px/1 var(--tk-font-sans); color: var(--tk-ink-3);
  transition: color .2s var(--tk-ease), background .2s var(--tk-ease);
}
.tk-seg button[aria-selected="true"] {
  background: var(--tk-grad-cta); color: #fff;
  box-shadow: 0 6px 14px -8px rgba(29, 78, 216, .8);
}

/* ============================================================================
   10 · PANEL + ACCORDION + DEEP FOOTER
        The FAQ trick: a rounded tinted panel whose sibling footer uses
        margin-top:-200px / padding-top:200px to slide underneath it.
   ========================================================================= */
.tk-panel {
  position: relative; z-index: 1;
  border-radius:0;
  background: var(--tk-panel-face);
  padding: 56px 20px;
}
@media (min-width: 768px) { .tk-panel { border-radius:0; padding: 80px 20px; } }

.tk-acc { display: flex; flex-direction: column; gap: 14px; max-width: 780px; margin: 28px auto 0; }
.tk-acc-item {
  background: var(--tk-face-acc);
  border-radius: var(--tk-rc-lg); padding: 18px 22px;
  box-shadow: var(--tk-ring-soft);
  backdrop-filter: blur(4px);
}
@media (min-width: 768px) { .tk-acc-item { border-radius:0; padding: 22px 30px; } }
.tk-acc-q {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  gap: 16px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
  font: 500 17px/1.25 var(--tk-font-sans); letter-spacing: var(--tk-tight); color: var(--tk-ink-1);
}
@media (min-width: 768px) { .tk-acc-q { font-size: 20px; } }
.tk-acc-sign { flex: none; width: 20px; height: 20px; position: relative; color: var(--tk-ink-4); }
.tk-acc-sign::before, .tk-acc-sign::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; height: 1.5px; background: currentColor;
  border-radius:0; transition: transform .28s var(--tk-ease);
}
.tk-acc-sign::after { transform: rotate(90deg); }
.tk-acc-item[data-open="true"] .tk-acc-sign::after { transform: rotate(0deg); }
.tk-acc-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .32s var(--tk-ease);
}
.tk-acc-item[data-open="true"] .tk-acc-a { grid-template-rows: 1fr; }
.tk-acc-a > div { min-height: 0; overflow: hidden; }
.tk-acc-a p {
  font: 400 15px/1.55 var(--tk-font-sans); color: var(--tk-ink-3);
  margin: 14px 0 0; max-width: 68ch;
}

.tk-deep-footer {
  margin-top: -200px; padding-top: 200px;
  background: var(--tk-grad-footer);
  color: rgba(255, 255, 255, .82);
}
.tk-deep-footer-inner {
  max-width: 1240px; margin: 0 auto; padding: 30px 20px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.tk-deep-footer a {
  color: rgba(255, 255, 255, .78); text-decoration: none;
  font: 500 14.5px/1 var(--tk-font-sans);
}
.tk-deep-footer a:hover { color: #fff; }

/* ============================================================================
   11 · FLOATING NAV PILL
        Trybe's six stacked inset shadows, re-lit for a cool/blue ground.
   ========================================================================= */
.tk-navbar { display: flex; justify-content: center; padding: 16px 12px; }
.tk-nav-pill {
  box-sizing: border-box; isolation: isolate;
  width: min(100%, 990px);
  height: clamp(54px, 3.2vw, 62px);
  border-radius:0;
  padding: 10px clamp(10px, 1vw, 16px) 10px clamp(18px, 1.4vw, 26px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--tk-nav-face);
  box-shadow: var(--tk-nav-shadow);
}
.tk-nav-links { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); }
.tk-nav-link {
  font: 500 15px/1 var(--tk-font-sans); color: var(--tk-ink-1);
  text-decoration: none; padding: 4px; border-radius:0;
}
.tk-nav-link:hover { opacity: .72; }
.tk-nav-mark { font: 600 15px/1 var(--tk-font-mono); letter-spacing: -.02em; color: var(--tk-ink-1); }

/* ============================================================================
   12 · MARQUEE RAILS
   ========================================================================= */
.tk-marquee { position: relative; overflow: hidden; }
.tk-marquee-track {
  display: flex; width: max-content; align-items: stretch; gap: 20px;
  --tk-seam: 20px;
  will-change: transform;
  animation: tk-marquee 80s linear infinite;
}
.tk-marquee-track--rev { animation: tk-marquee-rev 81s linear infinite; }
.tk-marquee:hover .tk-marquee-track { animation-play-state: paused; }
.tk-marquee-fade-l, .tk-marquee-fade-r {
  position: absolute; inset-block: 0; width: 8%; z-index: 2; pointer-events: none;
}
.tk-marquee-fade-l { left: 0;  background: linear-gradient(to right, var(--tk-fade), transparent); }
.tk-marquee-fade-r { right: 0; background: linear-gradient(to left,  var(--tk-fade), transparent); }
@keyframes tk-marquee      { from { transform: translate3d(0,0,0); }
                             to   { transform: translate3d(calc(-50% - (var(--tk-seam) / 2)), 0, 0); } }
@keyframes tk-marquee-rev  { from { transform: translate3d(calc(-50% - (var(--tk-seam) / 2)), 0, 0); }
                             to   { transform: translate3d(0,0,0); } }

/* logo strip band — the only tinted band on the page */
.tk-logo-band {
  background: var(--tk-surface-1);
  border-top: 1px solid var(--tk-line);
  border-bottom: 1px solid var(--tk-line);
  padding: 22px 0;
  --tk-fade: var(--tk-surface-1);
}
.tk-logo-item {
  font: 600 15px/1 var(--tk-font-sans); color: var(--tk-ink-4);
  white-space: nowrap; display: flex; align-items: center; gap: 10px;
}

/* ============================================================================
   13 · HERO GLOW + GLASS FRAME
   ========================================================================= */
.tk-glow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(78vw, 560px); aspect-ratio: 1; border-radius:0;
  background: var(--tk-grad-glow); filter: blur(24px); z-index: -1; pointer-events: none;
}
.tk-glass {
  position: relative;
  border-radius:0; padding: 10px;
  border: 1px solid var(--tk-face-glass-edge);
  background: var(--tk-face-glass);
  backdrop-filter: blur(18px);
  box-shadow: var(--tk-e-glass);
}

/* ============================================================================
   14 · MOTION SAFETY — every animation, no exceptions
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  .tk-rim-orbit > span > i,
  .tk-marquee-track,
  .tk-marquee-track--rev { animation: none !important; }
  .tk-acc-a { transition: none; }
  .tk-card--link { transition: none; }
}
