/* ════════════════════════════════════════════════════════
   KORBANI OPERATIONS JOURNAL — main.css v2.7.5
   Premium dark editorial • DE/EN bilingual
   ════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════
   1. WORDPRESS INTEGRATION GUARDS
   ════════════════════════════════════════════════════════ */
html{margin-top:0 !important;background:#08110D}
html.wp-toolbar{padding-top:0 !important}
body{
  margin:0 !important;padding:0 !important;
  background:#08110D !important;
  color:#E8E5DC !important;
}
body.admin-bar{margin-top:0 !important;padding-top:0 !important}
.hero p:empty,.section p:empty{display:none}
a{color:inherit}
.wp-block-image, .alignwide, .alignfull, .alignleft, .alignright{
  margin-left:0 !important;margin-right:0 !important;max-width:100% !important;
}
#main, body.home #main, body main{
  margin:0 !important;padding:0 !important;display:block !important;width:100% !important;max-width:100% !important;
}
.entry-content > *, .post-content > *{max-width:none !important;margin:0 !important}
.skip-link{position:absolute;left:-9999px;top:0}
.skip-link:focus{left:16px;top:16px;z-index:99999;background:#C9A75C;color:#08110D;padding:10px 16px;border-radius:6px}

/* ════════════════════════════════════════════════════════
   2. BULLETPROOF CONTAINER MAX-WIDTH
   Defeats overrides from WP themes, plugins, builders.
   ════════════════════════════════════════════════════════ */
body .container,
body.home .container,
body.home #main .container,
body.home main .container,
body main section .container,
body section.hero > .container,
body section.section > .container,
body div.marquee-wrap > .container,
body footer .container{
  max-width:1280px !important;
  width:100% !important;
  box-sizing:border-box !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:clamp(20px, 4vw, 56px) !important;
  padding-right:clamp(20px, 4vw, 56px) !important;
  float:none !important;
  position:relative;
}
body section.section,
body section.hero,
body footer.site-footer{
  display:block !important;
  width:100% !important;
  max-width:100vw !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
  float:none !important;
  box-sizing:border-box !important;
}
/* Marquee gets overflow-x:hidden separately (needs clipping for the loop) */
body div.marquee-wrap{
  display:block !important;
  width:100% !important;
  max-width:100vw !important;
  overflow-x:hidden;
}
/* Cockpit section: explicitly allow content to render without clipping */
#cockpit, #cockpit *{overflow:visible !important}
#cockpit .pmp-chart{overflow:hidden !important;position:relative}
#cockpit .pmp-chart canvas{
  display:block !important;
  width:100% !important;
  height:100% !important;
  pointer-events:auto !important;
  cursor:crosshair !important;  /* override body's cursor:none so hover is obvious */
}
.header > .header-inner.container{max-width:1280px !important;width:100% !important;margin:0 auto !important}
@media (max-width:600px){
  body .container{padding-left:18px !important;padding-right:18px !important}
}

/* ═══════════════════════════════════════════════════════════
   KORBANI.DE v2.6 — Premium dark editorial
   ═══════════════════════════════════════════════════════════ */

:root{
  --bg:           #08110D;
  --bg-2:         #0C1814;
  --bg-3:         #11201A;
  --surface:      #142420;
  --surface-2:    #1A2D27;
  --surface-3:    #233A33;
  --border:       rgba(255,255,255,0.06);
  --border-2:     rgba(255,255,255,0.12);
  --border-hot:   rgba(184,155,94,0.35);

  --text:         #E8E5DC;
  --muted:        #9CA8A2;
  --quiet:        #5C6C66;

  --green:        #2F7456;
  --green-light:  #4FB783;
  --green-glow:   rgba(79,183,131,0.20);

  --gold:         #C9A75C;
  --gold-light:   #E0C283;
  --gold-glow:    rgba(201,167,92,0.18);

  --rose:         #C77373;

  --serif: 'Tinos', 'Playfair Display', Georgia, serif;
  --sans:  -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif;
  --mono:  'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --ease: 380ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-snap: 220ms cubic-bezier(0.4, 0, 0.2, 1);

  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px;

  --container: 1280px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  cursor: none;
}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
button{font-family:inherit;cursor:none;border:none;background:none;color:inherit}
ul,ol{list-style:none}

/* ─── Background canvas ───────────────────────────────── */
body::before{
  content:"";
  position:fixed;inset:0;
  background:
    radial-gradient(ellipse 1200px 800px at 20% -10%, rgba(79,183,131,0.10), transparent 60%),
    radial-gradient(ellipse 900px 600px at 90% 110%, rgba(201,167,92,0.08), transparent 60%),
    radial-gradient(ellipse 600px 400px at 60% 50%, rgba(79,183,131,0.04), transparent 70%);
  pointer-events:none;
  z-index:0;
}
body::after{
  content:"";
  position:fixed;inset:0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events:none;
  z-index:0;
}

/* ─── Scroll progress ─────────────────────────────────── */
.scroll-progress{
  position:fixed;top:0;left:0;height:2px;
  background: linear-gradient(90deg, var(--green-light), var(--gold));
  z-index:9999;
  transition: width 80ms linear;
}

/* ─── Custom cursor ───────────────────────────────────── */
.cursor-dot{
  position:fixed;width:6px;height:6px;
  background:var(--green-light);border-radius:50%;
  pointer-events:none;z-index:9998;
  transform:translate(-50%,-50%);
  transition:width 220ms,height 220ms,background 220ms;
  mix-blend-mode:plus-lighter;
}
.cursor-ring{
  position:fixed;width:32px;height:32px;
  border:1px solid rgba(79,183,131,0.5);border-radius:50%;
  pointer-events:none;z-index:9997;
  transform:translate(-50%,-50%);
  transition:width 280ms,height 280ms,border-color 280ms,background 280ms;
}
.cursor-hover .cursor-ring{
  width:60px;height:60px;
  border-color:var(--gold);
  background:rgba(201,167,92,0.06);
}
.cursor-hover .cursor-dot{
  width:3px;height:3px;background:var(--gold);
}
@media (max-width:900px){
  body{cursor:auto}
  button,a{cursor:pointer}
  .cursor-dot,.cursor-ring{display:none}
}

/* ─── Container ───────────────────────────────────────── */
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 clamp(20px, 4vw, 56px);
  position:relative;
  z-index:1;
}

/* ─── HEADER ──────────────────────────────────────────── */
.header{
  position:fixed;top:0;left:0;right:0;
  z-index:100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(8,17,13,0.65);
  border-bottom:1px solid var(--border);
  transition: background var(--ease), border-color var(--ease);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  height:72px;
}
.brand{
  display:flex;align-items:center;gap:12px;
  font-family:var(--serif);font-size:20px;
  letter-spacing:-0.01em;
}
.brand__mark{
  width:34px;height:34px;
  background: linear-gradient(135deg, var(--green-light), var(--gold));
  border-radius:8px;
  display:grid;place-items:center;
  font-weight:700;color:var(--bg);
  font-family:var(--sans);
  box-shadow: 0 4px 20px var(--green-glow);
}
.brand__name{display:flex;flex-direction:column;line-height:1.1}
.brand__name b{font-weight:500}
.brand__name small{font-size:10px;letter-spacing:0.16em;text-transform:uppercase;color:var(--muted);font-family:var(--sans)}

.nav{display:flex;align-items:center;gap:2px}
.nav a{
  padding:8px 14px;
  font-size:13px;
  color:var(--muted);
  transition:color var(--ease-snap);
  position:relative;
  letter-spacing: 0.01em;
}
.nav a:hover{color:var(--text)}
.nav a::after{
  content:"";position:absolute;bottom:4px;left:14px;right:14px;height:1px;
  background:var(--green-light);
  transform:scaleX(0);transform-origin:left;
  transition:transform var(--ease);
}
.nav a:hover::after{transform:scaleX(1)}

.lang-switch{
  display:flex;border:1px solid var(--border-2);
  border-radius:999px;padding:2px;margin-left:14px;
}
.lang-switch button{
  font-size:11px;padding:5px 12px;border-radius:999px;
  letter-spacing:0.08em;font-weight:600;
  color:var(--muted);transition:all var(--ease-snap);
}
.lang-switch button.active{
  background:var(--text);color:var(--bg);
}

@media(max-width:900px){.nav a{display:none}.nav a.always-show,.lang-switch{display:flex}}

/* ─── HERO ────────────────────────────────────────────── */
.hero{
  position:relative;
  padding: clamp(120px, 18vh, 200px) 0 80px;
  overflow:hidden;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items:center;
}

.eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  padding:7px 14px;
  border:1px solid var(--border-hot);
  border-radius:999px;
  background:linear-gradient(90deg, rgba(201,167,92,0.06), rgba(79,183,131,0.04));
  font-family:var(--mono);font-size:11px;letter-spacing:0.12em;
  color:var(--gold-light);text-transform:uppercase;
}
.eyebrow .pulse{
  width:6px;height:6px;border-radius:50%;background:var(--green-light);
  box-shadow:0 0 0 0 rgba(79,183,131,0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(79,183,131,0.6)}
  50%{box-shadow:0 0 0 8px rgba(79,183,131,0)}
}

.hero-name{
  margin-top:32px;
  font-family:var(--mono);font-size:13px;color:var(--quiet);
  letter-spacing:0.18em;text-transform:uppercase;
}

h1.hero-title{
  margin-top:20px;
  font-family:var(--serif);
  font-size: clamp(44px, 5.8vw, 80px);
  line-height:1.02;
  letter-spacing:-0.04em;
  font-weight:400;
  color:var(--text);
}
.hero-title em{
  font-style:italic;color:var(--gold-light);
  position:relative;display:inline-block;
}
.hero-title em::after{
  content:"";position:absolute;left:0;right:0;bottom:4px;height:2px;
  background:linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  z-index:-1;opacity:0.5;
}

.hero-sub{
  margin-top:28px;
  font-size:18px;line-height:1.6;
  color:var(--muted);
  max-width:520px;
}

.hero-meta{
  margin-top:36px;
  display:flex;flex-wrap:wrap;gap:10px;
}
.chip{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 14px;border-radius:999px;
  background:rgba(255,255,255,0.03);
  border:1px solid var(--border-2);
  font-size:12px;color:var(--text);
  font-family:var(--mono);letter-spacing:0.04em;
}
.chip i{
  width:5px;height:5px;border-radius:50%;background:var(--green-light);
}
.chip.gold i{background:var(--gold)}

.hero-actions{
  margin-top:48px;
  display:flex;flex-wrap:wrap;gap:14px;
}
.btn{
  position:relative;display:inline-flex;align-items:center;gap:10px;
  padding:14px 24px;border-radius:999px;
  font-size:14px;font-weight:500;letter-spacing:0.01em;
  transition: transform var(--ease), background var(--ease), border-color var(--ease), color var(--ease);
  overflow:hidden;
}
.btn-primary{
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color:#06140E;
  box-shadow: 0 8px 30px rgba(79,183,131,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
  font-weight:600;
}
.btn-primary::before{
  content:"";position:absolute;inset:0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  opacity:0;transition:opacity var(--ease);
}
.btn-primary span{position:relative;z-index:1;display:inline-flex;align-items:center;gap:10px}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 14px 40px rgba(79,183,131,0.35)}
.btn-primary:hover::before{opacity:1}

.btn-ghost{
  background:rgba(255,255,255,0.03);
  border:1px solid var(--border-2);
  color:var(--text);
}
.btn-ghost:hover{
  background:rgba(255,255,255,0.06);
  border-color:var(--gold);
  transform:translateY(-2px);
}

.arrow{transition:transform var(--ease-snap)}
.btn:hover .arrow{transform:translateX(4px)}

/* ─── Hero portrait + cockpit ─────────────────────────── */
.hero-visual{
  position:relative;
  aspect-ratio: 1 / 1.15;
  display:grid;grid-template-rows:1fr auto;gap:14px;
}

.portrait{
  position:relative;
  border-radius: var(--r-xl);
  overflow:hidden;
  background: linear-gradient(135deg, #1a2b25 0%, #0a1410 100%);
  border:1px solid var(--border-2);
  isolation:isolate;
}
.portrait img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;
  filter: brightness(0.7) contrast(1.05) saturate(0.85);
  z-index:0;
}
.portrait::before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(180deg, rgba(8,17,13,0) 0%, rgba(8,17,13,0) 55%, rgba(8,17,13,0.95) 100%),
    linear-gradient(135deg, rgba(15,32,26,0.45) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,167,92,0.12), transparent 50%);
}
.portrait__meta{
  position:absolute;left:24px;bottom:22px;right:24px;z-index:2;
  display:flex;justify-content:space-between;align-items:flex-end;
  color:var(--text);
}
.portrait__meta small{font-family:var(--mono);font-size:10px;letter-spacing:0.18em;color:var(--gold-light);text-transform:uppercase;display:block;opacity:0.9}
.portrait__meta strong{font-family:var(--serif);font-size:20px;font-weight:400;display:block;margin-top:4px;letter-spacing:-0.01em}
.portrait__badge{
  font-family:var(--mono);font-size:10px;letter-spacing:0.18em;
  padding:6px 11px;border-radius:6px;
  background:rgba(8,17,13,0.7);backdrop-filter:blur(10px);
  border:1px solid var(--border-2);
  color:var(--gold-light);text-transform:uppercase;
}
.portrait__corner{
  position:absolute;z-index:2;width:18px;height:18px;
  border:1px solid rgba(201,167,92,0.55);
  pointer-events:none;
}
.portrait__corner.tl{top:14px;left:14px;border-right:none;border-bottom:none}
.portrait__corner.tr{top:14px;right:14px;border-left:none;border-bottom:none}
.portrait__corner.bl{bottom:14px;left:14px;border-right:none;border-top:none}
.portrait__corner.br{bottom:14px;right:14px;border-left:none;border-top:none}

/* Live cockpit */
.cockpit{
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border:1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding:20px;
  position:relative;
  overflow:hidden;
}
.cockpit::before{
  content:"";position:absolute;top:-1px;left:20%;right:20%;height:1px;
  background: linear-gradient(90deg, transparent, var(--green-light), transparent);
}
.cockpit__head{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:14px;
}
.cockpit__title{font-family:var(--mono);font-size:11px;letter-spacing:0.14em;color:var(--muted);text-transform:uppercase}
.cockpit__live{
  display:inline-flex;align-items:center;gap:6px;
  font-family:var(--mono);font-size:10px;color:var(--green-light);
  letter-spacing:0.1em;text-transform:uppercase;
}
.cockpit__live i{width:6px;height:6px;border-radius:50%;background:var(--green-light);animation:pulse 1.6s infinite}
.cockpit__grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:10px;
}
.metric{
  padding:12px 14px;
  background: rgba(0,0,0,0.25);
  border:1px solid var(--border);
  border-radius: var(--r-sm);
}
.metric small{display:block;font-family:var(--mono);font-size:9px;letter-spacing:0.14em;color:var(--quiet);text-transform:uppercase;margin-bottom:6px}
.metric b{font-family:var(--serif);font-size:24px;color:var(--text);font-weight:400}
.metric.good b{color:var(--green-light)}
.metric.warn b{color:var(--gold-light)}
.metric .delta{font-family:var(--mono);font-size:10px;margin-left:4px;color:var(--quiet)}

/* ─── MARQUEE ─────────────────────────────────────────── */
.marquee-wrap{
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  background: linear-gradient(90deg, var(--bg-2) 0%, var(--bg) 50%, var(--bg-2) 100%);
  overflow:hidden;
  padding:18px 0;
  margin-top: 80px;
}
.marquee{
  display:flex !important;
  gap:48px;
  width: max-content !important;
  white-space:nowrap;
  will-change: transform;
  animation: koj-marquee 45s linear infinite !important;
  animation-play-state: running !important;
}
@keyframes koj-marquee{
  0%{transform:translate3d(0,0,0)}
  100%{transform:translate3d(-50%,0,0)}
}
/* Marquee must keep moving even with reduce-motion (it's not a flash, it's editorial) */
@media (prefers-reduced-motion: reduce){
  .marquee{
    animation-duration: 45s !important;
    animation-iteration-count: infinite !important;
    animation-play-state: running !important;
  }
}
.marquee span{
  font-family:var(--serif);font-style:italic;font-size:24px;
  color:var(--quiet);
  display:inline-flex;align-items:center;gap:48px;
}
.marquee span::after{
  content:"·";color:var(--gold);font-style:normal;
}
.marquee b{color:var(--text);font-style:normal;font-family:var(--sans);font-weight:500}

