/* =========================================================
   Unmanual — site styles
   Light pastel sage page, dark "space" story. One green: the neon lime.
   On light backgrounds it is a marker/chip behind dark text, never the text colour.
   ========================================================= */
:root {
  --sage: #F4F4EE;            /* page background (from the reference) */
  --sage-2: #EAECE2;
  --cream: #F3F4EC;
  --ink: #1C2417;
  --ink-2: #4B5543;
  --deep: #161C12;           /* story, systems band, footer */
  --deep-2: #222A1C;
  --lime: #D2FF00;           /* the brand green, everywhere */
  --lime-off: #B2C73A;
  --muted: #A9B19C;
  --off: #4A5242;
  --hair: rgba(28, 36, 23, .18);
  --hair-d: rgba(243, 244, 236, .14);

  --ease: cubic-bezier(0.65, 0.05, 0, 1);
  --dur: .75s;
  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 72px;
  --r: 4px;
  --line: #D5D7CB;             /* moving contour lines (from the reference) */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.native-scroll { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html.native-scroll { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--sage); color: var(--ink);
  font-family: var(--f-body); font-size: 18px; line-height: 1.6;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--lime); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--lime); padding: 10px 16px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.story :focus-visible, .systems :focus-visible, .contact :focus-visible, .footer :focus-visible, .nav.on-dark :focus-visible { outline-color: var(--lime); }

.wrap { max-width: 1320px; margin: 0 auto; padding-inline: var(--gutter); position: relative; z-index: 1; }

/* ---------- type ---------- */
.display { font: 800 clamp(44px, 8.4vw, 136px)/.92 var(--f-head); letter-spacing: -.025em; margin: 0; }
.display-md { font: 800 clamp(34px, 5.4vw, 84px)/.98 var(--f-head); letter-spacing: -.02em; margin: 0 0 clamp(28px, 4vw, 48px); max-width: 18ch; }
.serif { font-family: var(--f-serif); font-weight: 400; letter-spacing: 0; }  /* the accent word: handwritten, like the manual work it names */
.lime { color: var(--lime); }
.green { color: var(--ink); background: linear-gradient(transparent 46%, var(--lime) 46% 90%, transparent 90%); padding-inline: .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { font-size: clamp(18px, 1.55vw, 22px); max-width: 44ch; margin: 22px 0 30px; }

.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 500 14px var(--f-head); color: var(--muted); }
.kicker .idx { font: 700 12px var(--f-latin); color: var(--lime); border: 1px solid var(--lime); padding: 3px 6px; }

/* section header: index + name on a hairline */
.sec-head { display: flex; align-items: baseline; gap: 14px; border-top: 1px solid var(--hair); padding-top: 14px; margin-bottom: clamp(24px, 3.5vw, 44px); }
.sec-idx { font: 700 14px var(--f-latin); color: var(--ink); background: var(--lime); padding: 2px 6px; border-radius: 2px; }
.sec-name { font: 500 15px var(--f-head); color: var(--ink-2); }
.light-head { border-color: var(--hair-d); }
.light-head .sec-idx { color: var(--lime); }
.light-head .sec-name { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font: 700 17px/1 var(--f-head); text-decoration: none; cursor: pointer;
  border: 0; border-radius: var(--r); padding: 16px 22px;
  transition: transform .5s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.btn .arr { font-family: var(--f-latin); transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(-6px); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { box-shadow: 0 0 0 6px rgba(210,255,0,.18); }
.btn-ink { background: var(--ink); color: var(--lime); }
.btn-ink:hover { background: #000; }
.btn-lg { font-size: 19px; padding: 20px 28px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }

/* ---------- logo ---------- */
.logo { direction: ltr; display: inline-flex; align-items: center; gap: .32em; font: 700 26px/1 var(--f-logo, var(--f-latin)); letter-spacing: -.035em; text-decoration: none; color: var(--ink); user-select: none; }
.sw { position: relative; flex: none; display: inline-block; width: 1.56em; height: .86em; border-radius: .43em; background: var(--off); transition: background .4s var(--ease); }
.sw::after { content: ""; position: absolute; top: .11em; left: .11em; width: .64em; height: .64em; border-radius: 50%; background: var(--cream); transition: transform .45s cubic-bezier(.5, 0, .2, 1.3); }
.manual { position: relative; display: inline-block; }
.manual::after { content: ""; position: absolute; left: -3%; right: -3%; top: 55%; height: .1em; border-radius: .05em; background: var(--lime); transform: scaleX(0); transform-origin: left center; transition: transform .5s var(--ease) .18s; }
.logo.on .sw, .sw.on { background: var(--lime); }
.logo.on .sw::after, .sw.on::after { transform: translateX(.7em); background: var(--ink); }
.logo.on .manual::after { transform: scaleX(1); }
/* live logo (every logo on the site): the switch flips on, a line strikes "manual",
   then it switches off and the line retracts. Same font and shape as the static logo. Always running. */
.logo.logo-live { --lg-off: var(--off); --lg-on: var(--lime); --lg-k-off: var(--cream); --lg-k-on: var(--ink); }
.on-dark .logo.logo-live, .footer .logo.logo-live { --lg-k-on: var(--deep); }
@keyframes lg-sw { 0%, 12% { background: var(--lg-off); } 20%, 80% { background: var(--lg-on); } 88%, 100% { background: var(--lg-off); } }
@keyframes lg-knob { 0%, 12% { transform: none; background: var(--lg-k-off); } 20%, 80% { transform: translateX(.7em); background: var(--lg-k-on); } 88%, 100% { transform: none; background: var(--lg-k-off); } }
@keyframes lg-line { 0%, 22% { transform: scaleX(0); transform-origin: left center; } 36%, 70% { transform: scaleX(1); transform-origin: left center; } 70.01% { transform-origin: right center; } 82%, 100% { transform: scaleX(0); transform-origin: right center; } }
.logo.logo-live .sw { transition: none; animation: lg-sw 6.4s var(--ease) infinite; }
.logo.logo-live .sw::after { transition: none; animation: lg-knob 6.4s cubic-bezier(.5, 0, .2, 1.3) infinite; }
.logo.logo-live .manual::after { transition: none; animation: lg-line 6.4s var(--ease) infinite; }
/* logo on dark */
.on-dark .logo, .footer .logo { color: var(--cream); }
.on-dark .logo.on .sw, .footer .logo.on .sw, .sw.big.on { background: var(--lime); }
.on-dark .logo .sw::after, .footer .logo .sw::after { background: var(--deep); }
.on-dark .manual::after, .footer .manual::after { background: var(--lime); }

/* ---------- nav ---------- */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 50; height: var(--nav-h); padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: background .4s, transform .5s var(--ease), color .4s; }
.nav.scrolled { background: rgba(244, 244, 238, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair); }
/* on dark the bar is always solid enough to read over whatever moves behind it (the 3D cards) */
.nav.on-dark { color: var(--cream); background: rgba(22, 28, 18, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair-d); }
.nav.on-dark .nav-links a { opacity: 1; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; font: 500 15px var(--f-head); position: relative; opacity: .85; }
.nav-links a::after { content: ""; position: absolute; inset-inline: 0; bottom: -5px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { padding: 12px 16px; font-size: 15px; background: var(--ink); color: var(--lime); }
.nav.on-dark .nav-cta { background: var(--lime); color: var(--ink); }
@media (max-width: 860px) { .nav-links { display: none; } .logo { font-size: 22px; } }

/* =========================================================
   3D STORY (dark)
   ========================================================= */
.story { position: relative; height: 100vh; height: 100svh; background: var(--deep); color: var(--cream); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(8,10,6,.55) 100%), linear-gradient(to left, rgba(22,28,18,.72) 0%, rgba(22,28,18,0) 52%); }
.warp { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 50%, rgba(210,255,0,.95) 0%, rgba(210,255,0,.35) 18%, rgba(22,28,18,0) 55%); mix-blend-mode: screen; }
.beat { position: absolute; inset-inline-start: var(--gutter); top: 50%; transform: translateY(-50%); max-width: min(760px, 88vw); opacity: 0; pointer-events: none; transition: opacity .6s var(--ease), transform .9s var(--ease), filter .6s; filter: blur(8px); }
.beat.show { opacity: 1; pointer-events: auto; filter: blur(0); }
.beat:not(.show) { transform: translateY(calc(-50% + 30px)); }
.beat .display, .beat .display-md { text-shadow: 0 4px 40px rgba(8,10,6,.5); max-width: none; }
.beat-0 .display { font-size: clamp(42px, 7.2vw, 112px); }
.beat-3 { max-width: min(880px, 92vw); }
.beat .lead { color: #D9DDCD; }
.hero-final { font-size: clamp(54px, 10vw, 156px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.scroll-hint { display: flex; align-items: center; gap: 12px; margin-top: 36px; font: 500 14px var(--f-head); color: var(--muted); }
.mouse { width: 22px; height: 34px; border: 2px solid var(--muted); border-radius: 12px; position: relative; }
.mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--lime); animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80%,100% { transform: translateY(12px); opacity: 0; } }

.strike-word, .strike-on-switch { position: relative; display: inline-block; }
.strike-word::after, .strike-on-switch::after { content: ""; position: absolute; right: -4%; left: -4%; top: 56%; height: .085em; background: var(--lime); transform: scaleX(0); transform-origin: right center; transition: transform .7s var(--ease); }
.strike-word.on::after, .strike-on-switch.on::after { transform: scaleX(1); }
.strike-word.on { color: var(--lime-off); }

.progress { position: absolute; bottom: 24px; inset-inline: var(--gutter); height: 2px; background: rgba(243,244,236,.12); }
.progress span { display: block; height: 100%; width: 100%; background: var(--lime); transform-origin: right; transform: scaleX(0); }

/* ---------- big switch ---------- */
.big-switch { display: inline-flex; align-items: center; gap: 16px; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font: 700 18px var(--f-head); }
.big-switch .track { position: relative; width: 96px; height: 52px; border-radius: 26px; background: var(--off); transition: background .45s var(--ease), box-shadow .45s; direction: ltr; flex: none; }
.big-switch .knob { position: absolute; top: 6px; left: 6px; width: 40px; height: 40px; border-radius: 50%; background: var(--cream); box-shadow: 0 4px 14px rgba(0,0,0,.35); transition: transform .55s cubic-bezier(.5, 0, .2, 1.3), background .3s; }
.big-switch[aria-checked="true"] .track { background: var(--lime); box-shadow: 0 0 50px -6px rgba(210,255,0,.75); }
.big-switch[aria-checked="true"] .knob { transform: translateX(44px); background: var(--deep); }
.big-switch .lbl { position: relative; display: inline-grid; }
.big-switch .lbl > span { grid-area: 1 / 1; transition: opacity .3s, transform .45s var(--ease); }
.big-switch .on-l { opacity: 0; transform: translateY(10px); color: var(--lime); }
.big-switch[aria-checked="true"] .on-l { opacity: 1; transform: none; }
.big-switch[aria-checked="true"] .off-l { opacity: 0; transform: translateY(-10px); }
.big-switch.xl .track { width: 140px; height: 76px; border-radius: 38px; }
.big-switch.xl .knob { top: 8px; left: 8px; width: 60px; height: 60px; }
.big-switch.xl[aria-checked="true"] .knob { transform: translateX(64px); }
.big-switch.xl { font-size: 24px; margin-top: 4px; }

/* =========================================================
   MARQUEE (transition from dark story into the light page)
   ========================================================= */
.marquee { background: var(--deep); color: var(--cream); padding: 34px 0 40px; overflow: hidden; }
.track-row { display: flex; overflow: hidden; white-space: nowrap; }
.run { display: flex; align-items: center; gap: 34px; padding-inline-end: 34px; animation: run 42s linear infinite; flex: none; }
.row-a .run span { font: 800 clamp(32px, 4.6vw, 68px)/1.1 var(--f-head); }
.row-a .run i { width: 14px; height: 14px; background: var(--lime); flex: none; transform: rotate(45deg); }
.row-b { margin-top: 6px; }
.row-b .run { animation-direction: reverse; animation-duration: 36s; }
.row-b .run span { font: 500 clamp(32px, 4.6vw, 68px)/1.1 var(--f-serif); color: var(--lime); }
@keyframes run { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .run { animation: none; } }

/* =========================================================
   LIGHT SECTIONS
   ========================================================= */
.sec { position: relative; padding-block: clamp(56px, 7vw, 104px); }
.sec.alt { background: transparent; }
#bgLines { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .footer { position: relative; z-index: 1; }

[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity var(--dur) var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* problem: editorial rows */
.rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--hair); }
.row { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: baseline; padding: 26px 0; border-top: 1px solid var(--hair); }
.row-n { font: 700 clamp(28px, 3vw, 40px)/1 var(--f-latin); color: var(--ink); justify-self: start; background: linear-gradient(transparent 50%, var(--lime) 50% 92%, transparent 92%); padding-inline: .1em; }
.row h3 { font: 700 clamp(22px, 2.4vw, 34px)/1.15 var(--f-head); margin: 0; }
.row p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .row { grid-template-columns: 56px 1fr; } .row p { grid-column: 2; } }

