/* KEOZ web design system · shared by the website and its documentation. */
:root {
  color-scheme: light;
  --bg: #fdfdfb;
  --section-light: #fdfdfb;
  --section-dark: #f4f4f0;
  --surface: #f4f4f0;
  --surface-raised: #ffffff;
  --ink: #22252b;
  --muted: #595f59;
  --line: #c9cdc6;
  --control-line: #858b83;
  --accent: #ee0000;
  --accent-text: var(--accent);
  --on-accent: #ffffff;
  --tint: #f4f4f0;
  --glass: rgba(255,255,255,.78);
  --nav-glass-bg: rgba(233,236,231,.58);
  --nav-glass-filter: blur(16px) saturate(160%);
  --badge-bg: #22252b;
  --badge-ink: #f4f4f0;
  --nav-glass-border: rgba(34,37,43,.20);
  --nav-glass-highlight: rgba(255,255,255,.65);
  --nav-glass-shadow: 0 2px 8px rgba(17,19,17,.08),0 16px 40px rgba(17,19,17,.18);
  --strong: #151715;
  --footer-bg: #111311;
  --footer-ink: #f4f4f0;
  --footer-muted: #c0c5bd;
  --footer-line: #4b504a;
  --gradient-surface: linear-gradient(140deg,#fdfdfb 0%,#f4f4f0 100%);
  --gradient-accent: linear-gradient(135deg,var(--accent),var(--accent));
  --page-atmosphere: none;
  --glass-panel-bg: rgba(255,255,255,.78);
  --glass-edge: rgba(34,37,43,.16);
  --glass-blur: 18px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-20: 80px;
  --space-32: 128px;
  --section-space: 160px;
  --intro-gap: 48px;
  --radius-sm: 8px;
  --portrait-fog: radial-gradient(ellipse 95% 85% at 50% 100%,rgba(238,0,0,.24),transparent 85%);
  --portrait-radius: 16px;
  --portrait-idle-scale: .96;
  --portrait-active-scale: 1.04;
  --radius-control: 16px;
  --radius-panel: 24px;
  --radius-pill: 999px;
  --font-heading: Space,Arial,sans-serif;
  --font-body: Space,Arial,sans-serif;
  --text-small: 16px;
  --text-footer: 14px;
  --cta-spacing: 24px;
  --cta-spacing-compact: 16px;
  --text-choice: 16px;
  --text-choice-subtitle: 12px;
  --text-body: 18px;
  --text-support: var(--text-body);
  --text-ui: 16px;
  --text-meta: 12px;
  --text-eyebrow: 12px;
  --text-card-heading: 21px;
  --text-card-body: var(--text-support);
  --text-detail: clamp(28px,3vw,42px);
  --text-section: clamp(38px,4.6vw,68px);
  --text-hero: clamp(64px,6.8vw,104px);
  --leading-body: 1.75;
  --leading-heading: 1.06;
  --tracking-heading: -.055em;
  --intro-width: 400px;
  --team-copy-width: 451px;
  --product-copy-width: 100%;
  --pad: clamp(24px,5.5vw,88px);
  --ease: cubic-bezier(.2,.75,.25,1);
  --duration-dropdown: 520ms;
  --ease-dropdown: cubic-bezier(.25,.8,.25,1);
  --target-min: 44px;
  --border-width: 1px;
  --duration-fast: 180ms;
  --duration-button-flow: 2800ms;
  --button-flow-width: 1px;
  --button-flow-head: var(--accent-text);
  --button-flow-tail: var(--accent-text);
  --duration-icon: 300ms;
  --duration-content: 360ms;
  --duration-carousel: 480ms;
  --duration-job: 400ms;
  --duration-portrait: 600ms;
  --duration-scene: 1500ms;
}
:root[data-theme=dark] {
  color-scheme: dark;
  --bg: #090c0a;
  --section-light: #0e1310;
  --section-dark: #090c0a;
  --surface: #0e1310;
  --surface-raised: #18201b;
  --ink: #f4f4f0;
  --muted: #b4bbb4;
  --line: #3c4940;
  --control-line: #66756a;
  --accent: #50e682;
  --accent-text: var(--accent);
  --on-accent: #122217;
  --tint: #18251c;
  --glass: rgba(22,37,27,.72);
  --nav-glass-bg: rgba(21,29,24,.64);
  --nav-glass-border: rgba(244,244,240,.20);
  --nav-glass-highlight: rgba(255,255,255,.10);
  --nav-glass-shadow: 0 4px 12px rgba(0,0,0,.28),0 20px 48px rgba(0,0,0,.44);
  --strong: #070a08;
  --footer-bg: #50e682;
  --footer-ink: #122217;
  --footer-muted: #24412e;
  --footer-line: #377b4d;
  --gradient-surface: linear-gradient(135deg,rgba(255,255,255,.045),rgba(255,255,255,.008) 65%);
  --gradient-accent: linear-gradient(135deg,var(--accent),var(--accent));
  --glass-panel-bg: rgba(10,16,12,.82);
  --glass-edge: rgba(211,242,220,.16);
  --portrait-fog: radial-gradient(ellipse 100% 90% at 50% 100%,rgba(80,230,130,.5),transparent 85%);
}
@media(max-width:1100px){:root{--intro-width:300px;--section-space:112px}}
@media(max-width:1100px){:root{--text-choice-subtitle:12px;--intro-width:260px;--intro-gap:40px;--pad:32px}}
@media(max-width:600px){:root{--intro-width:100%;--section-space:96px;--intro-gap:24px;--pad:24px;--job-hover-inset:0px}}
/* Shared selection modules and developer reference. */
:root{--module-gap:32px;--module-padding:24px;--selection-row:64px;--selection-column:30%;--graphic-height:264px;--focus-width:2px}
@media(max-width:1100px){:root{--module-gap:24px;--module-padding:20px;--selection-row:56px;--graphic-height:224px}}
@media(max-width:600px){:root{--module-padding:16px;--graphic-height:200px}}

/* Navbar contracts continuously over the first 720 px of scrolling. */
:root{--nav-collapse-distance:720px;--nav-follow-time:180ms}

/* Violett uses Light surfaces with a deliberately extended, multi-stop accent. */
:root[data-theme=violet]{
 /* Default Light: violet accent with neutral #f1f1f1 surfaces. */
 --section-dark:#f1f1f1;--surface:#f1f1f1;--tint:#f1f1f1;
 --badge-ink:#f1f1f1;--footer-ink:#f1f1f1;
 --nav-glass-bg:rgba(241,241,241,.58);
 --gradient-surface:linear-gradient(140deg,#fdfdfb 0%,#f1f1f1 100%);
 --ink:#27252b;--badge-bg:#27252b;
 --nav-glass-border:rgba(39,37,43,.20);--glass-edge:rgba(39,37,43,.16);
 --accent:#710355;--accent-text:#710355;--on-accent:#fff;
 --button-flow-head:#ee0000;--button-flow-tail:#0d0599;
 --gradient-accent:var(--violet-field);
 --gradient-accent-soft:var(--violet-field-soft);
 /* The illustration's field at lower opacity, shared by every page surface. */
 --page-atmosphere:
  radial-gradient(ellipse 70% 110% at calc(var(--violet-red-x) * 1%) calc(var(--violet-red-y) * 1%),rgba(238,0,0,.0325),rgba(238,0,0,0) 74%),
  radial-gradient(ellipse 75% 115% at calc(var(--violet-blue-x) * 1%) calc(var(--violet-blue-y) * 1%),rgba(13,5,153,.0225),rgba(13,5,153,0) 74%),
  linear-gradient(calc(114deg + var(--violet-turn) * 1deg),rgba(238,0,0,.0125) -20%,rgba(108,5,91,.01) 80%,rgba(13,5,153,.0125) 150%);
 /* Predominantly black footer; soft moving light only grazes its outer edges. */
 --footer-atmosphere:
  radial-gradient(ellipse 36% 38% at calc((var(--violet-red-x) - 18) * 1%) calc(-14% + var(--violet-turn) * .2%),rgba(238,0,0,.30),rgba(238,0,0,.10) 35%,transparent 88%),
  radial-gradient(ellipse 36% 38% at calc((var(--violet-red-x) + 18) * 1%) calc(-14% + var(--violet-turn) * .2%),rgba(13,5,153,.38),rgba(13,5,153,.13) 35%,transparent 88%),
  radial-gradient(ellipse 36% 38% at calc((var(--violet-blue-x) - 18) * 1%) calc(114% - var(--violet-turn) * .2%),rgba(13,5,153,.38),rgba(13,5,153,.13) 35%,transparent 88%),
  radial-gradient(ellipse 36% 38% at calc((var(--violet-blue-x) + 18) * 1%) calc(114% - var(--violet-turn) * .2%),rgba(238,0,0,.30),rgba(238,0,0,.10) 35%,transparent 88%);
 --portrait-fog:radial-gradient(ellipse 95% 85% at calc(var(--violet-red-x) * 1%) 100%,rgba(238,0,0,.16),transparent 85%),radial-gradient(ellipse 95% 85% at calc(var(--violet-blue-x) * 1%) 100%,rgba(13,5,153,.16),transparent 85%);
}

/* Soft color clouds travel across the full accent, with no movement of the content. */
@property --violet-phase{syntax:"<angle>";inherits:true;initial-value:0deg}
@property --violet-turn{syntax:"<number>";inherits:true;initial-value:0}
@property --violet-red-x{syntax:"<number>";inherits:true;initial-value:8}
@property --violet-red-y{syntax:"<number>";inherits:true;initial-value:86}
@property --violet-blue-x{syntax:"<number>";inherits:true;initial-value:96}
@property --violet-blue-y{syntax:"<number>";inherits:true;initial-value:8}
:root{
 --violet-phase:0deg;--violet-turn:0;--violet-red-x:8;--violet-red-y:86;--violet-blue-x:96;--violet-blue-y:8;
 --violet-field:
  radial-gradient(ellipse 70% 110% at calc(var(--violet-red-x) * 1%) calc(var(--violet-red-y) * 1%),rgba(238,0,0,.68) 0%,rgba(238,0,0,.50) 25%,rgba(238,0,0,.136) 55%,rgba(238,0,0,0) 74%),
  radial-gradient(ellipse 75% 115% at calc(var(--violet-blue-x) * 1%) calc(var(--violet-blue-y) * 1%),rgba(13,5,153,.56) 0%,rgba(13,5,153,.411) 25%,rgba(13,5,153,.112) 55%,rgba(13,5,153,0) 74%),
  linear-gradient(calc(114deg + var(--violet-turn) * 1deg),#ee0000 -20%,#b90124 20%,#91023f 50%,#6a035a 80%,#420475 110%,#0d0599 150%);
 --violet-field-soft:
  radial-gradient(ellipse 70% 110% at calc(var(--violet-red-x) * 1%) calc(var(--violet-red-y) * 1%),rgba(238,0,0,.14),rgba(238,0,0,0) 74%),
  radial-gradient(ellipse 75% 115% at calc(var(--violet-blue-x) * 1%) calc(var(--violet-blue-y) * 1%),rgba(13,5,153,.10),rgba(13,5,153,0) 74%),
  linear-gradient(calc(114deg + var(--violet-turn) * 1deg),rgba(238,0,0,.07) -20%,rgba(108,5,91,.055) 80%,rgba(13,5,153,.07) 150%);
}
/* A linear phase drives closed orbits. Position, tangent and acceleration
   match at 360/0 degrees; there is no easing stop or visible restart. */
@supports (width:calc(sin(0deg) * 1px)){
 :root{
  --violet-turn:calc(1 + 19 * sin(var(--violet-phase)));
  --violet-red-x:calc(46 - 38 * cos(var(--violet-phase)));
  --violet-red-y:calc(83 - 27 * sin(var(--violet-phase) - 6.38deg));
  --violet-blue-x:calc(50 + 46 * cos(var(--violet-phase)));
  --violet-blue-y:calc(17 + 27 * sin(var(--violet-phase) - 20deg));
 }
 @keyframes violet-flow{from{--violet-phase:0deg}to{--violet-phase:360deg}}
 /* violet-flow: driven in JS at 15 fps (app.bundle.js, site.bundle.js, design-system.bundle.js). */
}
:root[data-theme=violet][data-fluid-running] :is([data-fluid-scope][data-fluid-visible],.header,.view-dock){animation-play-state:running}
@media(prefers-reduced-motion:reduce),(forced-colors:active){:root[data-theme=violet] :is([data-fluid-scope],.header,.view-dock){animation:none!important}}

/* Resolve dynamic pigment inside each small paint scope, not on the document root. */
[data-theme=violet] :is([data-fluid-scope],.header,.view-dock){
 --violet-turn:calc(1 + 19 * sin(var(--violet-phase)));
 --violet-red-x:calc(46 - 38 * cos(var(--violet-phase)));
 --violet-red-y:calc(83 - 27 * sin(var(--violet-phase) - 6.38deg));
 --violet-blue-x:calc(50 + 46 * cos(var(--violet-phase)));
 --violet-blue-y:calc(17 + 27 * sin(var(--violet-phase) - 20deg));
 --violet-field:
  radial-gradient(ellipse 70% 110% at calc(var(--violet-red-x) * 1%) calc(var(--violet-red-y) * 1%),rgba(238,0,0,.68) 0%,rgba(238,0,0,.50) 25%,rgba(238,0,0,.136) 55%,rgba(238,0,0,0) 74%),
  radial-gradient(ellipse 75% 115% at calc(var(--violet-blue-x) * 1%) calc(var(--violet-blue-y) * 1%),rgba(13,5,153,.56) 0%,rgba(13,5,153,.411) 25%,rgba(13,5,153,.112) 55%,rgba(13,5,153,0) 74%),
  linear-gradient(calc(114deg + var(--violet-turn) * 1deg),#ee0000 -20%,#b90124 20%,#91023f 50%,#6a035a 80%,#420475 110%,#0d0599 150%);
 --violet-field-soft:
  radial-gradient(ellipse 70% 110% at calc(var(--violet-red-x) * 1%) calc(var(--violet-red-y) * 1%),rgba(238,0,0,.14),rgba(238,0,0,0) 74%),
  radial-gradient(ellipse 75% 115% at calc(var(--violet-blue-x) * 1%) calc(var(--violet-blue-y) * 1%),rgba(13,5,153,.10),rgba(13,5,153,0) 74%),
  linear-gradient(calc(114deg + var(--violet-turn) * 1deg),rgba(238,0,0,.07) -20%,rgba(108,5,91,.055) 80%,rgba(13,5,153,.07) 150%);
 --page-atmosphere: none;
 --footer-atmosphere:
  radial-gradient(ellipse 36% 38% at calc((var(--violet-red-x) - 18) * 1%) calc(-14% + var(--violet-turn) * .2%),rgba(238,0,0,.30),rgba(238,0,0,.10) 35%,transparent 88%),
  radial-gradient(ellipse 36% 38% at calc((var(--violet-red-x) + 18) * 1%) calc(-14% + var(--violet-turn) * .2%),rgba(13,5,153,.38),rgba(13,5,153,.13) 35%,transparent 88%),
  radial-gradient(ellipse 36% 38% at calc((var(--violet-blue-x) - 18) * 1%) calc(114% - var(--violet-turn) * .2%),rgba(13,5,153,.38),rgba(13,5,153,.13) 35%,transparent 88%),
  radial-gradient(ellipse 36% 38% at calc((var(--violet-blue-x) + 18) * 1%) calc(114% - var(--violet-turn) * .2%),rgba(238,0,0,.30),rgba(238,0,0,.10) 35%,transparent 88%);
 --gradient-accent:var(--violet-field);--gradient-accent-soft:var(--violet-field-soft);
}