/* ─── SECTION ─────────────────────────────────────────── */
.section{padding: clamp(44px, 6.5vh, 72px) 0;position:relative;z-index:1}

.section-head{margin-bottom: clamp(28px, 4vw, 48px);max-width:820px}
.section-num{
  font-family:var(--mono);font-size:11px;letter-spacing:0.2em;
  color:var(--gold);text-transform:uppercase;
  display:inline-flex;align-items:center;gap:10px;
  margin-bottom:18px;
}
.section-num::before{
  content:"";width:24px;height:1px;background:var(--gold);
}
.section-title{
  font-family:var(--serif);font-weight:400;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height:1.06;letter-spacing:-0.032em;
  color:var(--text);
  margin-bottom:18px;
}
.section-title em{font-style:italic;color:var(--gold-light)}
.section-sub{
  font-size:18px;line-height:1.7;color:var(--muted);max-width:640px;
}

/* ─── BENTO ABOUT ─────────────────────────────────────── */
.bento{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap:14px;
}
.bento-card{
  position:relative;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border:1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding:28px;
  overflow:hidden;
  transition: transform var(--ease), border-color var(--ease);
}
.bento-card::before{
  content:"";position:absolute;inset:0;
  background:
    radial-gradient(circle 200px at var(--mx,50%) var(--my,50%),
                    rgba(79,183,131,0.10), transparent 60%);
  opacity:0;transition:opacity var(--ease);
  pointer-events:none;
}
.bento-card:hover{transform:translateY(-3px);border-color:var(--border-hot)}
.bento-card:hover::before{opacity:1}

.bento-card.b-hero{grid-column: span 7;display:flex;flex-direction:column;justify-content:space-between;min-height:380px}
.bento-card.b-skills{grid-column: span 5;display:flex;flex-direction:column;gap:18px;min-height:380px;justify-content:center}

.bento-stat-num{
  font-family:var(--serif);font-size:64px;line-height:1;
  letter-spacing:-0.04em;color:var(--gold-light);
}
.bento-stat-label{
  font-size:14px;color:var(--muted);margin-top:14px;line-height:1.5;
}
.bento-quote{
  font-family:var(--serif);font-style:italic;font-size:24px;line-height:1.4;
  color:var(--text);
}
.bento-quote-attr{
  margin-top:14px;font-family:var(--mono);font-size:11px;
  letter-spacing:0.14em;color:var(--gold-light);text-transform:uppercase;
}
.skill-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0;border-bottom:1px solid var(--border)}
.skill-row:last-child{border:none}
.skill-row b{font-family:var(--serif);font-size:18px;font-weight:400}
.skill-bar{
  width:42%;height:5px;border-radius:999px;
  background:rgba(255,255,255,0.05);position:relative;overflow:hidden;
}
.skill-bar i{
  position:absolute;left:0;top:0;bottom:0;
  background:linear-gradient(90deg, var(--green), var(--green-light));
  border-radius:999px;
}

.bento-eyebrow{
  font-family:var(--mono);font-size:10px;letter-spacing:0.16em;
  color:var(--gold);text-transform:uppercase;
}
.bento-h{font-family:var(--serif);font-size:32px;line-height:1.15;letter-spacing:-0.02em;margin-top:8px}
.bento-p{font-size:15px;color:var(--muted);line-height:1.65;margin-top:14px;max-width:480px}

@media(max-width:900px){
  .bento-card.b-hero,.bento-card.b-stat,.bento-card.b-quote,.bento-card.b-skills{grid-column:span 12}
}

/* ─── PRAXIS CARDS ─────────────────────────────────────── */
/* v2.10.1: 2×2 grid for the 4 GitHub operational artefacts.
   Cards have equal weight so a 2×2 reads better than 3+1. */
.praxis-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:22px;
}
@media(max-width:820px){
  .praxis-grid{grid-template-columns:1fr; gap:18px}
}

.praxis-card{
  position:relative;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border:1px solid var(--border-2);
  border-radius: var(--r-lg);
  overflow:hidden;
  transition: transform var(--ease), border-color var(--ease);
  min-height:480px;
  display:flex;flex-direction:column;
}
.praxis-card::before{
  content:"";position:absolute;inset:0;
  background:
    radial-gradient(circle 280px at var(--mx,50%) var(--my,50%),
                    rgba(201,167,92,0.10), transparent 60%);
  opacity:0;transition:opacity var(--ease);
  pointer-events:none;
}
.praxis-card:hover{transform:translateY(-4px);border-color:var(--border-hot)}
.praxis-card:hover::before{opacity:1}

.praxis-visual{
  height:200px;position:relative;overflow:hidden;
  background:linear-gradient(135deg, var(--bg-3), var(--surface));
  border-bottom:1px solid var(--border);
}
.praxis-visual svg{width:100%;height:100%}

.praxis-body{padding:28px;flex:1;display:flex;flex-direction:column}
.praxis-domain{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--mono);font-size:10px;letter-spacing:0.16em;
  color:var(--gold-light);text-transform:uppercase;
  margin-bottom:14px;
}
.praxis-domain i{width:6px;height:6px;border-radius:50%;background:var(--gold)}

.praxis-title{
  font-family:var(--serif);font-size:26px;font-weight:400;
  line-height:1.2;letter-spacing:-0.01em;
  color:var(--text);margin-bottom:12px;
}
.praxis-desc{font-size:14px;line-height:1.65;color:var(--muted);flex:1}

.praxis-foot{
  display:flex;justify-content:space-between;align-items:center;
  margin-top:24px;padding-top:20px;border-top:1px solid var(--border);
}
.praxis-foot small{font-family:var(--mono);font-size:10px;letter-spacing:0.14em;color:var(--quiet);text-transform:uppercase}
.praxis-foot b{font-family:var(--serif);font-size:30px;font-weight:400;color:var(--green-light)}

/* ─── DASHBOARD ─────────────────────────────────────────── */
.dashboard{
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border:1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.4vw, 36px);
  position:relative;overflow:hidden;
}
.dashboard::before{
  content:"";position:absolute;top:0;left:30%;right:30%;height:1px;
  background:linear-gradient(90deg,transparent,var(--green-light),transparent);
}
.dash-grid{
  display:grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(20px, 2.4vw, 36px);
  align-items:center;
}
@media(max-width:900px){.dash-grid{grid-template-columns:1fr}}
.dash-text h3{
  font-family:var(--serif);font-size:26px;line-height:1.15;
  letter-spacing:-0.02em;margin-bottom:10px;
}
.dash-text p{color:var(--muted);font-size:14px;line-height:1.65;margin-bottom:18px}

.dash-stack{
  background:rgba(0,0,0,0.3);
  border:1px solid var(--border);
  border-radius:var(--r-sm);
  padding:14px 16px;
  display:grid;gap:10px;
}
.dash-row{display:flex;align-items:center;gap:12px}
.dash-row .label{font-family:var(--mono);font-size:10px;letter-spacing:0.1em;color:var(--muted);text-transform:uppercase;width:72px;flex-shrink:0}
.dash-row .bar{flex:1;height:4px;border-radius:999px;background:rgba(255,255,255,0.04);overflow:hidden;position:relative}
.dash-row .bar i{position:absolute;inset:0 auto 0 0;border-radius:999px}
.dash-row .val{font-family:var(--mono);font-size:11px;color:var(--text);width:38px;text-align:right}

/* Compact KPI inside dashboard */
.dashboard .metric{padding:10px 12px}
.dashboard .metric small{font-size:8px;margin-bottom:4px;letter-spacing:0.14em}
.dashboard .metric b{font-size:18px}
.dashboard .metric .delta{font-size:9px}

/* ─── FRAMEWORK GRID ─────────────────────────────────── */
.fw-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}
@media(max-width:1100px){.fw-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.fw-grid{grid-template-columns:1fr}}
.fw-card{
  position:relative;
  background:rgba(255,255,255,0.02);
  border:1px solid var(--border-2);
  border-radius:var(--r-sm);
  padding:16px 18px;
  transition: transform var(--ease), border-color var(--ease), background var(--ease);
  overflow:hidden;
  display:flex;flex-direction:column;gap:4px;
}
.fw-card:hover{transform:translateY(-2px);border-color:var(--border-hot);background:rgba(201,167,92,0.04)}
.fw-card__top{display:flex;align-items:center;justify-content:space-between}
.fw-card__num{
  font-family:var(--mono);font-size:10px;letter-spacing:0.14em;
  color:var(--gold-light);
}
.fw-card__title{font-family:var(--serif);font-size:16px;font-weight:400;letter-spacing:-0.01em;margin:6px 0 4px;line-height:1.25}
.fw-card__desc{font-size:12px;line-height:1.55;color:var(--muted)}
.fw-card__type{
  display:inline-block;padding:2px 7px;border-radius:3px;
  font-family:var(--mono);font-size:8px;letter-spacing:0.11em;
  color:var(--quiet);background:rgba(255,255,255,0.03);
  border:1px solid var(--border);text-transform:uppercase;
}

/* ─── READING / TEACHING ─────────────────────────────── */
.combo-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap:48px;
}
@media(max-width:900px){.combo-grid{grid-template-columns:1fr}}

.shelf{
  display:grid;grid-template-columns:repeat(4,1fr);gap:22px 18px;
  perspective:1400px;
}
.shelf-item{
  aspect-ratio:140/200;
  position:relative;
  filter: drop-shadow(-6px 6px 12px rgba(0,0,0,0.5)) drop-shadow(2px 2px 6px rgba(0,0,0,0.4));
  transform: rotateY(-8deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform 450ms cubic-bezier(0.2,0.8,0.2,1), filter 450ms;
}
.shelf-item:hover{
  transform: rotateY(0deg) rotateX(0deg) translateY(-8px) scale(1.04);
  filter: drop-shadow(-12px 18px 26px rgba(0,0,0,0.7)) drop-shadow(0 2px 8px rgba(201,167,92,0.18));
}
.shelf-item svg{width:100%;height:100%;display:block}
.shelf-item img{
  width:100%;height:100%;display:block;
  object-fit:cover;border-radius:3px;
  background:#15201C;
}
.shelf-item::after{
  content:"";position:absolute;inset:0;border-radius:3px;
  background:linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 25%, transparent 75%, rgba(0,0,0,0.18) 100%);
  pointer-events:none;
}
.shelf-meta{margin-top:12px;font-size:11px;color:var(--muted);text-align:center;font-family:var(--mono);letter-spacing:0.02em}

.teach-card{
  background:linear-gradient(180deg, var(--surface), var(--bg-2));
  border:1px solid var(--border-2);
  border-radius:var(--r-lg);
  padding:36px;
}
.teach-card h4{font-family:var(--serif);font-size:26px;font-weight:400;letter-spacing:-0.01em;margin-bottom:14px}
.teach-card p{color:var(--muted);font-size:15px;line-height:1.7;margin-bottom:20px}
.teach-list{display:grid;gap:10px}
.teach-list li{
  display:flex;align-items:center;gap:12px;padding:12px 0;
  border-bottom:1px solid var(--border);font-size:14px;
}
.teach-list li:last-child{border:none}
.teach-list .dot{width:6px;height:6px;background:var(--green-light);border-radius:50%}

/* ─── NOTES ───────────────────────────────────────────── */
.notes-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
@media(max-width:480px){.notes-grid{grid-template-columns:1fr}}
.note{
  position:relative;
  background:linear-gradient(180deg, var(--surface), var(--bg-2));
  border:1px solid var(--border-2);
  border-radius:var(--r-md);
  overflow:hidden;
  transition: transform var(--ease), border-color var(--ease);
}
.note:hover{transform:translateY(-3px);border-color:var(--border-hot)}
.note__thumb{aspect-ratio:16/10;background:var(--bg-3);position:relative;overflow:hidden;border-bottom:1px solid var(--border)}
.note__thumb svg{width:100%;height:100%}
.note__thumb canvas, .praxis-visual canvas, .bento-canvas-wrap canvas{width:100%!important;height:100%!important;display:block}
.note__thumb img, .praxis-visual img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;
  filter: brightness(0.72) contrast(1.05) saturate(0.88);
  transition: transform 700ms cubic-bezier(0.2,0.8,0.2,1), filter 380ms;
}
.note__thumb::after, .praxis-visual::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background: linear-gradient(180deg, rgba(8,17,13,0) 30%, rgba(8,17,13,0.85) 100%),
              linear-gradient(135deg, rgba(15,32,26,0.35) 0%, transparent 50%);
}
.note:hover .note__thumb img, .praxis-card:hover .praxis-visual img{
  transform: scale(1.04);
  filter: brightness(0.82) contrast(1.08) saturate(1);
}
.bento-canvas-wrap{height:120px;margin-top:18px;position:relative}

.about-stats{
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:0;margin-top:32px;
  border-top:1px solid var(--border-2);padding-top:24px;
}
.about-stat{
  display:flex;flex-direction:column;gap:6px;
  padding-right:18px;
}
.about-stat + .about-stat{border-left:1px solid var(--border);padding-left:18px}
.about-stat strong{
  font-family:var(--serif);font-size:24px;font-weight:400;
  letter-spacing:-0.01em;color:var(--gold-light);line-height:1;
}
.about-stat small{
  font-family:var(--mono);font-size:10px;letter-spacing:0.08em;
  color:var(--muted);text-transform:uppercase;
}
@media(max-width:600px){
  .about-stats{grid-template-columns:1fr 1fr;gap:14px 0}
  .about-stat:nth-child(3){border-left:none;padding-left:0}
}

/* Dashboard chart canvas sizing fix */
.dash-chart{position:relative;height:175px;width:100%;overflow:hidden}
.dash-chart canvas{display:block;width:100%!important;height:100%!important}
.note__body{padding:20px}
.note__meta{font-family:var(--mono);font-size:10px;letter-spacing:0.12em;color:var(--gold);text-transform:uppercase;margin-bottom:10px}
.note__title{font-family:var(--serif);font-size:18px;line-height:1.3;letter-spacing:-0.01em;font-weight:400;margin-bottom:8px}
.note__date{font-family:var(--mono);font-size:11px;color:var(--quiet);margin-top:14px}

/* ─── FOCUS ─────────────────────────────────────────── */
.focus-prose{
  max-width:720px;
}
.focus-prose p{
  font-size:18px;line-height:1.78;color:var(--text);
  margin-bottom:24px;
}
.focus-prose p:first-of-type{
  font-family:var(--serif);font-style:italic;font-size:24px;
  color:var(--gold-light);line-height:1.4;
  border-left:2px solid var(--gold);padding-left:24px;
}
.focus-prose p:last-of-type{margin-bottom:0;color:var(--muted)}