/* build: 3 columns separated by hairlines, dark lit panels */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); }
.col { padding: 24px; border-inline-start: 1px solid var(--hair); position: relative; }
.col:first-child { border-inline-start: 0; padding-inline-start: 0; }
.col:last-child { padding-inline-end: 0; }
.col-n { font: 700 13px var(--f-latin); color: var(--ink); background: var(--lime); padding: 2px 6px; border-radius: 2px; display: inline-block; margin-top: 22px; }
.col h3 { font: 700 26px/1.15 var(--f-head); margin: 6px 0 8px; }
.col p { margin: 0; color: var(--ink-2); }
@media (max-width: 960px) { .cols { grid-template-columns: 1fr; } .col, .col:first-child, .col:last-child { padding-inline: 0; border-inline-start: 0; border-top: 1px solid var(--hair); } .cols { border-top: 0; } }

.panel { height: 220px; background: var(--deep); color: var(--cream); border-radius: var(--r); position: relative; overflow: hidden; }
.panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 110%, rgba(210,255,0,.22), transparent 70%); pointer-events: none; }

.panel-system { display: flex; gap: 10px; padding: 14px; direction: ltr; }
.ps-side { width: 30px; display: grid; gap: 8px; align-content: start; }
.ps-side i { height: 24px; background: var(--deep-2); border-radius: 2px; }
.ps-side i.on { background: var(--lime); box-shadow: 0 0 16px rgba(210,255,0,.6); }
.ps-main { flex: 1; display: grid; grid-template-rows: auto 1fr; gap: 10px; position: relative; }
.ps-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; direction: rtl; }
.ps-kpis b { background: var(--deep-2); padding: 8px 10px; font: 500 11px var(--f-head); color: var(--muted); border-radius: 2px; }
.ps-kpis em { display: block; font: 700 22px/1.1 var(--f-latin); font-style: normal; color: var(--cream); }
.ps-kpis b.hot em { color: var(--lime); text-shadow: 0 0 14px rgba(210,255,0,.6); }
.ps-chart { display: flex; align-items: flex-end; gap: 8px; padding: 4px 2px 0; }
.ps-chart span { flex: 1; height: calc(var(--h) * 100%); background: linear-gradient(to top, rgba(210,255,0,.25), var(--lime)); transform-origin: bottom; animation: grow 3.6s var(--ease) infinite; border-radius: 2px 2px 0 0; }
.ps-chart span:nth-child(2n) { animation-delay: .15s; } .ps-chart span:nth-child(3n) { animation-delay: .3s; }
@keyframes grow { 0% { transform: scaleY(.08); } 35%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.08); } }
.ps-toast { position: absolute; top: 58px; left: 8px; background: var(--lime); color: var(--ink); font: 700 12px var(--f-head); padding: 7px 10px; direction: rtl; border-radius: 2px; box-shadow: 0 10px 30px -8px rgba(210,255,0,.7); animation: toast 3.6s var(--ease) infinite; }
@keyframes toast { 0%, 40% { opacity: 0; transform: translateY(-10px); } 50%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.panel-flow svg { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
.wire { fill: none; stroke: rgba(243,244,236,.16); stroke-width: 2; }
.beam { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 26 200; stroke-dashoffset: 226; animation: beam 2.4s linear infinite; }
.beam.b2 { animation-delay: .6s; } .beam.b3 { animation-delay: 1.2s; } .beam.b4 { animation-delay: 1.8s; }
@keyframes beam { to { stroke-dashoffset: 0; } }
.nd rect { fill: var(--deep-2); stroke: rgba(243,244,236,.2); }
.nd text { fill: var(--cream); font: 500 12px var(--f-head); text-anchor: middle; }
.nd.hub rect { fill: var(--lime); stroke: none; filter: drop-shadow(0 0 12px rgba(210,255,0,.7)); }
.nd.hub text { fill: var(--ink); font: 700 18px var(--f-latin); }

.panel-agent { padding: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.chat { display: flex; flex-direction: column; gap: 7px; }
.msg { max-width: 82%; padding: 8px 12px; font-size: 13px; line-height: 1.35; border-radius: 2px; opacity: 0; animation: msg 8s var(--ease) infinite; }
.msg.in { background: var(--deep-2); align-self: flex-start; }
.msg.out { background: var(--lime); color: var(--ink); align-self: flex-end; font-weight: 500; box-shadow: 0 6px 20px -8px rgba(210,255,0,.6); }
.m1 { animation-delay: 0s; } .m2 { animation-delay: .9s; } .m3 { animation-delay: 1.8s; } .m4 { animation-delay: 2.7s; }
@keyframes msg { 0% { opacity: 0; transform: translateY(8px); } 6%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
.agent-tag { display: flex; align-items: center; gap: 8px; font: 500 12px var(--f-head); color: var(--muted); }
.agent-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .ps-chart span, .ps-toast, .beam, .msg, .agent-tag i { animation: none; opacity: 1; transform: none; } .beam { stroke-dasharray: none; } }

/* how */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; --p: 0; }
.steps::before { content: ""; position: absolute; top: 9px; inset-inline: 0; height: 2px; background: var(--hair); }
.steps::after { content: ""; position: absolute; top: 9px; inset-inline-start: 0; height: 2px; width: calc(var(--p) * 100%); background: var(--lime); }
.step { position: relative; padding-top: 40px; }
.step .dot { position: absolute; top: 0; inset-inline-start: 0; width: 20px; height: 20px; background: var(--sage); border: 2px solid var(--ink-2); transform: rotate(45deg); transition: background .4s, border-color .4s; z-index: 1; }
.step.lit .dot { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 4px var(--lime); }
.step-n { font: 700 14px var(--f-latin); color: var(--ink); background: var(--lime); padding: 2px 6px; border-radius: 2px; display: inline-block; }
.step h3 { font: 700 26px/1.2 var(--f-head); margin: 6px 0; }
.step p { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 30px; padding-inline-start: 40px; }
  .steps::before { top: 0; bottom: 0; inset-inline-start: 9px; inset-inline-end: auto; width: 2px; height: auto; }
  .steps::after { top: 0; inset-inline-start: 9px; width: 2px; height: calc(var(--p) * 100%); }
  .step { padding-top: 0; }
  .step .dot { inset-inline-start: -40px; top: 6px; }
}

/* =========================================================
   SYSTEMS (dark band, horizontal pinned gallery)
   ========================================================= */
.systems { position: relative; background: var(--deep); color: var(--cream); height: 420vh; }
.sys-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding-top: calc(var(--nav-h) - 8px); }
.sys-head .display-md { margin-bottom: 6px; max-width: none; font-size: clamp(32px, 4.4vw, 68px); }
.sys-head .sec-head { margin-bottom: 14px; }
.sys-note { margin: 0; font-size: 14px; color: var(--muted); }
.sys-track { display: flex; gap: clamp(20px, 3vw, 40px); padding-inline: var(--gutter); will-change: transform; }
.shot-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.shot-ind { font: 700 16px var(--f-head); }
.shot-real { font: 500 12px var(--f-head); color: var(--ink); background: var(--lime); padding: 4px 8px; }
.sys-progress { position: absolute; bottom: 24px; inset-inline: var(--gutter); height: 2px; background: var(--hair-d); }
.sys-progress span { display: block; height: 100%; background: var(--lime); transform-origin: right; transform: scaleX(0); }

