/* =====================================================================================================
   tokens-marble.css — GB Job Manager, White marble theme (the single theme). Standalone export for Nina.
   Source of truth: mocks/tokens.css. This file = those tokens + a few copy-paste recipes. No build step, no fonts to load.

   Files this expects, relative to this CSS file (all under mocks/img/, each < 80KB WebP; hero < 120KB):
     img/marble-1600.webp  desktop floor        img/marble-900.webp  phone floor (swapped in under 768px by the media query)
     img/marble-face-640.webp  seamless slab face tile (procedural, very faint)
     img/marble-hero-1000.webp, img/marble-hero-phone-900.webp   Higgsfield slabs: sign-in and onboarding ONLY
   If an image is missing, --art-fallback (a plain light gradient) shows and nothing breaks. Drop --art-hero* to run without the hero.

   Rules the theme relies on (checked by tools/contrast_marble.py, 0 failures of 150 pairs):
     1. Text never sits on the floor image. Text sits on --c-surface-* faces, carved wells, or panels >= .92 alpha.
     2. Body text pairs: --c-text 16.3:1, --c-text-2 9.3:1, --c-text-3 6.2:1 on surface-1 (lowest text pair anywhere in the app: 5.22:1, measured over the darkest texture pixel).
     3. Accent --c-accent (deep teal #0a5852) 7.6:1 on surface-1; --c-accent-ink on accent 8.1:1.
     4. 44px touch targets (--hit), 3px focus ring (--c-focus), 3:1 for control boundaries (--c-border-strong).
     5. Motion: tilt, drift and parallax are transform/opacity only and switch off under prefers-reduced-motion
        (the media query at the bottom of the tokens sets --tilt/--lift/--m-* to 0).
   ===================================================================================================== */
/* GB Job Manager — design tokens v2 (White marble). The ONLY theme. Dark Basalt is archived in /archive/basalt-dark/.
   Naming: --c-* color, --t-* type, --s-* space, --r-* radius, --e-* elevation, --m-* motion, --art-* textures.
   Light comes from the upper left (daylight). Shadows are cool grey, never black.
   Contrast (WCAG 2.2 AA, verified by tools/contrast_marble.py against the worst-case texture pixel; see shots/contrast-check-marble.txt). */