/* ─── CONTACT ─────────────────────────────────────────── */
.contact-card{
  background:linear-gradient(135deg, var(--surface) 0%, var(--bg-2) 100%);
  border:1px solid var(--border-2);
  border-radius:var(--r-xl);
  padding: clamp(32px, 4vw, 64px);
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:48px;
  position:relative;overflow:hidden;
}
.contact-card::before{
  content:"";position:absolute;width:400px;height:400px;border-radius:50%;
  background:radial-gradient(circle, var(--green-glow), transparent 70%);
  top:-200px;right:-100px;pointer-events:none;
}
@media(max-width:900px){.contact-card{grid-template-columns:1fr}}
.contact-card h3{font-family:var(--serif);font-size:36px;font-weight:400;letter-spacing:-0.02em;line-height:1.1;margin-bottom:16px}
.contact-card .lead{color:var(--muted);line-height:1.7;margin-bottom:30px}
.contact-channels{display:grid;gap:14px}
.channel{
  display:flex;align-items:center;gap:14px;
  padding:18px 22px;
  background:rgba(255,255,255,0.03);
  border:1px solid var(--border);
  border-radius:var(--r-md);
  transition:all var(--ease);
}
.channel:hover{border-color:var(--gold);background:rgba(201,167,92,0.05);transform:translateX(4px)}
.channel__ico{
  width:42px;height:42px;border-radius:10px;
  background:linear-gradient(135deg, var(--green-light), var(--gold));
  display:grid;place-items:center;color:var(--bg);
}
.channel small{font-family:var(--mono);font-size:10px;letter-spacing:0.14em;color:var(--quiet);text-transform:uppercase;display:block;margin-bottom:2px}
.channel b{font-weight:500;font-size:15px}

/* ─── FOOTER ─────────────────────────────────────────── */
.site-footer{
  margin-top: 80px;
  padding: 48px 0 36px;
  border-top:1px solid var(--border);
  position:relative;z-index:1;
}
.foot-grid{
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:24px;
}
.foot-meta{display:flex;gap:24px;font-size:13px;color:var(--quiet)}
.foot-meta a{transition:color var(--ease-snap)}
.foot-meta a:hover{color:var(--text)}

/* ─── REVEAL ANIMATIONS ─────────────────────────────── */
.reveal{
  opacity:0;transform:translateY(28px);
  transition: opacity 700ms cubic-bezier(0.2,0.8,0.2,1), transform 700ms cubic-bezier(0.2,0.8,0.2,1);
}
.reveal.in{opacity:1;transform:translateY(0)}

/* ─── ANIMATED DASHBOARD ELEMENTS ─────────────────────── */
@keyframes drawLine{
  from{stroke-dashoffset: 1000}
  to{stroke-dashoffset: 0}
}
.fc-line{
  stroke-dasharray: 1000;
  animation: drawLine 3s ease-out forwards;
}
@keyframes countUp{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}
.metric b, .praxis-foot b{animation: countUp 0.8s ease-out}

/* ─── BANNER ─────────────────────────────────────────── */
.demo-banner{
  position:fixed;bottom:18px;right:18px;z-index:100;
  padding:10px 16px;border-radius:999px;
  background:rgba(8,17,13,0.7);backdrop-filter:blur(12px);
  border:1px solid var(--border-hot);
  font-family:var(--mono);font-size:11px;letter-spacing:0.1em;
  color:var(--gold-light);text-transform:uppercase;
  display:flex;align-items:center;gap:8px;
}
.demo-banner i{width:6px;height:6px;border-radius:50%;background:var(--green-light);animation:pulse 1.6s infinite}

@media(max-width:1024px){
  .hero-grid{grid-template-columns:1fr;gap:48px}
  .hero-visual{aspect-ratio:auto}
}

/* ═══════════════════════════════════════════════════════════
   KORBANI.DE v3 — WordPress-ready modern redesign layer
   Keeps the original markup/JS intact while making the page
   easier to port into header.php, front-page.php and blocks.
   ═══════════════════════════════════════════════════════════ */

:root{
  color-scheme: dark;
  --bg:#07090c;
  --bg-2:#0b1014;
  --bg-3:#101820;
  --surface:rgba(255,255,255,0.055);
  --surface-2:rgba(255,255,255,0.085);
  --surface-3:rgba(255,255,255,0.13);
  --border:rgba(255,255,255,0.10);
  --border-2:rgba(255,255,255,0.16);
  --border-hot:rgba(130,191,255,0.35);
  --text:#f5f7fb;
  --muted:#abb7c5;
  --quiet:#748294;
  --green:#1fbf8f;
  --green-light:#53e0b9;
  --green-glow:rgba(83,224,185,0.22);
  --gold:#ffbf5f;
  --gold-light:#ffd58e;
  --gold-glow:rgba(255,191,95,0.18);
  --rose:#ff7a8a;
  --blue:#82bfff;
  --blue-glow:rgba(130,191,255,0.20);
  --serif:'Source Serif 4', Georgia, serif;
  --sans:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono:'SF Mono', 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --container:1240px;
  --r-sm:8px;
  --r-md:14px;
  --r-lg:22px;
  --r-xl:30px;
  --shadow-soft:0 24px 80px rgba(0,0,0,0.38);
  --shadow-card:0 18px 55px rgba(0,0,0,0.28);
  --wp-admin-bar-offset:0px;
}

html{scroll-padding-top:96px}
body{
  min-height:100vh;
  background:
    linear-gradient(180deg, rgba(130,191,255,0.08), transparent 430px),
    radial-gradient(circle at 15% 6%, rgba(83,224,185,0.15), transparent 34vw),
    radial-gradient(circle at 85% 12%, rgba(255,191,95,0.12), transparent 30vw),
    linear-gradient(135deg, #07090c 0%, #0b1117 52%, #090d12 100%);
  font-feature-settings:"cv02","cv03","cv04","cv11";
  cursor:auto;
}
body::before{
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size:56px 56px;
  mask-image:linear-gradient(to bottom, black 0 52%, transparent 100%);
}
body::after{
  background:
    radial-gradient(circle at center, transparent 0 52%, rgba(0,0,0,0.52) 100%),
    linear-gradient(180deg, transparent 0%, rgba(7,9,12,0.35) 100%);
}
a,button{cursor:pointer}
.cursor-dot,.cursor-ring{display:none}
::selection{background:rgba(130,191,255,0.28);color:#fff}

.skip-link{
  position:fixed;
  top:14px;
  left:14px;
  z-index:10000;
  transform:translateY(-150%);
  padding:10px 14px;
  border-radius:10px;
  background:#fff;
  color:#07090c;
  font-weight:700;
  transition:transform 180ms ease;
}
.skip-link:focus{transform:translateY(0)}

.container{padding-inline:clamp(18px,4vw,52px)}
.header{
  top:var(--wp-admin-bar-offset);
  background:rgba(7,9,12,0.76);
  border-bottom:1px solid rgba(255,255,255,0.09);
  box-shadow:0 1px 0 rgba(255,255,255,0.04), 0 18px 60px rgba(0,0,0,0.24);
}
.header-inner{height:76px}
.brand__mark{
  border-radius:12px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.88), rgba(255,255,255,0.62)),
    linear-gradient(135deg, var(--blue), var(--green-light) 54%, var(--gold));
  color:#080b10;
  box-shadow:0 12px 34px rgba(83,224,185,0.2);
}
.brand__name b{font-family:var(--sans);font-weight:750;letter-spacing:-0.02em}
.brand__name small{font-size:9px;color:var(--quiet);letter-spacing:0.18em}
.nav{
  gap:4px;
  padding:6px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:999px;
  background:rgba(255,255,255,0.035);
}
.nav a{
  border-radius:999px;
  color:#c9d4df;
  padding:8px 13px;
}
.nav a:hover{background:rgba(255,255,255,0.07);color:#fff}
.nav a::after{display:none}
.lang-switch{
  margin-left:6px;
  border-color:rgba(255,255,255,0.10);
  background:rgba(0,0,0,0.18);
}
.lang-switch button.active{
  background:linear-gradient(135deg, #fff, #dbe8f5);
  color:#071016;
}

.hero{padding:clamp(128px,18vh,190px) 0 clamp(54px,8vw,96px)}
.hero-grid{
  grid-template-columns:minmax(0,1.05fr) minmax(380px,0.95fr);
  gap:clamp(36px,6vw,92px);
}
.eyebrow{
  border-color:rgba(130,191,255,0.34);
  background:rgba(130,191,255,0.08);
  color:#dbeaff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.08);
}
.pulse{background:var(--green-light);box-shadow:0 0 0 8px rgba(83,224,185,0.12)}
.hero-name{
  margin-top:24px;
  color:var(--gold-light);
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:0.18em;
  text-transform:uppercase;
}
.hero-title{
  max-width:820px;
  margin-top:16px;
  font-size:clamp(46px,7.2vw,96px);
  line-height:0.94;
  letter-spacing:-0.055em;
  text-wrap:balance;
}
.hero-title em{
  color:transparent;
  background:linear-gradient(100deg, var(--blue), var(--green-light) 46%, var(--gold-light));
  -webkit-background-clip:text;
  background-clip:text;
  font-style:normal;
}
.hero-sub{
  max-width:650px;
  margin-top:24px;
  font-size:clamp(17px,1.65vw,22px);
  line-height:1.62;
  color:#c5d0dc;
}
.hero-meta{gap:10px;margin-top:28px}
.chip{
  min-height:34px;
  border-radius:999px;
  border-color:rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.055);
  color:#dde7f0;
}
.chip.gold{border-color:rgba(255,191,95,0.28);background:rgba(255,191,95,0.08)}
.hero-actions{margin-top:34px}
.btn{
  min-height:50px;
  border-radius:999px;
  font-weight:750;
  box-shadow:none;
}
.btn-primary{
  background:linear-gradient(135deg, #f7fbff 0%, #cde9ff 48%, #b7ffe8 100%);
  color:#071016;
}
.btn-primary:hover{box-shadow:0 18px 54px rgba(130,191,255,0.25)}
.btn-ghost{
  background:rgba(255,255,255,0.055);
  border-color:rgba(255,255,255,0.14);
  color:#f3f6f9;
}
.btn-ghost:hover{background:rgba(255,255,255,0.095);border-color:rgba(130,191,255,0.34)}

.hero-visual{position:relative}
.hero-visual::before{
  content:"";
  position:absolute;
  inset:8% -8% -8% 15%;
  border-radius:34px;
  background:linear-gradient(135deg, rgba(83,224,185,0.16), rgba(130,191,255,0.10), rgba(255,191,95,0.12));
  filter:blur(24px);
}
.portrait{
  border-radius:30px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.16);
  background:rgba(255,255,255,0.055);
  box-shadow:var(--shadow-soft);
  isolation:isolate;
}
.portrait::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 36%, rgba(7,9,12,0.78) 100%);
  pointer-events:none;
}
.portrait img{filter:saturate(1.02) contrast(1.04)}
.portrait__corner{display:none}
.portrait__meta{
  left:20px;
  right:20px;
  bottom:20px;
  z-index:2;
  padding:16px;
  border-radius:18px;
  background:rgba(7,9,12,0.72);
  border:1px solid rgba(255,255,255,0.14);
  backdrop-filter:blur(18px);
}
.portrait__meta strong{font-family:var(--sans);font-weight:800}
.portrait__badge{
  border:0;
  color:#071016;
  background:linear-gradient(135deg, var(--gold-light), #fff0bd);
}

.marquee-wrap{
  border-block:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.035);
  backdrop-filter:blur(18px);
}
.marquee span{color:#cbd6e2}
.marquee span::before{background:linear-gradient(135deg,var(--blue),var(--green-light))}

.section{padding:clamp(72px,9vw,128px) 0}
.section-head{
  max-width:850px;
  margin-bottom:clamp(28px,4.5vw,54px);
}
.section-num{
  color:var(--blue);
  letter-spacing:0.18em;
}
.section-title{
  font-size:clamp(34px,4.8vw,66px);
  line-height:1.02;
  letter-spacing:-0.045em;
  text-wrap:balance;
}
.section-title em{
  color:var(--gold-light);
  font-style:normal;
}
.section-sub{font-size:18px;color:#b6c2ce}

.bento,.praxis-grid,.fw-grid,.notes-grid,.combo-grid{
  gap:18px;
}
.bento-card,.praxis-card,.dashboard,.fw-card,.shelf,.teach-card,.note,.contact-card{
  border:1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.038)),
    rgba(10,15,21,0.72);
  box-shadow:var(--shadow-card);
  backdrop-filter:blur(18px);
}
.bento-card,.dashboard,.contact-card{border-radius:28px}
.praxis-card,.fw-card,.note,.shelf,.teach-card{border-radius:22px}
.bento-card:hover,.praxis-card:hover,.fw-card:hover,.note:hover,.channel:hover{
  border-color:rgba(130,191,255,0.34);
  transform:translateY(-4px);
}
.bento-h,.dash-text h3,.teach-card h4,.contact-card h3{
  font-family:var(--sans);
  font-weight:800;
  letter-spacing:-0.035em;
}
.bento-p,.praxis-desc,.fw-card__desc,.teach-card p,.focus-prose p,.contact-card .lead{color:#b6c2ce}
.about-stat strong{font-family:var(--sans);font-weight:800;color:#fff}
.about-stat small,.bento-eyebrow,.praxis-domain,.fw-card__type,.note__meta{
  color:var(--blue);
}
.skill-bar,.bar{background:rgba(255,255,255,0.07)}
.skill-bar i,.bar i{box-shadow:0 0 24px rgba(83,224,185,0.22)}

.praxis-card{overflow:hidden}
.praxis-visual{border-radius:18px;margin:10px 10px 0;overflow:hidden}
.praxis-visual img{transition:transform 700ms ease, filter 700ms ease}
.praxis-card:hover .praxis-visual img{transform:scale(1.05);filter:saturate(1.06)}
.praxis-body{padding:24px}
.praxis-title,.fw-card__title,.note__title{
  font-family:var(--sans);
  font-weight:800;
  letter-spacing:-0.025em;
}
.praxis-foot{border-top-color:rgba(255,255,255,0.10)}

.dashboard{padding:clamp(18px,3vw,30px)}
.dash-grid{gap:clamp(24px,4vw,52px)}
.metric{
  border-color:rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.055);
}
.metric.good{border-color:rgba(83,224,185,0.22)}
.metric.warn{border-color:rgba(255,191,95,0.25)}
.metric b{font-family:var(--sans);font-weight:800}
.dash-chart + canvas{max-width:100%}

.fw-card{min-height:220px}
.fw-card__num{
  color:rgba(255,255,255,0.12);
  font-family:var(--sans);
  font-weight:800;
}
.shelf{
  padding:20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)),
    rgba(9,14,20,0.78);
}
.shelf-item{border-radius:12px;background:rgba(255,255,255,0.06)}
.teach-list li{border-color:rgba(255,255,255,0.10)}
.dot{background:var(--green-light)}
.note__thumb{margin:10px 10px 0;border-radius:16px;overflow:hidden}
.focus-prose{
  max-width:900px;
  padding:clamp(24px,4vw,42px);
  border-left:0;
  border-radius:28px;
  border:1px solid rgba(255,255,255,0.12);
  background:linear-gradient(135deg, rgba(130,191,255,0.08), rgba(83,224,185,0.045));
}
.focus-prose p:first-of-type{
  border-left:0;
  padding-left:0;
  color:#fff;
}
.contact-card{
  background:
    radial-gradient(circle at 84% 10%, rgba(130,191,255,0.18), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035)),
    #0a0f15;
}
.channel{
  border-radius:18px;
  background:rgba(255,255,255,0.055);
}
.channel__ico{
  border-radius:14px;
  background:linear-gradient(135deg, var(--blue), var(--green-light));
  color:#061014;
}
.site-footer{border-top-color:rgba(255,255,255,0.10)}

@supports (animation-timeline: view()){
  .praxis-card,.fw-card,.note,.bento-card{
    animation:card-in both;
    animation-timeline:view();
    animation-range:entry 0% cover 28%;
  }
  @keyframes card-in{
    from{opacity:.72;transform:translateY(18px) scale(.985)}
    to{opacity:1;transform:translateY(0) scale(1)}
  }
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
  }
}