/* ---------- system screens ----------
   each brand sets: --b1 sidebar · --b2 main accent · --b3 second · --b4 third
                    --bg canvas · --card · --tx text · --mu muted */
.shot { flex: none; width: min(90vw, 1320px); position: relative; }
.shot-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; }
.mono-cap { font: 500 11px/1.3 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.screen { position: relative; background: var(--bg); color: var(--tx); border-radius: 10px; overflow: hidden; box-shadow: 0 60px 140px -50px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); font-family: var(--f-body); }
.screen .bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: color-mix(in srgb, var(--bg) 80%, #000 6%); direction: ltr; border-bottom: 1px solid rgba(127,127,127,.14); }
.screen .bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(127,127,127,.35); }
.screen .bar i:nth-child(1) { background: #FF5F57; } .screen .bar i:nth-child(2) { background: #FEBC2E; } .screen .bar i:nth-child(3) { background: #28C840; }
.screen .bar span { margin-inline-start: 14px; font: 500 12px var(--f-latin); color: var(--mu); background: rgba(127,127,127,.1); padding: 3px 12px; border-radius: 5px; flex: 1; max-width: 340px; }
.live { margin-inline-start: auto; font: 700 10px var(--f-latin); font-style: normal; letter-spacing: .12em; color: var(--b2); display: flex; align-items: center; gap: 6px; }
.live b { width: 7px; height: 7px; border-radius: 50%; background: var(--b2); box-shadow: 0 0 10px var(--b2); animation: pulse 1.4s infinite; }

.app { display: grid; grid-template-columns: 178px 1fr; height: clamp(400px, calc(100svh - 372px), 600px); }
.side { background: var(--b1); color: #fff; padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.side .brand { display: flex; align-items: center; gap: 10px; margin: 2px 4px 14px; }
.side .brand svg { width: 28px; height: 28px; flex: none; }
.side .brand b { font: 700 17px var(--f-head); white-space: nowrap; }
.side .grp { font: 500 10px var(--f-head); letter-spacing: .08em; opacity: .45; margin: 10px 8px 4px; }
.side i { display: flex; justify-content: space-between; align-items: center; font-style: normal; font-size: 13px; padding: 7px 9px; opacity: .72; border-radius: 6px; white-space: nowrap; }
.side i.on { background: rgba(255,255,255,.12); opacity: 1; box-shadow: inset -3px 0 0 var(--b2); }
.side .cnt { font: 700 10px var(--f-latin); background: rgba(255,255,255,.14); padding: 1px 7px; border-radius: 10px; transition: transform .3s; }
.side .cnt.hot { background: var(--b2); color: var(--b1); }
.side .cnt.bump { transform: scale(1.35); }
.side .me { margin-top: auto; display: flex; align-items: center; gap: 9px; padding: 10px 6px 2px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.side .me small { display: block; font-size: 10px; opacity: .55; }
.av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--b2); color: var(--b1); font: 700 10px var(--f-head); flex: none; }

.main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid rgba(127,127,127,.12); }
.search { flex: 1; max-width: 360px; font-size: 12px; color: var(--mu); background: var(--card); border: 1px solid rgba(127,127,127,.16); padding: 7px 12px 7px 30px; border-radius: 7px; position: relative; }
.search::after { content: ""; position: absolute; left: 11px; top: 50%; width: 9px; height: 9px; border: 2px solid var(--mu); border-radius: 50%; transform: translateY(-60%); }
.top-r { display: flex; align-items: center; gap: 12px; }
.date { font-size: 12px; color: var(--mu); }
.bell { position: relative; width: 26px; height: 26px; border-radius: 7px; background: var(--card); border: 1px solid rgba(127,127,127,.16); }
.bell::before { content: ""; position: absolute; inset: 7px 8px 8px; border: 2px solid var(--tx); border-bottom: 0; border-radius: 6px 6px 1px 1px; opacity: .7; }
.bell-n { position: absolute; top: -6px; left: -6px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--b2); color: #fff; font: 700 10px/17px var(--f-latin); text-align: center; padding: 0 4px; }
.shot.dark .bell-n { color: var(--b1); }
.bell.ring { animation: ring .6s var(--ease); }
@keyframes ring { 20% { transform: rotate(-14deg); } 45% { transform: rotate(10deg); } 70% { transform: rotate(-5deg); } }
.tabs { display: flex; gap: 4px; padding: 8px 16px 0; }
.tabs i { font-style: normal; font-size: 12px; padding: 6px 12px; border-radius: 6px 6px 0 0; color: var(--mu); }
.tabs i.on { color: var(--tx); box-shadow: inset 0 -2px 0 var(--b2); font-weight: 700; }

