:root {
  --navy: #0C2F52;
  --blue: #4472C4;
  --btn: #0C4F8E;
  --accent: #F0A202;
  --bg: #F4F7FB;
  --text: #4E6A88;
  --line: #DCE5F0;
  --card: #fff;
}
@media (prefers-color-scheme: dark) {
  :root { --navy: #EAF1FA; --bg: #0B1624; --text: #9DB3CC; --line: #1F3350; --card: #11233A; --btn: #4472C4; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 "Open Sans", "Segoe UI", Arial, sans-serif; }
h1, h2, h3, .brand { font-family: Poppins, "Segoe UI", Arial, sans-serif; color: var(--navy); margin: 0; }
a { color: var(--accent); }

.nav { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; text-decoration: none; color: var(--navy); }
.brand span { color: var(--accent); }
.nav nav a { margin-left: 20px; text-decoration: none; color: var(--text); font-size: 14px; }
.nav nav a:hover { color: var(--navy); }

main > section { padding: 72px 24px; max-width: 1120px; margin: 0 auto; }
.alt { background: var(--card); max-width: none !important; }
.alt > * { max-width: 1072px; margin-left: auto; margin-right: auto; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 24px; font-weight: 600; color: var(--accent); margin: 0 0 12px; }

h2 { font-size: 36px; line-height: 1.2; max-width: 22em; }
.sub { max-width: 40em; margin: 16px 0 0; }
.btn { display: inline-block; background: var(--btn); color: #fff; text-decoration: none; padding: 12px 26px; border-radius: 999px; font-weight: 600; }
.btn:hover { filter: brightness(1.1); }

.lens-layout { display: grid; grid-template-columns: 300px 1fr; gap: 32px; margin-top: 40px; align-items: start; }
.questions { display: flex; flex-direction: column; gap: 8px; }
.questions h3 { font-size: 16px; margin-bottom: 8px; }
.q { text-align: left; font: inherit; font-size: 14px; color: var(--text); background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; cursor: pointer; transition: .2s; }
.q:hover { border-color: var(--blue); }
.q.on { border-color: var(--accent); color: var(--navy); box-shadow: inset 3px 0 0 var(--accent); }

.lens-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.lens { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--lens, var(--line)); border-radius: 12px; padding: 20px; transition: .25s; }
.lens .num { font: 600 12px Poppins, sans-serif; color: var(--lens, var(--accent)); }
.lens h3 { font-size: 20px; margin: 6px 0 2px; }
.lens small { display: block; color: var(--lens, var(--blue)); font-weight: 600; margin-bottom: 8px; }
.lens p { margin: 0 0 14px; font-size: 14px; }
.go { font-size: 13px; font-weight: 600; text-decoration: none; color: var(--lens, var(--accent)); }
.go.soon { color: var(--text); opacity: .6; cursor: default; }
.lens-grid.focus .lens { opacity: .35; transform: scale(.98); }
.lens-grid.focus .lens.on { opacity: 1; transform: none; border-color: var(--lens, var(--accent)); box-shadow: 0 8px 28px color-mix(in srgb, var(--lens, var(--accent)) 35%, transparent); }
.hint { font-size: 13px; margin-top: 24px; opacity: .8; }

.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-top: 32px; }
.formats article { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: var(--bg); }
.formats h3 { font-size: 17px; margin-bottom: 6px; }
.formats p { margin: 0; font-size: 14px; }

footer { text-align: center; padding: 32px 24px; font-size: 13px; border-top: 1px solid var(--line); }

@media (max-width: 800px) {
  .lens-layout { grid-template-columns: 1fr; }
  main > section { padding: 48px 16px; }
}

/* Hero: DDK navy-to-blue band, amber accent (BRD base palette) */
main > section.hero { max-width: none; padding: 0; color: #fff;
  background: radial-gradient(900px 500px at 85% 20%, rgba(111,163,217,.28), transparent 60%),
              linear-gradient(135deg, #07182b 0%, #0C2F52 45%, #0C4F8E 100%); }
.hero-inner { max-width: 1180px; margin: 0 auto; padding: 72px 24px 40px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 54px); line-height: 1.15; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .eyebrow { color: var(--accent); }
.lede { font-size: 18px; max-width: 34em; margin: 20px 0 32px; color: #D3E0EF; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-amber { background: var(--accent); color: #0C2F52; }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn:focus-visible, .orb:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.flow { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 0; padding: 0; margin: 36px 0 0; font: 600 13px Poppins, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #B8C7D9; }
.flow li + li::before { content: "→"; margin: 0 12px; color: var(--accent); }

.hero-visual { display: flex; flex-direction: column; align-items: center; }
.orbit { position: relative; width: min(100%, 540px); aspect-ratio: 1; touch-action: pan-y; cursor: grab; user-select: none; }
.orbit:active { cursor: grabbing; }
.orbit::before { content: ""; position: absolute; inset: 13%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.3); }
.orbit-core { position: absolute; inset: 28%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6%;
  background: rgba(7,24,43,.55); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(4px); }
.orbit-core small { font: 600 10px Poppins, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.orbit-core strong { font: 700 clamp(22px, 3.4vw, 32px) Poppins, sans-serif; margin: 2px 0 6px; }
.orbit-core p { margin: 0 0 8px; font-size: 13px; line-height: 1.4; color: #D3E0EF; }
.orbit-core a { font-size: 12px; font-weight: 600; color: var(--accent); text-decoration: none; }
.orbit-core a:hover { text-decoration: underline; }
.orb { position: absolute; width: 26%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; padding: 0; font: inherit; cursor: pointer;
  color: #fff; background: var(--lens); border: 2px solid rgba(255,255,255,.55); box-shadow: 0 10px 28px rgba(0,0,0,.28); will-change: transform, left, top; }
.orb.top { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(240,162,2,.35), 0 12px 32px rgba(0,0,0,.35); }
.orb:hover { border-color: var(--accent); }
.orb span { font: 600 12px Poppins, sans-serif; opacity: .8; }
.orb b { font: 600 clamp(12px, 1.8vw, 17px) Poppins, sans-serif; }
.orb:nth-of-type(6) b, .orb:nth-of-type(6) span { color: #0C2F52; }
.orbit-ctrl { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 20px; }
.spin { border: 0; cursor: pointer; font: 600 15px "Open Sans", sans-serif; padding: 10px 22px; }
.spin span:first-child { display: inline-block; font-size: 18px; vertical-align: -1px; }
.spin:active span:first-child { transform: rotate(180deg); transition: transform .3s; }
.orbit-cap { margin: 0; font-size: 13px; color: #B8C7D9; text-align: center; }

.stats { list-style: none; max-width: 1180px; margin: 0 auto; padding: 0 24px 40px; display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 14px; color: #D3E0EF; }
.stats strong { font: 700 28px Poppins, sans-serif; color: var(--accent); margin-right: 6px; vertical-align: -2px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .orb { transition: none; } }
@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 16px 32px; gap: 32px; }
  .stats { padding: 0 16px 32px; }
}

/* Language toggle */
.nav nav { display: flex; align-items: center; }
.lang { display: inline-flex; margin-left: 20px; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--card); }
.lang button { border: 0; background: transparent; color: var(--text); font: 600 12px Poppins, sans-serif; padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--btn); color: #fff; }
.lang button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 800px) { .nav nav a:not(:last-child) { display: none; } .lang { margin-left: 0; } }

/* Click simulation on wheel circles */
.orb.pressed { animation: pop .55s cubic-bezier(.2,.8,.3,1.2); }
@keyframes pop { 0% { scale: 1; } 25% { scale: .82; filter: brightness(1.35); } 60% { scale: 1.12; } 100% { scale: 1; } }
.ripple { position: absolute; inset: -2px; border-radius: 50%; border: 3px solid var(--accent); pointer-events: none; animation: ripple .8s ease-out forwards; }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
.lens.ping { animation: ping 1.4s ease-out; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(240,162,2,.7); } 100% { box-shadow: 0 0 0 26px rgba(240,162,2,0); } }
@media (prefers-reduced-motion: reduce) { .orb.pressed, .ripple, .lens.ping { animation: none; } }

/* Section bands: dark top (nav + hero), light, dark blue, light, dark footer */
.nav { --navy: #fff; --text: #D3E0EF; --card: rgba(255,255,255,.08); --line: rgba(255,255,255,.18);
  background: rgba(7,24,43,.92); border-bottom-color: rgba(255,255,255,.12); }
.nav .lang button[aria-pressed="true"] { background: var(--accent); color: #0C2F52; }
.nav nav a:hover { color: #fff; }
.band-dark { --navy: #fff; --text: #D3E0EF; --card: rgba(255,255,255,.08); --line: rgba(255,255,255,.2); --bg: rgba(255,255,255,.06);
  color: var(--text); background: radial-gradient(800px 400px at 10% 0%, rgba(111,163,217,.22), transparent 60%), linear-gradient(135deg, #0C2F52 0%, #0C4F8E 100%); }
.band-dark .formats article { backdrop-filter: blur(2px); }
footer { background: #07182b; color: #B8C7D9; border-top: 0; }
.alt > .eyebrow { margin: 0 auto 12px; }

/* live lenses link out to their own subdomain */
.lens.live { cursor: pointer; }
.lens.live:hover { border-color: var(--lens); box-shadow: 0 8px 24px color-mix(in srgb, var(--lens) 30%, transparent); }
.lens.live .go { text-decoration: underline; }
.orb.live::after { content: ""; position: absolute; top: 6%; right: 6%; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; box-shadow: 0 0 0 3px rgba(240,162,2,.35); }

/* Hero photo: people image behind the headline and the lens wheel (assets/hero-people.jpg).
   Applied only once the file loads (see lenses.js), so the hero is unchanged without it. */
main > section.hero.has-photo {
  background:
    linear-gradient(90deg, #07182b 0%, rgba(7,24,43,.94) 28%, rgba(7,24,43,.6) 52%, rgba(7,24,43,.18) 100%),
    linear-gradient(0deg, #07182b 0%, rgba(7,24,43,0) 24%),
    linear-gradient(135deg, rgba(12,79,142,.38), rgba(7,24,43,.15)),
    url("hero-people.jpg") 80% center / cover no-repeat,
    #07182b;
}
.hero.has-photo .orbit { filter: drop-shadow(0 0 36px rgba(28,111,184,.45)); }
.hero.has-photo .orb { background: color-mix(in srgb, var(--lens) 62%, transparent); backdrop-filter: blur(2px); border-color: rgba(255,255,255,.5); }
.hero.has-photo .orb.top { border-color: var(--accent); }
.hero.has-photo .orbit::before { border-color: rgba(255,255,255,.4); box-shadow: 0 0 40px rgba(111,163,217,.25); }
.hero.has-photo .orbit-core { background: rgba(7,24,43,.34); backdrop-filter: blur(2px); border-color: rgba(255,255,255,.3); text-shadow: 0 1px 10px rgba(7,24,43,.9); }
.hero.has-photo .orb b, .hero.has-photo .orb span { text-shadow: 0 1px 8px rgba(7,24,43,.8); }
.hero.has-photo h1, .hero.has-photo .lede { text-shadow: 0 2px 18px rgba(7,24,43,.7); }
@media (max-width: 800px) {
  main > section.hero.has-photo {
    background:
      linear-gradient(180deg, rgba(7,24,43,.88) 0%, rgba(7,24,43,.72) 55%, #07182b 100%),
      linear-gradient(135deg, rgba(12,79,142,.38), rgba(7,24,43,.15)),
      url("hero-people.jpg") 72% center / cover no-repeat,
      #07182b;
  }
}
.hero.has-photo .orb:nth-of-type(6) { background: color-mix(in srgb, var(--lens) 88%, transparent); text-shadow: none; }

/* DeKa Jarvis (public demo) + DeKa Bots */
.jarvis { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 32px; margin-top: 32px; align-items: stretch; }
.holo { position: relative; width: 100%; align-self: start; aspect-ratio: 1; border-radius: 16px; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 45%, #0f5f9e 0%, #0a3a66 55%, #07182b 100%); border: 1px solid var(--line); box-shadow: 0 16px 48px rgba(7,24,43,.25); }
.holo canvas { width: 100%; height: 100%; display: block; }
.holo-status { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font: 600 11px Poppins, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #bae6fd; }
.chat { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.log { flex: 1; min-height: 220px; max-height: 340px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.msg { margin: 0; padding: 10px 14px; border-radius: 12px; font-size: 15px; max-width: 92%; overflow-wrap: anywhere; }
.msg.bot { background: color-mix(in srgb, var(--blue) 12%, var(--card)); color: var(--navy); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--btn); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 13px; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: .2s; }
.chip:hover { border-color: var(--accent); color: var(--navy); }
#jarvis-form { display: flex; gap: 8px; flex-wrap: wrap; }
#jarvis-input { flex: 1 1 200px; min-width: 0; font: inherit; font-size: 15px; color: var(--navy); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 11px 18px; }
#jarvis-input:focus-visible, .chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#jarvis-form .btn { border: 0; cursor: pointer; font-family: inherit; font-size: 15px; }
.btn-ghost-dark { background: transparent; color: var(--text); border: 1.5px solid var(--line) !important; }
.btn-ghost-dark[aria-pressed="true"] { background: var(--accent); color: #0C2F52; border-color: var(--accent) !important; }

.bots-stats { padding: 24px 0 0 !important; margin: 0 !important; }
.zones { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 20px 0 32px; }
.zones li { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 6px 16px; font-size: 14px; color: #fff; }
.zones b { color: var(--accent); margin-left: 6px; }
@media (max-width: 800px) { .jarvis { grid-template-columns: 1fr; } .holo { max-width: 420px; } }
.btn-mic { background: var(--accent) !important; color: #0C2F52 !important; }
.btn-mic[aria-pressed="true"] { background: #d64545 !important; color: #fff !important; animation: micpulse 1.2s ease-in-out infinite; }
@keyframes micpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(214,69,69,.5); } 50% { box-shadow: 0 0 0 10px rgba(214,69,69,0); } }
.msg.sys { align-self: center; background: transparent; color: var(--text); font-size: 13px; font-style: italic; text-align: center; }
@media (prefers-reduced-motion: reduce) { .btn-mic[aria-pressed="true"] { animation: none; } }

/* ---- Section backgrounds: About white, DeKa Jarvis navy (high-contrast text), DeKa Bots white ---- */
.band-dark .msg.user { background: var(--accent); color: #0C2F52; }
.band-dark #jarvis-form .btn:not(.btn-mic):not(.btn-ghost-dark) { background: #fff; color: #0C2F52; }
.band-dark #jarvis-input { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff; }
.band-dark #jarvis-input::placeholder { color: #B8C7D9; opacity: 1; }
.band-dark .chip { color: #E6EEF8; border-color: rgba(255,255,255,.35); }
.band-dark .chip:hover { border-color: var(--accent); color: #fff; }
.band-dark .sub, .band-dark .hint { color: #D3E0EF; opacity: 1; }
.band-dark .btn-ghost-dark { color: #fff; border-color: rgba(255,255,255,.55) !important; }
.band-dark .msg.bot { background: rgba(255,255,255,.14); color: #fff; }
.band-dark .msg.sys { color: #D3E0EF; }
.bots-stats { color: var(--text); }
.bots-stats strong { color: var(--btn); }
.btn-ghost-light { background: transparent; color: var(--btn); border: 1.5px solid var(--btn); }
.btn-ghost-light:hover { background: color-mix(in srgb, var(--btn) 10%, transparent); }
#dekabot .cta { margin-top: 28px; }

/* ---- DeKa Bots carousel ---- */
.alt > .bcar-wrap { max-width: none; margin: 28px -24px 0; }
.bcar-intro { margin: 18px 0 0; max-width: 40em; }
.bchips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 0 auto 26px; padding: 0 24px; }
.bchip { font: 500 13px Poppins, sans-serif; color: var(--navy); background: var(--card); border: 1px solid var(--line); padding: 8px 16px; border-radius: 99px; cursor: pointer; transition: .15s; }
.bchip:hover { border-color: #6FA3D9; }
.bchip.on { background: var(--btn); border-color: var(--btn); color: #fff; }
.bcar { position: relative; height: 350px; overflow: hidden; cursor: grab; touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.bcar.drag { cursor: grabbing; }
.bc { position: absolute; left: 0; top: 14px; width: 260px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); overflow: hidden;
  box-shadow: 0 10px 28px rgba(12,79,142,.12); will-change: transform; user-select: none; -webkit-user-select: none; }
.bc:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.bc .im { height: 150px; overflow: hidden; background: var(--bg); }
.bc img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; transition: transform .5s; }
.bc:hover img { transform: scale(1.08); }
.bc .tx { padding: 14px 16px 18px; }
.bc small, .bz { display: inline-block; font: 600 11px Poppins, sans-serif; color: var(--btn); background: color-mix(in srgb, var(--btn) 10%, var(--card)); padding: 3px 10px; border-radius: 99px; margin-bottom: 8px; }
.bc h3 { font-size: 17px; }
.bc p { margin: 6px 0 0; font-size: 14px; color: var(--text); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bnav { display: flex; justify-content: center; gap: 10px; margin-top: 18px; align-items: center; }
.bar { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--navy); font-size: 18px; cursor: pointer; }
.bar:hover { background: var(--btn); color: #fff; border-color: var(--btn); }
.bar:focus-visible, .bchip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.bhint { font-size: 13px; color: var(--text); }
.bmd { position: fixed; inset: 0; z-index: 50; background: rgba(5,18,32,.6); display: flex; align-items: center; justify-content: center; padding: 20px; animation: bfade .2s; }
.bmd[hidden] { display: none; }
@keyframes bfade { from { opacity: 0; } to { opacity: 1; } }
.bdlg { background: var(--card); color: var(--text); border-radius: 24px; max-width: 760px; width: 100%; max-height: 92vh; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; animation: bup .25s; }
@keyframes bup { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.bdlg .pic { background: var(--bg); display: flex; align-items: center; }
.bdlg .pic img { width: 100%; display: block; }
.bdlg .in { padding: 28px; position: relative; }
.bdlg h3 { font-size: 26px; margin: 6px 0 10px; }
.bdlg p { margin: 0 0 12px; }
.bdlg ul { padding-left: 20px; margin: 0 0 20px; }
.bdlg li { margin: 5px 0; }
.bx { position: absolute; right: 14px; top: 12px; border: 0; background: var(--bg); color: var(--navy); width: 34px; height: 34px; border-radius: 50%; font-size: 20px; cursor: pointer; }
@media (max-width: 800px) {
  .alt > .bcar-wrap { margin-left: -16px; margin-right: -16px; }
  .bdlg { grid-template-columns: 1fr; }
  .bdlg .pic { max-height: 220px; overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .bmd, .bdlg { animation: none; } .bc img { transition: none; } }

/* Intro paragraph inside a full-bleed band: keep the readable 40em measure and line its left edge up with the centred
   1072px column (the heading above it). Never size it with a percentage padding: that percentage is taken from the
   whole section, so the text column shrinks as the window grows. */
.alt > .sub { max-width: 40em; margin: 16px 0 0 max(0px, calc((100% - 1072px) / 2)); }

/* Web sources under a Jarvis answer */
.msg .srcs { display: block; margin-top: 8px; padding-top: 6px; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); font-size: 12px; line-height: 1.5; opacity: .92; }
.msg .srcs a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.msg .srcs a:hover { color: var(--accent); }

/* About: larger type + PINTAR framework */
.about .about-title { font-size: clamp(32px, 5vw, 50px); line-height: 1.15; max-width: 20em; margin-left: max(0px, calc((100% - 1072px) / 2)); }
.about .about-sub { font-size: clamp(18px, 2vw, 22px); }
.pintar { margin-top: 56px; }
.pintar-h { font-size: clamp(26px, 3.6vw, 38px); }
.pintar-h span { color: var(--accent); }
.pintar-lead { font-size: 18px; max-width: 42em; margin: 12px 0 28px; color: var(--muted, #3F5873); }
.pintar-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pg { border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.pg-ctx { background: #F4F7FB; }
.pg-cnt { background: #0C2F52; color: #fff; border-color: #0C2F52; }
.pg-tag { font: 600 24px Poppins, sans-serif; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; color: #0C4F8E; }
.pg-cnt .pg-tag { color: var(--accent); }
.pl { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pl li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; }
.pl b { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 20px Poppins, sans-serif; background: #0C2F52; color: #fff; }
.pg-cnt .pl b { background: var(--accent); color: #0C2F52; }
.pw { font: 600 18px Poppins, sans-serif; }
.pd { font-size: 16px; line-height: 1.5; opacity: .9; }
.pintar-key { margin: 24px 0 0; padding: 20px 24px; border-left: 5px solid var(--accent); background: #FFF8E6; font-size: clamp(18px, 2vw, 22px); color: #0C2F52; border-radius: 0 12px 12px 0; }
.pintar-key strong { font-family: Poppins, sans-serif; display: block; }
@media (max-width: 760px) { .pintar-groups { grid-template-columns: 1fr; } .pintar { margin-top: 40px; } }

/* DeKaVis: stop / interrupt button (visible while thinking or speaking) */
.btn-stop { border: 0; cursor: pointer; font-family: inherit; font-size: 15px; background: #E5484D; color: #fff; }
.btn-stop:hover { background: #cf3a3f; }
.btn-stop[hidden] { display: none; }
#jarvis-orb { cursor: pointer; }

/* Lens card icon tile */
.lens .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; color: var(--ic); background: color-mix(in srgb, var(--ic) 14%, var(--card)); }
.lens .ic svg { width: 22px; height: 22px; }
.lens small { text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }

/* Question -> route: START HERE lens + THEN lenses, everything else dims */
.lens { position: relative; }
.lens .tag { position: absolute; top: 12px; right: 12px; display: none; font: 700 10px Poppins, sans-serif; letter-spacing: .08em; padding: 4px 9px; border-radius: 999px; background: var(--accent); color: #1a1200; white-space: nowrap; }
.lens-grid.focus .lens.primary .tag, .lens-grid.focus .lens.secondary .tag { display: block; }
.lens-grid.focus .lens.secondary .tag { background: color-mix(in srgb, var(--lens) 14%, var(--card)); color: var(--navy); }
.lens-grid.focus .lens { opacity: .3; transform: scale(.98); }
.lens-grid.focus .lens.secondary { opacity: 1; transform: none; border-color: color-mix(in srgb, var(--lens) 55%, var(--line)); }
.lens-grid.focus .lens.primary { opacity: 1; transform: translateY(-4px); border-color: var(--lens); box-shadow: 0 12px 30px color-mix(in srgb, var(--lens) 32%, transparent); }
.lens.pop.primary { animation: lensStart .7s cubic-bezier(.2,.8,.2,1) both; }
.lens.pop.primary .tag { animation: tagPop .45s .15s cubic-bezier(.3,1.6,.5,1) both; }
.lens.pop.secondary { animation: lensThen .55s var(--d, 260ms) cubic-bezier(.2,.8,.2,1) both; }
.lens.pop.secondary .tag { animation: tagPop .4s calc(var(--d, 260ms) + .15s) cubic-bezier(.3,1.6,.5,1) both; }
@keyframes lensStart { 0% { transform: scale(.96); box-shadow: 0 0 0 0 color-mix(in srgb, var(--lens) 55%, transparent); } 55% { transform: translateY(-8px) scale(1.03); box-shadow: 0 0 0 14px color-mix(in srgb, var(--lens) 0%, transparent); } 100% { transform: translateY(-4px); } }
@keyframes lensThen { 0% { opacity: .3; transform: translateY(10px) scale(.97); } 100% { opacity: 1; transform: none; } }
@keyframes tagPop { 0% { opacity: 0; transform: scale(.4); } 100% { opacity: 1; transform: scale(1); } }
/* wheel circles echo the same route */
.orb.hl-primary { outline: 3px solid var(--accent); outline-offset: 3px; }
.orb.hl-secondary { outline: 2px dashed color-mix(in srgb, var(--accent) 80%, #fff); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .lens.pop, .lens.pop .tag { animation: none !important; } }

/* Wheel circles: lens icon above the name */
.orb .oi { width: clamp(18px, 2.6vw, 26px); height: clamp(18px, 2.6vw, 26px); margin: 0 auto 3px; display: block; filter: drop-shadow(0 1px 4px rgba(7,24,43,.55)); }
.orb:nth-of-type(6) .oi { color: #0C2F52; filter: none; }
.orb.top .oi { transform: scale(1.12); transition: transform .3s; }