@media(max-width:1100px){
  .hero-grid{grid-template-columns:1fr}
  .hero-visual{max-width:620px}
  .nav{border:0;background:transparent;padding:0}
}
@media(max-width:760px){
  .header-inner{height:66px}
  .brand__name small{display:none}
  .hero{padding-top:104px}
  .hero-title{font-size:clamp(40px,13vw,62px)}
  .hero-actions{align-items:stretch}
  .btn{justify-content:center;width:100%}
  .portrait__meta{position:relative;left:auto;right:auto;bottom:auto;margin:10px}
  .portrait::after{display:none}
  .section{padding:66px 0}
  .section-title{font-size:clamp(31px,10vw,46px)}
  .contact-card{padding:24px}
  .foot-meta{width:100%;gap:12px;flex-direction:column}
}
@media(max-width:520px){
  .container{padding-inline:16px}
  .hero-meta{display:grid;grid-template-columns:1fr}
  .chip{justify-content:center}
  .about-stats{grid-template-columns:1fr}
  .about-stat,.about-stat + .about-stat{border-left:0;padding-left:0}
}

/* ════════════════════════════════════════════════════════
   v2.4 COMPATIBILITY LAYER — Archive / Single / Page / 404
   Reuses old styles for blog archive, single post, legal pages.
   Front page uses new v2.5 design above.
   ════════════════════════════════════════════════════════ */

/* ============================================================
   KORBANI OPERATIONS JOURNAL — main.css v2.0
   Academic-practitioner editorial. Locally-hosted fonts only.
   ============================================================ */

/* ─── LOCAL FONTS ────────────────────────────────────────── */
/* Note: place WOFF2 files in /assets/fonts/. If files are missing,
   the system stack is used as fallback. No Google CDN. */






/* ─── DESIGN TOKENS ──────────────────────────────────────── */


/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--offwhite);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section { padding-block: 96px; }
.section--alt { background: var(--bg-alt); }
.section-rule { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ─── KICKER (editorial micro-label) ─────────────────────── */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.kicker__num {
  color: var(--green-light);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 14px;
}

.kicker__label { color: var(--green-light); }

.kicker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  box-shadow: 0 0 0 4px rgba(62, 143, 104, 0.15);
}

/* ─── SECTION HEAD ───────────────────────────────────────── */
.section-head { margin-bottom: 56px; max-width: 720px; }

.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.section-sub {
  font-size: 17px;
  line-height: 1.74;
  color: var(--muted);
  max-width: 600px;
}

/* ─── SKIP LINK ──────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--green);
  color: var(--offwhite);
  padding: 10px 20px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  transition: top 200ms;
}
.skip-link:focus { top: 12px; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.btn:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--green);
  color: var(--offwhite);
}
.btn-primary:hover, .btn-primary:focus-visible { background: var(--green-mid); }

.btn-outline {
  background: transparent;
  color: var(--offwhite);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.btn-outline:hover, .btn-outline:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  padding: 12px 18px;
  border: 1px solid transparent;
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  color: var(--offwhite);
  border-color: var(--border);
}

.btn-see-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  background: rgba(62, 143, 104, 0.10);
  border: 1px solid var(--green-border);
  text-decoration: none;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.btn-see-all:hover, .btn-see-all:focus-visible {
  background: rgba(62, 143, 104, 0.20);
  border-color: var(--green-light);
  color: var(--offwhite);
}

/* ─── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(11, 15, 13, 0.82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 200ms, box-shadow 200ms, border-color 200ms;
}

.site-header.scrolled {
  background: rgba(11, 15, 13, 0.96);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1;
  color: var(--offwhite);
  transition: background var(--ease), border-color var(--ease);
}
.site-logo-link:hover .logo-mark { background: var(--green); border-color: var(--green); }

.logo-text { display: flex; flex-direction: column; gap: 1px; }
.logo-name { font-family: var(--serif); font-size: 17px; line-height: 1; color: var(--offwhite); }
.logo-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding-bottom: 2px;
  transition: color 180ms;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--green-light);
  transition: width var(--ease);
}

.site-nav a:hover, .site-nav a:focus-visible { color: var(--offwhite); }
.site-nav a:hover::after, .site-nav a:focus-visible::after { width: 100%; }

.lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
  margin-left: 6px;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--muted);
  text-decoration: none;
  display: inline-block;
  transition: background 180ms, color 180ms;
}
.lang-btn:hover { color: var(--offwhite); }
.lang-btn.is-active { background: var(--green); color: var(--offwhite); }

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  color: var(--offwhite);
  margin-left: auto;
}

.mobile-nav {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  z-index: 999;
  padding: 32px var(--container-px) 48px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform var(--ease);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav.is-open { transform: translateX(0); display: flex; }

.mobile-nav a {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--offwhite);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--green-light); }
.mobile-nav .lang-switcher { margin: 24px 0 0; align-self: flex-start; }

/* ═══════════════════════════════════════════════════════
   1. HERO
   ═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: 112px;
  padding-bottom: 70px;
  background:
    radial-gradient(760px 420px at 72% 24%, rgba(62, 143, 104, 0.09), transparent 64%),
    radial-gradient(520px 360px at 8% 16%, rgba(184, 155, 94, 0.045), transparent 66%),
    linear-gradient(180deg, rgba(255,255,255,0.018), transparent 44%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.010) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.008) 0 1px, transparent 1px 88px),
    var(--bg);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.hero::before {
  inset: 72px max(20px, calc((100vw - var(--max-width)) / 2)) 42px;
  border-top: 1px solid rgba(255,255,255,0.055);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background:
    linear-gradient(90deg, rgba(62,143,104,0.08), transparent 34%, transparent 68%, rgba(184,155,94,0.045));
  mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,.82) 14%, rgba(0,0,0,.42) 52%, transparent 100%);
}

.hero::after {
  right: max(20px, calc((100vw - var(--max-width)) / 2));
  top: 96px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255,255,255,0.045);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49%, rgba(62,143,104,0.22) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(184,155,94,0.16) 50%, transparent 51%);
  opacity: 0.44;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: block;
}

.hero-inner::before {
  content: '';
  position: absolute;
  left: var(--container-px);
  top: -18px;
  width: min(330px, 30vw);
  height: 3px;
  background:
    linear-gradient(90deg, var(--green-light) 0 36%, transparent 36% 44%, var(--gold) 44% 58%, transparent 58% 64%, rgba(255,255,255,0.24) 64% 100%);
  opacity: 0.62;
}

.hero-copy { max-width: 680px; }

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(38px, 4.7vw, 66px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  margin-top: 8px;
}

.hero-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--offwhite);
  margin-bottom: 4px;
}

.hero-positioning {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.68;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* PMO command slider + decision game */
.command-lab {
  position: relative;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--r-md);
  background:
    linear-gradient(135deg, rgba(62, 143, 104, 0.075), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255,255,255,0.010)),
    var(--surface);
  padding: 18px;
  overflow: hidden;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
  align-self: start;
}

.hero-showcase {
  width: 100%;
  min-height: clamp(560px, calc(100vh - 170px), 720px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.command-lab::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.72), transparent 72%);
  pointer-events: none;
}

.command-lab__top,
.lab-slider,
.lab-controls,
.decision-game {
  position: relative;
  z-index: 1;
}

.command-lab__top,
.decision-game__head,
.lab-map {
  display: flex;
  align-items: center;
}

.command-lab__top {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--quiet);
}

.command-lab__top strong {
  color: var(--green-light);
  font-size: 11px;
}

.lab-slider {
  min-height: clamp(430px, calc(100vh - 300px), 560px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-md);
  background: rgba(6, 8, 7, 0.36);
  overflow: hidden;
}

.lab-slide {
  display: none;
  min-height: clamp(430px, calc(100vh - 300px), 560px);
  padding: clamp(20px, 2.5vw, 30px);
  animation: koj-fade-in 360ms ease-out;
}

.lab-slide.is-active {
  display: block;
}

.hero-slide-grid {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.lab-visual {
  border-left: 1px solid rgba(255,255,255,0.07);
  padding-left: clamp(24px, 3.6vw, 56px);
}

.lab-slide__tag {
  display: inline-flex;
  width: fit-content;
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  color: var(--gold);
  background: var(--gold-muted);
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lab-slide h2 {
  max-width: 520px;
  font-family: var(--serif);
  font-size: clamp(27px, 3.4vw, 40px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.018em;
  margin-top: 12px;
}

.hero-headline--slide {
  font-size: clamp(40px, 5vw, 68px);
  max-width: 620px;
}

.lab-slide p {
  max-width: 570px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.raid-engine {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 26px;
}

.raid-matrix {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 22px 0 18px 22px;
}

.raid-axis {
  position: absolute;
  color: var(--quiet);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.raid-axis--y {
  left: -16px;
  top: 50%;
  transform: rotate(-90deg) translateX(50%);
  transform-origin: center;
}

.raid-axis--x {
  left: 44px;
  bottom: -4px;
}

.raid-cell {
  width: 48px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(62,143,104,0.07);
}

.raid-cell--amber { background: rgba(184,155,94,0.13); border-color: rgba(184,155,94,0.22); }
.raid-cell--hot { background: rgba(217,113,91,0.14); border-color: rgba(217,113,91,0.30); }
.raid-cell--active {
  position: relative;
  animation: koj-raid-hotspot 2.4s ease-in-out infinite;
}
.raid-cell--active::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #F0A38F;
  box-shadow: 0 0 0 8px rgba(217,113,91,0.12), 0 0 22px rgba(217,113,91,0.35);
}

.raid-decision-flow {
  display: grid;
  gap: 10px;
}

.raid-decision-flow span {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.026);
  padding: 11px 12px;
  color: var(--offwhite);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.raid-decision-flow small {
  display: block;
  color: var(--quiet);
  font-size: 8px;
  letter-spacing: 0.16em;
  margin-bottom: 4px;
}

.raid-decision-flow i {
  width: 1px;
  height: 18px;
  margin-left: 18px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: koj-flow-down 1.8s ease-in-out infinite;
}

@keyframes koj-raid-hotspot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes koj-flow-down {
  0% { opacity: 0.25; transform: translateY(-4px); }
  50% { opacity: 1; }
  100% { opacity: 0.25; transform: translateY(4px); }
}

.forecast-model {
  position: relative;
  margin: 12px 0 22px;
  max-width: 520px;
}

.forecast-model svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.forecast-band {
  fill: url(#forecastBand);
  stroke: rgba(184,155,94,0.18);
  stroke-width: 1;
  animation: koj-band-breathe 4s ease-in-out infinite;
}

.forecast-line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: koj-draw-line 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.forecast-line--baseline { stroke: rgba(216,208,190,0.34); stroke-width: 2; }
.forecast-line--actual { stroke: var(--green-light); animation-delay: 220ms; }
.forecast-line--predict { stroke: var(--gold); stroke-dasharray: 10 10; animation-delay: 900ms; }

.forecast-points circle {
  fill: var(--offwhite);
  stroke: var(--green);
  stroke-width: 3;
  opacity: 0;
  animation: koj-point-pop 650ms ease-out forwards;
}
.forecast-points circle:nth-child(2) { animation-delay: 650ms; }
.forecast-points circle:nth-child(3) { animation-delay: 1050ms; }
.forecast-points circle:nth-child(4) { animation-delay: 1450ms; fill: var(--gold-soft); }

.forecast-legend {
  display: flex;
  gap: 14px;
  color: var(--quiet);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.forecast-legend span::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-light);
  margin-right: 7px;
}
.forecast-legend span:nth-child(1)::before { background: rgba(216,208,190,0.55); }
.forecast-legend span:nth-child(3)::before { background: var(--gold); }

@keyframes koj-draw-line {
  to { stroke-dashoffset: 0; }
}

@keyframes koj-point-pop {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes koj-band-breathe {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

.value-system {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1.15;
  margin: 8px 0 20px;
}

.value-ring {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
}
.value-ring--two { inset: 24%; border-color: rgba(62,143,104,0.20); }

.value-system__core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 128px;
  height: 128px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--green-border);
  background: radial-gradient(circle, rgba(62,143,104,0.18), rgba(62,143,104,0.04));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  animation: koj-value-core 3.2s ease-in-out infinite;
}

.value-system__core strong {
  color: var(--green-light);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.value-system__core span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.16em;
  margin-top: 5px;
}

.value-node {
  position: absolute;
  min-width: 88px;
  text-align: center;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255,255,255,0.035);
  color: var(--gold-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.value-node--scope { left: 3%; top: 17%; }
.value-node--output { right: 0; top: 22%; color: var(--green-light); border-color: var(--green-border); }
.value-node--outcome { right: 8%; bottom: 18%; }
.value-node--adoption { left: 6%; bottom: 14%; color: var(--gold); border-color: var(--gold-border); }

.value-chain {
  position: absolute;
  left: 50%;
  bottom: 2%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--quiet);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.value-chain i {
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

@keyframes koj-value-core {
  0%, 100% { box-shadow: 0 0 0 0 rgba(62,143,104,0.0); }
  50% { box-shadow: 0 0 0 14px rgba(62,143,104,0.055); }
}

.lab-map {
  gap: 10px;
  padding-top: 26px;
}

.lab-node {
  min-width: 86px;
  text-align: center;
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.035);
  padding: 9px 12px 10px;
  color: var(--offwhite);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: koj-node-breathe 4.8s ease-in-out infinite;
}

.lab-node small {
  display: block;
  color: var(--quiet);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 4px;
}

.lab-node--hot {
  border-color: rgba(217, 113, 91, 0.5);
  color: #F0A38F;
  animation-delay: 0s;
}

.lab-node--good {
  border-color: var(--green-border);
  color: var(--green-light);
  animation-delay: 1.6s;
}

.lab-line {
  position: relative;
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 208, 190, 0.42), transparent);
  overflow: hidden;
}

.lab-line i {
  position: absolute;
  top: -3px;
  left: -8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 14px rgba(216, 208, 190, 0.45);
  animation: koj-flow-dot 2.8s ease-in-out infinite;
}

.lab-line:nth-of-type(4) i { animation-delay: 1.4s; }

@keyframes koj-flow-dot {
  0% { transform: translateX(0); opacity: 0; }
  18%, 72% { opacity: 1; }
  100% { transform: translateX(220px); opacity: 0; }
}

@keyframes koj-node-breathe {
  0%, 100% { background: rgba(255,255,255,0.035); box-shadow: none; }
  50% { background: rgba(62,143,104,0.10); box-shadow: 0 0 0 1px rgba(62,143,104,0.16); }
}

.lab-chart {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 9px;
  height: 180px;
  max-width: 420px;
  margin: 28px 0 22px;
  padding-top: 18px;
}

.lab-chart span {
  position: relative;
  height: var(--h);
  min-height: 18px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--gold-soft), var(--green));
  transform-origin: bottom;
  animation: koj-bar-rise 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.lab-chart span:nth-child(2) { animation-delay: 90ms; }
.lab-chart span:nth-child(3) { animation-delay: 180ms; }
.lab-chart span:nth-child(4) { animation-delay: 270ms; }
.lab-chart span:nth-child(5) { animation-delay: 360ms; }
.lab-chart span:nth-child(6) { animation-delay: 450ms; }

.lab-chart span small {
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  color: var(--quiet);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.lab-chart__line {
  position: absolute;
  left: 7%;
  right: 5%;
  top: 46%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--green-light));
  transform: rotate(-10deg);
  transform-origin: left center;
  opacity: 0.72;
}

.lab-chart__line::after {
  content: '';
  position: absolute;
  right: -3px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-light);
  box-shadow: 0 0 0 7px var(--green-muted);
}

@keyframes koj-bar-rise {
  from { transform: scaleY(0.2); opacity: 0.35; }
  to { transform: scaleY(1); opacity: 1; }
}

.lab-orbit {
  position: relative;
  width: min(300px, 100%);
  aspect-ratio: 1;
  border: 1px solid var(--border-2);
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--green-muted), transparent 58%);
  animation: koj-orbit-glow 5s ease-in-out infinite;
}

.lab-orbit::before,
.lab-orbit::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 50%;
}

.lab-orbit::before { inset: 18%; }
.lab-orbit::after { inset: 34%; }