:root{
  color-scheme: light;

  /* ---- primitives: marble ---- */
  --marble-50:#ffffff; --marble-100:#f6f5f3; --marble-200:#ecebe8; --marble-300:#e0dedb; --marble-400:#c9c7c2;
  --marble-500:#a9a7a2; --marble-600:#8e929a; --marble-700:#555c66; --marble-800:#3c424a; --marble-900:#16181b;
  --teal-900:#063e3a; --teal-800:#094e49; --teal-700:#0a5852; --teal-100:#dcecea;

  /* ---- semantic color: surfaces ---- */
  --c-bg:#e6e4e0;                    /* page floor fallback (the marble image sits on top). No text directly on the floor image. */
  --c-surface-1:var(--marble-100);   /* slab face. Text OK. */
  --c-surface-2:var(--marble-50);    /* raised slab, popovers, dialogs. Text OK. */
  --c-surface-3:#ebeae7;             /* hover / pressed / chip. Text OK. */
  --c-inset:#ecebe8;                 /* carved wells: inputs, tabs, segmented. Text OK. */
  --c-track:#dcdad5;                 /* meter and bar tracks. Not for text. */
  --c-scrim:rgba(246,245,243,.92);   /* panel on top of imagery (auth hero). Worst case stays above 4.5:1. */
  /* literals used by ui.css recipes (Julian mocks/app.css), tokenised so colours live only here */
  --lit-001: rgba(255,255,255,.62);
  --lit-002: rgba(var(--sh),.10);
  --lit-003: #fff;
  --lit-004: rgba(var(--sh),.35);
  --lit-005: rgba(255,255,255,.88);
  --lit-006: rgba(246,245,243,.9);
  --lit-007: #0f6f67;
  --lit-008: rgba(var(--sh),.06);
  --lit-009: #dedcd7;
  --lit-010: rgba(var(--sh),.25);
  --lit-011: #e9f4f2;
  --lit-012: #cfe4e1;
  --lit-013: #f6ecd8;
  --lit-014: #e8d8b8;
  --lit-015: #5e3d00;
  --lit-016: #faf9f7; /* opaque topbar so scrolled content never ghosts through */
  --lit-017: rgba(var(--sh),.5);
  --lit-018: rgba(122,78,0,.28);
  --lit-019: rgba(255,255,255,.90);
  --lit-020: rgba(246,245,243,.90);
  --lit-021: rgba(255,255,255,1);
  --lit-022: rgba(255,255,255,0);
  --lit-023: rgba(var(--sh),0);
  --lit-024: rgba(var(--sh),.16);
  --lit-025: #000;
  --lit-026: #eeede9;
  --lit-027: rgba(var(--sh),.2);
  --lit-028: rgba(0,0,0,.35);
  --lit-029: rgba(255,255,255,.7);
  --lit-030: rgba(var(--sh),.07);
  --lit-031: rgba(154,47,34,.5);
  --lit-032: rgba(30,36,44,.75);
  --lit-033: rgba(var(--sh),.45);
  --lit-034: rgba(var(--sh),.28);
  --lit-035: rgba(var(--sh),.08);
  --lit-036: #9a6a00;
  --lit-037: #7a4e00;
  --lit-038: rgba(var(--sh),.04);
  --lit-039: #3a424d;
  --lit-040: #1a1e24;
  --lit-041: rgba(255,255,255,.28);
  --lit-042: rgba(255,255,255,.94);
  --lit-043: rgba(246,245,243,.94);
  --lit-044: #efeeea;
  --lit-045: rgba(29,122,59,.2);
  --lit-046: rgba(236,235,232,.94);
  --lit-047: #04211a;
  --lit-048: #a8dccd;
  --lit-049: #5fb8a2;
  --lit-050: #cfe0f7;
  --lit-051: #8fb4e6;
  --lit-052: #0a1a30;
  --lit-053: #f6e2b8;
  --lit-054: #e2b95e;
  --lit-055: #2e2210;
  --lit-056: rgba(236,235,232,.55);
  --lit-057: rgba(236,235,232,0);
  --lit-058: #e6e4e0;
  --lit-059: rgba(255,255,255,.35);
  --lit-060: rgba(255,255,255,.12);
  --lit-061: #f6f5f3;
  --lit-062: #8fe3d8;
  --lit-063: rgba(255,255,255,.18);
  --lit-064: #f4f3f1;
  --lit-065: #e2e0dc;
  --lit-066: rgba(250,249,247,.96);
  --lit-067: rgba(250,249,247,.97);
  --lit-068: rgba(10,88,82,.35);
  --lit-069: rgba(255,255,255,.4);
  --lit-070: rgba(246,245,243,.97);
  --lit-071: rgba(246,245,243,.8);
  --lit-072: rgba(246,245,243,.2);
  --lit-073: rgba(255,255,255,.1);
  --lit-074: rgba(246,245,243,.35);
  --lit-075: rgba(29,106,59,.16);
  --lit-076: rgba(122,78,0,.16);
  --lit-077: #d9d7d2;
  --lit-078: rgba(var(--sh),.4);
  --lit-079: rgba(0,0,0,.3);
  --lit-080: rgba(246,245,243,0);
  --lit-081: rgba(255,255,255,.92);
  --lit-082: rgba(246,245,243,.92);
  --c-overlay:rgba(34,38,44,.42);    /* dialog backdrop */

  /* ---- semantic color: lines ---- */
  --c-border:rgba(30,36,44,.13);
  --c-border-strong:rgba(30,36,44,.58);  /* 3:1 non-text boundary for inputs and outlined buttons */
  --c-rim:rgba(255,255,255,.9);          /* top-left bevel highlight */
  --c-edge:#c4c2bd;                      /* slab thickness, layer 1 */
  --c-edge-deep:#a9a7a2;                 /* slab thickness, layer 2 */
  --c-edge-in:rgba(20,24,28,.10);        /* inner shade, bottom-right bevel */

  /* ---- semantic color: text ---- */
  --c-text:var(--marble-900);        /* 16.3:1 on surface-1 */
  --c-text-2:var(--marble-800);      /* 9.3:1 */
  --c-text-3:var(--marble-700);      /* 6.2:1 (minimum for small text) */

  /* ---- semantic color: accent (deep teal) and status ---- */
  --c-accent:var(--teal-700);        /* 7.6:1 on surface-1, 8.3:1 on surface-2 */
  --c-accent-hover:var(--teal-800);
  --c-accent-ink:#f3fffc;            /* text on accent fill, 8.1:1 */
  --c-accent-soft:var(--teal-100);   /* chip / selected-row fill; accent text on it >= 6.0:1 */
  --c-ok:#1d6a3b;       --c-ok-soft:#dcefe2;
  --c-warn:#7a4e00;     --c-warn-soft:#f6e8cc;
  --c-danger:#9a2f22;   --c-danger-soft:#f8dfda;
  --c-info:#1f4e8c;     --c-info-soft:#dde7f5;
  --c-focus:#063e3a;                 /* 3px ring, 2px offset; >= 3:1 on every surface and on the darkest floor pixel */
  --c-pip-saved:#6b7280; --c-pip-applied:#2f6db5; --c-pip-screening:#9a6a00; --c-pip-interview:#0a7a6c; --c-pip-offer:#1d7a3b; --c-pip-closed:#b33a2b; /* non-text, >= 3:1 on surface-1 */

  /* ---- type (system fonts only) ---- */
  --t-display: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --t-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --t-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --t-xs:12px; --t-sm:13px; --t-md:15px; --t-lg:17px; --t-xl:20px; --t-2xl:24px; --t-3xl:32px; --t-4xl:44px;
  --lh-tight:1.15; --lh-snug:1.3; --lh-body:1.5;

  /* ---- space (4pt) ---- */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:20px; --s-6:24px; --s-8:32px; --s-10:40px; --s-12:48px; --s-16:64px;
  --hit:44px;  /* min touch target */

  /* ---- radius ---- */
  --r-xs:6px; --r-sm:10px; --r-md:14px; --r-lg:20px; --r-xl:26px; --r-pill:999px;

  /* ---- elevation: marble slabs, daylight from the upper left ---- */
  --sh:24,28,34;                                   /* shadow rgb (cool grey) */
  --e-0: inset 0 1px 0 var(--c-rim);
  --e-1: inset 0 1px 0 var(--c-rim), inset 0 -1px 0 var(--c-edge-in), 0 1px 0 var(--c-edge), 0 8px 16px -8px rgba(var(--sh),.28);
  --e-2: inset 0 1px 0 var(--c-rim), inset 0 -1px 0 var(--c-edge-in), 0 2px 0 var(--c-edge), 0 4px 0 var(--c-edge-deep), 0 18px 34px -14px rgba(var(--sh),.30), 0 36px 64px -32px rgba(var(--sh),.28);
  --e-3: inset 0 1px 0 var(--c-rim), inset 0 -2px 0 var(--c-edge-in), 0 3px 0 var(--c-edge), 0 6px 0 var(--c-edge-deep), 0 26px 46px -16px rgba(var(--sh),.34), 0 56px 96px -40px rgba(var(--sh),.32);
  --e-carve: inset 0 2px 5px rgba(var(--sh),.16), inset 0 0 0 1px rgba(var(--sh),.06), 0 1px 0 var(--c-rim);   /* carved well / inset edge */
  --e-btn: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(0,0,0,.18), 0 1px 0 var(--teal-900), 0 2px 0 #052f2c, 0 10px 20px -8px rgba(10,88,82,.45);
  --tilt: 2.5deg;  /* max hover tilt */
  --lift: -3px;    /* hover lift */

  /* ---- motion ---- */
  --m-fast:120ms; --m-base:200ms; --m-slow:360ms; --m-page:280ms; --m-ambient:18s;
  --ease-out:cubic-bezier(.2,.8,.2,1); --ease-spring:cubic-bezier(.34,1.4,.64,1);

  /* ---- layout ---- */
  --rail-w:248px; --topbar-h:64px; --bottomnav-h:68px; --content-max:1280px;

  /* ---- textures: WebP in img/, each under 80KB. The last layer is a CSS gradient fallback if the image is missing. ---- */
  --art-floor: url("../img/marble-1600.webp");
  --art-face: url("../img/marble-face-640.webp");
  --art-hero: url("../img/marble-hero-1000.webp");            /* Higgsfield slabs: sign-in and onboarding only (desktop panel) */
  --art-hero-phone: url("../img/marble-hero-phone-900.webp"); /* same, phone band. Drop both lines to fall back to the plain floor. */
  --art-fallback: linear-gradient(180deg,#eceae6,#dedcd7);
  /* ---- aliases for existing token names (interim Basalt / extracted colors) ----
     Semantic --c-* and --art-* above are the White marble values. These aliases keep
     ui.css / app.css / JS working without hardcoded colors. */
  --c-warm: var(--c-warn);
  --c-picker-name: var(--c-text);
  --c-picker-desc: var(--c-text-2);
  --c-track-default: var(--c-pip-saved);
  --grad-backdrop: var(--art-fallback);
  --art-basalt: var(--art-floor);
  --art-slab: var(--art-face);
  --art-travertine: var(--art-face);
  --tex-noise: url("../img/noise.svg");
  --tex-vein: url("../img/vein.svg");
  --e-glow: 0 0 0 1px color-mix(in srgb, var(--c-accent) 35%, transparent), 0 8px 30px -8px color-mix(in srgb, var(--c-accent) 45%, transparent);
  --basalt-50: var(--marble-50); --basalt-100: var(--marble-100); --basalt-200: var(--marble-200);
  --basalt-300: var(--marble-300); --basalt-400: var(--marble-400); --basalt-500: var(--marble-500);
  --basalt-600: var(--marble-600); --basalt-700: var(--marble-700); --basalt-750: var(--marble-700);
  --basalt-800: var(--marble-800); --basalt-850: var(--marble-800); --basalt-900: var(--marble-900);
  --basalt-950: var(--marble-900);
  --travertine-300: var(--c-warn); --travertine-200: var(--c-warn-soft); --travertine-100: var(--c-warn-soft);
  --jade-500: var(--c-accent); --jade-400: var(--c-accent); --jade-300: var(--teal-100); --jade-900: var(--teal-900);
  --amber-400: var(--c-warn); --amber-900: var(--c-warn-soft);
  --ember-400: var(--c-danger); --ember-900: var(--c-danger-soft);
  --azure-400: var(--c-info); --azure-900: var(--c-info-soft);
  --logo-s: 34%; --logo-l1: 30%; --logo-s2: 40%; --logo-l2: 22%;
  --c-overlay: rgba(34,38,44,.42);
  --c-ext-001: color-mix(in srgb, var(--c-accent) 10%, transparent);
  --c-ext-002: color-mix(in srgb, var(--c-warn) 8%, transparent);
  --c-ext-003: var(--c-overlay);
  --c-ext-004: var(--c-scrim);
  --c-ext-005: var(--c-surface-1);
  --c-ext-006: var(--c-surface-1);
  --c-ext-007: var(--c-scrim);
  --c-ext-008: var(--c-scrim);
  --c-ext-009: rgba(var(--sh), .4);
  --c-ext-010: var(--c-inset);
  --c-ext-011: var(--c-surface-1);
  --c-ext-012: color-mix(in srgb, var(--c-accent) 25%, transparent);
  --c-ext-013: var(--c-border);
  --c-ext-014: var(--c-surface-1);
  --c-ext-015: var(--c-edge);
  --c-ext-016: var(--c-inset);
  --c-ext-017: var(--c-rim);
  --c-ext-018: var(--c-surface-1);
  --c-ext-019: var(--c-accent);
  --c-ext-020: var(--teal-900);
  --c-ext-021: var(--c-edge);
  --c-ext-022: var(--c-inset);
  --c-ext-023: var(--c-overlay);
  --c-ext-024: rgba(var(--sh), .5);
  --c-ext-025: var(--c-border);
  --c-ext-026: var(--c-surface-1);
  --c-ext-027: color-mix(in srgb, var(--c-danger) 25%, transparent);
  --c-ext-028: var(--c-surface-1);
  --c-ext-029: var(--c-surface-1);
  --c-ext-030: var(--c-border);
  --c-ext-031: rgba(var(--sh), .35);
  --c-ext-032: var(--c-inset);
  --c-ext-033: var(--c-border);
  --c-ext-034: var(--c-surface-1);
  --c-ext-035: rgba(var(--sh), .7);
  --c-ext-036: rgba(var(--sh), .6);
  --c-ext-037: var(--c-text-3);
  --c-ext-038: var(--c-text-3);
  --c-ext-039: var(--c-rim);
  --c-ext-040: rgba(var(--sh), .15);
  --c-ext-041: var(--c-accent);
  --c-ext-042: var(--teal-900);
  --c-ext-043: color-mix(in srgb, var(--c-accent) 40%, transparent);
  --c-ext-044: var(--c-inset);
  --c-ext-045: var(--c-surface-1);
  --c-ext-046: color-mix(in srgb, var(--c-danger) 30%, transparent);
  --c-ext-047: var(--c-surface-1);
  --c-ext-048: var(--c-inset);
  --c-ext-049: var(--c-border);
  --c-ext-050: var(--c-text-2);
  --c-ext-051: var(--c-rim);
  --c-ext-052: color-mix(in srgb, var(--c-accent) 18%, transparent);
  --c-ext-053: var(--c-border);
  --c-ext-054: var(--c-inset);
  --c-ext-055: var(--c-accent);
  --c-ext-056: var(--teal-900);
  --c-ext-057: color-mix(in srgb, var(--c-accent) 40%, transparent);
  --c-ext-058: rgba(var(--sh), .8);
  --c-ext-059: color-mix(in srgb, var(--c-accent) 40%, transparent);
  --c-ext-060: var(--c-inset);
  --c-ext-061: var(--c-text-3);
  --c-ext-062: color-mix(in srgb, var(--c-accent) 40%, transparent);
  --c-ext-063: var(--c-border);
  --c-ext-064: var(--c-surface-1);
  --c-ext-065: var(--c-rim);
  --c-ext-066: var(--c-inset);
  --c-ext-067: var(--c-surface-1);
  --c-ext-068: var(--c-border);
  --c-ext-069: var(--c-overlay);
  --c-ext-070: var(--c-inset);
  --c-ext-071: var(--c-surface-1);
  --c-ext-072: var(--c-border);
  --c-ext-073: var(--c-border);
  --c-ext-074: color-mix(in srgb, var(--c-accent) 35%, transparent);
  --c-ext-075: var(--c-accent);
  --c-ext-076: var(--c-inset);
  --c-ext-077: var(--c-accent-ink);
  --c-ext-078: var(--c-surface-1);
  --c-ext-079: var(--c-text-3);
  --c-ext-080: var(--c-accent);
  --c-ext-081: var(--c-inset);
  --c-ext-082: color-mix(in srgb, var(--c-accent) 40%, transparent);
  --c-ext-083: var(--c-scrim);
  --c-ext-084: rgba(var(--sh), 0.0);
  --c-ext-085: color-mix(in srgb, var(--c-accent) 18%, transparent);
  --c-ext-086: var(--c-surface-1);
  --c-ext-087: var(--c-surface-1);
  --c-ext-088: rgba(var(--sh), .9);
  --c-ext-089: var(--c-inset);
  --c-ext-090: var(--c-surface-1);
  --c-ext-091: var(--c-surface-1);
  --c-ext-092: var(--c-surface-1);
  --c-ext-093: color-mix(in srgb, var(--c-accent) 8%, transparent);
  --c-ext-094: rgba(var(--sh), 0.66);
  --c-ext-095: var(--c-inset);
  --c-ext-096: var(--c-inset);
  --c-ext-097: var(--c-inset);
  --c-ext-098: var(--c-scrim);
  --c-ext-099: var(--c-scrim);
  --c-ext-100: color-mix(in srgb, var(--c-accent) 40%, transparent);
  --c-ext-101: var(--c-inset);
  --c-ext-102: var(--c-scrim);
  --c-ext-103: var(--c-overlay);
  --c-ext-104: rgba(var(--sh), 0.35);
  --c-ext-105: color-mix(in srgb, var(--c-accent) 8%, transparent);
  --c-ext-106: rgba(var(--sh), 0.55);
  --c-ext-107: color-mix(in srgb, var(--c-danger) 50%, transparent);
  --c-ext-108: var(--c-text-3);
  --c-ext-109: var(--c-text-2);
  --c-ext-110: var(--c-accent);
  --c-ext-111: var(--c-accent);
  --c-ext-112: var(--c-accent-ink);
  --c-ext-113: rgba(var(--sh), 0.5);
  --c-ext-114: var(--c-scrim);
  --c-ext-115: color-mix(in srgb, var(--c-danger) 8%, transparent);
  --c-ext-116: color-mix(in srgb, var(--c-danger) 12%, transparent);
  --c-ext-117: color-mix(in srgb, var(--c-accent) 12%, transparent);

}
@media (max-width:767px){ :root{ --art-floor:url("../img/marble-900.webp"); --art-basalt:var(--art-floor); } }
@media (prefers-reduced-motion: reduce){
  :root{ --m-fast:0ms; --m-base:0ms; --m-slow:0ms; --m-page:0ms; --tilt:0deg; --lift:0px; }
}
@media (prefers-contrast: more){
  :root{ --c-border:rgba(30,36,44,.45); --c-border-strong:rgba(30,36,44,.7); --c-text-3:var(--marble-800); --c-rim:rgba(255,255,255,1); }
}


/* =====================================================================================================
   Recipes (optional). Plain CSS, token-driven. Use them as written or translate to your component system.
   ===================================================================================================== */
*,*::before,*::after{box-sizing:border-box}
body{margin:0;font:400 var(--t-md)/var(--lh-body) var(--t-body);color:var(--c-text);background:var(--c-bg);min-height:100dvh}

/* Floor: marble image lit from the upper left. Decorative. Never put text straight on it. */
body::before{content:"";position:fixed;inset:-6% 0;z-index:-2;pointer-events:none;
  background:radial-gradient(1100px 620px at 12% -8%,rgba(255,255,255,.62),transparent 62%),
             radial-gradient(900px 520px at 108% 112%,rgba(var(--sh),.10),transparent 64%),
             var(--art-floor),var(--art-fallback);
  background-size:auto,auto,cover,auto;background-position:center}

/* Slab: white face over a faint vein tile, two edge layers for thickness, a bevel ring (light top-left, shade bottom-right). */
.slab{position:relative;isolation:isolate;border-radius:var(--r-lg);padding:var(--s-6);box-shadow:var(--e-2);
  background:linear-gradient(180deg,rgba(255,255,255,.90),rgba(246,245,243,.90)),var(--art-face) 0 0/640px,#fff}
.slab::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;padding:1.5px;
  background:linear-gradient(150deg,#fff,rgba(255,255,255,0) 38%,rgba(var(--sh),0) 62%,rgba(var(--sh),.16));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.slab.raised{box-shadow:var(--e-3)}

/* Carved well: inputs, tabs, segmented controls. */
.well,.input{background:var(--c-inset);border:0;border-radius:var(--r-md);min-height:48px;padding:0 14px;color:var(--c-text);
  box-shadow:var(--e-carve),inset 0 0 0 1px var(--c-border-strong)}
.input:focus{outline:none;box-shadow:var(--e-carve),0 0 0 2px #fff,0 0 0 5px var(--c-accent)}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--hit);padding:0 18px;border:0;border-radius:var(--r-md);
  font:650 var(--t-md)/1 var(--t-body);color:var(--c-text);cursor:pointer;background:linear-gradient(180deg,#fff,#eeede9);box-shadow:var(--e-1),inset 0 0 0 1px var(--c-border)}
.btn.primary{background:linear-gradient(180deg,#0f6f67,var(--teal-700));color:var(--c-accent-ink);box-shadow:var(--e-btn)}
:focus-visible{outline:3px solid var(--c-focus);outline-offset:2px;border-radius:var(--r-xs)}

/* Hover tilt (pointer devices only; the token goes to 0deg under reduced motion). */
@media (hover:hover){ .slab.interactive{transition:transform var(--m-base) var(--ease-out),box-shadow var(--m-base)}
  .slab.interactive:hover{transform:perspective(900px) rotateX(var(--tilt)) rotateY(calc(var(--tilt) * -.4)) translateY(var(--lift))} }

/* Scroll parallax on the floor (progressive; ignored where unsupported; off for reduced motion). */
@media (prefers-reduced-motion:no-preference){ @supports (animation-timeline:scroll()){
  body::before{animation:floor-par linear both;animation-timeline:scroll(root block)}
  @keyframes floor-par{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,-5%,0)}} } }
@media (prefers-reduced-motion:reduce){ body::before{animation:none} .slab.interactive:hover{transform:none} *{transition-duration:0s !important;animation-duration:0s !important} }


/* Component fills that reference --logo-h set on the element (still tokens, so a theme swap applies). */
.logo {
  --l1: hsl(var(--logo-h, 0) var(--logo-s) var(--logo-l1));
  --l2: hsl(var(--logo-h, 0) var(--logo-s2) var(--logo-l2));
}

/* Unselected level labels in the match picker (apply-preview included). Values stay in this file. */
.seg label { color: var(--c-picker-name); }
.seg small { color: var(--c-picker-desc); }
