/* ORDO / Engineering motion. Static CSS: no server-side Sass compilation. */

:root { --omg-electric: #8dbce9; --omg-motion-accent: #2778b3; }
.omg-hero { position: relative; isolation: isolate; }
.omg-hero-copy { position: relative; background: radial-gradient(ellipse at 0 80%, #41698918, transparent 65%); }
.omg-hero h1 { text-wrap: balance; }
.omg-hero .omg-dot { box-shadow: 0 0 18px #8dbce970; }
.omg-hero-lab { background: #10171e; isolation: isolate; perspective: 1000px; }
.omg-hero-lab > img { opacity: .19; filter: grayscale(1) contrast(1.2); mix-blend-mode: luminosity; }
.omg-hero-lab::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 46%, #5086af29, transparent 65%), linear-gradient(90deg, #1b1d1f, #11182000 22%, #11182044); pointer-events: none; z-index: 1; }
.omg-hero-lab .omg-art-label { z-index: 4; color: #bdd4e8; font-size: 10px; letter-spacing: .16em; line-height: 1.7; }
.omg-hero-lab .omg-art-number { z-index: 3; color: #8ca9c038; font-size: 58px; bottom: 65px; }
.omg-lab-grid { position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(#8dbce928 1px, transparent 1px), linear-gradient(90deg, #8dbce928 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse, #000 25%, transparent 75%); pointer-events: none; }
.omg-rotor { position: absolute; width: min(88%, 540px); aspect-ratio: 1; top: 48%; left: 50%; transform: translate(-50%, -50%); color: #92c4ef; }
.omg-rotor-orbit { position: absolute; border-radius: 50%; pointer-events: none; }
.omg-rotor-orbit-outer { inset: 1%; border: 1px solid #8dbce92b; border-top-color: #b6ddff; border-bottom-color: #8dbce975; }
.omg-rotor-orbit-outer::after { content: ""; position: absolute; top: 13%; right: 13%; width: 5px; height: 5px; border-radius: 50%; background: #d0eaff; box-shadow: 0 0 18px #8dbce9; }
.omg-rotor-orbit-inner { inset: 7%; border: 1px dashed #8dbce94a; }
.omg-rotor-axis { position: absolute; opacity: .28; pointer-events: none; }
.omg-rotor-axis-x { top: 50%; left: -3%; width: 106%; border-top: 1px solid currentColor; }
.omg-rotor-axis-y { left: 50%; top: -3%; height: 106%; border-left: 1px solid currentColor; }
.omg-rotor-depth { position: absolute; inset: 12%; transform: rotateX(var(--omg-tilt-y, 0deg)) rotateY(var(--omg-tilt-x, 0deg)); transition: transform .45s ease-out; will-change: auto; }
.omg-rotor-wheel { display: block; width: 100%; height: 100%; filter: drop-shadow(0 28px 22px #0009); }
.omg-rotor-hub { position: absolute; inset: 39%; display: grid; place-items: center; border-radius: 50%; border: 2px solid #b9c6d3; padding: 9%; background: radial-gradient(circle at 35% 25%, #d6e2ec, #3e5367 57%, #17222d); box-shadow: 0 3px 14px #0007; }
.omg-rotor-hub img { position: absolute; width: 78%; height: 78%; object-fit: contain; border-radius: 50%; }
.omg-rotor-mark { position: absolute; font: 9px/1.4 monospace; letter-spacing: .2em; padding: 6px; color: #a8c7df; background: #131c25; }
.omg-rotor-mark-a { left: 10%; top: 9%; }
.omg-rotor-mark-b { right: 1%; bottom: 25%; }
.omg-lab-caption { position: absolute; z-index: 3; left: 35px; bottom: 26px; max-width: calc(100% - 155px); color: #a4bfd4; display: flex; align-items: center; gap: 9px; font: 9px/1.5 monospace; letter-spacing: .08em; }
.omg-lab-status { width: 5px; height: 5px; border-radius: 50%; background: #91c9f4; box-shadow: 0 0 12px #91c9f4; flex: none; }
.omg-motion-control { position: absolute; right: 25px; bottom: 18px; z-index: 5; min-height: 38px; border: 1px solid #9bb8cf55; background: #16222cdd; color: #bbcede; padding: 8px 12px; display: none; align-items: center; gap: 8px; font: 10px/1.4 Arial, sans-serif; }
.omg-motion-control:hover { border-color: #c2dff3; background: #263b4c; }
.omg-motion-symbol { min-width: 10px; font-size: 13px; }
.omg-motion-control[hidden] { display: none !important; }
.omg-scroll-progress { height: 2px; position: fixed; z-index: 990; top: 0; left: 0; right: 0; pointer-events: none; background: linear-gradient(90deg, #2f779f, #bee3ff); transform-origin: left; transform: scaleX(var(--omg-scroll-progress, 0)); }
.omg-nav-inner > a { position: relative; }
.omg-nav-inner > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: #a8ccea; transform-origin: left; transform: scaleX(0); transition: transform .28s ease; }
.omg-nav-inner > a:hover::after, .omg-nav-inner > a[aria-current="page"]::after { transform: scaleX(1); }
.omg-btn { position: relative; overflow: hidden; transition: background .25s, border-color .25s, box-shadow .25s, transform .25s; }
.omg-btn > span { transition: transform .25s ease; }
.omg-btn:hover > span { transform: translate(3px, -3px); }
.omg-btn:active { transform: translateY(1px); }
.omg-category { transition: box-shadow .35s ease; }
.omg-category:hover { box-shadow: 0 16px 30px #18293616; }
.omg-product-card { transition: box-shadow .25s ease; }
.omg-product-card:hover { box-shadow: 0 12px 30px #172a3710; }
.omg-concept-teaser > img { transition: transform 1.2s ease; }
@media (hover: hover) and (pointer: fine) {
 .omg-concept-teaser:hover > img { transform: scale(1.035); }
 .omg-btn:hover { box-shadow: 0 6px 22px #0917241a; }
}

/* A navigable process diagram: all explanations remain visible without JS. */
.omg-process-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 100px); align-items: center; margin-top: 50px; }
.omg-process-map { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; justify-self: center; color: var(--omg-motion-accent); }
.omg-process-map svg { display: block; width: 100%; height: 100%; overflow: visible; }
.omg-process-orbit { stroke: currentColor; stroke-width: 1; stroke-dasharray: 2 7; opacity: .4; }
.omg-process-node { fill: var(--omg-paper, #f4f4f2); stroke: currentColor; }
.omg-process-needle { transform-origin: 210px 210px; transform: rotate(var(--omg-stage-angle, 0deg)); transition: transform .65s cubic-bezier(.22,1,.36,1); }
.omg-process-core { position: absolute; inset: 30%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.omg-process-core > span:first-child { font-size: 8px; letter-spacing: .12em; text-transform: uppercase; color: var(--omg-muted); }
.omg-process-core strong { color: var(--omg-ink); font-size: clamp(62px, 7vw, 100px); font-weight: 400; letter-spacing: -.08em; line-height: 1.2; margin: 4px 0; font-variant-numeric: tabular-nums; }
.omg-process-core > span:last-child { font-size: 12px; color: var(--omg-ink); line-height: 1.35; }
.omg-process-coordinate { position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); font: 9px/1.4 monospace; letter-spacing: .12em; color: var(--omg-muted); white-space: nowrap; }
.omg-process-hint { font-size: 10px; color: var(--omg-muted); margin-bottom: 20px; letter-spacing: .04em; }
.omg-process-list { list-style: none; margin: 0; padding: 0; }
.omg-process-list > li { border-top: 1px solid var(--omg-line); }
.omg-process-list > li:last-child { border-bottom: 1px solid var(--omg-line); }
.omg-stage { width: 100%; display: flex; align-items: center; gap: 20px; padding: 25px 0; background: transparent; border: 0; text-align: left; color: var(--omg-ink); }
.omg-stage-index { font: 11px/1.4 monospace; color: var(--omg-muted); }
.omg-stage-label { font-size: clamp(20px, 2.1vw, 30px); line-height: 1.2; letter-spacing: -.03em; }
.omg-stage-arrow { margin-left: auto; color: var(--omg-muted); transition: transform .3s; }
.omg-stage:hover .omg-stage-arrow, .is-active > .omg-stage .omg-stage-arrow { color: var(--omg-motion-accent); transform: rotate(45deg); }
.is-active > .omg-stage .omg-stage-index { color: var(--omg-motion-accent); }
.omg-stage-description p { margin: 0 0 25px 37px; font-size: 13px; max-width: 410px; }
.omg-process.is-ready .omg-stage-description { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.omg-process.is-ready .omg-stage-description > div { overflow: hidden; }
.omg-process.is-ready .is-active .omg-stage-description { grid-template-rows: 1fr; }
.omg-motion-reveal { transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1); transition-delay: var(--omg-reveal-delay, 0ms); }
.omg-motion-pending { opacity: .2; transform: translateY(24px); }
.omg-motion-paused .omg-rotor *, .omg-motion-paused .omg-dot { animation-play-state: paused !important; }
.omg-motion-paused .omg-rotor-depth { transform: none; }
.omg-motion-off .omg-rotor *, .omg-motion-inactive .omg-rotor * { animation-play-state: paused !important; }
.omg-motion-off .omg-rotor-depth { transform: none; }
.omg-motion-off .omg-motion-pending { opacity: 1; transform: none; }
.omg-motion-off .omg-scroll-progress { display: none; }
.omg-motion-ready:not(.omg-motion-off) .omg-motion-control { display: flex; }
.omg-motion-ready:not(.omg-motion-off) .omg-rotor-orbit-outer { animation: omg-orbit 32s linear infinite; }
.omg-motion-ready:not(.omg-motion-off) .omg-rotor-orbit-inner { animation: omg-orbit 70s linear infinite reverse; }
.omg-motion-ready:not(.omg-motion-off) .omg-rotor-wheel { animation: omg-orbit 90s linear infinite; }
.omg-motion-ready:not(.omg-motion-off) .omg-hero-copy > h1 { animation: omg-copy-in .85s cubic-bezier(.22,1,.36,1) both; }
.omg-motion-ready:not(.omg-motion-off) .omg-hero-copy > p { animation: omg-copy-in .85s .12s cubic-bezier(.22,1,.36,1) both; }
.omg-motion-paused .omg-hero-copy > h1, .omg-motion-paused .omg-hero-copy > p { animation-play-state: paused; }
@keyframes omg-copy-in { from { opacity: .4; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes omg-orbit { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
 .omg-process-layout { gap: 30px; }
 .omg-hero-lab .omg-art-number { font-size: 45px; }
}
@media (max-width: 700px) {
 .omg-process-layout { grid-template-columns: 1fr; gap: 35px; margin-top: 30px; }
 .omg-process-map { max-width: 300px; }
 .omg-process-core strong { font-size: 72px; }
 .omg-process-core > span:last-child { font-size: 11px; }
 .omg-stage { padding: 22px 0; }
 .omg-stage-label { font-size: 23px; }
 .omg-process-hint { text-align: center; }
}
@media (max-width: 600px) {
 .omg-hero-lab { height: 370px; min-height: 370px; }
 .omg-rotor { width: 290px; top: 47%; }
 .omg-hero-lab .omg-art-label { top: 18px; left: 20px; font-size: 8px; }
 .omg-hero-lab .omg-art-number { right: 16px; bottom: 65px; font-size: 34px; }
 .omg-lab-caption { left: 20px; bottom: 24px; font-size: 8px; max-width: calc(100% - 135px); }
 .omg-motion-control { right: 16px; bottom: 15px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .omg-rotor *, .omg-process *, .omg-motion-reveal, .omg-hero-copy > h1, .omg-hero-copy > p { animation: none !important; transition: none !important; }
 .omg-rotor-depth, .omg-motion-pending { transform: none !important; }
 .omg-motion-pending { opacity: 1 !important; }
}