.lab-orbit span {
  position: absolute;
  width: 76px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(216, 208, 190, 0.13);
  border: 1px solid rgba(216, 208, 190, 0.22);
  box-shadow: 0 0 0 7px rgba(216, 208, 190, 0.05);
  color: var(--gold-soft);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lab-orbit strong {
  position: absolute;
  inset: 38%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(62, 143, 104, 0.10);
  border: 1px solid var(--green-border);
  color: var(--green-light);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lab-orbit span:nth-of-type(1) { top: 14%; left: 50%; transform: translateX(-50%); }
.lab-orbit span:nth-of-type(2) { right: 4%; bottom: 30%; color: var(--green-light); border-color: var(--green-border); }
.lab-orbit span:nth-of-type(3) { left: 4%; bottom: 22%; color: var(--gold); border-color: var(--gold-border); }

@keyframes koj-orbit-glow {
  0%, 100% { box-shadow: inset 0 0 0 rgba(62,143,104,0); }
  50% { box-shadow: inset 0 0 48px rgba(62,143,104,0.08); }
}

.lab-controls {
  display: flex;
  gap: 8px;
  margin: 14px 0 0;
}

.lab-controls button {
  width: 38px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: var(--border-3);
  transition: width var(--ease), background var(--ease);
}

.lab-controls button.is-active {
  width: 50px;
  background: var(--green-light);
}

.decision-game {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.020);
  padding: 15px;
}

.decision-game__head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.decision-game__head span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.decision-game__head strong {
  font-family: var(--serif);
  color: var(--offwhite);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

.decision-game p {
  color: var(--text-body);
  font-size: 12.5px;
  line-height: 1.58;
}

.decision-game__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 12px;
}

.decision-game__actions button {
  min-height: 50px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-alt);
  color: var(--offwhite);
  padding: 9px 10px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.decision-game__actions button:hover,
.decision-game__actions button.is-selected {
  border-color: var(--green-border);
  background: var(--green-muted);
  transform: translateY(-1px);
}

.decision-game__feedback {
  color: var(--muted) !important;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 32px;
  max-width: 680px;
}

.hero-stat {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  border-radius: var(--r-md);
  padding: 14px 14px 13px;
}

.hero-stat__value {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--blue-light);
  margin-bottom: 5px;
}

.hero-stat__label {
  display: block;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
}

.hero-cockpit {
  position: relative;
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(127, 179, 199, 0.07), transparent 42%),
    var(--surface);
  padding: 22px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.hero-cockpit::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.78), transparent 72%);
  pointer-events: none;
}

.cockpit-topline,
.cockpit-score,
.cockpit-grid,
.cockpit-flow,
.cockpit-bars {
  position: relative;
  z-index: 1;
}

.cockpit-topline,
.cockpit-score,
.cockpit-score > div,
.cockpit-tile,
.cockpit-flow li {
  display: flex;
  align-items: center;
}

.cockpit-topline {
  justify-content: space-between;
  gap: 16px;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.cockpit-topline strong {
  color: var(--gold);
  font-size: 12px;
}

.cockpit-score {
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--blue-border);
  border-radius: var(--r-md);
  background: rgba(6, 8, 7, 0.45);
  margin-bottom: 18px;
}

.cockpit-score > div {
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
}

.cockpit-score__label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cockpit-score strong {
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 400;
  line-height: 0.95;
  color: var(--offwhite);
}

.cockpit-score__trend {
  border: 1px solid var(--green-border);
  border-radius: 999px;
  color: var(--green-light);
  background: var(--green-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  white-space: nowrap;
}

.cockpit-bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  height: 96px;
  align-items: end;
  padding: 14px 12px 10px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.018);
  margin-bottom: 14px;
}

.cockpit-bars span {
  display: block;
  height: var(--bar);
  min-height: 18px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--blue-light), var(--green));
}

.cockpit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.cockpit-tile {
  justify-content: space-between;
  gap: 12px;
  min-height: 70px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.025);
  padding: 13px 14px;
}

.cockpit-tile span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.cockpit-tile strong {
  color: var(--offwhite);
  font-size: 24px;
  font-weight: 700;
}

.cockpit-tile--warn {
  border-color: var(--gold-border);
  background: var(--gold-muted);
}

.cockpit-tile--good {
  border-color: var(--green-border);
  background: var(--green-muted);
}

.cockpit-flow {
  display: grid;
  gap: 9px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.cockpit-flow li {
  gap: 10px;
  color: var(--text-body);
  font-size: 13px;
}

.cockpit-flow span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 0 5px var(--blue-muted);
}

.cockpit-flow strong {
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   2. PROJECT CONTROL BOARD + HEALTH CHECK
   ═══════════════════════════════════════════════════════ */

.board-subtitle {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 18px;
  max-width: 600px;
}

.board-shell {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

/* ── BOARD ── */
.board {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 56px 36px 44px;
  min-height: 520px;
  overflow: hidden;
}

.board-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--green-border);
}
.board-corner--tl { top: 16px; left: 16px;    border-right: none; border-bottom: none; }
.board-corner--tr { top: 16px; right: 16px;   border-left: none;  border-bottom: none; }
.board-corner--bl { bottom: 16px; left: 16px; border-right: none; border-top: none;    }
.board-corner--br { bottom: 16px; right: 16px;border-left: none;  border-top: none;    }

.board-grid {
  position: absolute;
  inset: 36px;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.board-annot {
  position: absolute;
  pointer-events: none;
  white-space: nowrap;
}
.board-annot--top {
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.board-annot--bot {
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--quiet);
}

/* Nodes */
.board-node {
  position: absolute;
  width: 124px;
  height: 84px;
  border: 1px solid var(--border-3);
  border-radius: var(--r-sm);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.board-node__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.20em;
  color: var(--offwhite);
}
.board-node__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 11px;
  color: var(--green-light);
}

.board-node--pmo    { top: 92px;    left: 36px;  }
.board-node--data   { top: 92px;    right: 36px; border-color: var(--green-border); }
.board-node--raid   { bottom: 92px; left: 36px;  border-color: var(--gold-border); }
.board-node--launch { bottom: 92px; right: 36px; }

.board-node__status {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.board-node__status--green {
  background: var(--green-light);
  box-shadow: 0 0 6px rgba(62, 143, 104, 0.55);
}
.board-node__status--amber {
  background: var(--gold);
  box-shadow: 0 0 6px rgba(184, 155, 94, 0.55);
}
.board-node__status--pulse {
  animation: koj-status-blink 1.8s ease-in-out infinite;
}
@keyframes koj-status-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

/* ── Scan line + grid fade-in ── */
.board-grid {
  animation: koj-grid-fade 1.2s ease-out;
}
@keyframes koj-grid-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.board-scan {
  position: absolute;
  inset: 36px;
  background: linear-gradient(90deg,
    transparent 0%,
    transparent 42%,
    rgba(62, 143, 104, 0.16) 50%,
    transparent 58%,
    transparent 100%);
  background-size: 200% 100%;
  background-position: -100% 0;
  pointer-events: none;
  animation: koj-scan-sweep 5s linear infinite;
}
@keyframes koj-scan-sweep {
  0%   { background-position: -100% 0; }
  100% { background-position: 100% 0; }
}

/* Subtle floating motion for nodes */
.board-node--pmo    { animation: koj-float-1 5s ease-in-out infinite; }
.board-node--data   { animation: koj-float-2 6s ease-in-out infinite; }
.board-node--raid   { animation: koj-float-2 5.5s ease-in-out infinite reverse; }
.board-node--launch { animation: koj-float-1 6.5s ease-in-out infinite reverse; }

@keyframes koj-float-1 {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
@keyframes koj-float-2 {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* Node hover overrides float */
.board-node:hover,
.board-node:focus-visible {
  animation: none !important;
  border-color: var(--green-light);
  background: rgba(62, 143, 104, 0.14);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(62, 143, 104, 0.4);
  z-index: 5;
}
.board-node:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 4px;
}

/* Slow amber pulse for the Data node */
.board-node__status--pulse-slow {
  animation: koj-status-blink 2.6s ease-in-out infinite;
}

/* ── Tooltip on board node hover ── */
.board-tip {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--offwhite);
  max-width: 220px;
  text-align: center;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity 220ms ease, transform 220ms ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.board-tip.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.board-tip::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--bg);
  border-top: 1px solid var(--gold-border);
  border-left: 1px solid var(--gold-border);
}

/* Connecting lines */
.board-line {
  position: absolute;
  pointer-events: none;
}
.board-line--top {
  top: 134px;
  left: 168px;
  right: 168px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62, 143, 104, 0.55), transparent);
}
.board-line--bot {
  bottom: 134px;
  left: 168px;
  right: 168px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 155, 94, 0.50), transparent);
}
.board-line--vert {
  position: absolute;
  left: 50%;
  top: 176px;
  bottom: 176px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-50%);
}

/* Particles — JavaScript drives their position via CSS variable --koj-x.
   This is more reliable than CSS keyframes because the board width is
   not fixed and percent-based keyframes were freezing on some browsers. */
.board-particle {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  will-change: transform, opacity;
  transform: translateX(var(--koj-x, 0px));
}
.board-particle--top {
  top: 128px;
  left: 168px;
  background: var(--green-light);
  box-shadow: 0 0 12px rgba(62, 143, 104, 0.95), 0 0 4px rgba(62, 143, 104, 1);
}
.board-particle--bot {
  bottom: 128px;
  left: 168px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(184, 155, 94, 0.95), 0 0 4px rgba(184, 155, 94, 1);
}

/* Center display */
.board-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 240px;
  pointer-events: none;
}

.board-phase__step {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--quiet);
  margin-bottom: 8px;
}
.board-phase__name {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--green-light);
  letter-spacing: -0.01em;
  line-height: 1.2;
  animation: koj-breathe 4s ease-in-out infinite;
}
@keyframes koj-breathe {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}
.board-phase__pulse {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-light);
  margin: 16px auto 0;
  box-shadow: 0 0 0 6px rgba(62, 143, 104, 0.10), 0 0 0 14px rgba(62, 143, 104, 0.04);
  animation: koj-soft-pulse 2.6s ease-in-out infinite;
}
@keyframes koj-soft-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(62, 143, 104, 0.10), 0 0 0 14px rgba(62, 143, 104, 0.04); }
  50%      { box-shadow: 0 0 0 10px rgba(62, 143, 104, 0.18), 0 0 0 22px rgba(62, 143, 104, 0.06); }
}

/* ── CTA panel ── */
.cta-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}

.cta-panel__eyebrow {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.cta-panel__eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.cta-panel__title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  color: var(--offwhite);
}

.cta-panel__desc {
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-body);
  margin-bottom: 22px;
}

.maturity-preview {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.085);
  border-radius: var(--r-md);
  background:
    linear-gradient(135deg, rgba(62,143,104,0.08), transparent 58%),
    rgba(255,255,255,0.018);
  padding: 16px;
  margin-bottom: 22px;
}

.maturity-radar {
  position: relative;
  aspect-ratio: 1;
  min-width: 124px;
}

.maturity-radar__ring {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 50%;
}
.maturity-radar__ring--outer { inset: 0; }
.maturity-radar__ring--mid { inset: 18%; }
.maturity-radar__ring--inner { inset: 36%; }

.maturity-radar__shape {
  position: absolute;
  inset: 16%;
  background: rgba(62,143,104,0.16);
  border: 1px solid var(--green-border);
  clip-path: polygon(50% 5%, 88% 36%, 73% 86%, 20% 72%, 16% 26%);
  animation: koj-radar-shape 4s ease-in-out infinite;
}

.maturity-radar i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  color: var(--gold-soft);
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.maturity-indices {
  display: grid;
  gap: 9px;
}

.maturity-indices span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}
.maturity-indices span:last-child { border-bottom: 0; padding-bottom: 0; }

.maturity-indices small {
  color: var(--quiet);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.maturity-indices strong {
  color: var(--offwhite);
  font-size: 13px;
}

@keyframes koj-radar-shape {
  0%, 100% { clip-path: polygon(50% 5%, 88% 36%, 73% 86%, 20% 72%, 16% 26%); }
  50% { clip-path: polygon(50% 11%, 82% 32%, 80% 78%, 25% 80%, 20% 22%); }
}

.cta-panel__meta {
  display: flex;
  gap: 18px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--quiet);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.cta-panel__meta span i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-light);
  margin-right: 8px;
  vertical-align: middle;
}

.cta-panel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--green);
  color: var(--offwhite);
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--ease), transform var(--ease);
  width: 100%;
}
.cta-panel__btn:hover { background: var(--green-mid); }
.cta-panel__btn:active { transform: scale(0.98); }
.cta-panel__btn:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 3px;
}

.cta-panel__privacy {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  color: var(--quiet);
  letter-spacing: 0.04em;
}
.cta-panel__privacy svg { color: var(--gold); flex-shrink: 0; }

/* ── Collapsible Health Check panel ── */
.hc-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 44px;
  margin-top: 18px;
  display: none;
  animation: koj-slide-down 380ms cubic-bezier(0.16, 1, 0.3, 1);
}
.hc-panel.is-open { display: block; }

@keyframes koj-slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hc-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.hc-panel__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 4px;
  color: var(--offwhite);
}

.hc-panel__hint {
  font-size: 12px;
  color: var(--quiet);
}

.hc-panel__head-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hc-panel__progress-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  white-space: nowrap;
}

.hc-panel__close {
  background: transparent;
  color: var(--quiet);
  border: none;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 12px;
  line-height: 1;
  border-radius: var(--r-sm);
  transition: color 200ms, background 200ms;
}
.hc-panel__close:hover {
  color: var(--offwhite);
  background: rgba(255, 255, 255, 0.04);
}
.hc-panel__close:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 2px;
}

.hc-progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1px;
  overflow: hidden;
  margin-bottom: 36px;
}
.hc-progress__fill {
  display: block;
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--green-light), var(--gold));
  transition: width 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hc-questions { position: relative; min-height: 200px; }

.hc-q { display: none; animation: koj-fade-in 380ms ease-out; }
.hc-q.is-active { display: block; }

@keyframes koj-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hc-q__text {
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 400;
  line-height: 1.36;
  color: var(--offwhite);
  letter-spacing: -0.01em;
  margin-bottom: 36px;
}

.hc-answers {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hc-answer {
  flex: 1;
  min-width: 130px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--offwhite);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 20px 24px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-family: inherit;
  transition: all 200ms ease;
}

.hc-answer:hover {
  border-color: var(--green-light);
  background: rgba(62, 143, 104, 0.10);
  color: var(--green-light);
}

.hc-answer:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 3px;
}

.hc-answer.is-selected {
  border-color: var(--green-light);
  background: rgba(62, 143, 104, 0.18);
  color: var(--green-light);
}

/* Result */
.hc-result {
  text-align: center;
  padding: 16px 0;
  animation: koj-fade-in 480ms ease-out;
}

.hc-result__tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.hc-result__score {
  font-family: var(--serif);
  font-size: clamp(56px, 9vw, 88px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--offwhite);
  margin-bottom: 20px;
}
.hc-result__score-total {
  color: var(--quiet);
  font-size: 0.46em;
  font-style: italic;
}

.hc-result__msg {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 540px;
  margin: 0 auto 32px;
}

.hc-result__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hc-panel__privacy {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  color: var(--quiet);
  letter-spacing: 0.04em;
}
.hc-panel__privacy svg { color: var(--gold); flex-shrink: 0; }

/* Responsive: Board + CTA stack on mobile */
@media (max-width: 900px) {
  .board-shell {
    grid-template-columns: 1fr;
  }
  .board {
    min-height: 420px;
    padding: 48px 24px 36px;
  }
  .board-node {
    width: 96px;
    height: 70px;
  }
  .board-node--pmo, .board-node--data { top: 70px; }
  .board-node--pmo { left: 18px; }
  .board-node--data { right: 18px; }
  .board-node--raid, .board-node--launch { bottom: 70px; }
  .board-node--raid { left: 18px; }
  .board-node--launch { right: 18px; }
  .board-line--top { top: 106px; left: 122px; right: 122px; }
  .board-line--bot { bottom: 106px; left: 122px; right: 122px; }
  .board-particle--top { top: 104px; left: 126px; }
  .board-particle--bot { bottom: 104px; left: 126px; }
  .board-phase__name { font-size: 22px; }
  .hc-panel { padding: 32px 24px; }
  .hc-answer { min-width: 100%; }
}