.dash { flex: 1; padding: 12px 14px 14px; display: grid; gap: 10px; overflow: hidden; min-height: 0; }
.card, .kpi { background: var(--card); border-radius: 10px; padding: 11px 13px; position: relative; overflow: hidden; min-height: 0; box-shadow: 0 1px 2px rgba(20,20,40,.05), 0 0 0 1px rgba(127,127,127,.08); }
.shot.dark .card, .shot.dark .kpi { box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.c-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.c-h b { font: 700 13px var(--f-head); white-space: nowrap; }
.c-h small { font-size: 11px; color: var(--mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.kpi span { display: block; font-size: 11.5px; color: var(--mu); }
.kpi .num { display: block; font: 700 clamp(18px, 1.7vw, 25px)/1.25 var(--f-latin); direction: ltr; text-align: right; letter-spacing: -.01em; transition: color .4s; }
.kpi .num.flash { color: var(--b2); }
.kpi em { font-style: normal; font-size: 11px; color: var(--mu); }
.kpi em.up { color: var(--b4, var(--b2)); font-weight: 700; }
.kpi.hot { background: var(--b2); color: var(--b1); }
.kpi.hot span, .kpi.hot em, .kpi.hot em.up { color: var(--b1); }
.kpi .dots { display: flex; gap: 4px; margin-top: 4px; }
.kpi .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--b4); animation: pulse 1.6s infinite; }
.kpi .dots i:nth-child(2n) { animation-delay: .4s; background: var(--b3); }
.spark { position: absolute; left: 10px; bottom: 10px; width: 40%; height: 30px; overflow: visible; }
.kpi .ring.sm { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; }

svg.area, svg.bars, svg.stack { width: 100%; height: calc(100% - 24px); overflow: visible; display: block; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; color: var(--mu); }
.legend li { display: flex; align-items: center; gap: 5px; }
.legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--b2); }
.legend li:nth-child(2) i { background: var(--b3); } .legend li:nth-child(3) i { background: var(--b4); }
.legend.inline { position: absolute; top: 12px; left: 14px; }