/* Reduced motion: disable purely decorative animations.
   Status dots and center pulse remain — they're functional indicators
   (the "system is live" signal), not decoration. Floating nodes and
   the scan line are decoration and switch off. Particles are driven
   by JS and disable themselves. */
@media (prefers-reduced-motion: reduce) {
  .board-scan,
  .board-grid,
  .board-node--pmo,
  .board-node--data,
  .board-node--raid,
  .board-node--launch,
  .lab-node,
  .lab-line i,
  .lab-chart span,
  .lab-orbit,
  .raid-cell--active,
  .raid-decision-flow i,
  .forecast-band,
  .forecast-line,
  .forecast-points circle,
  .value-system__core,
  .maturity-radar__shape { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════
   3. PROFESSIONAL THEMES
   ═══════════════════════════════════════════════════════ */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.theme-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 36px 32px;
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}

.theme-card:hover {
  border-color: var(--gold-border);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.theme-card__num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 12px;
}

.theme-card__title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--offwhite);
}

.theme-card__desc {
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════
   3b. PRAXISNACHWEIS — Practice Evidence
   ═══════════════════════════════════════════════════════ */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.proof-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 36px 32px;
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}

.proof-card:hover {
  border-color: var(--gold-border);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.proof-card__num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 12px;
}

.proof-card__domain {
  display: inline-block;
  font-family: var(--sans, inherit);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 14px;
}

.proof-card__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--offwhite);
}

.proof-card__desc {
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
}

@media (max-width: 960px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════
   4. TEACHING & APPLIED LEARNING
   ═══════════════════════════════════════════════════════ */
.teaching-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}

.teaching-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 22px;
}

.teaching-body {
  font-size: 17px;
  line-height: 1.78;
  color: var(--text-body);
  max-width: 560px;
}

.teaching-pillars {
  display: grid;
  gap: 8px;
  border-left: 1px solid var(--border);
  padding-left: 32px;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.pillar:last-child { border-bottom: none; }

.pillar__icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--green-border);
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-light);
  flex-shrink: 0;
}

.pillar__title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--offwhite);
  line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════
   5. FIELD NOTES (cards with thumbnails)
   ═══════════════════════════════════════════════════════ */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.note-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  transition: border-color var(--ease), transform var(--ease);
}

.note-card:nth-child(1) { border-left: 3px solid var(--green-light); }
.note-card:nth-child(2) { border-left: 3px solid var(--gold); }
.note-card:nth-child(3) { border-left: 3px solid var(--green); }
.note-card:nth-child(4) { border-left: 3px solid var(--gold-soft); }

.note-card:hover { border-color: var(--border-2); transform: translateY(-3px); }

.note-card__inner {
  display: flex;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.note-card__thumb {
  width: 140px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}

.note-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.note-card__thumb--fallback svg {
  width: 100%;
  height: 100%;
}

.note-card__thumb--1 { background: linear-gradient(135deg, #1F5C43 0%, #3E8F68 100%); }
.note-card__thumb--2 { background: linear-gradient(135deg, #6B5520 0%, #B89B5E 100%); }
.note-card__thumb--3 { background: linear-gradient(135deg, #1A2030 0%, #2D4A5A 100%); }
.note-card__thumb--4 { background: linear-gradient(135deg, #3a1a1a 0%, #5a3030 100%); }

.note-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 20px;
  min-width: 0;
}

.note-card__meta {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.note-card__sep { color: var(--quiet); }
.note-card__lang {
  background: var(--gold-muted);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: 0.14em;
  font-size: 8.5px;
}

.note-card__title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--offwhite);
}

.note-card__excerpt {
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.note-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.note-card__date { color: var(--quiet); }
.note-card__read { color: var(--green-light); }

.notes-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.notes-cta {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════
   6. TEACHING SAMPLE
   ═══════════════════════════════════════════════════════ */
.sample-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
  max-width: 920px;
}

.sample-card__visual {
  background: var(--bg-3);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.sample-card__visual svg { width: 100%; max-width: 200px; }

.sample-card__body { padding: 44px 40px 40px; }

.sample-card__type {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-muted);
  border: 1px solid var(--gold-border);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.sample-card__title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.sample-card__desc {
  font-size: 15px;
  line-height: 1.74;
  color: var(--muted);
  margin-bottom: 28px;
}

.sample-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════
   7. FRAMEWORKS GRID
   ═══════════════════════════════════════════════════════ */
.fw-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.fw-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 24px 26px;
  position: relative;
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}

.fw-card:hover {
  border-color: var(--green-border);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.fw-card__num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 10px;
}

.fw-card__type {
  display: inline-block;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-light);
  background: var(--green-muted);
  border: 1px solid var(--green-border);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 14px;
}

.fw-card__title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--offwhite);
}

.fw-card__desc {
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════
   9. READING SHELF
   ═══════════════════════════════════════════════════════ */
.reading-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.reading-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 28px;
  transition: border-color var(--ease), background var(--ease);
}

.reading-item:hover {
  border-color: var(--gold-border);
  background: var(--surface-2);
}

.reading-item__cover {
  width: 100px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg-3);
  align-self: start;
}

.reading-item__cover img {
  width: 100%;
  display: block;
}

.reading-item__cat {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.reading-item__title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.24;
  margin-bottom: 4px;
  color: var(--offwhite);
}

.reading-item__author {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.reading-item__why dt {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 4px;
  margin-top: 10px;
}

.reading-item__why dt:first-child { margin-top: 0; }

.reading-item__why dd {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-body);
}

/* ═══════════════════════════════════════════════════════
   10. CURRENT FOCUS
   ═══════════════════════════════════════════════════════ */
.focus-prose {
  max-width: 760px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px 36px;
}

.focus-prose p {
  font-size: 17px;
  line-height: 1.78;
  color: var(--text-body);
  margin: 0 0 18px 0;
}

.focus-prose p:last-child {
  margin-bottom: 0;
}

.focus-prose p:first-child {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--gold);
}

.focus-list {
  max-width: 720px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 32px;
}

.focus-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
}
.focus-item:last-child { border-bottom: none; }

.focus-item__bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(62, 143, 104, 0.15);
}

/* ═══════════════════════════════════════════════════════
   11. CONTACT
   ═══════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-intro {
  font-size: 16px;
  line-height: 1.74;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 460px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color var(--ease), background var(--ease);
  text-decoration: none;
}
.contact-link:hover { border-color: var(--gold-border); background: var(--surface-2); }

.contact-link__icon {
  width: 38px;
  height: 38px;
  background: var(--green-muted);
  border: 1px solid var(--green-border);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-light);
}

.contact-link__text { display: flex; flex-direction: column; gap: 2px; }
.contact-link__lbl { font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.contact-link__val { font-size: 14px; color: var(--offwhite); }

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
}

.form-msg {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.form-msg--success { background: var(--green-muted); border: 1px solid var(--green-border); color: var(--green-light); }
.form-msg--error   { background: rgba(160, 40, 40, 0.14); border: 1px solid rgba(160, 40, 40, 0.30); color: #e07070; }

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form-field { margin-bottom: 18px; }

.form-field label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.req { color: var(--gold); margin-left: 2px; }

.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 11px 15px;
  color: var(--offwhite);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  outline: none;
  transition: border-color 180ms;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--green-light); background: rgba(255, 255, 255, 0.06); }
.form-field textarea { resize: vertical; min-height: 120px; }

.form-field--consent { margin-bottom: 20px; }

.consent-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--muted) !important;
  line-height: 1.6;
  margin: 0 !important;
}

.consent-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--green);
}

.consent-text a { color: var(--green-light); border-bottom: 1px solid rgba(62, 143, 104, 0.3); }

.form-submit { width: 100%; }
.btn-loading { display: none; }
.form-submit.is-loading .btn-label { display: none; }
.form-submit.is-loading .btn-loading { display: inline; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ═══════════════════════════════════════════════════════
   POST HEADER + BODY (single + page)
   ═══════════════════════════════════════════════════════ */
.post-header {
  padding-top: 120px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.post-header__inner { max-width: 880px; margin-inline: auto; }

.post-header__meta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.post-header__sep { color: var(--quiet); }
.post-header__lang {
  background: var(--gold-muted);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: 0.14em;
}

.post-header__title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.post-header__excerpt {
  font-size: 18px;
  line-height: 1.74;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 16px;
}

.post-header__author {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
}

.post-feature {
  max-width: 1080px;
  margin-inline: auto;
  padding-block: 32px 0;
}
.post-feature img,
.post-feature .wp-post-image {
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}

.post-wrap {
  max-width: 880px;
  margin-inline: auto;
  padding-block: 56px 72px;
}

.post-content {
  max-width: 740px;
  margin-inline: auto;
}

.post-content p {
  font-size: 18px;
  line-height: 1.84;
  color: var(--text-body);
  margin-bottom: 28px;
}

.post-content h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin-top: 56px;
  margin-bottom: 18px;
  color: var(--offwhite);
}

.post-content h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  line-height: 1.22;
  margin-top: 42px;
  margin-bottom: 14px;
  color: var(--offwhite);
}

.post-content h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 34px;
  margin-bottom: 12px;
}

.post-content ul,
.post-content ol {
  padding-left: 22px;
  margin-bottom: 28px;
  list-style: disc;
  color: var(--text-body);
}
.post-content ol { list-style: decimal; }
.post-content li { font-size: 17px; line-height: 1.76; margin-bottom: 8px; }

.post-content blockquote {
  border-left: 3px solid var(--gold);
  background: var(--surface);
  margin: 40px 0;
  padding: 22px 28px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.post-content blockquote p {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.6;
  color: var(--offwhite);
  margin: 0;
}

.post-content a {
  color: var(--green-light);
  border-bottom: 1px solid rgba(62, 143, 104, 0.3);
}
.post-content a:hover { border-color: var(--green-light); }

.post-content hr { border: none; border-top: 1px solid var(--border); margin: 44px 0; }
.post-content code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--green-light);
}

.post-content pre {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 22px;
  overflow-x: auto;
  margin-bottom: 28px;
}
.post-content pre code { background: none; border: none; padding: 0; }
.post-content strong { color: var(--offwhite); font-weight: 700; }
.post-content em { font-style: italic; }
.post-content figcaption,
.post-content .wp-element-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}

.post-tags,
.post-translations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.post-tags__label,
.post-translations__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border-2);
  padding: 4px 10px;
  border-radius: 3px;
}
.post-tag:hover { color: var(--green-light); border-color: var(--green-border); }

.post-translation-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  padding: 4px 12px;
  border-radius: 3px;
}
.post-translation-link:hover { background: var(--gold-muted); }

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.post-nav__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color var(--ease), background var(--ease);
  text-decoration: none;
}
.post-nav__item:hover { border-color: var(--gold-border); background: var(--surface-2); }
.post-nav__item--next { text-align: right; }

.post-nav__label { font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-light); }
.post-nav__title { font-family: var(--serif); font-size: 16px; line-height: 1.32; color: var(--offwhite); }

.post-back { margin-top: 48px; text-align: center; }

/* Page (Impressum, Datenschutz, etc.) */
.page-wrap { max-width: 880px; margin-inline: auto; padding-block: 56px 72px; }
.page-wrap--legal { max-width: 760px; }
.legal-notice-wrap { padding-top: 24px; }
.legal-notice {
  background: var(--gold-muted);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-sm);
  padding: 14px 20px;
  font-size: 13px;
  color: var(--gold);
  max-width: 880px;
  margin-inline: auto;
}

/* ═══════════════════════════════════════════════════════
   ARCHIVE / PAGINATION
   ═══════════════════════════════════════════════════════ */
.page-header {
  padding-top: 120px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.page-header__title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-top: 12px;
  margin-bottom: 12px;
}
.page-header__sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 600px;
}

.archive-wrap { padding-block: 64px; }
.no-posts { padding-block: 80px; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 24px; }

.archive-pagination { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.archive-pagination .nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.archive-pagination .page-numbers {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}
.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
  color: var(--offwhite);
  border-color: var(--border-2);
  background: var(--surface);
}

/* ═══════════════════════════════════════════════════════
   404
   ═══════════════════════════════════════════════════════ */
.not-found { min-height: 70vh; display: flex; align-items: center; padding-block: 120px; }
.not-found__inner { max-width: 600px; }
.not-found__code {
  font-family: var(--serif);
  font-size: clamp(80px, 18vw, 180px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--surface);
  margin-bottom: 16px;
}
.not-found__title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  margin-bottom: 16px;
}
.not-found__text { font-size: 17px; color: var(--muted); line-height: 1.74; max-width: 480px; margin-bottom: 36px; }
.not-found__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding-block: 36px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo-mark {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--muted);
}
.footer-brand-text { display: flex; flex-direction: column; gap: 2px; }
.footer-brand-name { font-family: var(--serif); font-size: 15px; color: var(--offwhite); }
.footer-brand-sub { font-size: 11px; color: var(--quiet); letter-spacing: 0.04em; }

.footer-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--offwhite); }
.footer-copy { font-size: 12px; color: var(--quiet); letter-spacing: 0.06em; }

/* ═══════════════════════════════════════════════════════
   CUSTOM CURSOR (desktop only)
   Activated by JS adding .custom-cursor-enabled to body.
   Disabled in form fields, on touch devices, and with reduced motion.
   ═══════════════════════════════════════════════════════ */
.cursor { display: none; }

body.custom-cursor-enabled { cursor: none; }
body.custom-cursor-enabled a,
body.custom-cursor-enabled button,
body.custom-cursor-enabled .check-answer,
body.custom-cursor-enabled .note-card,
body.custom-cursor-enabled .fw-card,
body.custom-cursor-enabled .reading-item { cursor: none; }

/* Always restore native cursor in form fields and editable areas */
body.custom-cursor-enabled input,
body.custom-cursor-enabled textarea,
body.custom-cursor-enabled select,
body.custom-cursor-enabled [contenteditable="true"] {
  cursor: text;
}
body.custom-cursor-enabled input[type="checkbox"],
body.custom-cursor-enabled input[type="radio"],
body.custom-cursor-enabled input[type="submit"],
body.custom-cursor-enabled input[type="button"] {
  cursor: pointer;
}

/* Cursor visuals — only when enabled */
body.custom-cursor-enabled .cursor {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: normal;
}

.cursor__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cursor-dot);
  transform: translate(-50%, -50%);
  transition: background 220ms, transform 220ms;
}

.cursor__ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--cursor-ring);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 220ms, height 220ms, border-color 220ms, background 220ms;
}

.cursor__label {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(20px, -10px);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 4px 9px;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms;
}

.cursor.is-hover .cursor__ring {
  width: 44px;
  height: 44px;
  border-color: var(--cursor-hover);
  background: rgba(184, 155, 94, 0.06);
}

.cursor.is-hover .cursor__dot {
  background: var(--cursor-hover);
}

.cursor.has-label .cursor__label { opacity: 1; }

/* Disable cursor on reduced motion */
@media (prefers-reduced-motion: reduce) {
  body.custom-cursor-enabled,
  body.custom-cursor-enabled a,
  body.custom-cursor-enabled button { cursor: auto; }
  .cursor { display: none !important; }
}

/* ═══════════════════════════════════════════════════════
   GUTENBERG / DARK MODE ENFORCEMENT
   ═══════════════════════════════════════════════════════ */
html, body { background-color: var(--bg) !important; }

.entry-content,
.entry-content > *,
.wp-block-post-content,
.wp-site-blocks { background-color: transparent; }

.entry-content p,
.entry-content li,
.wp-block-post-content p,
.wp-block-post-content li { color: var(--text-body); }

.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 { color: var(--offwhite); }

.wp-block-group, .wp-block-columns, .wp-block-column { background-color: transparent; }

.wp-block-quote, .wp-block-pullquote {
  background: var(--surface);
  border-left: 3px solid var(--gold);
  color: var(--offwhite);
  padding: 22px 28px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.wp-block-quote p, .wp-block-pullquote p {
  color: var(--offwhite);
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
}

.wp-block-code, .wp-block-preformatted {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--green-light);
}

.wp-block-table table, .entry-content table {
  background: var(--surface);
  color: var(--text-body);
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}

.wp-block-table th, .entry-content table th {
  background: var(--bg-alt);
  color: var(--offwhite);
  border: 1px solid var(--border-2);
  padding: 12px 16px;
  font-weight: 700;
  text-align: left;
}

.wp-block-table td, .entry-content table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
}

.wp-block-button__link {
  background: var(--green);
  color: var(--offwhite);
  border-radius: var(--r-sm);
}

.wp-block-image figcaption {
  color: var(--muted);
  font-style: italic;
  text-align: center;
  margin-top: 10px;
}

.wp-block-separator { border-color: var(--border); margin: 44px 0; }

body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .fw-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner::before {
    left: var(--container-px);
    width: min(360px, calc(100% - (var(--container-px) * 2)));
  }
  .hero-slide-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-showcase { min-height: auto; }
  .lab-slider,
  .lab-slide { min-height: auto; }
  .lab-visual {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-left: 0;
    padding-top: 24px;
  }
  .raid-engine { grid-template-columns: 1fr; }
  .maturity-preview { grid-template-columns: 1fr; }
  .maturity-radar { max-width: 150px; margin-inline: auto; }
}

@media (max-width: 960px) {
  .site-nav { display: none; }
  .mobile-toggle { display: flex; }

  .hero { padding-top: 102px; padding-bottom: 62px; }
  .hero::after { opacity: 0.25; }

  .themes-grid,
  .reading-list { grid-template-columns: 1fr; }
  .notes-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .teaching-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .teaching-pillars { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); padding-top: 16px; }

  .sample-card { grid-template-columns: 1fr; }
  .sample-card__visual { border-right: 0; border-bottom: 1px solid var(--border); padding: 28px; }

  .contact-grid { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav__item--next { text-align: left; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  /* Hide custom cursor on tablets and below */
  .cursor { display: none !important; }
  body.custom-cursor-enabled,
  body.custom-cursor-enabled a,
  body.custom-cursor-enabled button { cursor: auto; }
}

@media (max-width: 640px) {
  :root { --container-px: 20px; }
  .section { padding-block: 64px; }
  .hero::before { inset: 66px 14px 34px; }
  .hero::after {
    width: 110px;
    height: 110px;
    top: 86px;
    right: 16px;
    opacity: 0.22;
  }
  .hero-stats,
  .cockpit-grid { grid-template-columns: 1fr; }
  .command-lab { padding: 14px; }
  .lab-slider,
  .lab-slide { min-height: auto; }
  .lab-slide { padding: 22px 18px; }
  .lab-map { align-items: stretch; flex-direction: column; }
  .lab-line { min-height: 28px; width: 1px; align-self: center; }
  .lab-line i { display: none; }
  .lab-chart { height: 150px; margin-bottom: 34px; }
  .lab-orbit { margin-inline: auto; }
  .raid-engine { gap: 16px; }
  .raid-matrix { width: 180px; margin-inline: auto; }
  .forecast-legend { flex-wrap: wrap; }
  .value-system { margin-inline: auto; }
  .value-node {
    min-width: 72px;
    font-size: 7px;
    padding-inline: 7px;
  }
  .value-chain { font-size: 7px; }
  .maturity-preview { padding: 14px; }
  .decision-game__actions { grid-template-columns: 1fr; }
  .hero-cockpit { padding: 16px; }
  .cockpit-score {
    align-items: flex-start;
    flex-direction: column;
  }
  .cockpit-score strong { font-size: 46px; }
  .cockpit-bars { height: 76px; gap: 6px; }
  .check-card { padding: 32px 24px 28px; }
  .check-question__answers { flex-direction: column; }
  .check-answer { width: 100%; }

  .note-card__inner { flex-direction: column; }
  .note-card__thumb { width: 100%; height: 140px; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .reading-item { grid-template-columns: 80px 1fr; gap: 18px; padding: 22px; }

  .contact-form-wrap { padding: 28px 22px; }

  .post-header { padding-top: 100px; padding-bottom: 40px; }
  .post-wrap { padding-block: 40px 56px; }
}

@media (max-width: 480px) {
  .notes-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   v2.6 PMO FUTURE SYSTEM OVERRIDES
   Denser spacing, command-center hero, PMP-grade analytics.
   ═══════════════════════════════════════════════════════ */

:root {
  --blue: #82bfff;
  --cyan: #6df3ff;
  --panel: rgba(255,255,255,0.062);
  --panel-2: rgba(255,255,255,0.095);
}

body {
  background:
    radial-gradient(circle at 16% 10%, rgba(109,243,255,0.11), transparent 30vw),
    radial-gradient(circle at 78% 8%, rgba(79,183,131,0.12), transparent 28vw),
    radial-gradient(circle at 60% 70%, rgba(201,167,92,0.08), transparent 34vw),
    #070a0e;
}

.hero { padding-block: clamp(112px, 14vh, 158px) 42px; }
.marquee-wrap { margin-top: 38px; padding-block: 12px; }
.section { padding-block: clamp(46px, 6vw, 76px) !important; }
.section-head { margin-bottom: clamp(22px, 3vw, 36px) !important; }
.section-title { font-size: clamp(30px, 4vw, 54px); }
.section-sub { font-size: 16px; line-height: 1.62; }

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(420px, .88fr);
  align-items: center;
}

.hero-title {
  font-size: clamp(45px, 6.6vw, 86px);
  line-height: .94;
}

.hero-sub { max-width: 610px; }

.hero-command-center {
  position: relative;
  min-height: 560px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 28% 20%, rgba(109,243,255,.16), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(201,167,92,.14), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  background-size: 36px 36px, 36px 36px, auto, auto, auto;
  box-shadow: 0 32px 90px rgba(0,0,0,.44), inset 0 1px 0 rgba(255,255,255,.08);
  isolation: isolate;
}

.hero-command-center::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 42%, rgba(109,243,255,.16) 48%, transparent 54% 100%);
  transform: translateX(-80%);
  animation: koj-scan 5.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes koj-scan {
  0%, 35% { transform: translateX(-85%); opacity: 0; }
  48% { opacity: .8; }
  70%, 100% { transform: translateX(85%); opacity: 0; }
}

.command-topline,
.command-score,
.command-kpis > div,
.command-timeline,
.command-flow {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(6,10,14,.58);
  backdrop-filter: blur(18px);
}

.command-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.command-topline span { display: inline-flex; align-items: center; gap: 8px; }
.command-topline i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-light);
  box-shadow: 0 0 18px var(--green-light);
}
.command-topline strong { color: var(--gold-light); font-weight: 700; }

.command-score {
  margin-top: 18px;
  min-height: 190px;
  border-radius: 22px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 20px;
  align-items: center;
}
.command-score small,
.command-kpis small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--quiet);
}
.command-score strong {
  display: block;
  margin-top: 4px;
  font-size: 112px;
  line-height: .88;
  letter-spacing: -.08em;
  color: #fff;
}
.command-ring { position: relative; display: grid; place-items: center; }
.command-ring svg { width: 132px; height: 132px; transform: rotate(-90deg); }
.command-ring circle {
  fill: none;
  stroke-width: 10;
  stroke: rgba(255,255,255,.08);
}
.command-ring circle + circle {
  stroke: var(--green-light);
  stroke-linecap: round;
  stroke-dasharray: 302;
  stroke-dashoffset: 42;
  filter: drop-shadow(0 0 10px rgba(79,183,131,.45));
}
.command-ring span {
  position: absolute;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.25;
  color: #fff;
}

.command-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.command-kpis > div {
  border-radius: 16px;
  padding: 16px;
}
.command-kpis span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--blue);
  letter-spacing: .16em;
}
.command-kpis strong {
  display: block;
  margin-block: 5px 2px;
  font-size: 24px;
  letter-spacing: -.03em;
}

.command-timeline {
  margin-top: 10px;
  padding: 18px;
  border-radius: 18px;
  display: grid;
  gap: 12px;
}
.command-timeline span {
  position: relative;
  display: block;
  height: 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  overflow: hidden;
  color: transparent;
}
.command-timeline span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c), transparent 46%), var(--c));
}

.command-flow {
  margin-top: 10px;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.command-flow span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--muted);
  text-transform: uppercase;
}
.command-flow i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109,243,255,.62), transparent);
}

.pmp-lab {
  padding: clamp(18px, 2.4vw, 28px) !important;
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 0%, rgba(109,243,255,.13), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.028));
}

.pmp-lab__head {
  display: grid;
  grid-template-columns: 1fr minmax(190px, 260px);
  gap: 22px;
  align-items: end;
  margin-bottom: 16px;
}
.pmp-lab__head h3 {
  margin: 0 0 8px;
  font-size: clamp(25px, 3vw, 38px);
  letter-spacing: -.04em;
}
.pmp-lab__head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}
.pmp-lab__health {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
}
.pmp-lab__health small,
.pmp-lab__health span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .13em;
  color: var(--quiet);
  text-transform: uppercase;
}
.pmp-lab__health strong {
  display: block;
  margin: 2px 0;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--green-light);
}
.pmp-lab__summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}
.pmp-lab__summary span {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
    rgba(4,8,12,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--muted);
}
.pmp-lab__summary b {
  display: block;
  margin-bottom: 2px;
  color: var(--green-light);
  font-size: 12px;
  letter-spacing: .12em;
}
.pmp-lab__summary em {
  display: block;
  overflow: hidden;
  color: var(--quiet);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pmp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.pmp-panel {
  min-height: 286px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 20px;
  background: rgba(4,8,12,.45);
  overflow: hidden;
}
.pmp-panel--wide { grid-row: auto; min-height: 286px; }
.pmp-panel__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.pmp-panel__top span { color: var(--blue); }
.pmp-panel__top b { color: var(--quiet); font-weight: 600; }
.pmp-panel__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -2px 0 10px;
}
.pmp-panel__metrics span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
}
.pmp-panel__metrics b {
  color: var(--gold-light);
  font-weight: 700;
}
.pmp-chart { height: 218px; min-height: 0; }
.pmp-panel--wide .pmp-chart { min-height: 0; }
.pmp-chart canvas { display: block; width: 100% !important; height: 100% !important; }
.pmp-chart--svg {
  height: auto;
  min-height: 0;
}
.pmp-svg-chart {
  display: block;
  width: 100%;
  height: 230px;
  overflow: visible;
}
.pmp-svg-grid line {
  stroke: rgba(255,255,255,.07);
  stroke-width: 1;
}
.pmp-svg-area {
  fill: url(#kojEvmArea);
}
.pmp-svg-line {
  fill: none;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  cursor: crosshair;
  transition: filter .16s ease, opacity .16s ease, stroke-width .16s ease;
}
.pmp-svg-line:hover,
.pmp-svg-points circle:hover,
.pmp-svg-bars rect:hover,
.pmp-svg-threshold:hover {
  filter: drop-shadow(0 0 12px rgba(109,243,255,.42));
}
.pmp-svg-line:hover {
  stroke-width: 4.4;
}
.pmp-svg-line--pv,
.pmp-svg-line--p50 {
  stroke: var(--blue);
  stroke-dasharray: 7 6;
}
.pmp-svg-line--ev,
.pmp-svg-line--spi {
  stroke: var(--green-light);
}
.pmp-svg-line--ac,
.pmp-svg-line--cpi,
.pmp-svg-line--p80 {
  stroke: var(--gold-light);
}
.pmp-svg-line--p95 {
  stroke: var(--rose);
}
.pmp-svg-threshold {
  stroke: var(--gold-light);
  stroke-width: 2;
  stroke-dasharray: 6 6;
  cursor: crosshair;
}
.pmp-svg-points circle {
  fill: var(--green-light);
  stroke: rgba(4,8,12,.95);
  stroke-width: 2;
  cursor: crosshair;
}
.pmp-svg-bars rect {
  fill: url(#kojRiskBar);
  rx: 8;
  cursor: crosshair;
  transition: filter .16s ease, opacity .16s ease;
}
.pmp-svg-labels text {
  fill: rgba(245,247,251,.46);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
}
.koj-pmp-tooltip {
  position: fixed;
  z-index: 99999;
  width: min(330px, calc(100vw - 24px));
  padding: 12px;
  border: 1px solid rgba(109,243,255,.28);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(109,243,255,.13), transparent 34%),
    rgba(5,10,14,.96);
  box-shadow: 0 20px 60px rgba(0,0,0,.48), 0 0 28px rgba(109,243,255,.12);
  color: var(--text);
  font-family: var(--mono);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 6px, 0) scale(.98);
  transition: opacity .12s ease, transform .12s ease;
  backdrop-filter: blur(14px);
}
.koj-pmp-tooltip.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
.koj-pmp-tooltip__title {
  margin-bottom: 9px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.koj-pmp-tooltip__row {
  display: grid;
  grid-template-columns: 9px 1fr;
  gap: 9px;
  padding: 7px 0;
}
.koj-pmp-tooltip__row i {
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--c, var(--green-light));
  box-shadow: 0 0 16px var(--c, var(--green-light));
}
.koj-pmp-tooltip__row span {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  min-width: 0;
}
.koj-pmp-tooltip__row b {
  overflow: hidden;
  color: rgba(245,247,251,.78);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.koj-pmp-tooltip__row em {
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .02em;
}
.koj-pmp-tooltip__row small {
  grid-column: 1 / -1;
  color: var(--quiet);
  font-size: 9px;
  line-height: 1.45;
  letter-spacing: .04em;
}

.stakeholder-map {
  position: relative;
  min-height: 198px;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(135deg, rgba(79,183,131,.13), rgba(201,167,92,.10));
  background-size: 50% 50%;
}
.stakeholder-map::before,
.stakeholder-map::after {
  position: absolute;
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(255,255,255,.42);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.stakeholder-map::before { content: "Power"; top: 10px; left: 12px; }
.stakeholder-map::after { content: "Interest"; right: 12px; bottom: 10px; }
.stakeholder-map span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%) scale(var(--s));
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(8,17,13,.72);
  box-shadow: 0 0 24px rgba(109,243,255,.13);
  font-family: var(--mono);
  font-size: 9px;
  color: #fff;
  white-space: nowrap;
}

.knowledge-stack { gap: 26px; align-items: stretch; }
.knowledge-stack .shelf {
  gap: 16px 14px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  background: rgba(255,255,255,.038);
}
.knowledge-stack .shelf-item {
  filter: drop-shadow(-8px 14px 18px rgba(0,0,0,.56));
}
.knowledge-stack .shelf-item img {
  object-fit: contain;
  background: transparent;
}
.knowledge-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.knowledge-metrics span {
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}
.knowledge-metrics b {
  display: block;
  margin-bottom: 3px;
  color: var(--gold-light);
}

@media (max-width: 1080px) {
  .hero-grid,
  .pmp-lab__head { grid-template-columns: 1fr; }
  .pmp-lab__summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pmp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-command-center { min-height: 500px; }
}

@media (max-width: 720px) {
  .hero { padding-top: 96px; }
  .hero-command-center { min-height: auto; padding: 14px; border-radius: 22px; }
  .command-score { grid-template-columns: 1fr; min-height: auto; }
  .command-score strong { font-size: 78px; }
  .command-kpis,
  .knowledge-metrics { grid-template-columns: 1fr; }
  .command-flow { flex-wrap: wrap; justify-content: center; }
  .command-flow i { display: none; }
  .pmp-grid { grid-template-columns: 1fr; }
  .pmp-lab__summary { grid-template-columns: 1fr; }
  .pmp-panel { min-height: 250px; }
  .pmp-chart,
  .pmp-panel--wide .pmp-chart { height: 210px; min-height: 0; }
}