/* map */
.c-map svg.map { width: 100%; height: calc(100% - 22px); }
.map .sea { fill: color-mix(in srgb, var(--b3) 14%, var(--card)); }
.map .land { fill: color-mix(in srgb, var(--bg) 70%, var(--card)); stroke: rgba(127,127,127,.25); }
.map .road { fill: none; stroke: rgba(127,127,127,.3); stroke-width: 1.4; stroke-dasharray: 3 3; }
.map .route { fill: none; stroke: var(--b2); stroke-width: 2; opacity: .35; }
.map .pin { fill: var(--b4); }
.map .pin-ring { fill: none; stroke: var(--b4); stroke-width: 1.5; animation: pinr 2s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pinr { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.map .van { fill: var(--b2); stroke: #fff; stroke-width: 2; }
.map .lbl { font: 600 8px var(--f-head); fill: var(--mu); }

/* kanban */
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; height: calc(100% - 22px); }
.k-col { background: rgba(127,127,127,.07); border-radius: 8px; padding: 6px; display: flex; flex-direction: column; gap: 5px; overflow: hidden; }
.k-col > b { font: 700 10.5px var(--f-head); color: var(--mu); display: flex; justify-content: space-between; padding: 0 2px 2px; }
.k-card { font-size: 10.5px; line-height: 1.3; background: var(--card); padding: 6px 7px; border-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.08); border-inline-start: 3px solid var(--b2); }
.k-col:nth-child(2) .k-card { border-color: var(--b3); } .k-col:nth-child(3) .k-card { border-color: var(--b4); } .k-col:nth-child(4) .k-card { border-color: var(--b1); }
.k-card.moving { animation: kmove .7s var(--ease); box-shadow: 0 8px 20px -6px rgba(0,0,0,.25); }
@keyframes kmove { from { transform: translateX(40px) scale(.96); opacity: .3; } }

/* jobs */
.jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.jobs li { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; align-items: center; font-size: 11.5px; padding: 6px 8px; border-radius: 7px; background: rgba(127,127,127,.06); }
.jobs b { font: 700 11px var(--f-latin); color: var(--mu); }
.jobs span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st { font-style: normal; font: 700 10px var(--f-head); padding: 3px 8px; border-radius: 10px; background: rgba(127,127,127,.14); transition: background .4s, color .4s; }
.st[data-s="בדרך"] { background: color-mix(in srgb, var(--b3) 22%, transparent); color: var(--b1); }
.st[data-s="בעבודה"] { background: color-mix(in srgb, var(--b4) 28%, transparent); color: var(--b1); }
.st[data-s="הושלם"] { background: var(--b2); color: #fff; }

/* cpa portal */
.dropzone { border: 1.5px dashed color-mix(in srgb, var(--b2) 60%, transparent); border-radius: 9px; padding: 10px; display: flex; align-items: center; gap: 10px; background: color-mix(in srgb, var(--b2) 6%, var(--card)); margin-bottom: 8px; position: relative; overflow: hidden; }
.dropzone.hit { animation: hit .6s var(--ease); }
@keyframes hit { 40% { background: color-mix(in srgb, var(--b2) 22%, var(--card)); } }
.dz-target svg { width: 26px; height: 26px; }
.dz-target { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--mu); }
.flyfile { position: absolute; top: 50%; left: -40px; width: 22px; height: 28px; background: #fff; border: 1.5px solid var(--b1); border-radius: 3px; transform: translateY(-50%); animation: fly 1.1s var(--ease) forwards; }
.flyfile::after { content: attr(data-t); position: absolute; bottom: 2px; inset-inline: 0; text-align: center; font: 700 6px var(--f-latin); color: var(--b2); }
@keyframes fly { to { left: calc(100% - 50px); opacity: 0; transform: translateY(-50%) scale(.5) rotate(-8deg); } }
.filelist { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.filelist li { display: grid; grid-template-columns: 32px 1fr auto; gap: 8px; align-items: center; font-size: 11.5px; padding: 5px 7px; background: rgba(127,127,127,.06); border-radius: 7px; animation: feedIn .6s var(--ease); }
.filelist li:first-child { background: color-mix(in srgb, var(--b4) 12%, transparent); }
.filelist .ft { font: 700 8px var(--f-latin); color: #fff; background: var(--b1); border-radius: 3px; text-align: center; padding: 4px 0; }
.filelist small { display: block; color: var(--mu); font-size: 10px; }
.filelist .ok { font: 700 10px var(--f-head); color: var(--b4); }
.prow { display: grid; grid-template-columns: 96px 1fr 76px; gap: 10px; align-items: center; font-size: 11.5px; padding: 4px 0; }
.chip { font-style: normal; font: 700 10px var(--f-head); padding: 3px 7px; border-radius: 9px; background: rgba(127,127,127,.12); color: var(--mu); text-align: center; white-space: nowrap; }
.chip.ok { background: var(--b4); color: #fff; } .chip.warn { background: color-mix(in srgb, var(--b2) 25%, transparent); color: var(--b1); }
.pbar { display: block; height: 7px; border-radius: 4px; background: rgba(127,127,127,.15); position: relative; overflow: hidden; }
.pbar::after { content: ""; position: absolute; inset-block: 0; right: 0; width: calc(var(--w, 0) * 1%); background: linear-gradient(to left, var(--b2), var(--b3)); border-radius: 4px; transition: width 1.4s var(--ease); }
.heat { display: grid; grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; gap: 3px; height: calc(100% - 24px); }
.heat i { border-radius: 2px; background: rgba(127,127,127,.1); transition: background .6s; }
.heat i[data-l="1"] { background: color-mix(in srgb, var(--b2) 30%, transparent); }
.heat i[data-l="2"] { background: color-mix(in srgb, var(--b2) 55%, transparent); }
.heat i[data-l="3"] { background: color-mix(in srgb, var(--b2) 80%, transparent); }
.heat i[data-l="4"] { background: var(--b2); }
.heat i.new { animation: heatpop .8s var(--ease); }
@keyframes heatpop { 0% { transform: scale(1.8); box-shadow: 0 0 0 3px var(--b2); } }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.checklist li { position: relative; font-size: 11.5px; padding: 5px 26px 5px 8px; border-radius: 6px; background: rgba(127,127,127,.06); transition: background .4s; }
.checklist li::before { content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px; border: 1.5px solid var(--mu); border-radius: 3px; transform: translateY(-50%); transition: all .4s; }
.checklist li.done { background: color-mix(in srgb, var(--b4) 12%, transparent); }
.checklist li.done::before { background: var(--b4); border-color: var(--b4); box-shadow: inset 0 0 0 2px #fff; }
.checklist li.just { animation: feedIn .5s var(--ease); }

/* architecture */
.c-3d { padding: 0; background: radial-gradient(90% 90% at 50% 30%, #FFFFFF, #EDE3D4); }
.arch-canvas { width: 100%; height: 100%; display: block; transition: opacity .7s var(--ease); }
.arch-label { position: absolute; top: 10px; right: 10px; font: 700 12px var(--f-head); background: rgba(255,255,255,.88); padding: 5px 10px; border-radius: 6px; }
.arch-mode { position: absolute; bottom: 10px; right: 10px; display: flex; gap: 3px; background: rgba(255,255,255,.88); padding: 3px; border-radius: 7px; }
.arch-mode i { font-style: normal; font: 700 11px var(--f-head); padding: 5px 10px; border-radius: 5px; color: var(--mu); transition: background .3s, color .3s; }
.arch-mode i.on { background: var(--b1); color: #fff; }
.arch-tags { position: absolute; inset: 0; pointer-events: none; }
.arch-tag { position: absolute; transform: translate(-50%, -100%); font: 700 10px var(--f-head); white-space: nowrap; background: var(--b1); color: #fff; padding: 4px 8px; border-radius: 5px; opacity: 0; transition: opacity .4s; }
.arch-tag::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 1px; height: 10px; background: var(--b1); }
.arch-tag.on { opacity: 1; }
.layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.layers li { display: flex; align-items: center; gap: 9px; font-size: 11.5px; padding: 7px 9px; border-radius: 7px; background: rgba(127,127,127,.06); transition: background .4s, transform .4s var(--ease); }
.layers li i { width: 14px; height: 10px; border-radius: 2px; background: var(--mu); opacity: .4; transition: all .4s; transform: skewX(-20deg); }
.layers li.on { background: color-mix(in srgb, var(--b2) 14%, transparent); transform: translateX(-4px); }
.layers li.on i { background: var(--b2); opacity: 1; }
.c-gantt { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 16px; }
.g-row { display: grid; grid-template-columns: 46px 1fr; gap: 8px; align-items: center; font-size: 11.5px; flex: 1; max-height: 40px; }
.gbar { display: block; height: 14px; position: relative; }
.gbar::before { content: ""; position: absolute; inset-block: 0; right: calc(var(--s) * 100%); width: calc((var(--e) - var(--s)) * 100%); background: rgba(127,127,127,.15); border-radius: 4px; }
.gbar::after { content: ""; position: absolute; inset-block: 0; right: calc(var(--s) * 100%); width: calc((var(--e) - var(--s)) * var(--w, 0) * 1%); background: var(--b2); border-radius: 4px; transition: width 1.6s var(--ease); }
.today { position: absolute; top: 40px; bottom: 12px; right: calc(67px + (100% - 80px) * var(--x)); width: 2px; background: var(--b2); opacity: .7; }

/* insurance */
.funnel { display: grid; gap: 7px; }
.f-row { display: grid; grid-template-columns: 70px 1fr 34px; gap: 8px; align-items: center; font-size: 11.5px; }
.f-row i { display: block; height: 16px; border-radius: 4px; background: linear-gradient(to left, var(--b2), var(--b3)); width: 0; transition: width 1.6s var(--ease); }
.f-row .num { font: 700 12px var(--f-latin); text-align: left; }
.renew { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.renew li { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; padding: 7px 9px; border-radius: 7px; background: rgba(255,255,255,.05); }
.renew li:first-child { box-shadow: inset -3px 0 0 var(--b2); }
.cd { font: 700 11px var(--f-latin); color: var(--b2); direction: ltr; }

/* clinic */
.cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; height: calc(100% - 24px); }
.cal-day { position: relative; background: rgba(127,127,127,.06); border-radius: 7px; overflow: hidden; }
.cal-day > b { position: absolute; top: 5px; right: 7px; font: 700 10px var(--f-head); color: var(--mu); }
.appt { position: absolute; inset-inline: 4px; border-radius: 5px; font-size: 9.5px; line-height: 1.25; padding: 3px 5px; color: #fff; background: var(--b3); overflow: hidden; animation: apptIn .6s var(--ease); }
.appt.c2 { background: var(--b2); } .appt.c3 { background: var(--b1); } .appt.new { background: var(--b4); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--b4); }
@keyframes apptIn { from { transform: scale(.6); opacity: 0; } }
.chat-live { display: flex; flex-direction: column; gap: 6px; height: calc(100% - 24px); justify-content: flex-end; overflow: hidden; }
.chat-live .b { max-width: 85%; font-size: 11.5px; padding: 6px 9px; border-radius: 9px; animation: feedIn .5s var(--ease); }
.chat-live .b.in { align-self: flex-start; background: rgba(127,127,127,.12); }
.chat-live .b.out { align-self: flex-end; background: #DCF8C6; color: #1B3A1F; }
.chat-live .typing { align-self: flex-end; display: flex; gap: 3px; padding: 7px 9px; background: #DCF8C6; border-radius: 9px; }
.chat-live .typing i { width: 5px; height: 5px; border-radius: 50%; background: #3B7A44; animation: blink 1.2s infinite; }
.chat-live .typing i:nth-child(2) { animation-delay: .15s; } .chat-live .typing i:nth-child(3) { animation-delay: .3s; }

/* layouts */
.g-avra { grid-template-columns: repeat(4, 1fr); grid-template-rows: 84px 1.15fr 1fr; }
.g-avra .c-area { grid-column: 1 / 3; } .g-avra .c-map { grid-column: 3 / 5; }
.g-avra .c-kanban { grid-column: 1 / 4; } .g-avra .c-jobs { grid-column: 4; }
.g-cpa { grid-template-columns: 1.25fr 1fr 1fr 1fr; grid-template-rows: 84px 1fr 1fr; }
.g-cpa .c-drop { grid-column: 1; grid-row: 1 / 4; }
.g-cpa .c-clients { grid-column: 2 / 4; grid-row: 2; } .g-cpa .c-check { grid-column: 4; grid-row: 2 / 4; }
.g-cpa .c-heat { grid-column: 2 / 4; grid-row: 3; }
.g-arch { grid-template-columns: 2.2fr 1fr; grid-template-rows: 1fr 1fr 84px; }
.g-arch .c-3d { grid-column: 1; grid-row: 1 / 4; } .g-arch .c-layers { grid-column: 2; grid-row: 1; } .g-arch .c-gantt { grid-column: 2; grid-row: 2; }
.g-arch .kpi { grid-column: 2; grid-row: 3; } .g-arch .kpi + .kpi { display: none; }
.g-ins { grid-template-columns: repeat(4, 1fr); grid-template-rows: 84px 1fr 1fr; }
.g-ins .c-stack { grid-column: 1 / 3; grid-row: 2 / 4; } .g-ins .c-funnel { grid-column: 3 / 5; grid-row: 2; } .g-ins .c-renew { grid-column: 3 / 5; grid-row: 3; }
.g-clinic { grid-template-columns: repeat(3, 1fr); grid-template-rows: 84px 1.3fr .9fr; }
.g-clinic .c-cal { grid-column: 1 / 3; grid-row: 2; } .g-clinic .c-chat { grid-column: 3; grid-row: 2 / 4; } .g-clinic .c-area { grid-column: 1 / 3; grid-row: 3; }

/* toasts inside the screen */
.toasts { position: absolute; left: 14px; bottom: 14px; display: grid; gap: 6px; z-index: 3; pointer-events: none; }
.toast { font: 500 12px var(--f-head); background: var(--b1); color: #fff; padding: 9px 12px; border-radius: 8px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); border-inline-start: 3px solid var(--b2); animation: toastIn .5s var(--ease), toastOut .5s var(--ease) 3.2s forwards; }
@keyframes toastIn { from { transform: translateY(14px); opacity: 0; } }
@keyframes toastOut { to { transform: translateX(-20px); opacity: 0; } }

/* floating callouts around the screen (ClearPermit-style) */
.callouts { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.callout { position: absolute; width: 230px; background: rgba(255,255,255,.96); color: #1d1f22; border-radius: 10px; padding: 11px 13px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.callout b { display: block; font: 700 14px var(--f-head); margin: 3px 0 2px; color: var(--b2); }
.callout small { font-size: 12px; color: #555; line-height: 1.4; display: block; }
.callout .mono-cap { color: #8a8a8a; }
.callout.c1 { top: 22%; left: -28px; }
.callout.c2 { bottom: 10%; right: -24px; }
.shot.lit .callout.c1 { opacity: 1; transform: none; transition-delay: .4s; }
.shot.lit .callout.c2 { opacity: 1; transform: none; transition-delay: 1.1s; }

/* shared svg chart parts (drawn by mocks.js) */
.ln { fill: none; stroke: var(--b2); stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; transition: d 1.2s var(--ease); }
.ln.t { stroke: var(--mu); stroke-width: 1.4; stroke-dasharray: 4 5; }
.fill { transition: d 1.2s var(--ease); }
.grid-l { stroke: rgba(127,127,127,.14); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dot { fill: var(--b2); }
.dot-halo { fill: var(--b2); opacity: .25; animation: halo 1.6s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes halo { 0% { transform: scale(1); opacity: .35; } 100% { transform: scale(3); opacity: 0; } }
.bar-r { fill: var(--b2); transition: y 1s var(--ease), height 1s var(--ease); }
.bar-r.c2 { fill: var(--b3); } .bar-r.c3 { fill: var(--b4); }
.sp { fill: none; stroke: var(--b2); stroke-width: 2; vector-effect: non-scaling-stroke; transition: d 1s var(--ease); }
.kpi.hot .sp { stroke: var(--b1); }
.arc-bg { fill: none; stroke: rgba(127,127,127,.15); }
.arc { fill: none; stroke-linecap: round; transition: stroke-dasharray 1.6s var(--ease); }
.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.8s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes feedIn { from { opacity: 0; transform: translateY(-10px); } }

@media (max-width: 760px) {
  .systems { height: auto; }
  .sys-pin { position: relative; height: auto; padding-block: 64px; }
  .sys-track { flex-direction: column; transform: none !important; }
  .shot { width: 100%; }
  .app { grid-template-columns: 1fr; height: auto; }
  .side { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px; padding: 10px; }
  .side .brand { margin: 0; width: 100%; }
  .side i { font-size: 11px; padding: 5px 8px; }
  .dash { grid-template-columns: 1fr 1fr !important; grid-template-rows: none !important; grid-auto-rows: minmax(84px, auto); }
  .dash > * { grid-column: auto !important; grid-row: auto !important; }
  .dash .card { grid-column: 1 / -1 !important; min-height: 210px; }
  .dash .c-3d { min-height: 300px; }
  .kpi .num { font-size: 18px; }
  .spark, .kpi .ring.sm { display: none; }
  .sys-progress { display: none; }
  .side .grp, .side .me, .tabs, .date, .search { display: none; }
  .side i:not(.on) { display: none; }
  .kanban { grid-template-columns: repeat(2, 1fr); }
  .callout { position: relative; inset: auto !important; width: auto; margin-top: 10px; opacity: 1; transform: none; }
  .callouts { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .toasts { display: none; }
}

/* =========================================================
   FOUNDER / INDUSTRIES
   ========================================================= */
.founder-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .founder-grid { grid-template-columns: 1fr; } }
.portrait { position: relative; aspect-ratio: 4 / 5; background: var(--deep); overflow: hidden; display: grid; place-items: center; border-radius: var(--r); }
.portrait::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 70% 20%, rgba(210,255,0,.22), transparent 60%), repeating-linear-gradient(0deg, rgba(243,244,236,.035) 0 1px, transparent 1px 5px); }
.mono { position: relative; font: 500 clamp(120px, 16vw, 220px)/1 var(--f-serif); color: var(--cream); }
.sw.big { position: absolute; bottom: 24px; inset-inline-start: 24px; font-size: 44px; }
.sw.big::after { background: var(--deep); }
.signature { position: absolute; inset-inline: 10%; bottom: 20%; width: 80%; }
.signature path { fill: none; stroke: var(--lime); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2.4s var(--ease) .3s; }
.portrait.in .signature path { stroke-dashoffset: 0; }
.portrait-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.portrait.has-photo::before { display: none; }
.portrait.has-photo .signature { bottom: 6%; inset-inline: auto 8%; width: 46%; }
.story-text p { color: var(--ink-2); margin: 0 0 16px; max-width: 60ch; }
.quote { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; color: var(--ink); margin: 28px 0 0; max-width: 28ch; border-inline-start: 4px solid var(--lime); padding-inline-start: 18px; }

.ind-grid { list-style: none; margin: 0; padding: 0; max-width: 980px; border-bottom: 1px solid var(--hair); }
.ind-card { display: grid; grid-template-columns: 34px minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: baseline; gap: 6px 20px; padding: 16px 14px; border-top: 1px solid var(--hair); color: var(--ink); text-decoration: none; position: relative; isolation: isolate; }
.ind-card::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.ind-n { font: 700 12px var(--f-latin); color: var(--ink-2); transition: color .3s; }
.ind-name { font: 700 clamp(19px, 2vw, 28px)/1.15 var(--f-head); transition: color .3s, transform .5s var(--ease); }
.ind-card em { font-style: normal; font-size: 15px; line-height: 1.5; color: var(--ink-2); transition: color .3s; }
.ind-go { display: inline-flex; align-items: center; gap: 8px; font: 500 13px var(--f-head); color: var(--ink-2); white-space: nowrap; transition: color .3s; }
.ind-go .arr { font-family: var(--f-logo, var(--f-latin)); transition: transform .5s var(--ease); }
.ind-card:hover::before, .ind-card:focus-visible::before { transform: scaleY(1); }
.ind-card:hover .ind-name, .ind-card:focus-visible .ind-name { color: var(--cream); transform: translateX(-8px); }
.ind-card:hover .ind-n, .ind-card:hover .ind-go, .ind-card:focus-visible .ind-n, .ind-card:focus-visible .ind-go { color: var(--lime); }
.ind-card:hover em, .ind-card:focus-visible em { color: var(--muted); }
.ind-card:hover .arr, .ind-card:focus-visible .arr { transform: translateX(-6px); }
@media (max-width: 760px) { .ind-card { grid-template-columns: 28px minmax(0, 1fr) auto; padding: 14px 8px; gap: 2px 12px; } .ind-card em { grid-column: 2 / 3; grid-row: 2; font-size: 14px; } .ind-go { grid-column: 3; grid-row: 1 / 3; align-self: center; } .ind-go > :not(.arr) { display: none; } }
@media (prefers-reduced-motion: reduce) { .ind-card::before, .ind-name, .ind-go .arr { transition: none; } .ind-card:hover .ind-name { transform: none; } }

/* =========================================================
   CONTACT (dark, floods to lime)
   ========================================================= */
.contact { background: var(--deep); color: var(--cream); padding-block: clamp(64px, 8vw, 120px); transition: background .8s var(--ease), color .8s var(--ease); }
.contact .lead { color: #D9DDCD; }
.contact.lit { background: var(--lime); color: var(--ink); }
.contact.lit .lead { color: var(--ink); }
.contact.lit .strike-on-switch::after { background: var(--ink); }
.contact.lit .big-switch .track { background: var(--ink); box-shadow: none; }
.contact.lit .big-switch .knob { background: var(--lime); }
.contact.lit .big-switch .on-l { color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1fr minmax(340px, 520px); gap: clamp(36px, 6vw, 88px); align-items: start; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }

.lead-form { background: var(--cream); color: var(--ink); padding: clamp(20px, 2.6vw, 32px); display: grid; gap: 18px; border-radius: var(--r); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.fs { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.fs legend { font: 700 17px var(--f-head); padding: 0; margin-bottom: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.fs legend .hint { font: 400 13px var(--f-body); color: var(--ink-2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font: 500 14px var(--f-head); }
.req { color: inherit; }
.field input, .field textarea, .link-row input, .link-row select {
  font: 400 16px var(--f-body); color: var(--ink); background: #fff;
  border: 1px solid var(--hair); border-radius: var(--r); padding: 12px 14px; width: 100%;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field input:focus, .field textarea:focus, .link-row input:focus, .link-row select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(210,255,0,.6); }
[aria-invalid="true"] { border-color: #B23A1E !important; }

.links { display: grid; gap: 8px; }
.link-row { display: grid; grid-template-columns: 128px 1fr 40px; gap: 8px; align-items: stretch; animation: rowIn .45s var(--ease); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-6px); } }
.link-row select { padding-inline: 10px; cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: 14px 52%, 9px 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.link-row input { font-family: var(--f-latin); font-size: 15px; }
.link-del { border: 1px solid var(--hair); background: transparent; border-radius: var(--r); font-size: 20px; color: var(--ink-2); cursor: pointer; }
.link-del:hover { background: var(--ink); color: var(--lime); }
.link-row:last-child .link-del { visibility: hidden; }
.link-row.typed .link-type { border-color: var(--lime); }
@media (max-width: 520px) { .link-row { grid-template-columns: 1fr 40px; } .link-row select { grid-column: 1 / -1; } .link-row .link-del { grid-row: 2; grid-column: 2; } .link-row:last-child .link-url { grid-column: 1 / -1; } .link-row:last-child .link-del { display: none; } }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--ink); flex: none; }
.form-msg { margin: 0; font-size: 15px; min-height: 1.4em; }
.form-msg.ok { color: var(--ink); font-weight: 700; }
.form-msg.err { color: #B23A1E; }

/* ---------- footer ---------- */
.footer { background: #0E120B; color: var(--cream); padding: 40px 0; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-line { font: 500 22px var(--f-serif); color: var(--lime); margin: 0; }
.copy { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- story fallback ---------- */
.story.static { height: auto; }
.story.static .stage { position: relative; height: auto; min-height: 100svh; display: flex; align-items: center; background: radial-gradient(60% 60% at 25% 50%, rgba(210,255,0,.16), transparent 60%), var(--deep); }
.story.static .beat { display: none; }
.story.static .beat-3 { display: block; position: relative; inset: auto; transform: none; opacity: 1; filter: none; padding: calc(var(--nav-h) + 40px) var(--gutter) 80px; pointer-events: auto; }
.story.static .progress, .story.static .warp { display: none; }

@media (max-width: 700px) {
  body { font-size: 17px; }
  .vignette { background: radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(8,10,6,.6) 100%), linear-gradient(to top, rgba(22,28,18,.92) 0%, rgba(22,28,18,0) 60%); }
  .beat { top: auto; bottom: 64px; transform: none; }
  .beat:not(.show) { transform: translateY(30px); }
  .hero-actions { gap: 20px; }
  .nav-cta { padding: 10px 12px; font-size: 14px; }
}

/* =========================================================
   DOCK (always available) + MENU
   ========================================================= */
.dock {
  position: fixed; z-index: 60; bottom: 18px; left: 50%; transform: translateX(-50%) translateY(0);
  display: flex; align-items: stretch; gap: 4px; padding: 5px;
  background: rgba(22, 28, 18, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(243,244,236,.12); border-radius: 10px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
  transition: transform .6s var(--ease), opacity .4s;
}
.dock.away { transform: translateX(-50%) translateY(140%); opacity: 0; }
.dock-btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font: 700 14px var(--f-head); color: var(--cream); background: transparent; border: 0; cursor: pointer;
  padding: 11px 14px; border-radius: 6px; text-decoration: none; transition: background .25s, color .25s;
}
.dock-btn:hover { background: rgba(243,244,236,.1); }
.dock-cta { background: var(--lime); color: var(--ink); }
.dock-cta:hover { background: #E4FF55; }
.dock-meet { box-shadow: inset 0 0 0 1px rgba(210,255,0,.5); color: var(--lime); }
.dock-top { font: 700 16px var(--f-latin); padding-inline: 13px; }
.burger { display: inline-grid; gap: 4px; width: 16px; }
.burger i { display: block; height: 2px; background: currentColor; }
@media (max-width: 640px) {
  .dock { left: 8px; right: 8px; bottom: 8px; transform: none; justify-content: space-between; }
  .dock.away { transform: translateY(140%); }
  .dock-btn { padding: 11px 9px; font-size: 13px; }
  .dock-menu { font-size: 0; gap: 0; } .dock-menu .burger { width: 18px; }
}

/* menu: a compact card that rises from the dock, one screen, no scrolling (layout from the landing pages) */
.menu { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); background: rgba(14, 18, 11, .5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.menu[hidden] { display: none; }
.menu.open { opacity: 1; }
.menu-panel { width: min(380px, 100%); max-height: 100%; display: flex; flex-direction: column; padding: 10px 14px 14px; background: #FBFBF7; color: var(--ink); border: 1px solid var(--hair); border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); transform: translateY(24px) scale(.98); transform-origin: bottom center; transition: transform .45s var(--ease); }
.menu.open .menu-panel { transform: none; }
.mn-head { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding-inline: 8px 0; font: 700 17px/1 var(--f-head); }
.mn-close { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 0; border-radius: 8px; background: var(--sage-2); color: var(--ink); cursor: pointer; transition: background .25s; }
.mn-close:hover { background: var(--lime); }
.mn-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.mn-list { list-style: none; margin: 6px 0 12px; padding: 0; }
.mn-list li { opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 30ms); }
.menu.open .mn-list li { opacity: 1; transform: none; }
.mn-list a { position: relative; display: flex; align-items: center; gap: 14px; min-height: clamp(36px, 5.4vh, 46px); padding: 4px 10px; border-radius: 8px; text-decoration: none; font: 500 17px/1.25 var(--f-head); transition: background .25s; }
.mn-list a:hover { background: var(--sage-2); }
.mn-n { font: 700 12px/1 var(--f-latin); color: var(--ink-2); min-width: 22px; direction: ltr; font-variant-numeric: tabular-nums; }
.mn-list a[aria-current="true"] { background: var(--sage-2); font-weight: 700; }
.mn-list a[aria-current="true"]::before { content: ""; position: absolute; inset-block: 8px; inset-inline-start: 0; width: 4px; border-radius: 2px; background: var(--lime); box-shadow: 0 0 0 1px rgba(28,36,23,.15); }
.mn-list a[aria-current="true"] .mn-n { color: var(--ink); background: var(--lime); padding: 3px 5px; border-radius: 2px; min-width: 0; }
.mn-ctas { display: grid; gap: 8px; }
.mn-ctas .btn { width: 100%; padding: 14px 18px; font-size: 16px; }
.mn-sec { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.mn-sec:hover { background: var(--ink); color: var(--lime); }
@media (max-height: 600px) { .mn-ctas { grid-template-columns: 1fr 1fr; } .mn-ctas .btn { padding: 11px 10px; font-size: 14px; } .mn-list { margin-bottom: 8px; } }
@media (prefers-reduced-motion: reduce) { .menu, .menu-panel, .mn-list li { transition: none; } }
.btn-ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(243,244,236,.35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--lime); color: var(--lime); }
body.menu-open { overflow: hidden; }

/* request type (spec / meeting) */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; height: 100%; padding: 12px 14px; border: 1px solid var(--hair); border-radius: var(--r); background: #fff; font: 700 15px var(--f-head); transition: border-color .25s, background .25s, box-shadow .25s; }
.seg small { display: block; font: 400 12px/1.4 var(--f-body); color: var(--ink-2); margin-top: 4px; }
.seg input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--lime); }
.seg input:checked + span small { color: var(--muted); }
.seg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (max-width: 520px) { .seg { grid-template-columns: 1fr; } }


/* ---------- small / display-zoomed phones: nothing wraps into the next thing ---------- */
.nav-cta, .logo { white-space: nowrap; }
@media (max-width: 700px) and (max-height: 600px) {
  .beat { bottom: 70px; }
  .beat-0 .display { font-size: clamp(32px, 10.5vw, 42px); }
  .hero-final { font-size: clamp(40px, 13.5vw, 54px); }
  .beat .lead { font-size: 16px; line-height: 1.45; margin: 12px 0 16px; }
  .beat .kicker { margin-bottom: 8px; }
  .scroll-hint { margin-top: 16px; }
  .hero-actions { gap: 14px; }
  .big-switch .track { width: 76px; height: 42px; } .big-switch .knob { width: 30px; height: 30px; } .big-switch[aria-checked="true"] .knob { transform: translateX(34px); }
}
@media (max-width: 340px) {
  .logo { font-size: 19px; } .nav-cta { padding: 9px 9px; font-size: 13px; }
  .dock { gap: 2px; padding: 4px; } .dock-btn:not(.dock-menu) { padding: 10px 6px; font-size: 12px; gap: 5px; } .dock-menu { padding-inline: 8px; } .dock-top { display: none; }
}

/* =========================================================
   SYSTEMS on phones: one system per screen, swiped sideways (scroll-snap), with arrows and dots.
   Each slide keeps its brand row, four numbers, one live card and the live notifications.
   ========================================================= */
@media (max-width: 760px) {
  #systems .sys-pin { padding-block: 40px 28px; gap: 12px; }
  #systems .sys-head .display-md { font-size: 30px; margin-bottom: 4px; }
  #systems .sys-head .sec-head { margin-bottom: 8px; }
  #systems .sys-note { font-size: 12.5px; }
  #systems .sys-track { flex-direction: row; gap: 12px; padding-inline: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  #systems .sys-track::-webkit-scrollbar { display: none; }
  #systems .shot { width: calc(100vw - 44px); flex: none; scroll-snap-align: center; scroll-snap-stop: always; display: flex; flex-direction: column; height: clamp(380px, calc(100svh - 244px), 600px); }
  #systems .shot-meta { margin-bottom: 8px; gap: 4px 10px; }
  #systems .shot-meta .mono-cap { font-size: 10.5px; letter-spacing: .04em; flex-basis: 100%; order: 3; }
  #systems .shot-ind { font-size: 15px; } #systems .shot-real { font-size: 11px; padding: 3px 7px; }
  #systems .screen { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  #systems .screen .bar { padding: 7px 10px; } #systems .screen .bar span { font-size: 10px; padding: 2px 8px; }
  #systems .app { flex: 1; min-height: 0; height: auto; display: flex; flex-direction: column; overflow: hidden; }
  #systems .side { flex: none; padding: 8px 10px; }
  #systems .side .brand { width: auto; } #systems .side i { display: none; }
  #systems .top { display: none; }
  #systems .main { flex: 1; min-height: 0; }
  #systems .dash { flex: 1; min-height: 0; padding: 10px; gap: 8px; grid-template-columns: 1fr 1fr !important; grid-template-rows: auto auto minmax(0, 1fr) !important; grid-auto-rows: 0 !important; }
  #systems .dash > .card { display: none; }
  #systems .dash > .card.m-pick { display: block; grid-column: 1 / -1 !important; grid-row: auto !important; min-height: 0 !important; height: 100%; overflow: hidden; }
  #systems .dash > .kpi ~ .kpi ~ .kpi { display: none; }
  #systems .dash > .kpi { order: 1; } #systems .dash > .card.m-pick { order: 2; }
  #systems .dash { grid-template-rows: auto minmax(0, 1fr) !important; }
  #systems .dash .kpi { padding: 8px 10px; min-height: 0; }
  #systems .dash .kpi .num { font-size: 17px; } #systems .dash .kpi em { font-size: 10.5px; }
  #systems .toasts { display: grid; left: 10px; right: 10px; bottom: 10px; }
  #systems .toast { font-size: 12px; }
  #systems .callouts { display: none; }
  #systems .sys-progress { display: none; }
  .sys-pager { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 2px 16px 0; }
  .sys-dots { display: flex; gap: 7px; } .sys-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(243,244,236,.28); transition: background .3s, width .3s; }
  .sys-dots i.on { width: 22px; border-radius: 4px; background: var(--lime); }
  .sys-arrow { position: absolute; top: 50%; z-index: 6; width: 46px; height: 46px; margin-top: -23px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
    color: var(--cream); background: rgba(22, 28, 18, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1.5px rgba(243,244,236,.55), 0 10px 22px -10px rgba(0,0,0,.7); transition: opacity .3s, visibility 0s; -webkit-tap-highlight-color: transparent; }
  .sys-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
  .sys-arrow.prev { right: 6px; } .sys-arrow.next { left: 6px; color: var(--ink); background: rgba(210, 255, 0, .72); box-shadow: inset 0 0 0 1.5px var(--lime), 0 10px 22px -10px rgba(0,0,0,.7); animation: sysHop 2.4s cubic-bezier(.34, 1.56, .64, 1) infinite; }
  .sys-arrow.next.hint { animation-duration: 1.3s; }
  .sys-arrow:disabled { opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; animation: none; }
  .sys-stage { position: relative; }
  @keyframes sysHop { 0%, 55%, 100% { transform: none; } 70% { transform: translateX(-9px) scale(1.08); } 84% { transform: translateX(2px); } }
}
@media (min-width: 761px) { .sys-pager, .sys-arrow { display: none; } }
@media (prefers-reduced-motion: reduce) { .sys-arrow.next { animation: none; } }