/* ── v2.8.1: Praxis flagship card (MSc case study) ─────── */
.praxis-card--flagship{
  position:relative;
  border-color:var(--gold-glow) !important;
  background:linear-gradient(180deg,rgba(201,167,92,0.05),var(--bg-2)) !important;
}
.praxis-card--flagship:hover{
  border-color:var(--gold) !important;
  box-shadow:0 14px 38px rgba(201,167,92,0.18);
}
.praxis-badge{
  position:absolute;top:14px;right:14px;z-index:3;
  font-family:var(--mono);font-size:9.5px;letter-spacing:0.1em;
  text-transform:uppercase;color:var(--gold-light);
  padding:5px 10px;border-radius:4px;
  background:rgba(8,17,13,0.78);
  border:1px solid var(--gold-glow);
  backdrop-filter:blur(8px);
}
.praxis-actions{
  display:flex;flex-wrap:wrap;gap:8px;
  margin-top:14px;
}
.praxis-cta{
  display:inline-flex;align-items:center;gap:6px;
  font-family:var(--mono);font-size:11px;letter-spacing:0.06em;
  color:var(--gold-light);
  padding:7px 12px;border-radius:6px;
  background:rgba(201,167,92,0.10);border:1px solid var(--gold-glow);
  transition:background var(--ease),border-color var(--ease),transform var(--ease);
  text-decoration:none;
}
.praxis-cta:hover{
  background:rgba(201,167,92,0.20);border-color:var(--gold);
  transform:translateY(-1px);
}
.praxis-cta--ghost{
  background:rgba(255,255,255,0.03);color:var(--text);
  border-color:var(--border-2);
}
.praxis-cta--ghost:hover{
  background:rgba(255,255,255,0.06);color:var(--gold-light);
  border-color:var(--gold-glow);
}


/* ── v2.8.2: SEU Scan live card + tech chips ────────────── */
.praxis-card--live{
  position:relative;
  border-color:rgba(245,155,34,0.30) !important;
  background:linear-gradient(180deg,rgba(245,155,34,0.04),var(--bg-2)) !important;
}
.praxis-card--live:hover{
  border-color:rgba(245,155,34,0.55) !important;
  box-shadow:0 14px 38px rgba(245,155,34,0.18);
}
.praxis-visual--mockup{
  background:#0a0e12 !important;
  display:flex;align-items:center;justify-content:center;
  padding:14px;position:relative;
}
.seu-mockup{
  max-width:100%;max-height:100%;display:block;
  filter:drop-shadow(0 8px 24px rgba(245,155,34,0.18));
  transition:transform var(--ease);
}
.praxis-card--live:hover .seu-mockup{
  transform:translateY(-4px) scale(1.015);
}
.seu-live-pill{
  position:absolute;top:14px;right:14px;z-index:3;
  font-family:var(--mono);font-size:9.5px;letter-spacing:0.1em;
  text-transform:uppercase;color:#ffce6f;
  padding:5px 10px;border-radius:4px;
  background:rgba(8,11,15,0.85);
  border:1px solid rgba(245,155,34,0.45);
  backdrop-filter:blur(8px);
  display:inline-flex;align-items:center;gap:7px;
}
.seu-live-pill i{
  display:inline-block;width:6px;height:6px;border-radius:50%;
  background:#4FB783;
  box-shadow:0 0 0 0 rgba(79,183,131,0.6);
  animation:seuPulse 2s infinite;
}
@keyframes seuPulse{
  0%,100%{box-shadow:0 0 0 0 rgba(79,183,131,0.6)}
  50%{box-shadow:0 0 0 6px rgba(79,183,131,0)}
}

/* Tech stack chips inside praxis cards */
.praxis-tech-chips{
  display:flex;flex-wrap:wrap;gap:6px;
  margin:14px 0 4px;
}
.tech-chip{
  font-family:var(--mono);font-size:10px;letter-spacing:0.05em;
  color:var(--muted);
  padding:4px 9px;border-radius:4px;
  background:rgba(255,255,255,0.03);border:1px solid var(--border);
  transition:color var(--ease),border-color var(--ease);
}
.praxis-card:hover .tech-chip{color:var(--text);border-color:var(--border-2)}


/* ── v2.9.0: Live PMO Command Center upgrade ────────────── */
.hero-command-center--live{position:relative}

/* Project context strip */
.command-context{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;
  padding:10px 14px;margin-top:10px;
  border-radius:8px;
  background:linear-gradient(90deg,rgba(79,183,131,0.06),rgba(201,167,92,0.04));
  border:1px solid rgba(79,183,131,0.18);
  font-family:var(--mono);font-size:11px;line-height:1.4;
}
.command-context__label{color:var(--quiet);letter-spacing:0.08em;text-transform:uppercase;font-size:9px}
.command-context__project{
  color:var(--gold-light);font-family:var(--serif);font-size:14px;
  font-weight:400;letter-spacing:-0.005em;
  transition:opacity 320ms ease-out;
}
.command-context__project.swap{opacity:0}
.command-context__meta{color:var(--muted);margin-left:auto;font-size:10px}
.command-context__meta b{color:var(--text);font-weight:600;font-family:var(--mono)}

/* PCI delta indicator */
.command-score__main{position:relative}
.command-score__delta{
  display:block;font-family:var(--mono);font-size:9.5px;color:var(--green-light);
  letter-spacing:0.06em;margin-top:5px;
}

/* SPI ring animation */
.command-ring__track{fill:none;stroke:rgba(255,255,255,0.06);stroke-width:6}
.command-ring__fill{
  fill:none;stroke:var(--green-light);stroke-width:6;
  stroke-linecap:round;
  transform:rotate(-90deg);transform-origin:60px 60px;
  stroke-dasharray:301.59;stroke-dashoffset:301.59;
  transition:stroke-dashoffset 800ms cubic-bezier(0.2,0.8,0.2,1);
}

/* Tick flash on live update */
[data-cockpit-pci].tick,
[data-cockpit-spi].tick,
[data-cockpit-cpi].tick,
[data-cockpit-ev].tick,
[data-cockpit-raid-c].tick{
  animation:cockpitTick 480ms ease-out;
}
@keyframes cockpitTick{
  0%{color:var(--gold-light);text-shadow:0 0 12px rgba(224,194,131,0.4)}
  100%{color:inherit;text-shadow:none}
}

/* Timeline bar animation */
.command-timeline span{transition:width 800ms cubic-bezier(0.2,0.8,0.2,1)}

/* Foot strip */
.command-foot{
  display:flex;justify-content:space-between;align-items:center;
  margin-top:14px;padding-top:12px;
  border-top:1px solid var(--border);
  font-family:var(--mono);font-size:9.5px;letter-spacing:0.08em;
  text-transform:uppercase;
}
.command-foot__tag{color:var(--gold-light)}
.command-foot__refresh{color:var(--quiet);display:inline-flex;align-items:center;gap:5px}

/* Tooltip on hover */
[data-tooltip]{position:relative;cursor:help}
[data-tooltip]:hover::after{
  content:attr(data-tooltip);
  position:absolute;bottom:calc(100% + 8px);left:50%;
  transform:translateX(-50%);
  background:rgba(6,10,14,0.96);
  color:var(--text);
  font-family:var(--sans);font-size:11px;font-weight:400;
  line-height:1.4;letter-spacing:0;text-transform:none;
  padding:10px 13px;border-radius:6px;
  border:1px solid var(--gold-glow);
  width:max-content;max-width:280px;
  z-index:50;
  pointer-events:none;
  box-shadow:0 8px 24px rgba(0,0,0,0.6);
}
[data-tooltip]:hover::before{
  content:"";position:absolute;bottom:calc(100% + 2px);left:50%;
  transform:translateX(-50%);
  border:5px solid transparent;border-top-color:var(--gold-glow);
  z-index:50;pointer-events:none;
}

/* ════════════════════════════════════════════════════════════
   v2.10 — Operational grounding + GitHub integration
   ════════════════════════════════════════════════════════════ */

/* Nav GitHub link */
.nav-github{
  display:inline-flex;align-items:center;gap:4px;
  padding:6px 12px;border-radius:999px;
  border:1px solid var(--gold-glow);
  background:linear-gradient(180deg,rgba(201,167,92,0.08),rgba(201,167,92,0.02));
  color:var(--gold-light) !important;
  font-family:var(--mono);font-size:11px;letter-spacing:0.06em;
  text-transform:uppercase;
  transition:border-color .25s ease,background .25s ease,transform .25s ease;
}
.nav-github:hover{
  border-color:var(--gold-light);
  background:linear-gradient(180deg,rgba(201,167,92,0.16),rgba(201,167,92,0.04));
  transform:translateY(-1px);
}
.nav-github__arrow{font-size:11px;opacity:0.7;transition:opacity .25s ease}
.nav-github:hover .nav-github__arrow{opacity:1}
.nav-github--mobile{margin-top:8px;justify-content:center;width:100%}

/* GitHub evidence note (under Operational Artefacts section title) */
.github-evidence-note{
  margin-top:24px;padding:18px 22px;
  border-radius:14px;
  background:linear-gradient(135deg,rgba(201,167,92,0.05),rgba(79,183,131,0.03));
  border:1px solid rgba(201,167,92,0.18);
  display:grid;gap:8px;
  max-width:780px;
}
.github-evidence-note__eyebrow{
  font-family:var(--mono);font-size:10px;letter-spacing:0.14em;
  color:var(--gold-light);text-transform:uppercase;
}
.github-evidence-note__text{
  font-family:var(--sans);font-size:14.5px;line-height:1.6;
  color:var(--text);margin:0;
}
.github-evidence-note__cta{
  display:inline-flex;align-items:center;gap:6px;
  margin-top:4px;align-self:start;
  padding:7px 14px;border-radius:8px;
  font-family:var(--mono);font-size:11px;letter-spacing:0.08em;
  color:var(--gold-light);
  border:1px solid var(--gold-glow);
  background:rgba(0,0,0,0.25);
  text-transform:uppercase;
  transition:border-color .25s ease,background .25s ease;
}
.github-evidence-note__cta:hover{
  border-color:var(--gold-light);
  background:rgba(201,167,92,0.12);
}

/* Repo mockup card (replaces previous editorial JPGs) */
.praxis-visual--repo{
  padding:14px;
  background:linear-gradient(180deg,#0a1310,#06100c);
  border-bottom:1px solid var(--border);
  display:flex;align-items:stretch;justify-content:stretch;
  min-height:240px;
}
.repo-mockup{
  flex:1;display:flex;flex-direction:column;
  border-radius:10px;
  background:rgba(8,17,13,0.85);
  border:1px solid rgba(255,255,255,0.06);
  overflow:hidden;
  font-family:var(--mono);font-size:10.5px;
  box-shadow:0 8px 24px rgba(0,0,0,0.4);
}
.repo-mockup__head{
  display:flex;align-items:center;gap:6px;
  padding:8px 12px;
  background:rgba(255,255,255,0.03);
  border-bottom:1px solid rgba(255,255,255,0.05);
}
.repo-mockup__dot{
  width:9px;height:9px;border-radius:50%;
  background:rgba(255,255,255,0.18);
}
.repo-mockup__dot:nth-child(1){background:rgba(199,115,115,0.55)}
.repo-mockup__dot:nth-child(2){background:rgba(245,155,34,0.55)}
.repo-mockup__dot:nth-child(3){background:rgba(79,183,131,0.55)}
.repo-mockup__path{
  margin-left:8px;font-size:10px;letter-spacing:0.04em;
  color:var(--muted);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.repo-mockup__body{
  display:flex;flex-direction:column;
  padding:12px 14px;gap:6px;
  flex:1;
}
.repo-mockup__row{
  display:flex;gap:10px;align-items:baseline;
  padding:4px 0;
  font-size:11px;line-height:1.4;
  color:var(--text);
  border-bottom:1px dashed rgba(255,255,255,0.05);
}
.repo-mockup__row:last-child{border-bottom:none}
.repo-mockup__row b{
  color:var(--gold-light);font-weight:600;
  min-width:64px;flex-shrink:0;
}
.repo-mockup__row span{color:var(--muted)}
.repo-mockup__row--amber b{color:var(--orange-light)}
.repo-mockup__foot{
  display:flex;justify-content:space-between;align-items:center;
  padding:8px 12px;
  background:rgba(0,0,0,0.3);
  border-top:1px solid rgba(255,255,255,0.05);
  font-size:9.5px;letter-spacing:0.08em;
  color:var(--quiet);text-transform:uppercase;
}

/* xlsx-mockup variant */
.xlsx-mockup{padding:10px 14px;display:flex;flex-direction:column;gap:8px;flex:1}
.xlsx-mockup__tabs{
  display:flex;gap:0;
  font-family:var(--mono);font-size:10px;
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.xlsx-mockup__tabs b,.xlsx-mockup__tabs span{
  padding:6px 12px;letter-spacing:0.04em;
}
.xlsx-mockup__tabs b{
  color:var(--green-light);border-bottom:2px solid var(--green-light);
  margin-bottom:-1px;
}
.xlsx-mockup__tabs span{color:var(--quiet)}
.xlsx-mockup__table{
  width:100%;font-family:var(--mono);font-size:10.5px;
  border-collapse:collapse;
}
.xlsx-mockup__table td{
  padding:5px 8px;border-bottom:1px solid rgba(255,255,255,0.04);
  color:var(--text);
}
.xlsx-mockup__table tr:last-child td{border-bottom:none}
.xlsx-mockup__lbl{color:var(--muted) !important;font-weight:500;width:34%}
.rag{
  display:inline-block;width:20px;text-align:center;
  font-family:var(--mono);font-weight:700;font-size:10px;
  padding:2px 0;border-radius:3px;
}
.rag--green{background:rgba(79,183,131,0.18);color:#4FB783;border:1px solid rgba(79,183,131,0.35)}
.rag--amber{background:rgba(245,155,34,0.18);color:var(--orange-light);border:1px solid rgba(245,155,34,0.4)}
.rag--red{background:rgba(199,115,115,0.18);color:#ff8181;border:1px solid rgba(199,115,115,0.4)}

/* md-mockup (templates list) */
.md-mockup__list{
  list-style:none;padding:10px 14px;margin:0;flex:1;
  display:flex;flex-direction:column;gap:3px;
}
.md-mockup__list li{
  display:flex;align-items:center;gap:8px;
  padding:4px 6px;border-radius:4px;
  font-family:var(--mono);font-size:11px;
  color:var(--text);
  transition:background .2s ease;
}
.md-mockup__list li:hover{background:rgba(255,255,255,0.03)}
.md-mockup__ico{color:var(--green-light);font-size:11px;opacity:0.7}

/* seu-mini compliance widget */
.seu-mini{padding:14px;display:grid;grid-template-columns:auto 1fr;gap:18px;flex:1;align-items:center}
.seu-mini__score{text-align:center}
.seu-mini__score b{
  display:block;font-family:var(--serif);font-size:42px;font-weight:600;
  color:var(--orange-light);line-height:1;
}
.seu-mini__score small{
  display:block;font-family:var(--mono);font-size:9px;
  letter-spacing:0.1em;color:var(--muted);text-transform:uppercase;
  margin-top:4px;
}
.seu-mini__bars{display:grid;gap:6px}
.seu-mini__bars span{
  display:grid;grid-template-columns:60px 1fr;align-items:center;gap:8px;
  font-family:var(--mono);font-size:10px;color:var(--muted);
}
.seu-mini__bars i{
  display:block;height:6px;border-radius:3px;
  background:var(--c);width:var(--w);
}

/* Mobile tweaks */
@media (max-width: 720px){
  .nav-github{display:none}
  .github-evidence-note{padding:14px 16px}
  .github-evidence-note__text{font-size:13.5px}
  .repo-mockup__row{font-size:10px}
  .repo-mockup__row b{min-width:56px}
}

/* Reduced-motion considerations */
@media (prefers-reduced-motion: reduce){
  .nav-github,.github-evidence-note__cta{transition:none}
}
