/* ═══════════════════════════════════════
   MK DEVELOPER THEME — DESIGN SYSTEM
   ═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:      #eaf4f8;
  --ink-dim:  #90b8c8;
  --paper:    #152030;
  --gold:     #c8a86a;
  --neon-c:   #18e0ff;
  --neon-v:   #a78bfa;
  --neon-g:   #3fffa8;
  --serif:    'Inter', system-ui, -apple-system, sans-serif;
  --mono:     'Inter', system-ui, -apple-system, sans-serif;
  --pad:      clamp(20px, 5.5vw, 52px);
  --prose:    clamp(16px, 2vw, 18px);
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .015em;
  line-height: 1.8;
  min-height: 100vh;
}

/* Wszystkie elementy dziedziczą mono — override serif tam gdzie potrzeba */
*, *::before, *::after {
  font-family: inherit;
}

body::after {
  content: '';
  position: fixed; inset: 0;
  z-index: 9998; pointer-events: none;
  opacity: .026;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── AMBIENT BG CANVAS ─── */
#page-bg {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  width: 100%; height: 100%;
}

/* ─── SHELL ─── */
.shell {
  max-width: 1200px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
@media (min-width: 1240px) {
  body { background: #0e1925; }
  .shell {
    background: var(--paper);
    box-shadow: -1px 0 0 rgba(24,224,255,.05), 1px 0 0 rgba(180,79,255,.04);
  }
}

/* ═══════════════════════════
   NAV
═══════════════════════════ */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(10px, 1.6vw, 16px) var(--pad);
  position: sticky; top: 0; z-index: 200;
  background: rgba(21,32,48,.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 1px 0 rgba(24,224,255,.08), 0 4px 32px rgba(0,0,0,.4);
}
.nav-logo {
  font-family: var(--serif);
  font-size: clamp(17px, 3vw, 21px);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  text-decoration: none;
}
.nav-logo .dot { color: var(--neon-c); text-shadow: 0 0 12px var(--neon-c); }

.nav-links { display: flex; gap: clamp(16px, 4vw, 38px); list-style: none; }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(10px, 1.4vw, 12px);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 400; opacity: .85;
  transition: color .2s, opacity .2s;
  position: relative; white-space: nowrap;
}
.nav-links a::before {
  content: '';
  position: absolute; left: 50%; bottom: -5px;
  width: 0; height: 1px;
  background: var(--neon-c); box-shadow: 0 0 10px var(--neon-c);
  transition: width .32s cubic-bezier(.22,1,.36,1), left .32s cubic-bezier(.22,1,.36,1);
}
.nav-links a::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  color: var(--neon-c); text-shadow: 0 0 12px rgba(24,224,255,.6);
  opacity: 0; transition: opacity .22s; pointer-events: none;
}
.nav-links a:hover { color: transparent; opacity: 1; }
.nav-links a:hover::after { opacity: 1; }
.nav-links a:hover::before { left: 0; width: 100%; }

/* hamburger */
.nav-burger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px;
  cursor: pointer; background: none; border: none;
  padding: 4px; z-index: 400; flex-shrink: 0;
}
.nav-burger span {
  display: block; height: 1.5px; border-radius: 2px; background: var(--ink);
  transition: transform .32s cubic-bezier(.77,0,.175,1), opacity .22s, width .22s;
  transform-origin: center;
}
.nav-burger span:nth-child(1) { width: 24px; }
.nav-burger span:nth-child(2) { width: 16px; margin-left: auto; }
.nav-burger span:nth-child(3) { width: 24px; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 24px; }
.nav-burger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 24px; }

.nav-backdrop {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.6); opacity: 0;
  transition: opacity .32s; pointer-events: none;
}
.nav-backdrop.open {
  opacity: 1; pointer-events: all;
}
.nav-backdrop.open::after {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(135deg,
    rgba(24,224,255,0.08) 0%,
    transparent 25%,
    rgba(96,224,139,0.06) 50%,
    transparent 75%,
    rgba(200,168,106,0.05) 100%);
  background-size: 400% 400%;
  animation: mkBackdropParallax 4s ease-in-out infinite;
}

@keyframes mkBackdropParallax {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.shell {
  transition: transform .5s cubic-bezier(.77,0,.175,1), filter .5s ease;
  transform-origin: center top;
}
.shell.menu-open {
  transform: scale(0.95);
  filter: blur(3px) saturate(0.6);
}

.nav-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: 50%;
  z-index: 9100; list-style: none;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0a1528 0%, #14203a 25%, #0e1a2e 50%, #1a1428 75%, #0a1528 100%);
  background-size: 400% 400%;
  transform: translateX(-100%);
  transition: transform .5s cubic-bezier(.77,0,.175,1);
  pointer-events: none;
  box-shadow: 4px 0 60px rgba(0,0,0,.7), 1px 0 0 rgba(24,224,255,.06) inset;
}
.nav-drawer.open {
  transform: translateX(0);
  pointer-events: all;
  animation: mkDrawerBg 6s ease-in-out infinite;
}
@keyframes mkDrawerBg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 30% 80%; }
  100% { background-position: 0% 50%; }
}
.nav-drawer li {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .4s ease, transform .4s ease;
  transition-delay: 0s;
}
.nav-drawer.open li {
  opacity: 1;
  transform: translateX(0);
}
.nav-drawer.open li:nth-child(1) { transition-delay: .06s; }
.nav-drawer.open li:nth-child(2) { transition-delay: .12s; }
.nav-drawer.open li:nth-child(3) { transition-delay: .18s; }
.nav-drawer.open li:nth-child(4) { transition-delay: .24s; }
.nav-drawer.open li:nth-child(5) { transition-delay: .30s; }
.nav-drawer.open li:nth-child(6) { transition-delay: .36s; }
.nav-drawer li > a {
  display: block; padding: 14px 24px;
  font-family: var(--mono); font-size: 14px; letter-spacing: .22em;
  color: #ccc8be; text-decoration: none; text-transform: uppercase;
  white-space: nowrap; text-align: center;
  transition: color .2s;
}
.nav-drawer a:hover { color: var(--neon-c); }
.mk-home-icon {
  display: inline-block; margin-right: 8px; font-size: 1.25em;
}
.nav-drawer .nav-sub {
  list-style: none; padding: 4px 0 4px 32px;
}
.nav-drawer .nav-sub a {
  font-size: 12px; letter-spacing: .14em; padding: 10px 24px;
}
.nav-drawer .nav-sub a::before {
  content: '\21B3'; display: inline-block; margin-right: 8px; opacity: .5;
}

@media (max-width: 640px) {
  .nav-burger { display: flex; }
  .nav-links { display: none !important; }
  .nav-links .nav-sub { display: none; }
  .nav-backdrop { display: block; }
  .nav-drawer li > a { font-size: 18px; letter-spacing: .06em; padding: 16px 24px; }
  .nav-drawer .nav-sub a { font-size: 15px; letter-spacing: .08em; padding: 12px 24px; }
}
@media (max-width: 860px) and (min-width: 641px) {
  .nav-links { gap: clamp(14px, 3vw, 24px); }
  .nav-links a { font-size: 10px; }
}
@media (min-width: 641px) { .nav-drawer { display: none; } .nav-links .nav-sub { display: none; } }

/* ═══════════════════════════
   SECTION LABEL
═══════════════════════════ */
.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: clamp(28px, 5vw, 50px);
}
.section-label::before {
  content: ''; width: 22px; height: 1px; flex-shrink: 0;
  background: var(--neon-c); box-shadow: 0 0 9px var(--neon-c);
}

/* ═══════════════════════════
   BANNER
═══════════════════════════ */
.banner {
  position: relative;
  height: clamp(300px, 56vw, 460px);
  overflow: hidden;
}
#banner-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.banner-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--pad) clamp(28px, 5vw, 50px);
}
.banner-cta-wrap {
  display: flex;
  justify-content: flex-end;
  padding-right: 50px;
  margin-top: clamp(18px, 3vw, 30px);
  opacity: 0;
  animation: fadeUp .7s .8s forwards;
}
.banner-eyebrow {
  font-size: clamp(9px, 1.3vw, 10.5px); letter-spacing: .26em;
  text-transform: uppercase; color: var(--neon-c);
  text-shadow: 0 0 22px rgba(24,224,255,.65); margin-bottom: 14px;
  opacity: 0; animation: fadeUp .6s .1s forwards;
}
.banner-title {
  font-family: var(--serif);
  font-size: clamp(34px, 9.5vw, 72px);
  font-weight: 300; line-height: 1.04; color: var(--ink);
  opacity: 0; animation: fadeUp .8s .3s forwards;
}
.banner-title em {
  font-style: italic !important;
  background: linear-gradient(108deg, var(--gold) 10%, var(--neon-c) 90%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}
.banner-sub {
  margin-top: clamp(10px, 2vw, 20px);
  font-size: clamp(11.5px, 1.6vw, 13px); color: var(--ink-dim);
  max-width: 400px; opacity: 0; animation: fadeUp .8s .55s forwards;
}
.banner-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(9.5px, 1.4vw, 11.5px); letter-spacing: .16em;
  text-transform: uppercase; color: var(--neon-c);
  text-shadow: 0 0 15px rgba(24,224,255,.52);
  text-decoration: none;
  transition: gap .22s;
  width: fit-content;
}
.banner-cta:hover .cta-icon { transform: translateX(6px); }

@media (max-width: 640px) {
  .banner-cta-wrap {
    justify-content: flex-start;
    padding-right: 0;
  }
}

/* ═══════════════════════════
   ABOUT SECTION
═══════════════════════════ */
section { padding: clamp(48px, 8vw, 80px) var(--pad); }

.about-card {
  max-width: 680px; margin: 0 auto;
  text-align: left; display: flex; flex-direction: column; align-items: flex-start;
}
.about-name {
  font-family: var(--serif); font-size: clamp(34px, 7vw, 54px);
  font-weight: 300; line-height: 1.06; margin-bottom: 6px;
}
.about-name em { font-style: italic; color: var(--gold); text-shadow: 0 0 30px rgba(200,168,106,.32); }
.about-role {
  font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--neon-c); text-shadow: 0 0 14px rgba(24,224,255,.4); margin-bottom: 32px;
}
.about-text { color: var(--ink-dim); line-height: 2; font-size: clamp(12.5px, 1.6vw, 14px); }
.about-text p + p { margin-top: 14px; }
.about-divider {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-c), transparent);
  box-shadow: 0 0 10px var(--neon-c); margin: 32px 0;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
.chip {
  padding: 6px 18px; border-radius: 99px; font-size: 9.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim);
  background: rgba(255,255,255,.055);
  transition: background .2s, color .2s, box-shadow .2s; cursor: default;
}
.chip:hover { background: rgba(24,224,255,.13); color: var(--neon-c); box-shadow: 0 0 14px rgba(24,224,255,.18); }

/* ═══════════════════════════
   APPS
═══════════════════════════ */
.apps-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2.5vw, 24px);
}
@media (max-width: 480px) { .apps-grid { grid-template-columns: 1fr; } }

.app-card {
  padding: clamp(20px, 4vw, 30px); border-radius: 20px;
  background: rgba(255,255,255,.055); position: relative; overflow: hidden;
  transition: transform .32s cubic-bezier(.22,1,.36,1), box-shadow .32s; cursor: default;
}
.app-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 20px; padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,.1), rgba(255,255,255,.02));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.c1:hover { transform: translateY(-4px); box-shadow: 0 12px 48px rgba(24,224,255,.13); }
.c2:hover { transform: translateY(-4px); box-shadow: 0 12px 48px rgba(180,79,255,.13); }
.c3:hover { transform: translateY(-4px); box-shadow: 0 12px 48px rgba(63,255,168,.11); }
.c4:hover { transform: translateY(-4px); box-shadow: 0 12px 48px rgba(200,168,106,.12); }
.app-icon { font-size: clamp(22px, 4vw, 28px); margin-bottom: 16px; display: block; }
.app-tag { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.c1 .app-tag { color: var(--neon-c); text-shadow: 0 0 8px rgba(24,224,255,.5); }
.c2 .app-tag { color: var(--neon-v); text-shadow: 0 0 8px rgba(180,79,255,.5); }
.c3 .app-tag { color: var(--neon-g); text-shadow: 0 0 8px rgba(63,255,168,.4); }
.c4 .app-tag { color: var(--gold); text-shadow: 0 0 8px rgba(200,168,106,.4); }
.app-name { font-family: var(--serif); font-size: clamp(19px, 3.5vw, 25px); font-weight: 400; color: var(--ink); margin-bottom: 10px; line-height: 1.1; }
.app-desc { font-size: clamp(11.5px, 1.5vw, 12.5px); color: var(--ink-dim); line-height: 1.85; }
.app-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; text-decoration: none; transition: gap .2s; }
.c1 .app-link { color: var(--neon-c); } .c2 .app-link { color: var(--neon-v); }
.c3 .app-link { color: var(--neon-g); } .c4 .app-link { color: var(--gold); }
.app-link:hover { gap: 12px; }
.app-link::after { content: '→'; }

/* ═══════════════════════════
   BLOG POSTS LIST
═══════════════════════════ */
.posts { display: flex; flex-direction: column; }
.post-row {
  display: grid; grid-template-columns: clamp(70px, 11vw, 96px) 1fr 20px;
  align-items: center; gap: clamp(12px, 2.5vw, 24px);
  padding: clamp(18px, 2.8vw, 24px) 0; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.09);
  transition: padding-left .22s; border-radius: 4px;
}
.post-row:first-child { border-top: 1px solid rgba(255,255,255,.09); }
.post-row:hover { padding-left: 10px; }
.post-meta { display: flex; flex-direction: column; gap: 4px; }
.post-date { font-size: clamp(9px, 1.1vw, 10px); letter-spacing: .1em; color: var(--neon-v); text-shadow: 0 0 10px rgba(180,79,255,.4); white-space: nowrap; }
.post-read { font-size: 9px; letter-spacing: .08em; color: var(--ink-dim); opacity: .6; }
.post-body-meta { display: flex; flex-direction: column; gap: 5px; }
.post-cat { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--neon-c); opacity: .7; }
.post-title-label { font-family: var(--serif); font-size: clamp(15px, 2.5vw, 19px); font-weight: 400; color: var(--ink); line-height: 1.25; transition: color .2s; }
.post-row:hover .post-title-label { color: var(--neon-c); }
.post-arrow { color: var(--ink-dim); font-size: 14px; justify-self: end; flex-shrink: 0; transition: transform .2s, color .2s; }
.post-row:hover .post-arrow { transform: translateX(5px); color: var(--neon-c); }

/* ═══════════════════════════
   CONTACT
═══════════════════════════ */
.contact-inner { max-width: 620px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact-heading { font-family: var(--serif); font-size: clamp(32px, 7.5vw, 52px); font-weight: 300; line-height: 1.08; margin-bottom: 16px; }
.contact-heading em {
  font-style: italic;
  background: linear-gradient(108deg, var(--gold) 10%, var(--neon-c) 90%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.contact-sub { font-size: clamp(12px, 1.5vw, 13.5px); color: var(--ink-dim); line-height: 1.85; max-width: 440px; margin-bottom: 36px; }
.contact-email {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 99px;
  border: 1px solid rgba(63,255,168,.3); color: var(--neon-g);
  text-shadow: 0 0 14px rgba(63,255,168,.35);
  text-decoration: none; font-size: clamp(11px, 1.5vw, 13px); letter-spacing: .08em;
  transition: background .25s, box-shadow .25s, gap .2s; margin-bottom: 40px;
}
.contact-email:hover { background: rgba(63,255,168,.07); box-shadow: 0 0 28px rgba(63,255,168,.2); gap: 16px; }
.contact-socials { display: flex; gap: clamp(12px, 3vw, 24px); flex-wrap: wrap; justify-content: center; }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
  border-radius: 10px; background: rgba(255,255,255,.07);
  color: var(--ink-dim); text-decoration: none;
  font-size: clamp(10px, 1.3vw, 11.5px); letter-spacing: .1em; text-transform: uppercase;
  transition: background .22s, color .22s, box-shadow .22s;
  border: 1px solid rgba(255,255,255,.11);
}
.social-btn:hover { background: rgba(24,224,255,.07); color: var(--neon-c); box-shadow: 0 0 18px rgba(24,224,255,.15); border-color: rgba(24,224,255,.2); }

/* ═══════════════════════════
   FOOTER
═══════════════════════════ */
.site-footer {
  padding: clamp(20px, 3vw, 28px) var(--pad);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.05);
}
.site-footer span, .footer-made { font-size: clamp(9px, 1.2vw, 10.5px); letter-spacing: .1em; color: var(--ink-dim); }
.footer-links { display: flex; gap: clamp(14px, 2.5vw, 28px); }
.footer-links a { font-size: clamp(9px, 1.2vw, 10.5px); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--neon-c); }
@media (max-width: 480px) { .footer-made { display: none; } }

/* ═══════════════════════════
   SINGLE POST
═══════════════════════════ */
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: clamp(24px, 4vw, 40px) var(--pad) 0;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-dim); text-decoration: none; transition: color .2s, gap .2s;
}
.back-link::before { content: '←'; }
.back-link:hover { color: var(--neon-c); gap: 14px; }

.post-header { padding: clamp(28px, 5vw, 52px) var(--pad) clamp(36px, 6vw, 60px); max-width: 820px; }
.post-meta-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.post-category { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--neon-c); text-shadow: 0 0 12px rgba(24,224,255,.5); }
.post-sep { color: rgba(255,255,255,.15); }
.post-date-top { font-size: 9.5px; letter-spacing: .12em; color: var(--neon-v); text-shadow: 0 0 10px rgba(180,79,255,.4); }
.post-read-top { font-size: 9.5px; letter-spacing: .1em; color: var(--ink-dim); }
.post-title-single { font-family: var(--serif); font-size: clamp(32px, 6vw, 58px); font-weight: 300; line-height: 1.08; color: var(--ink); margin-bottom: 24px; }
.post-title-single em { font-style: italic; background: linear-gradient(110deg, var(--gold) 0%, var(--neon-c) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.post-lead { font-family: var(--serif); font-size: clamp(17px, 2.2vw, 21px); font-weight: 300; font-style: italic; color: var(--ink-dim); line-height: 1.65; max-width: 640px; border-left: 2px solid var(--neon-c); padding-left: 20px; box-shadow: -4px 0 20px rgba(24,224,255,.1); }

.post-hero { width: 100%; height: clamp(200px, 35vw, 380px); background: linear-gradient(135deg, rgba(24,224,255,.06), rgba(180,79,255,.08), rgba(63,255,168,.05)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.post-hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.025) 40px), repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,.025) 40px); }
.post-hero img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* two-col layout */
.content-layout { display: grid; grid-template-columns: 1fr 300px; gap: 0; align-items: start; }
@media (max-width: 860px) { .content-layout { grid-template-columns: 1fr; } .sidebar { display: none; } }
.content-col { min-width: 0; }
.sidebar { align-self: start; }

.post-body { padding: clamp(40px, 6vw, 64px) var(--pad); }
.post-body p { font-family: var(--serif); font-size: var(--prose); font-weight: 300; line-height: 1.85; color: var(--ink); margin-bottom: 1.6em; }
.post-body h2 { font-family: var(--serif); font-size: clamp(22px, 3.5vw, 32px); font-weight: 300; color: var(--ink); margin: 2.4em 0 .8em; line-height: 1.15; }
.post-body h2 em { font-style: italic; color: var(--gold); }
.post-body h3 { font-family: var(--mono); font-size: clamp(11px, 1.4vw, 13px); font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--neon-c); text-shadow: 0 0 12px rgba(24,224,255,.35); margin: 2em 0 .7em; }
.post-body blockquote { margin: 2.4em 0; padding: 24px 28px; border-left: 2px solid var(--gold); background: rgba(200,168,106,.05); border-radius: 0 12px 12px 0; }
.post-body blockquote p { font-family: var(--serif); font-size: clamp(17px, 2.2vw, 22px); font-style: italic; color: var(--gold); margin: 0; line-height: 1.6; }
.post-body pre { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 22px 24px; overflow-x: auto; margin: 1.8em 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: var(--neon-g); }
.post-body code { font-family: var(--mono); font-size: .9em; color: var(--neon-g); background: rgba(63,255,168,.07); padding: 2px 7px; border-radius: 5px; }
.post-body pre code { background: none; padding: 0; font-size: inherit; }
.post-body hr { border: none; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent); margin: 3em 0; }
.post-body ul, .post-body ol { font-family: var(--serif); font-size: var(--prose); color: var(--ink); padding-left: 1.5em; margin-bottom: 1.6em; line-height: 1.85; }
.post-body li + li { margin-top: .5em; }
.post-body a { color: var(--neon-c); text-decoration: underline; text-underline-offset: 3px; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 var(--pad) clamp(32px, 5vw, 52px); }
.tag { padding: 5px 16px; border-radius: 99px; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); background: rgba(255,255,255,.055); transition: background .2s, color .2s, box-shadow .2s; cursor: default; }
.tag:hover { background: rgba(24,224,255,.13); color: var(--neon-c); box-shadow: 0 0 14px rgba(24,224,255,.18); }

.author-card { margin: 0 var(--pad) clamp(40px, 6vw, 64px); padding: clamp(20px, 3vw, 32px); border-radius: 18px; background: rgba(255,255,255,.04); display: flex; align-items: center; gap: clamp(16px, 3vw, 28px); flex-wrap: wrap; border: 1px solid rgba(255,255,255,.07); }
.author-avatar { width: clamp(48px, 8vw, 64px); height: clamp(48px, 8vw, 64px); border-radius: 50%; background: rgba(200,168,106,.09); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: clamp(16px, 2.5vw, 22px); color: var(--gold); flex-shrink: 0; box-shadow: 0 0 0 1px rgba(200,168,106,.2), 0 0 20px rgba(24,224,255,.08); overflow: hidden; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-family: var(--serif); font-size: clamp(18px, 2.5vw, 22px); font-weight: 400; color: var(--ink); margin-bottom: 4px; }
.author-bio { font-size: 12px; color: var(--ink-dim); line-height: 1.7; }

/* related */
.related { padding: clamp(32px, 5vw, 52px) var(--pad); border-top: 1px solid rgba(255,255,255,.06); }
.related-label { font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-dim); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.related-label::before { content: ''; width: 22px; height: 1px; background: var(--neon-c); box-shadow: 0 0 9px var(--neon-c); }
.related-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(12px, 2vw, 20px); }
@media (max-width: 640px) { .related-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) and (min-width: 641px) { .related-grid { grid-template-columns: 1fr 1fr; } }
.related-card { padding: clamp(16px, 2.5vw, 24px); border-radius: 14px; background: rgba(255,255,255,.04); text-decoration: none; display: flex; flex-direction: column; gap: 8px; border: 1px solid rgba(255,255,255,.07); transition: background .28s, box-shadow .28s, transform .28s; }
.related-card:hover { background: rgba(24,224,255,.05); box-shadow: 0 8px 32px rgba(24,224,255,.1); transform: translateY(-3px); }
.related-cat { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--neon-v); text-shadow: 0 0 8px rgba(180,79,255,.4); }
.related-title-label { font-family: var(--serif); font-size: clamp(15px, 2vw, 18px); font-weight: 400; color: var(--ink); line-height: 1.3; }
.related-date { font-size: 9px; letter-spacing: .1em; color: var(--ink-dim); margin-top: auto; padding-top: 8px; }

/* ═══════════════════════════
   SIDEBAR WIDGETS
═══════════════════════════ */
.sidebar { padding: clamp(32px, 5vw, 52px) var(--pad) clamp(32px, 5vw, 52px) 0; position: sticky; top: 60px; display: flex; flex-direction: column; gap: 28px; }
.widget { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 22px; overflow: hidden; position: relative; }
.widget::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--neon-c), transparent); opacity: .5; }
.widget.w-violet::before { background: linear-gradient(90deg, transparent, var(--neon-v), transparent); }
.widget.w-gold::before   { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.widget.w-green::before  { background: linear-gradient(90deg, transparent, var(--neon-g), transparent); }
.widget-title { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.widget-title::before { content: ''; width: 14px; height: 1px; flex-shrink: 0; background: var(--neon-c); box-shadow: 0 0 6px var(--neon-c); }
.widget.w-violet .widget-title::before { background: var(--neon-v); box-shadow: 0 0 6px var(--neon-v); }
.widget.w-gold   .widget-title::before { background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.widget.w-green  .widget-title::before { background: var(--neon-g); box-shadow: 0 0 6px var(--neon-g); }

/* author widget */
.w-author-avatar { width: 52px; height: 52px; border-radius: 50%; background: rgba(200,168,106,.09); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 18px; color: var(--gold); margin-bottom: 12px; box-shadow: 0 0 0 1px rgba(200,168,106,.2), 0 0 18px rgba(24,224,255,.08); overflow: hidden; }
.w-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.w-author-name { font-family: var(--serif); font-size: 18px; font-weight: 400; color: var(--ink); margin-bottom: 6px; }
.w-author-bio { font-size: 11.5px; color: var(--ink-dim); line-height: 1.7; margin-bottom: 14px; }
.w-author-link { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--neon-c); text-decoration: none; transition: opacity .2s; }
.w-author-link:hover { opacity: .7; }

/* recent posts widget */
.w-post { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); text-decoration: none; transition: padding-left .2s; }
.w-post:first-of-type { padding-top: 0; } .w-post:last-of-type { border-bottom: none; padding-bottom: 0; }
.w-post:hover { padding-left: 5px; }
.w-post-cat { font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--neon-v); }
.w-post-title { font-family: var(--serif); font-size: 14px; font-weight: 400; color: var(--ink); line-height: 1.3; }
.w-post-date { font-size: 9px; color: var(--ink-dim); }

/* tags widget */
.w-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.w-tag { padding: 4px 13px; border-radius: 99px; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); background: rgba(255,255,255,.05); cursor: default; transition: background .2s, color .2s, box-shadow .2s; }
.w-tag:hover { background: rgba(24,224,255,.1); color: var(--neon-c); box-shadow: 0 0 10px rgba(24,224,255,.15); }

/* newsletter widget */
.w-newsletter-text { font-size: 12px; color: var(--ink-dim); line-height: 1.7; margin-bottom: 14px; }
.w-input { width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 10px 14px; font-family: var(--mono); font-size: 12px; color: var(--ink); outline: none; margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; }
.w-input::placeholder { color: var(--ink-dim); }
.w-input:focus { border-color: rgba(24,224,255,.3); box-shadow: 0 0 12px rgba(24,224,255,.1); }
.w-btn { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid rgba(63,255,168,.3); background: rgba(63,255,168,.08); color: var(--neon-g); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .22s, box-shadow .22s; }
.w-btn:hover { background: rgba(63,255,168,.15); box-shadow: 0 0 18px rgba(63,255,168,.18); }

/* ═══════════════════════════
   ARCHIVE / BLOG INDEX
═══════════════════════════ */
.archive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 28px); }
@media (max-width: 560px) { .archive-grid { grid-template-columns: 1fr; } }

.archive-card { padding: clamp(20px, 3.5vw, 32px); border-radius: 18px; background: rgba(255,255,255,.04); text-decoration: none; display: flex; flex-direction: column; gap: 10px; border: 1px solid rgba(255,255,255,.07); transition: background .28s, box-shadow .28s, transform .28s; }
.archive-card:hover { background: rgba(24,224,255,.04); box-shadow: 0 10px 40px rgba(24,224,255,.09); transform: translateY(-3px); }
.archive-card-cat { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--neon-c); }
.archive-card-title { font-family: var(--serif); font-size: clamp(18px, 3vw, 24px); font-weight: 400; color: var(--ink); line-height: 1.25; }
.archive-card-excerpt { font-size: 12px; color: var(--ink-dim); line-height: 1.8; }
.archive-card-meta { display: flex; gap: 12px; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.05); }
.archive-card-date { font-size: 9px; letter-spacing: .1em; color: var(--neon-v); }
.archive-card-read { font-size: 9px; color: var(--ink-dim); }

/* ═══════════════════════════
   404
═══════════════════════════ */
.not-found { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(40px, 8vw, 80px) var(--pad); text-align: center; position: relative; }
.error-code { font-family: var(--serif); font-size: clamp(100px, 22vw, 220px); font-weight: 300; line-height: 1; letter-spacing: -.02em; background: linear-gradient(135deg, var(--neon-v) 0%, var(--neon-c) 45%, var(--neon-g) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: drop-shadow(0 0 40px rgba(24,224,255,.35)) drop-shadow(0 0 80px rgba(180,79,255,.2)); user-select: none; position: relative; z-index: 1; animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{filter:drop-shadow(0 0 30px rgba(24,224,255,.3)) drop-shadow(0 0 60px rgba(180,79,255,.15))} 50%{filter:drop-shadow(0 0 55px rgba(24,224,255,.55)) drop-shadow(0 0 100px rgba(180,79,255,.3))} }
.error-ring { position: absolute; width: clamp(240px,50vw,520px); height: clamp(240px,50vw,520px); border-radius: 50%; border: 1px solid rgba(24,224,255,.08); animation: spin 18s linear infinite; z-index: 0; }
.error-ring::before { content: ''; position: absolute; top: -2px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--neon-c); box-shadow: 0 0 12px var(--neon-c),0 0 24px var(--neon-c); transform: translateX(-50%); }
.error-ring-2 { position: absolute; width: clamp(180px,38vw,380px); height: clamp(180px,38vw,380px); border-radius: 50%; border: 1px solid rgba(180,79,255,.07); animation: spin 28s linear infinite reverse; z-index: 0; }
.error-ring-2::before { content: ''; position: absolute; bottom: -2px; left: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--neon-v); box-shadow: 0 0 10px var(--neon-v),0 0 20px var(--neon-v); transform: translateX(-50%); }
@keyframes spin { to { transform: rotate(360deg); } }
.error-heading { font-family: var(--serif); font-size: clamp(20px, 3.5vw, 30px); font-weight: 300; color: var(--ink); margin-top: clamp(16px, 3vw, 28px); margin-bottom: 12px; position: relative; z-index: 1; }
.error-heading em { font-style: italic; color: var(--gold); }
.error-sub { font-size: clamp(12px, 1.5vw, 13.5px); color: var(--ink-dim); max-width: 400px; line-height: 1.85; margin-bottom: clamp(32px, 5vw, 48px); position: relative; z-index: 1; }
.error-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 1; }
.btn-home { display: inline-flex; align-items: center; gap: 10px; padding: 13px 30px; border-radius: 99px; background: rgba(24,224,255,.1); border: 1px solid rgba(24,224,255,.3); color: var(--neon-c); text-shadow: 0 0 12px rgba(24,224,255,.5); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background .25s, box-shadow .25s, gap .2s; }
.btn-home:hover { background: rgba(24,224,255,.18); box-shadow: 0 0 28px rgba(24,224,255,.25); gap: 16px; }
.btn-home::before { content: '←'; }
.btn-blog { display: inline-flex; align-items: center; gap: 10px; padding: 13px 30px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: var(--ink-dim); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background .25s, color .25s, border-color .25s, gap .2s; }
.btn-blog:hover { background: rgba(180,79,255,.08); color: var(--neon-v); border-color: rgba(180,79,255,.3); gap: 16px; }
.btn-blog::after { content: '→'; }
.glitch-lines { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.glitch-lines span { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--neon-c), transparent); opacity: 0; animation: glitch-scan 6s ease-in-out infinite; }
.glitch-lines span:nth-child(1){top:20%;animation-delay:0s} .glitch-lines span:nth-child(2){top:55%;animation-delay:2.2s;opacity:.5} .glitch-lines span:nth-child(3){top:78%;animation-delay:4s}
@keyframes glitch-scan { 0%{opacity:0;transform:scaleX(0)} 10%{opacity:.12;transform:scaleX(1)} 20%{opacity:0;transform:scaleX(1)} 100%{opacity:0} }

/* ═══════════════════════════
   READING PROGRESS
═══════════════════════════ */
#progress { position: fixed; top: 0; left: 0; height: 2px; width: 0%; z-index: 9999; background: linear-gradient(90deg, var(--neon-v), var(--neon-c), var(--neon-g)); box-shadow: 0 0 10px var(--neon-c); transition: width .1s linear; }

/* ═══════════════════════════
   ANIMATIONS
═══════════════════════════ */
@keyframes fadeUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:none} }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.stagger.visible > *:nth-child(1){opacity:1;transform:none;transition-delay:.04s}
.stagger.visible > *:nth-child(2){opacity:1;transform:none;transition-delay:.14s}
.stagger.visible > *:nth-child(3){opacity:1;transform:none;transition-delay:.24s}
.stagger.visible > *:nth-child(4){opacity:1;transform:none;transition-delay:.34s}

/* ═══════════════════════════
   WP ADMIN BAR OFFSET
═══════════════════════════ */
.admin-bar .site-nav { top: 32px; }
.admin-bar .nav-drawer { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-nav { top: 46px; } .admin-bar .nav-drawer { top: 46px; } }

/* ═══════════════════════════
   WŁASNE SEKCJE (custom sections)
═══════════════════════════ */
.mk-custom-section {
    padding: clamp(48px,8vw,80px) var(--pad);
    width: 100%;
}

/* style tła */
.mk-custom-section.bg-default {
    background: transparent;
}
.mk-custom-section.bg-dark {
    background: rgba(0,0,0,.2);
}
.mk-custom-section.bg-glass {
    background: rgba(255,255,255,.04);
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}
.mk-custom-section.bg-neon {
    border-top: 1px solid rgba(24,224,255,.2);
    border-bottom: 1px solid rgba(24,224,255,.2);
    box-shadow: 0 0 60px rgba(24,224,255,.04) inset;
}
.mk-custom-section.bg-none {
    background: none;
    padding-left: 0;
    padding-right: 0;
}

/* tytuł własnej sekcji */
.mk-custom-section .custom-section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 9.5px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-bottom: clamp(24px,4vw,40px);
}
.mk-custom-section .custom-section-label::before {
    content: '';
    width: 22px; height: 1px;
    background: var(--neon-c);
    box-shadow: 0 0 9px var(--neon-c);
}
.mk-custom-section .custom-section-title {
    font-family: var(--serif);
    font-size: clamp(28px,5vw,44px);
    font-weight: 300;
    color: var(--ink);
    margin-bottom: clamp(24px,4vw,40px);
    line-height: 1.1;
}
.mk-custom-section .custom-section-content {
    width: 100%;
}
/* wpisy shortcode i embedy responsywne */
.mk-custom-section .custom-section-content iframe,
.mk-custom-section .custom-section-content video,
.mk-custom-section .custom-section-content img {
    max-width: 100%;
    height: auto;
}
.mk-custom-section .custom-section-content p {
    font-family: var(--serif);
    font-size: clamp(15px,2vw,18px);
    color: var(--ink-dim);
    line-height: 1.85;
    margin-bottom: 1.4em;
}
.mk-custom-section .custom-section-content a {
    color: var(--neon-c);
}

/* ═══════════════════════════
   BANNER — PEŁNA KONTROLA STYLÓW
═══════════════════════════ */

/* ── Kolory eyebrow ── */
.bey-cyan   { color: var(--neon-c); text-shadow: 0 0 20px rgba(24,224,255,.6); }
.bey-green  { color: var(--neon-g); text-shadow: 0 0 20px rgba(63,255,168,.6); }
.bey-gold   { color: var(--gold);   text-shadow: 0 0 20px rgba(200,168,106,.5); }
.bey-violet { color: var(--neon-v); text-shadow: 0 0 20px rgba(167,139,250,.6); }
.bey-white  { color: #fff;          opacity: .9; }
.bey-dim    { color: var(--ink-dim); }

/* ── Rozmiary tytułu ── */
.bt-size-sm { font-size: clamp(22px, 5vw,  44px) !important; }
.bt-size-md { font-size: clamp(28px, 7vw,  56px) !important; }
.bt-size-lg { font-size: clamp(36px, 8vw,  64px) !important; }
.bt-size-xl { font-size: clamp(38px, 9.5vw, 76px) !important; }

/* ── Kolory tytułu ── */
.bt-color-white    { color: #f5f2ec; }
.bt-color-gradient {
    background: linear-gradient(110deg, var(--gold) 0%, var(--neon-c) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.bt-color-gradient em {
    background: linear-gradient(110deg, var(--neon-c) 0%, var(--neon-g) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.bt-color-gold  { color: var(--gold); }
.bt-color-gold em { color: var(--neon-c); -webkit-text-fill-color: var(--neon-c); }
.bt-color-cyan  { color: var(--neon-c); }
.bt-color-ink   { color: var(--ink); }

/* ── Rozmiary podtytułu ── */
.bsub-size-sm { font-size: clamp(10px, 1.2vw, 11px) !important; }
.bsub-size-md { font-size: clamp(11.5px, 1.6vw, 13px) !important; }
.bsub-size-lg { font-size: clamp(13px, 2vw, 15px) !important; }

/* ── Kolory podtytułu ── */
.bsub-color-dim    { color: var(--ink-dim); }
.bsub-color-white  { color: rgba(245,242,236,.85); }
.bsub-color-cyan   { color: var(--neon-c); }
.bsub-color-gold   { color: var(--gold); }

/* ── Zmienne kolorów CTA ── */
.bcta-color-cyan   { --cta-c: var(--neon-c);  --cta-rgb: 24,224,255; }
.bcta-color-green  { --cta-c: var(--neon-g);  --cta-rgb: 63,255,168; }
.bcta-color-gold   { --cta-c: var(--gold);    --cta-rgb: 200,168,106; }
.bcta-color-violet { --cta-c: var(--neon-v);  --cta-rgb: 167,139,250; }
.bcta-color-white  { --cta-c: #fff;           --cta-rgb: 255,255,255; }

/* ── Rozmiary CTA ── */
.bcta-size-sm { padding: 8px 18px !important;  font-size: 9.5px !important; }
.bcta-size-md { padding: 12px 28px !important; font-size: 11.5px !important; }
.bcta-size-lg { padding: 16px 36px !important; font-size: 13px !important; }

/* ── Style CTA ── */

/* Ghost — tylko tekst ze strzałką */
.bcta-style-ghost {
    background: none;
    border: none;
    color: var(--cta-c, var(--neon-c));
    text-shadow: 0 0 14px rgba(var(--cta-rgb, 24,224,255), .5);
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.bcta-style-ghost:hover { opacity: .8; }

/* Filled — pełne tło */
.bcta-style-filled {
    background: var(--cta-c, var(--neon-c));
    border: none;
    color: #0a1020;
    text-shadow: none;
    box-shadow: 0 4px 24px rgba(var(--cta-rgb, 24,224,255), .4);
    border-radius: 99px;
}
.bcta-style-filled:hover {
    box-shadow: 0 6px 36px rgba(var(--cta-rgb, 24,224,255), .6);
    transform: translateY(-2px);
}

/* Outline — obrys */
.bcta-style-outline {
    background: transparent;
    border: 1px solid var(--cta-c, var(--neon-c));
    color: var(--cta-c, var(--neon-c));
    border-radius: 99px;
    text-shadow: none;
}
.bcta-style-outline:hover {
    background: rgba(var(--cta-rgb, 24,224,255), .08);
    box-shadow: 0 0 24px rgba(var(--cta-rgb, 24,224,255), .2);
}

/* Neon — z silnym glowem */
.bcta-style-neon {
    background: rgba(var(--cta-rgb, 24,224,255), .1);
    border: 1px solid rgba(var(--cta-rgb, 24,224,255), .4);
    color: var(--cta-c, var(--neon-c));
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(var(--cta-rgb, 24,224,255), .2),
                inset 0 0 20px rgba(var(--cta-rgb, 24,224,255), .05);
    text-shadow: 0 0 14px rgba(var(--cta-rgb, 24,224,255), .7);
}
.bcta-style-neon:hover {
    box-shadow: 0 0 36px rgba(var(--cta-rgb, 24,224,255), .4),
                inset 0 0 20px rgba(var(--cta-rgb, 24,224,255), .08);
}

/* Pill — zaokrąglona pigułka */
.bcta-style-pill {
    background: rgba(var(--cta-rgb, 24,224,255), .12);
    border: 1px solid rgba(var(--cta-rgb, 24,224,255), .3);
    color: var(--cta-c, var(--neon-c));
    border-radius: 99px;
    text-shadow: 0 0 10px rgba(var(--cta-rgb, 24,224,255), .4);
}
.bcta-style-pill:hover {
    background: rgba(var(--cta-rgb, 24,224,255), .2);
}

/* ikona w CTA */
.cta-icon {
    display: inline-block;
    transition: transform .22s;
}
.banner-cta:hover .cta-icon {
    transform: translateX(5px);
}
.bcta-style-ghost .cta-icon { margin-left: 4px; }

/* ═══════════════════════════════════════════
   STANDARDOWE WIDŻETY WORDPRESS — pełny styl
═══════════════════════════════════════════ */

/* ── Wspólny wrapper (from before_widget) ── */
.sidebar .widget {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 22px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0; /* gap obsługuje sidebar flex */
}
.sidebar .widget::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-c), transparent);
    opacity: .45;
}

/* ── Tytuł widżetu ── */
.sidebar .widget-title {
    font-size: 9.5px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar .widget-title::before {
    content: '';
    width: 14px; height: 1px;
    flex-shrink: 0;
    background: var(--neon-c);
    box-shadow: 0 0 6px var(--neon-c);
}

/* ── Listy (Categories, Archives, Pages, Meta, Nav Menu) ── */
.sidebar .widget ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
}
.sidebar .widget ul li {
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 0;
}
.sidebar .widget ul li:last-child {
    border-bottom: none;
}
.sidebar .widget ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    font-size: 12px;
    letter-spacing: .04em;
    color: var(--ink-dim);
    text-decoration: none;
    transition: color .2s, padding-left .2s;
}
.sidebar .widget ul li a:hover {
    color: var(--neon-c);
    padding-left: 6px;
}

/* licznik (np. kategorie z liczbą wpisów) */
.sidebar .widget ul li a .post-count,
.sidebar .widget ul li .post-count {
    font-size: 9px;
    letter-spacing: .08em;
    color: var(--neon-v);
    background: rgba(167,139,250,.12);
    padding: 2px 8px;
    border-radius: 99px;
}

/* zagnieżdżone listy */
.sidebar .widget ul ul {
    margin-left: 14px;
    border-left: 1px solid rgba(255,255,255,.06);
    padding-left: 10px;
    margin-top: 4px;
}
.sidebar .widget ul ul li a {
    font-size: 11px;
    padding: 6px 0;
}

/* ── Archives (select dropdown) ── */
.sidebar .widget select {
    width: 100%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    padding: 9px 14px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink);
    outline: none;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2390b8c8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}
.sidebar .widget select:focus {
    border-color: rgba(24,224,255,.35);
    box-shadow: 0 0 12px rgba(24,224,255,.1);
}
.sidebar .widget select option {
    background: #152030;
    color: var(--ink);
}

/* ── Search widget ── */
.sidebar .widget_search .search-form,
.sidebar .widget_search form {
    display: flex;
    gap: 0;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.sidebar .widget_search .search-form:focus-within,
.sidebar .widget_search form:focus-within {
    border-color: rgba(24,224,255,.3);
    box-shadow: 0 0 14px rgba(24,224,255,.1);
}
.sidebar .widget_search input[type="search"],
.sidebar .widget_search input[type="text"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 14px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink);
    outline: none;
    min-width: 0;
}
.sidebar .widget_search input::placeholder { color: var(--ink-dim); }
.sidebar .widget_search input[type="submit"],
.sidebar .widget_search button[type="submit"] {
    background: none;
    border: none;
    border-left: 1px solid rgba(255,255,255,.08);
    padding: 0 14px;
    color: var(--ink-dim);
    cursor: pointer;
    font-size: 14px;
    transition: color .2s;
}
.sidebar .widget_search input[type="submit"]:hover,
.sidebar .widget_search button[type="submit"]:hover {
    color: var(--neon-c);
}

/* ── Tag Cloud ── */
.sidebar .widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.sidebar .widget_tag_cloud .tagcloud a {
    padding: 4px 13px;
    border-radius: 99px;
    font-size: 9px !important;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-dim) !important;
    background: rgba(255,255,255,.05);
    text-decoration: none;
    transition: background .2s, color .2s, box-shadow .2s;
    line-height: 1.6;
}
.sidebar .widget_tag_cloud .tagcloud a:hover {
    background: rgba(24,224,255,.1);
    color: var(--neon-c) !important;
    box-shadow: 0 0 10px rgba(24,224,255,.15);
    padding-left: 13px; /* override inherited hover */
}

/* ── Recent Posts ── */
.sidebar .widget_recent_entries ul li {
    padding: 10px 0;
}
.sidebar .widget_recent_entries ul li a {
    display: block;
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.35;
    padding: 0;
    margin-bottom: 4px;
}
.sidebar .widget_recent_entries ul li a:hover {
    color: var(--neon-c);
    padding-left: 0;
}
.sidebar .widget_recent_entries .post-date {
    display: block;
    font-size: 9px;
    letter-spacing: .1em;
    color: var(--neon-v);
}

/* ── Recent Comments ── */
.sidebar .widget_recent_comments ul li {
    padding: 10px 0;
    font-size: 12px;
    color: var(--ink-dim);
    line-height: 1.6;
}
.sidebar .widget_recent_comments ul li a {
    color: var(--neon-c);
    font-size: 12px;
    padding: 0;
}
.sidebar .widget_recent_comments ul li a:hover {
    color: var(--neon-g);
    padding-left: 0;
}

/* ── Calendar ── */
.sidebar .widget_calendar table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}
.sidebar .widget_calendar caption {
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 400;
    color: var(--ink);
    text-align: left;
    margin-bottom: 10px;
    caption-side: top;
}
.sidebar .widget_calendar th {
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-dim);
    padding: 6px 4px;
    text-align: center;
    font-weight: 400;
}
.sidebar .widget_calendar td {
    padding: 5px 4px;
    text-align: center;
    color: var(--ink-dim);
}
.sidebar .widget_calendar td a {
    color: var(--neon-c);
    text-decoration: none;
    font-weight: 400;
    padding: 0;
    display: inline;
}
.sidebar .widget_calendar td a:hover {
    color: var(--neon-g);
    padding-left: 0;
}
.sidebar .widget_calendar #today {
    color: var(--neon-g);
    font-weight: 500;
    background: rgba(63,255,168,.1);
    border-radius: 4px;
}
.sidebar .widget_calendar .pad { color: rgba(255,255,255,.15); }
.sidebar #prev a, .sidebar #next a {
    color: var(--neon-c);
    text-decoration: none;
    font-size: 10px;
    letter-spacing: .1em;
}

/* ── RSS ── */
.sidebar .widget_rss ul li {
    padding: 10px 0;
}
.sidebar .widget_rss ul li a.rsswidget {
    font-family: var(--serif);
    font-size: 14px;
    color: var(--ink);
    display: block;
    margin-bottom: 4px;
    padding: 0;
}
.sidebar .widget_rss ul li a.rsswidget:hover {
    color: var(--neon-c);
    padding-left: 0;
}
.sidebar .widget_rss .rss-date,
.sidebar .widget_rss cite {
    display: block;
    font-size: 9px;
    letter-spacing: .1em;
    color: var(--neon-v);
    margin-top: 3px;
}
.sidebar .widget_rss .rssSummary {
    font-size: 11.5px;
    color: var(--ink-dim);
    line-height: 1.7;
    margin-top: 6px;
}

/* ── Text widget ── */
.sidebar .widget_text p {
    font-family: var(--serif);
    font-size: 14px;
    color: var(--ink-dim);
    line-height: 1.8;
    margin-bottom: 1em;
}
.sidebar .widget_text a {
    color: var(--neon-c);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Meta (login/logout, RSS links) ── */
.sidebar .widget_meta ul li a {
    font-size: 11px;
}

/* ── Navigation Menu widget ── */
.sidebar .widget_nav_menu ul li a {
    font-size: 12px;
    letter-spacing: .06em;
}

/* ── Image widget ── */
.sidebar .widget_media_image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.08);
}

/* ── Gutenberg / Block widgets ── */
.sidebar .wp-block-widget-area .wp-block-heading {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — pełny audit mobilny
   Breakpointy: 480px (małe telefony), 600px (telefony),
                640px (duże telefony), 860px (tablety)
═══════════════════════════════════════════════ */

/* ── Globalne poprawki mobilne ── */
@media (max-width: 640px) {

  /* Zapobiegaj wylewaniu się elementów poza ekran */
  body { overflow-x: hidden; }
  .shell { overflow-x: hidden; }

  /* ── NAV ── */
  .site-nav { padding: 12px 20px; }

  /* ── BANNER ── */
  .banner { height: clamp(280px, 75vw, 360px); }
  .banner-content { padding: 0 20px 28px; }
  .banner-eyebrow { margin-bottom: 10px; }
  .banner-title { font-size: clamp(28px, 9vw, 44px); line-height: 1.08; }
  .banner-sub { max-width: 100% !important; font-size: 12px; }
  .banner-cta { margin-top: 18px; }
  /* wszystkie style CTA na mobilnym */
  .bcta-size-sm, .bcta-size-md, .bcta-size-lg {
    padding: 10px 20px !important;
    font-size: 10px !important;
  }

  /* ── SEKCJE ── */
  section { padding: 40px 20px; }
  .section-label { margin-bottom: 24px; }

  /* ── ABOUT ── */
  .about-card { max-width: 100%; }
  .about-name { font-size: clamp(28px, 8vw, 38px); }
  .about-divider { margin: 20px 0; }

  /* ── APPS — 1 kolumna poniżej 480px (już jest), ale gap ── */
  .apps-grid { gap: 12px; }
  .app-card { padding: 20px; }
  /* Wyłącz hover transform na dotykowych (nie ma hover) */
  .c1:hover, .c2:hover, .c3:hover, .c4:hover {
    transform: none;
    box-shadow: none;
  }

  /* ── BLOG posts list ── */
  .post-row {
    grid-template-columns: 72px 1fr 16px;
    gap: 10px;
    padding: 14px 0;
  }
  .post-row:hover { padding-left: 0; } /* wyłącz indent na mobile */
  .post-title-label { font-size: 14px; }

  /* ── CONTACT ── */
  .contact-email {
    padding: 12px 20px;
    font-size: 11px;
    word-break: break-all;
    text-align: center;
  }
  .contact-socials { gap: 8px; }
  .social-btn { padding: 8px 14px; font-size: 10px; }

  /* ── FOOTER ── */
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-links { gap: 14px; }

  /* ── SINGLE POST ── */
  .post-header { padding: 24px 20px 28px; }
  .post-meta-top { gap: 10px; flex-wrap: wrap; }
  .post-title-single { font-size: clamp(24px, 7vw, 36px); }
  .post-lead { font-size: 15px; padding-left: 14px; }
  .post-body { padding: 28px 20px; }
  .post-body p { font-size: 15px; }
  .post-body h2 { font-size: clamp(20px, 5vw, 26px); }
  .post-body pre { padding: 16px; font-size: 11.5px; overflow-x: auto; }
  .post-body blockquote { padding: 16px 18px; }
  .post-body blockquote p { font-size: 16px; }
  .post-tags { padding: 0 20px 24px; gap: 6px; }
  .author-card { margin: 0 20px 28px; flex-direction: column; padding: 18px; }

  /* ── RELATED posts ── */
  .related { padding: 28px 20px; }
  .related-grid { grid-template-columns: 1fr; gap: 10px; }

  /* ── SEARCH ── */
  .mk-search-form { max-width: 100%; }

  /* ── 404 ── */
  .error-code { font-size: clamp(80px, 22vw, 140px); }
  .error-ring  { width: clamp(160px,60vw,280px); height: clamp(160px,60vw,280px); }
  .error-ring-2{ width: clamp(120px,45vw,200px); height: clamp(120px,45vw,200px); }
  .error-actions { flex-direction: column; align-items: center; }
  .btn-home, .btn-blog { width: 100%; justify-content: center; }

  /* ── ARCHIVE GRID ── */
  .archive-grid { grid-template-columns: 1fr; gap: 10px; }
  .archive-card { padding: 18px; }

  /* ── SIDEBAR — schowany na mobile, już jest, ale wymuś ── */
  .sidebar { display: none !important; }
  .content-layout { grid-template-columns: 1fr !important; }

  /* ── WŁASNE SEKCJE ── */
  .mk-custom-section { padding: 36px 20px; }

  /* ── WIDŻETY SIDEBAR (gdy aktywny w przyszłości) ── */
  .sidebar .widget { padding: 16px; }

  /* ── TAGI / CHIPS ── */
  .w-tags { gap: 6px; }
  .w-tag  { padding: 3px 10px; font-size: 8.5px; }
  .chips  { gap: 6px; }
  .chip   { padding: 4px 12px; font-size: 9px; }
}

/* ── Małe telefony (360–480px) ── */
@media (max-width: 480px) {
  .banner-title { font-size: clamp(24px, 8.5vw, 36px); }
  .post-row { grid-template-columns: 60px 1fr 14px; gap: 8px; }
  .post-date { font-size: 8.5px; }
  .contact-socials { flex-direction: column; width: 100%; }
  .social-btn { width: 100%; justify-content: center; }
  .apps-grid { grid-template-columns: 1fr; }
  .banner-cta { width: 100%; justify-content: center; }
}

/* ── Tablety (641–860px) ── */
@media (max-width: 860px) and (min-width: 641px) {
  section { padding: clamp(40px, 6vw, 64px) var(--pad); }
  .banner-title { font-size: clamp(32px, 7vw, 56px); }
  .apps-grid { gap: clamp(12px, 2vw, 18px); }
  .post-row { grid-template-columns: 80px 1fr 18px; }
  .archive-grid { gap: clamp(10px, 2vw, 16px); }
  .archive-card { padding: clamp(16px, 3vw, 24px); }
  .related-grid { grid-template-columns: 1fr 1fr; }
  /* sidebar wciąż schowany na tablecie portrait */
}

/* ── Dodatkowe: zapobiegaj overflow tekstu ── */
.banner-title,
.about-name,
.contact-heading,
.post-title-single,
.error-heading {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ── Obrazki w treści wpisu — zawsze responsywne ── */
.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ── Tabele w treści wpisu ── */
.post-body table {
  width: 100%;
  overflow-x: auto;
  display: block;
  border-collapse: collapse;
  font-size: 12px;
}
.post-body table th,
.post-body table td {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.1);
  text-align: left;
  color: var(--ink-dim);
  white-space: nowrap;
}
.post-body table th {
  color: var(--neon-c);
  background: rgba(24,224,255,.05);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ── Embedded iframes (YouTube, mapy itp.) ── */
.post-body iframe,
.mk-custom-section iframe {
  max-width: 100%;
  width: 100%;
}
/* Responsywny wrapper 16:9 dla embedów ── */
.post-body .wp-block-embed__wrapper,
.post-body .embed-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.post-body .wp-block-embed__wrapper iframe,
.post-body .embed-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* ── Touch: usuń hover effects które wyglądają źle na dotykowych ── */
@media (hover: none) {
  .app-card:hover { transform: none; box-shadow: none; }
  .archive-card:hover { transform: none; box-shadow: none; }
  .related-card:hover { transform: none; box-shadow: none; }
  .post-row:hover { padding-left: 0; }
  .banner-cta:hover .cta-icon { transform: none; }
}

/* ── Landscape telefon (poziomo) ── */
@media (max-width: 860px) and (orientation: landscape) and (max-height: 500px) {
  .banner { height: clamp(220px, 50vh, 300px); }
  .banner-content { padding: 0 20px 18px; }
  .banner-title { font-size: clamp(22px, 5vh, 36px); }
}


/* ═══════════════════════════════════════════════
   RESPONSIVE — pełny audit mobilny
   Breakpointy: 480px (małe telefony), 600px (telefony),
                640px (duże telefony), 860px (tablety)
═══════════════════════════════════════════════ */

/* ── Globalne poprawki mobilne ── */
@media (max-width: 640px) {

  /* Zapobiegaj wylewaniu się elementów poza ekran */
  body { overflow-x: hidden; }
  .shell { overflow-x: hidden; }

  /* ── NAV ── */
  .site-nav { padding: 12px 20px; }

  /* ── BANNER ── */
  .banner { height: clamp(280px, 75vw, 360px); }
  .banner-content { padding: 0 20px 28px; }
  .banner-eyebrow { margin-bottom: 10px; }
  .banner-title { font-size: clamp(28px, 9vw, 44px); line-height: 1.08; }
  .banner-sub { max-width: 100% !important; font-size: 12px; }
  .banner-cta { margin-top: 18px; }
  /* wszystkie style CTA na mobilnym */
  .bcta-size-sm, .bcta-size-md, .bcta-size-lg {
    padding: 10px 20px !important;
    font-size: 10px !important;
  }

  /* ── SEKCJE ── */
  section { padding: 40px 20px; }
  .section-label { margin-bottom: 24px; }

  /* ── ABOUT ── */
  .about-card { max-width: 100%; }
  .about-name { font-size: clamp(28px, 8vw, 38px); }
  .about-divider { margin: 20px 0; }

  /* ── APPS — 1 kolumna poniżej 480px (już jest), ale gap ── */
  .apps-grid { gap: 12px; }
  .app-card { padding: 20px; }
  /* Wyłącz hover transform na dotykowych (nie ma hover) */
  .c1:hover, .c2:hover, .c3:hover, .c4:hover {
    transform: none;
    box-shadow: none;
  }

  /* ── BLOG posts list ── */
  .post-row {
    grid-template-columns: 72px 1fr 16px;
    gap: 10px;
    padding: 14px 0;
  }
  .post-row:hover { padding-left: 0; } /* wyłącz indent na mobile */
  .post-title-label { font-size: 14px; }

  /* ── CONTACT ── */
  .contact-email {
    padding: 12px 20px;
    font-size: 11px;
    word-break: break-all;
    text-align: center;
  }
  .contact-socials { gap: 8px; }
  .social-btn { padding: 8px 14px; font-size: 10px; }

  /* ── FOOTER ── */
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-links { gap: 14px; }

  /* ── SINGLE POST ── */
  .post-header { padding: 24px 20px 28px; }
  .post-meta-top { gap: 10px; flex-wrap: wrap; }
  .post-title-single { font-size: clamp(24px, 7vw, 36px); }
  .post-lead { font-size: 15px; padding-left: 14px; }
  .post-body { padding: 28px 20px; }
  .post-body p { font-size: 15px; }
  .post-body h2 { font-size: clamp(20px, 5vw, 26px); }
  .post-body pre { padding: 16px; font-size: 11.5px; overflow-x: auto; }
  .post-body blockquote { padding: 16px 18px; }
  .post-body blockquote p { font-size: 16px; }
  .post-tags { padding: 0 20px 24px; gap: 6px; }
  .author-card { margin: 0 20px 28px; flex-direction: column; padding: 18px; }

  /* ── RELATED posts ── */
  .related { padding: 28px 20px; }
  .related-grid { grid-template-columns: 1fr; gap: 10px; }

  /* ── SEARCH ── */
  .mk-search-form { max-width: 100%; }

  /* ── 404 ── */
  .error-code { font-size: clamp(80px, 22vw, 140px); }
  .error-ring  { width: clamp(160px,60vw,280px); height: clamp(160px,60vw,280px); }
  .error-ring-2{ width: clamp(120px,45vw,200px); height: clamp(120px,45vw,200px); }
  .error-actions { flex-direction: column; align-items: center; }
  .btn-home, .btn-blog { width: 100%; justify-content: center; }

  /* ── ARCHIVE GRID ── */
  .archive-grid { grid-template-columns: 1fr; gap: 10px; }
  .archive-card { padding: 18px; }

  /* ── SIDEBAR — schowany na mobile, już jest, ale wymuś ── */
  .sidebar { display: none !important; }
  .content-layout { grid-template-columns: 1fr !important; }

  /* ── WŁASNE SEKCJE ── */
  .mk-custom-section { padding: 36px 20px; }

  /* ── WIDŻETY SIDEBAR (gdy aktywny w przyszłości) ── */
  .sidebar .widget { padding: 16px; }

  /* ── TAGI / CHIPS ── */
  .w-tags { gap: 6px; }
  .w-tag  { padding: 3px 10px; font-size: 8.5px; }
  .chips  { gap: 6px; }
  .chip   { padding: 4px 12px; font-size: 9px; }
}

/* ── Małe telefony (360–480px) ── */
@media (max-width: 480px) {
  .banner-title { font-size: clamp(24px, 8.5vw, 36px); }
  .post-row { grid-template-columns: 60px 1fr 14px; gap: 8px; }
  .post-date { font-size: 8.5px; }
  .contact-socials { flex-direction: column; width: 100%; }
  .social-btn { width: 100%; justify-content: center; }
  .apps-grid { grid-template-columns: 1fr; }
  .banner-cta { width: 100%; justify-content: center; }
}

/* ── Tablety (641–860px) ── */
@media (max-width: 860px) and (min-width: 641px) {
  section { padding: clamp(40px, 6vw, 64px) var(--pad); }
  .banner-title { font-size: clamp(32px, 7vw, 56px); }
  .apps-grid { gap: clamp(12px, 2vw, 18px); }
  .post-row { grid-template-columns: 80px 1fr 18px; }
  .archive-grid { gap: clamp(10px, 2vw, 16px); }
  .archive-card { padding: clamp(16px, 3vw, 24px); }
  .related-grid { grid-template-columns: 1fr 1fr; }
  /* sidebar wciąż schowany na tablecie portrait */
}

/* ── Dodatkowe: zapobiegaj overflow tekstu ── */
.banner-title,
.about-name,
.contact-heading,
.post-title-single,
.error-heading {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ── Obrazki w treści wpisu — zawsze responsywne ── */
.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ── Tabele w treści wpisu ── */
.post-body table {
  width: 100%;
  overflow-x: auto;
  display: block;
  border-collapse: collapse;
  font-size: 12px;
}
.post-body table th,
.post-body table td {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.1);
  text-align: left;
  color: var(--ink-dim);
  white-space: nowrap;
}
.post-body table th {
  color: var(--neon-c);
  background: rgba(24,224,255,.05);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ── Embedded iframes (YouTube, mapy itp.) ── */
.post-body iframe,
.mk-custom-section iframe {
  max-width: 100%;
  width: 100%;
}
/* Responsywny wrapper 16:9 dla embedów ── */
.post-body .wp-block-embed__wrapper,
.post-body .embed-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.post-body .wp-block-embed__wrapper iframe,
.post-body .embed-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* ── Touch: usuń hover effects które wyglądają źle na dotykowych ── */
@media (hover: none) {
  .app-card:hover { transform: none; box-shadow: none; }
  .archive-card:hover { transform: none; box-shadow: none; }
  .related-card:hover { transform: none; box-shadow: none; }
  .post-row:hover { padding-left: 0; }
  .banner-cta:hover .cta-icon { transform: none; }
}

/* ── Landscape telefon (poziomo) ── */
@media (max-width: 860px) and (orientation: landscape) and (max-height: 500px) {
  .banner { height: clamp(220px, 50vh, 300px); }
  .banner-content { padding: 0 20px 18px; }
  .banner-title { font-size: clamp(22px, 5vh, 36px); }
}

/* ═══════════════════════════════════════════════
   CZYTELNOŚĆ — poprawa kontrastu i typografii
   Nadpisuje poprzednie wartości przez kaskadę
═══════════════════════════════════════════════ */

/* ── Globalny tekst — większy, jaśniejszy, lepszy kontrast ── */
:root {
  --ink:     #f0f8ff;       /* jaśniejszy biały-niebieski */
  --ink-dim: #a8ccd8;       /* wyraźniejszy dim — nie za szary */
}

body {
  font-size: clamp(14px, 1.8vw, 16px);   /* było: 12–13.5px */
  font-weight: 400;                        /* było: 300 — za cienkie */
  line-height: 1.85;
  letter-spacing: .015em;
}

/* ── Tekst w sekcjach ── */
.about-text p,
.post-body p,
.post-body li,
.app-desc,
.contact-sub,
.archive-card-excerpt {
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.9;
  color: var(--ink);
  font-weight: 400;
}

/* ── Sidebar i widżety ── */
.sidebar .widget ul li a,
.sidebar .widget_text p,
.sidebar .widget_recent_entries ul li a {
  font-size: 14px;
  color: var(--ink);
}

/* ── Karty bloga — tytuły ── */
.archive-card-title,
.post-title-label {
  font-size: clamp(16px, 2.2vw, 19px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.4;
}

/* ── Meta (daty, kategorie) ── */
.archive-card-cat,
.post-cat,
.post-date,
.post-read,
.archive-card-date,
.archive-card-read {
  font-size: 11px;
  letter-spacing: .12em;
}

/* ── Treść wpisu ── */
.post-body {
  font-family: var(--serif);
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 2;
  font-weight: 400;
}
.post-body h2 { font-size: clamp(22px, 3.5vw, 28px); margin-bottom: 16px; }
.post-body h3 { font-size: clamp(19px, 2.8vw, 24px); margin-bottom: 12px; }
.post-body p  { margin-bottom: 1.5em; color: var(--ink); }
.post-body li { margin-bottom: .6em; color: var(--ink); }
.post-body a  { color: var(--neon-c); text-underline-offset: 3px; }

/* ── Nagłówek wpisu ── */
.post-title-single {
  font-size: clamp(26px, 5.5vw, 48px);
  line-height: 1.1;
  color: var(--ink);
}
.post-lead {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--ink-dim);
  line-height: 1.8;
}

/* ── Etykiety sekcji ── */
.section-label {
  font-size: 10px;
  letter-spacing: .26em;
  color: var(--ink-dim);
}

/* ── Chipy technologii ── */
.chip {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-dim);
}

/* ── Nav linki ── */
.nav-links a {
  font-size: clamp(10px, 1.3vw, 12px);
  letter-spacing: .14em;
  color: rgba(240,248,255,.85);
}

/* ── Footer ── */
.site-footer span,
.footer-links a {
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(240,248,255,.55);
}

/* ════════════════════════════════
   MOBILE — poprawiona czytelność
════════════════════════════════ */
@media (max-width: 640px) {

  body {
    font-size: 15px;    /* stały rozmiar na mobile */
    line-height: 1.8;
    letter-spacing: .01em;
  }

  /* Treść wpisu na mobile */
  .post-body {
    font-size: 16px;
    line-height: 1.95;
  }
  .post-body h2 { font-size: 20px; }
  .post-body h3 { font-size: 18px; }

  /* Tytuły kart */
  .archive-card-title,
  .post-title-label {
    font-size: 16px;
    line-height: 1.35;
  }

  /* Nagłówek wpisu */
  .post-title-single {
    font-size: clamp(22px, 7vw, 32px);
    line-height: 1.12;
  }

  /* O mnie */
  .about-text p {
    font-size: 15px;
    line-height: 1.85;
  }

  /* Opis aplikacji */
  .app-desc {
    font-size: 13.5px;
    line-height: 1.8;
  }

  /* Banner podtytuł */
  .banner-sub {
    font-size: 13px !important;
    line-height: 1.75;
  }

  /* Kontakt */
  .contact-sub {
    font-size: 14px;
    line-height: 1.8;
  }

  /* Sidebar gdy aktywny */
  .sidebar .widget ul li a {
    font-size: 14px;
    padding: 10px 0;
  }

  /* Komentarze */
  .mk-comment-form p label { font-size: 11px; }
  .w-input { font-size: 15px; }

  /* Post meta */
  .post-meta-top { font-size: 11px; gap: 8px; }

}

/* ── Bardzo małe telefony (360px) ── */
@media (max-width: 400px) {
  body { font-size: 14.5px; }
  .post-body { font-size: 15px; }
  .post-title-single { font-size: 20px; }
  .archive-card-title { font-size: 15px; }
}


/* ═══════════════════════════════════════════════
   CZYTELNOŚĆ v2 — stonowane, spójne, opencode.ai klimat
═══════════════════════════════════════════════ */

/* ── Zmienne kolorów — lepszy kontrast bez bólu oczu ── */
:root {
  --ink:        #dceef5;   /* jaśniejszy niż #eaf4f8 ale nie biały */
  --ink-dim:    #7fa8bc;   /* wyraźniejszy dim */
  --neon-c:     #12bcd4;   /* cyan stonowany — nie #18e0ff */
  --neon-v:     #8b6fd4;   /* fiolet stonowany */
  --neon-g:     #2dd68a;   /* mint stonowany */
  --gold:       #b8954a;   /* złoto cieplejsze */
}

/* ── Body — czytelny rozmiar ── */
body {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
}

/* ── Treść wpisu ── */
.post-body {
  font-size: 15px;
  line-height: 1.85;
}
.post-body p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
  margin-bottom: 1.4em;
}
.post-body h2 { font-size: clamp(19px, 2.8vw, 24px); }
.post-body h3 { font-size: 12px; letter-spacing: .16em; }

/* ── Nav ── */
.nav-links a {
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(220,238,245,.8);
}

/* ── Sekcje ── */
.about-text p,
.contact-sub {
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
}

/* ── Karty aplikacji ── */
.app-desc {
  font-size: 13px;
  line-height: 1.75;
}

/* ── Karty bloga ── */
.archive-card-title,
.post-title-label {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 400;
}
.archive-card-excerpt {
  font-size: 13px;
  line-height: 1.7;
}
.archive-card-cat,
.post-cat {
  font-size: 10px;
  letter-spacing: .14em;
}
.archive-card-date,
.archive-card-read,
.post-date,
.post-read {
  font-size: 10.5px;
  letter-spacing: .1em;
}

/* ── Tytuł wpisu ── */
.post-title-single {
  font-size: clamp(24px, 4.5vw, 42px);
  line-height: 1.1;
}
.post-lead {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.75;
}
.post-meta-top {
  font-size: 10.5px;
  letter-spacing: .12em;
}

/* ── Sidebar widżety — spójne z resztą ── */
.sidebar {
  padding: clamp(20px, 3vw, 32px) clamp(16px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: start;
}
.sidebar .widget {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 18px 20px;
}
.sidebar .widget-title {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar .widget-title::before {
  content: '';
  width: 12px; height: 1px;
  background: var(--neon-c);
  box-shadow: none; /* bez glow */
  flex-shrink: 0;
}
.sidebar .widget ul li a {
  font-size: 13px;
  color: var(--ink-dim);
  padding: 7px 0;
  letter-spacing: .02em;
}
.sidebar .widget ul li a:hover { color: var(--neon-c); }

/* Tag cloud */
.sidebar .widget_tag_cloud .tagcloud a {
  font-size: 10px !important;
  padding: 3px 10px;
  color: var(--ink-dim) !important;
}
.sidebar .widget_tag_cloud .tagcloud a:hover {
  color: var(--ink) !important;
  background: rgba(255,255,255,.08);
  box-shadow: none;
  padding-left: 10px;
}

/* Recent posts w sidebarze */
.sidebar .widget_recent_entries ul li a {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink);
}

/* Wbudowane widżety autora (mk) */
.w-author-name { font-size: 14px; color: var(--ink); font-weight: 400; }
.w-author-bio  { font-size: 12.5px; color: var(--ink-dim); line-height: 1.7; }
.w-post-title  { font-size: 13px; color: var(--ink); line-height: 1.35; }
.w-post-cat    { font-size: 9.5px; letter-spacing: .14em; }
.w-post-date   { font-size: 10px; letter-spacing: .08em; }

/* ── Zmniejszone glow neonów ── */
.post-category { text-shadow: none; }
.post-date-top { text-shadow: none; }
.banner-eyebrow { text-shadow: 0 0 12px rgba(18,188,212,.35); } /* było .6 */
.section-label::before { box-shadow: 0 0 5px var(--neon-c); } /* było 8px */
.nav-links a::after { box-shadow: 0 0 5px var(--neon-b); }

/* App card — usuwam glow z hoverów */
.c1:hover { box-shadow: 0 8px 28px rgba(18,188,212,.12); }
.c2:hover { box-shadow: 0 8px 28px rgba(139,111,212,.12); }
.c3:hover { box-shadow: 0 8px 28px rgba(45,214,138,.1); }
.c4:hover { box-shadow: 0 8px 28px rgba(184,149,74,.1); }

/* Archive cards */
.archive-card:hover { box-shadow: 0 6px 24px rgba(18,188,212,.08); }

/* Widget title bez glow */
.sidebar .widget::before { opacity: .25; }

/* ── Footer ── */
.site-footer span,
.footer-links a {
  font-size: 12px;
  letter-spacing: .08em;
}

/* ── Section labels ── */
.section-label {
  font-size: 9.5px;
  letter-spacing: .22em;
  color: var(--ink-dim);
}

/* ── Kontakt ── */
.contact-email { font-size: 13px; }
.social-btn    { font-size: 10px; letter-spacing: .1em; }

/* ── Mobile — stonowane ── */
@media (max-width: 640px) {
  body { font-size: 14px; line-height: 1.75; }
  .post-body { font-size: 15px; }
  .post-body p { font-size: 15px; }
  .post-title-single { font-size: clamp(20px, 6.5vw, 28px); }
  .archive-card-title { font-size: 14px; }
  .about-text p { font-size: 14px; }
  .app-desc { font-size: 13px; }
  .banner-sub { font-size: 13px !important; }
}


/* ═══════════════════════════════════════════════
   POPRAWKI v3
═══════════════════════════════════════════════ */

/* ── Ujednolicenie fontów — wszystko mono, serif tylko tytuły ── */
body,
.about-text,
.app-desc,
.contact-sub,
.archive-card-excerpt,
.widget,
.sidebar,
.post-meta-top,
.section-label,
.chip,
.social-btn,
.footer-links a,
.site-footer span {
    font-family: var(--mono);
}

/* Tytuły sekcji — serif */
.about-name,
.contact-heading,
.post-title-single,
.app-name,
.archive-card-title,
.post-title-label,
.related-title-label,
.banner-title {
    font-family: var(--serif);
}

/* ── Kontrast tekstu wpisu — wyraźnie czytelny ── */
.post-body {
    font-family: var(--serif) !important;
    font-size: 17px !important;
    line-height: 1.9 !important;
    color: #dceef5 !important;
}
.post-body p {
    font-size: 17px !important;
    color: #dceef5 !important;
    font-weight: 400 !important;
    margin-bottom: 1.5em !important;
}
.post-lead {
    color: #7fa8bc !important;
    font-size: 15px !important;
}

/* ── Sidebar — wyrównanie od góry ── */
.content-layout {
    align-items: start !important;
}
.sidebar {
    align-self: start !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.post-hero:empty,
.post-hero:not(:has(img)) {
    display: none !important;
}

/* ── Pasek kategorii pod menu — na stronie bloga ── */
.mk-cat-bar {
    background: rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 0 var(--pad);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-height: 44px;
}
.mk-cat-bar a {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-dim);
    text-decoration: none;
    padding: 12px 10px;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
}
.mk-cat-bar a:hover,
.mk-cat-bar a.current-cat {
    color: var(--neon-c);
    border-bottom-color: var(--neon-c);
}
.mk-cat-bar .mk-cat-all {
    color: var(--ink);
    font-weight: 400;
}

@media (max-width: 640px) {
    .mk-cat-bar { gap: 2px; padding: 0 16px; overflow-x: auto; flex-wrap: nowrap; }
    .mk-cat-bar a { padding: 10px 8px; font-size: 9.5px; }
    .post-body { font-size: 16px !important; }
    .post-body p { font-size: 16px !important; }
}

/* ── Sekcja blog na stronie głównej — większa czcionka ── */
.post-title-label {
    font-size: clamp(17px, 2.8vw, 22px) !important;
    line-height: 1.3 !important;
}
.post-cat {
    font-size: 10px !important;
    opacity: .9 !important;
}
.post-date {
    font-size: 11px !important;
}
.post-read {
    font-size: 10.5px !important;
    opacity: .8 !important;
}
.post-row {
    padding: clamp(18px,2.8vw,26px) 0 !important;
}
@media (max-width: 640px) {
    .post-title-label { font-size: 16px !important; }
}

/* ── Ujednolicenie fontów — wpis jak reszta strony ── */
.post-body {
    font-family: var(--mono) !important;
    font-size: 14px !important;
    line-height: 1.85 !important;
}
.post-body p,
.post-body li {
    font-family: var(--mono) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.85 !important;
}
.post-body ul,
.post-body ol {
    font-family: var(--mono) !important;
    font-size: 14px !important;
}
/* Tytuły w treści — serif jak nagłówki sekcji */
.post-body h2 {
    font-family: var(--serif) !important;
    font-size: clamp(20px, 3vw, 26px) !important;
    font-weight: 300 !important;
}
.post-body h3 {
    font-family: var(--serif) !important;
    font-size: clamp(17px, 2.5vw, 22px) !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    color: var(--ink) !important;
    text-shadow: none !important;
}
.post-body blockquote p {
    font-family: var(--serif) !important;
}

/* ═══════════════════════════════════════
   POPRAWKI UI
═══════════════════════════════════════ */

/* 1. Usuń separatory jeśli zostały w CSS */
/* 2. Wpis — mniejszy odstęp od tytułu, szersza treść */
.post-header {
    padding-bottom: clamp(16px, 2.5vw, 28px) !important;
}
.post-body {
    max-width: 920px !important;
    padding: clamp(20px, 3vw, 36px) var(--pad) !important;
}

/* 3. Nazwy sekcji — większe, dłuższa kreska */
.section-label {
    font-size: clamp(13px, 1.8vw, 16px) !important;
    letter-spacing: .2em !important;
    color: var(--ink-dim) !important;
    margin-bottom: clamp(28px, 4vw, 48px) !important;
    gap: 20px !important;
}
.section-label::before {
    width: 72px !important;  /* było 22px + 50px = 72px */
    height: 1px !important;
    box-shadow: 0 0 6px var(--neon-c) !important;
}

/* ── Sidebar — reset i spójny styl ── */
.sidebar .widget-title,
.sidebar h2.widget-title,
.sidebar h3.widget-title {
    font-family: var(--mono) !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    letter-spacing: .22em !important;
    text-transform: uppercase !important;
    color: var(--ink-dim) !important;
    margin-bottom: 14px !important;
    line-height: 1.4 !important;
}
.sidebar .widget ul li a {
    font-family: var(--mono) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--ink-dim) !important;
    letter-spacing: .02em !important;
}
.sidebar .widget_recent_entries ul li a,
.sidebar .widget_recent_comments ul li a,
.sidebar .widget_recent_comments ul li {
    font-family: var(--mono) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

/* ── Pasek kategorii na stronie wpisów ── */
.mk-cat-bar {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    padding: 0 var(--pad);
    border-bottom: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.02);
}
.mk-cat-bar-link {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-dim);
    text-decoration: none;
    padding: 14px 16px;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
}
.mk-cat-bar-link:hover,
.mk-cat-bar-link.active {
    color: var(--neon-c);
    border-bottom-color: var(--neon-c);
}
@media (max-width: 640px) {
    .mk-cat-bar { flex-wrap: nowrap; overflow-x: auto; padding: 0 16px; }
    .mk-cat-bar-link { font-size: 10px; padding: 12px 12px; }
}

/* ═══════════════════════════════════════
   GLOBALNE UJEDNOLICENIE FONTÓW — FINALNE
   Mono wszędzie. Serif tylko wielkie tytuły.
═══════════════════════════════════════ */

/* Wymuś mono na wszystkich elementach tekstowych */
/* em w tytułach NIE dostaje globalnego koloru — ma gradient */
p, li, span, a, div, td, th, label, input, textarea, select, button,
.archive-card-excerpt,
.about-text p,
.app-desc,
.contact-sub,
.post-body p,
.post-body li,
.post-body ul,
.post-body ol,
.sidebar .widget,
.sidebar .widget ul li,
.sidebar .widget ul li a,
.sidebar .widget_recent_entries ul li a,
.sidebar .widget_recent_comments ul li,
.widget-title,
.archive-card-cat,
.archive-card-date,
.archive-card-read,
.post-cat,
.post-date,
.post-read,
.post-meta,
.post-date-top,
.post-read-top,
.chip,
.w-tag,
.section-label,
.nav-links a,
.back-link,
.banner-eyebrow,
.banner-sub,
.contact-email,
.social-btn,
.related-date,
.site-footer span,
.footer-links a,
.mk-cat-bar-link,
.comment-form p,
.mk-comment-form p {
    font-family: var(--mono) !important;
}

/* Serif TYLKO dla dużych nagłówków i tytułów */
.banner-title,
.about-name,
.contact-heading,
.post-title-single,
.app-name,
.archive-card-title,
.post-title-label,
.related-title-label,
.nav-logo,
.post-lead,
.post-body h1,
.post-body h2,
.post-body h3,
.post-body blockquote p {
    font-family: var(--serif) !important;
}

/* ── Karta aplikacji — ikona obok nazwy ── */
.app-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.app-icon-img {
    width: clamp(24px, 4vw, 30px);
    height: clamp(24px, 4vw, 30px);
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
}
.app-icon-emoji {
    font-size: clamp(22px, 4vw, 28px);
    line-height: 1;
    flex-shrink: 0;
}
/* Usuń stary margin-bottom z ikony gdy jest w wierszu */
.app-name-row .app-icon {
    margin-bottom: 0;
    font-size: clamp(22px, 4vw, 28px);
    line-height: 1;
}
/* Nazwa bez górnego marginesu gdy jest w wierszu */
.app-name-row .app-name {
    margin-bottom: 0;
}

/* ── Karty aplikacji — reset po zmianie fontów ── */
.app-tag {
    font-size: 9.5px !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    margin-bottom: 10px !important;
    display: block !important;
}
.app-name {
    font-size: clamp(17px, 2.8vw, 22px) !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    margin-bottom: 0 !important;
}
.app-desc {
    font-size: 13px !important;
    line-height: 1.75 !important;
    color: var(--ink-dim) !important;
    margin-top: 12px !important;
}
.app-link {
    font-size: 10.5px !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    margin-top: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.app-name-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 0 !important;
}
.app-icon-img {
    width: clamp(24px, 4vw, 30px) !important;
    height: clamp(24px, 4vw, 30px) !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    border-radius: 6px !important;
}
.app-icon-emoji {
    font-size: clamp(22px, 4vw, 28px) !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}


/* ── Banner title — nowe kolory ── */
.bt-color-mint   { color: #2dd68a; }
.bt-color-violet { color: #a78bfa; }
.bt-color-silver { color: #c0c8d8; }
.bt-color-warm   { color: #f0e0c0; }
.bt-color-rose   { color: #f4a0b0; }
.bt-color-orange { color: #f0a050; }
.bt-color-sky    { color: #70c8f0; }
.bt-color-lime   { color: #a0e040; }
.bt-color-peach  { color: #f0b890; }

/* ── Banner sub — przesunięty 30px w prawo ── */
.banner-sub {
    margin-left: 30px !important;
}
@media (max-width: 640px) {
    .banner-sub { margin-left: 0 !important; }
}

/* Front page redesign inspired by the referenced tech / cyber themes */
body.home {
    background:
        radial-gradient(circle at top left, rgba(20, 186, 219, 0.18), transparent 32%),
        radial-gradient(circle at 88% 18%, rgba(0, 94, 255, 0.14), transparent 26%),
        linear-gradient(180deg, #07111f 0%, #091423 46%, #0b1524 100%);
}

body.home .shell {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)),
        rgba(8, 18, 31, 0.88);
    box-shadow: none;
}

.front-page {
    position: relative;
    isolation: isolate;
}

.front-page::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 12%, rgba(35, 208, 255, 0.09), transparent 24%),
        radial-gradient(circle at 84% 18%, rgba(53, 90, 255, 0.11), transparent 28%),
        radial-gradient(circle at 50% 62%, rgba(255,255,255,0.03), transparent 34%);
}

body.home .site-nav {
    background: rgba(6, 15, 28, 0.82);
    border-bottom: 1px solid rgba(79, 159, 255, 0.15);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

body.home .nav-logo {
    letter-spacing: 0.08em;
}

body.home .nav-links a {
    color: rgba(223, 240, 252, 0.78);
}

body.home .section-label {
    display: none !important;
}

body.home .banner {
    min-height: clamp(320px, 44vh, 420px);
    height: auto;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

body.home .banner::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 220px;
    background: linear-gradient(180deg, rgba(7, 14, 24, 0), rgba(7, 14, 24, 0.94));
    pointer-events: none;
    z-index: 1;
}

body.home .banner-content {
    min-height: clamp(320px, 44vh, 420px);
    justify-content: center;
    padding: clamp(42px, 5vw, 64px) var(--pad) clamp(18px, 2vw, 26px);
}

.banner-shell {
    position: relative;
    z-index: 2;
    display: block;
}

.banner-copy {
    max-width: 920px;
}

body.home .banner-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    border: 1px solid rgba(58, 156, 255, 0.18);
    border-radius: 999px;
    background: rgba(9, 23, 39, 0.55);
    color: #97dfff;
    text-shadow: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

body.home .banner-title {
    max-width: 14ch;
    margin-top: 14px;
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.14;
    letter-spacing: -0.03em;
    color: #f4fbff !important;
    text-wrap: balance;
}

body.home .banner-title em {
    font-style: normal !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    color: inherit !important;
}

body.home .banner-sub {
    margin-left: 0 !important;
    margin-top: 12px;
    max-width: 660px !important;
    font-size: clamp(14px, 1.1vw, 16px) !important;
    line-height: 1.78;
    color: #a8c1d5 !important;
}

.banner-mini-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.banner-mini-item {
    color: #b4cadb;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.9;
}

.banner-mini-item::before {
    content: "/";
    margin-right: 8px;
    color: #47cfff;
}

.banner-mini-item:first-child::before {
    content: "";
    margin-right: 0;
}

body.home .banner-cta-wrap {
    justify-content: flex-start;
    padding-right: 0;
    margin-top: 16px;
}

body.home .banner-cta {
    gap: 12px;
    padding: 12px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1aa8d8 0%, #245eff 100%);
    color: #f8fdff;
    text-shadow: none;
    box-shadow: 0 14px 28px rgba(36, 101, 255, 0.22);
    border: 1px solid rgba(255,255,255,0.12);
}

body.home .banner-cta:hover {
    gap: 16px;
}

body.home section {
    padding: clamp(44px, 5vw, 68px) var(--pad);
}

body.home .front-page > section + section {
    margin-top: 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: clamp(18px, 2.8vw, 28px);
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #eef8ff;
}

.section-intro {
    margin-top: 12px;
    color: #8eaabf;
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.7;
    max-width: 680px;
}

body.home .about-card {
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: clamp(18px, 3vw, 30px);
    align-items: center;
    padding: clamp(20px, 2.8vw, 30px);
    border-radius: 32px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
        rgba(9, 20, 35, 0.68);
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 24px 70px rgba(0,0,0,0.24);
    position: relative;
    overflow: hidden;
}

body.home .about-card::after,
body.home .app-card::after,
body.home .post-row::after,
body.home .contact-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at top right, rgba(98, 188, 255, 0.14), transparent 30%);
    opacity: 0.9;
}

.about-copy {
    max-width: 720px;
}

body.home .about-name {
    font-size: clamp(34px, 4.2vw, 56px);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

body.home .about-name em {
    display: block;
    margin-top: 6px;
    color: #8ab4ff;
    text-shadow: none;
}

body.home .about-role {
    margin-top: 14px;
    margin-bottom: 18px;
    font-size: 12px;
    letter-spacing: 0.26em;
    color: #5ecfff;
    text-shadow: none;
}

body.home .about-text {
    color: #a4bdce;
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.8;
    padding-left: 40px;
}

.about-side {
    padding: 18px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
        rgba(255,255,255,0.03);
    border: 1px solid rgba(114, 171, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

body.home .chips {
    gap: 10px;
}

body.home .chip {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(17, 34, 56, 0.78);
    border: 1px solid rgba(104, 156, 255, 0.13);
    color: #d0e6f4;
    font-size: 10px;
    letter-spacing: 0.14em;
}

body.home .chip:hover {
    background: rgba(21, 112, 246, 0.18);
    color: #eff9ff;
    box-shadow: 0 12px 28px rgba(21, 112, 246, 0.16);
}

body.home .apps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 20px);
}

body.home .app-card {
    padding: clamp(18px, 2.2vw, 24px);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
        rgba(8, 19, 33, 0.78);
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
    position: relative;
    isolation: isolate;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

body.home .app-card::before {
    background: linear-gradient(140deg, rgba(94, 143, 255, 0.28), rgba(255,255,255,0.02));
}

body.home .app-card:hover {
    transform: translateY(-6px);
    border-color: rgba(88, 179, 255, 0.22);
    box-shadow: 0 26px 54px rgba(9, 45, 97, 0.26);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
        rgba(10, 24, 43, 0.88);
}

.app-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.app-index {
    color: rgba(255,255,255,0.28);
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1;
}

body.home .app-tag {
    margin-bottom: 0 !important;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(68, 125, 255, 0.12);
    border: 1px solid rgba(94, 161, 255, 0.18);
    text-shadow: none;
    color: #c7e6ff !important;
}

body.home .app-name-row {
    gap: 14px !important;
}

body.home .app-icon-img,
body.home .app-icon-emoji {
    width: 48px !important;
    height: 48px !important;
    font-size: 34px !important;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(29, 105, 255, 0.18), rgba(32, 208, 255, 0.12));
    border: 1px solid rgba(113, 184, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

body.home .app-name {
    font-size: clamp(20px, 2.2vw, 26px) !important;
    font-weight: 400 !important;
    color: #eef7ff !important;
}

body.home .app-desc {
    margin-top: 12px !important;
    color: #9db5c7 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

body.home .app-link {
    margin-top: 18px !important;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

body.home .post-row {
    grid-template-columns: clamp(84px, 12vw, 110px) 1fr 24px;
    padding: 20px 18px !important;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 22px;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.03);
    position: relative;
    overflow: hidden;
    transition: transform .22s ease, border-color .22s ease, background .22s ease, padding-left .22s ease;
}

body.home .post-row:first-child {
    border-top: 1px solid rgba(255,255,255,0.07);
}

body.home .post-row:hover {
    padding-left: 30px !important;
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(22, 67, 138, 0.24), rgba(18, 156, 214, 0.08));
    border-color: rgba(99, 175, 255, 0.18);
}

body.home .post-date {
    color: #7fd5ff;
    text-shadow: none;
}

body.home .post-read,
body.home .post-cat {
    color: #86a8c0 !important;
}

body.home .post-title-label {
    font-size: clamp(18px, 2vw, 22px) !important;
    color: #eef7ff;
}

body.home .post-row:hover .post-title-label {
    color: #72d7ff;
}

.blog-more-wrap {
    margin-top: clamp(18px, 2vw, 24px);
}

.blog-more-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 14px;
    color: #dff5ff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.18em;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(67, 126, 255, 0.08));
    border: 1px solid rgba(132, 183, 255, 0.12);
    transition: transform .22s, background .22s, gap .22s;
}

.blog-more-link:hover {
    transform: translateY(-2px);
    gap: 16px;
    background: rgba(35, 98, 204, 0.18);
}

body.home .contact-inner {
    max-width: none;
    padding: clamp(24px, 3vw, 34px);
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(38, 143, 255, 0.2), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
        rgba(9, 19, 34, 0.82);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 70px rgba(0,0,0,0.22);
    position: relative;
    overflow: hidden;
}

body.home .contact-heading {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 0.98;
}

body.home .contact-heading em {
    background: linear-gradient(135deg, #49d9ff 0%, #7a9bff 100%);
}

body.home .contact-sub {
    max-width: 720px;
    margin-bottom: 24px;
    color: #9bb4c7;
    font-size: clamp(14px, 1.2vw, 16px);
}

body.home .contact-email {
    padding: 16px 28px;
    background: linear-gradient(135deg, #0d2c4a 0%, #123a64 100%);
    border: 1px solid rgba(101, 168, 255, 0.24);
    color: #ecf9ff;
    text-shadow: none;
    box-shadow: 0 18px 45px rgba(10, 48, 106, 0.24);
}

body.home .contact-email:hover {
    background: linear-gradient(135deg, #11375c 0%, #164674 100%);
}

body.home .social-btn {
    padding: 12px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(53, 109, 255, 0.08));
    color: #cce1ef;
    border: 1px solid rgba(126, 180, 255, 0.12);
    transition: transform .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
}

body.home .social-btn:hover {
    background: rgba(35, 98, 204, 0.18);
    color: #eff9ff;
    box-shadow: none;
    transform: translateY(-2px);
    border-color: rgba(126, 180, 255, 0.22);
}

body.home .site-footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(5, 11, 19, 0.4);
}

body.home .site-footer span,
body.home .footer-links a {
    color: #7898b2;
}

@media (max-width: 980px) {
    .banner-shell,
    body.home .about-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    body.home .banner {
        min-height: auto;
    }

    body.home .banner-content {
        min-height: auto;
        padding-top: 88px;
    }

    .banner-mini-list {
        gap: 8px 10px;
    }

    body.home .apps-grid {
        grid-template-columns: 1fr;
    }

    body.home .post-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.home .post-arrow {
        justify-self: start;
    }
}

/* Homepage color pass */
body.home .banner {
    min-height: clamp(380px, 54vh, 520px);
}

body.home .banner-content {
    min-height: clamp(380px, 54vh, 520px);
}

body.home .banner-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: clamp(22px, 4vw, 56px);
    align-items: center;
}

body.home .banner-copy {
    max-width: 760px;
}

body.home .banner-title {
    max-width: 16ch;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

body.home .banner-sub {
    max-width: 620px !important;
    line-height: 1.9;
    color: #b3cadb !important;
}

body.home .banner-eyebrow {
    background: linear-gradient(135deg, rgba(24, 89, 191, 0.34), rgba(17, 185, 219, 0.18));
    border-color: rgba(79, 182, 255, 0.22);
}

body.home .banner-mini-item {
    color: #d7ebf8;
}

body.home .banner-mini-item:nth-child(1)::before,
body.home .banner-mini-item:nth-child(1) {
    color: #66d9ff;
}

body.home .banner-mini-item:nth-child(2)::before,
body.home .banner-mini-item:nth-child(2) {
    color: #9fa7ff;
}

body.home .banner-mini-item:nth-child(3)::before,
body.home .banner-mini-item:nth-child(3) {
    color: #67f0d0;
}

body.home .banner-mini-item:nth-child(4)::before,
body.home .banner-mini-item:nth-child(4) {
    color: #ffbd7b;
}

body.home .banner-cta {
    background: linear-gradient(135deg, #18c6ea 0%, #2f67ff 52%, #835bff 100%);
    box-shadow: 0 18px 36px rgba(36, 101, 255, 0.28);
}

body.home .banner-stage {
    position: relative;
    min-height: 320px;
}

body.home .banner-stage::before {
    content: "";
    position: absolute;
    inset: 14% 8% 12% 10%;
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(25, 102, 255, 0.18), rgba(54, 226, 255, 0.08)),
        rgba(8, 20, 34, 0.42);
    border: 1px solid rgba(117, 178, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

body.home .banner-stage::after {
    content: "";
    position: absolute;
    inset: 14% 8% 12% 10%;
    border-radius: 30px;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 64px),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 64px);
    opacity: 0.45;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent);
}

body.home .banner-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(6px);
    animation: mkFloatOrb 8s ease-in-out infinite;
}

body.home .orb-a {
    width: 170px;
    height: 170px;
    top: 2%;
    right: 6%;
    background: radial-gradient(circle, rgba(47, 112, 255, 0.42) 0%, rgba(47, 112, 255, 0) 70%);
}

body.home .orb-b {
    width: 120px;
    height: 120px;
    left: 6%;
    bottom: 12%;
    background: radial-gradient(circle, rgba(33, 221, 224, 0.38) 0%, rgba(33, 221, 224, 0) 70%);
    animation-delay: -2.4s;
}

body.home .orb-c {
    width: 96px;
    height: 96px;
    right: 24%;
    bottom: 4%;
    background: radial-gradient(circle, rgba(137, 101, 255, 0.34) 0%, rgba(137, 101, 255, 0) 70%);
    animation-delay: -4.2s;
}

body.home .stage-card {
    position: absolute;
    z-index: 2;
    min-width: 180px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    color: #f5fbff;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)),
        rgba(8, 20, 34, 0.74);
    box-shadow: 0 24px 46px rgba(0,0,0,0.22);
    animation: mkFloatCard 7.5s ease-in-out infinite;
}

body.home .stage-card strong {
    display: block;
    margin-top: 8px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 500;
}

body.home .stage-card-label {
    display: inline-flex;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #cce8fb;
}

body.home .stage-card-a {
    top: 10%;
    left: 6%;
    background:
        linear-gradient(180deg, rgba(52, 202, 255, 0.2), rgba(255,255,255,0.05)),
        rgba(8, 20, 34, 0.78);
}

body.home .stage-card-b {
    top: 38%;
    right: 2%;
    animation-delay: -2.5s;
    background:
        linear-gradient(180deg, rgba(112, 102, 255, 0.22), rgba(255,255,255,0.05)),
        rgba(8, 20, 34, 0.78);
}

body.home .stage-card-c {
    bottom: 2%;
    left: 18%;
    animation-delay: -4.7s;
    background:
        linear-gradient(180deg, rgba(42, 224, 180, 0.18), rgba(255,255,255,0.05)),
        rgba(8, 20, 34, 0.78);
}

body.home .about-card,
body.home .contact-inner {
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

body.home .about-card:hover,
body.home .contact-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 68px rgba(17, 56, 114, 0.22);
    border-color: rgba(118, 179, 255, 0.16);
}

body.home .chip {
    background: linear-gradient(135deg, rgba(20, 53, 88, 0.92), rgba(20, 125, 176, 0.34));
    border-color: rgba(108, 171, 255, 0.18);
}

body.home .chip:nth-child(3n) {
    background: linear-gradient(135deg, rgba(27, 56, 102, 0.92), rgba(108, 75, 205, 0.32));
}

body.home .chip:nth-child(3n+2) {
    background: linear-gradient(135deg, rgba(16, 77, 91, 0.92), rgba(26, 175, 180, 0.3));
}

body.home .app-card {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

body.home .app-card.c1::after { background: radial-gradient(circle at top right, rgba(71, 210, 255, 0.17), transparent 32%); }
body.home .app-card.c2::after { background: radial-gradient(circle at top right, rgba(126, 111, 255, 0.17), transparent 32%); }
body.home .app-card.c3::after { background: radial-gradient(circle at top right, rgba(40, 224, 182, 0.17), transparent 32%); }
body.home .app-card.c4::after { background: radial-gradient(circle at top right, rgba(255, 169, 96, 0.17), transparent 32%); }

body.home .app-card.c2 .app-tag {
    background: rgba(109, 100, 255, 0.14);
    border-color: rgba(142, 130, 255, 0.2);
    color: #dcd7ff !important;
}

body.home .app-card.c3 .app-tag {
    background: rgba(28, 192, 161, 0.14);
    border-color: rgba(60, 226, 196, 0.18);
    color: #ccfff0 !important;
}

body.home .app-card.c4 .app-tag {
    background: rgba(255, 165, 99, 0.14);
    border-color: rgba(255, 196, 145, 0.18);
    color: #ffe2bf !important;
}

body.home .app-card.c1 .app-link { color: #73ddff; }
body.home .app-card.c2 .app-link { color: #bbb3ff; }
body.home .app-card.c3 .app-link { color: #78f4d3; }
body.home .app-card.c4 .app-link { color: #ffd091; }

body.home .app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 56px rgba(10, 48, 106, 0.24);
}

body.home .post-row:nth-child(2n)::after {
    background: radial-gradient(circle at top right, rgba(130, 116, 255, 0.12), transparent 30%);
}

body.home .post-row:nth-child(3n)::after {
    background: radial-gradient(circle at top right, rgba(43, 215, 188, 0.12), transparent 30%);
}

body.home .post-row:hover {
    background: linear-gradient(135deg, rgba(24, 73, 149, 0.24), rgba(20, 174, 214, 0.08));
}

body.home .blog-more-link,
body.home .social-btn {
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(68, 126, 255, 0.08));
    border-color: rgba(132, 183, 255, 0.12);
}

@keyframes mkFloatOrb {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, -18px, 0) scale(1.05); }
}

@keyframes mkFloatCard {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(0, -12px, 0) rotate(-1deg); }
}

@media (max-width: 980px) {
    body.home .banner-shell,
    body.home .about-card {
        grid-template-columns: 1fr;
    }

    body.home .banner-stage {
        min-height: 220px;
        max-width: 520px;
    }
}

@media (max-width: 700px) {
    body.home .banner-stage {
        display: none;
    }
}

/* Homepage mood pass v2 */
body.home {
    background:
        radial-gradient(circle at 10% 8%, rgba(37, 212, 255, 0.14), transparent 26%),
        radial-gradient(circle at 88% 12%, rgba(117, 98, 255, 0.16), transparent 24%),
        radial-gradient(circle at 70% 78%, rgba(27, 226, 178, 0.12), transparent 22%),
        linear-gradient(180deg, #07111e 0%, #091524 44%, #08111d 100%);
}

body.home .front-page::before {
    background:
        radial-gradient(circle at 14% 12%, rgba(40, 216, 255, 0.12), transparent 20%),
        radial-gradient(circle at 82% 14%, rgba(128, 102, 255, 0.14), transparent 22%),
        radial-gradient(circle at 56% 54%, rgba(27, 218, 190, 0.1), transparent 20%),
        radial-gradient(circle at 78% 78%, rgba(255, 171, 82, 0.08), transparent 18%);
}

body.home .site-nav {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0)),
        rgba(6, 15, 28, 0.9);
    border-bottom: 1px solid rgba(103, 166, 255, 0.16);
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.28);
}

body.home .site-nav::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(0,0,0,0), rgba(65, 211, 255, 0.8), rgba(131, 102, 255, 0.75), rgba(0,0,0,0));
    opacity: 0.85;
}

body.home .nav-logo {
    position: relative;
    color: #eef8ff;
    text-shadow: 0 0 18px rgba(76, 199, 255, 0.12);
}

body.home .nav-logo .dot {
    color: #7fe0ff;
    text-shadow: 0 0 16px rgba(81, 214, 255, 0.48);
}

body.home .nav-links a {
    color: rgba(236, 247, 255, 0.8);
}

body.home .nav-links a::before {
    height: 2px;
    background: linear-gradient(90deg, #3fdcff, #7d6eff);
    box-shadow: 0 0 14px rgba(63, 220, 255, 0.45);
}

body.home .nav-links a::after {
    color: #bcecff;
    text-shadow: 0 0 14px rgba(61, 214, 255, 0.38);
}

body.home .banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 16%, rgba(38, 209, 255, 0.1), transparent 22%),
        radial-gradient(circle at 76% 18%, rgba(123, 100, 255, 0.12), transparent 20%),
        radial-gradient(circle at 65% 82%, rgba(31, 219, 180, 0.1), transparent 18%);
    pointer-events: none;
    z-index: 0;
}

body.home .banner-copy {
    position: relative;
    z-index: 2;
}

body.home .banner-title {
    background: linear-gradient(135deg, #f8fcff 0%, #9adfff 38%, #a6f0df 66%, #d9deff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.home .banner-sub {
    color: #c0d7e8 !important;
}

body.home .banner-cta {
    background: linear-gradient(135deg, #17c9ea 0%, #2f68ff 46%, #805eff 100%);
    box-shadow:
        0 18px 38px rgba(36, 101, 255, 0.24),
        0 0 0 1px rgba(255,255,255,0.08) inset;
}

body.home .banner-stage::before {
    background:
        linear-gradient(135deg, rgba(28, 114, 255, 0.22), rgba(44, 225, 255, 0.08)),
        rgba(8, 20, 34, 0.38);
    border-color: rgba(126, 186, 255, 0.16);
}

body.home .stage-card {
    border-color: rgba(255,255,255,0.1);
}

body.home .stage-card-a {
    box-shadow: 0 22px 44px rgba(44, 187, 255, 0.16);
}

body.home .stage-card-b {
    box-shadow: 0 22px 44px rgba(108, 95, 255, 0.14);
}

body.home .stage-card-c {
    box-shadow: 0 22px 44px rgba(31, 214, 176, 0.14);
}

body.home .about-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025)),
        rgba(9, 20, 35, 0.7);
}

body.home .about-card::after {
    background:
        radial-gradient(circle at top right, rgba(89, 171, 255, 0.16), transparent 28%),
        radial-gradient(circle at bottom left, rgba(29, 216, 192, 0.1), transparent 26%);
}

body.home .about-side {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025)),
        linear-gradient(135deg, rgba(41, 122, 255, 0.08), rgba(34, 213, 238, 0.05)),
        rgba(255,255,255,0.03);
}

body.home .post-row::after {
    background:
        radial-gradient(circle at top right, rgba(98, 188, 255, 0.14), transparent 30%),
        linear-gradient(90deg, rgba(64, 208, 255, 0.04), transparent 36%);
}

body.home .contact-inner::after {
    background:
        radial-gradient(circle at top right, rgba(111, 168, 255, 0.16), transparent 28%),
        radial-gradient(circle at bottom left, rgba(32, 216, 182, 0.1), transparent 28%);
}

/* Final hero sizing override */
body.home .banner {
    min-height: clamp(250px, 30vh, 320px) !important;
}

body.home .banner-content {
    min-height: clamp(250px, 30vh, 320px) !important;
    padding: clamp(24px, 2.8vw, 34px) var(--pad) clamp(12px, 1.4vw, 18px) !important;
}

body.home .banner-shell {
    grid-template-columns: minmax(0, 1.12fr) minmax(220px, 0.88fr) !important;
    gap: clamp(14px, 2vw, 24px) !important;
}

body.home .banner-copy {
    max-width: 640px !important;
}

body.home .banner-eyebrow {
    padding: 6px 11px !important;
    font-size: 8.5px !important;
}

body.home .banner-title {
    max-width: 18ch !important;
    margin-top: 10px !important;
    font-size: clamp(26px, 2.5vw, 38px) !important;
    line-height: 1.16 !important;
    letter-spacing: -0.01em !important;
}

body.home .banner-sub {
    margin-top: 8px !important;
    max-width: 520px !important;
    font-size: clamp(12px, 0.9vw, 14px) !important;
    line-height: 1.65 !important;
}

body.home .banner-mini-list {
    margin-top: 10px !important;
    gap: 8px !important;
}

body.home .banner-mini-item {
    font-size: 9.5px !important;
    letter-spacing: 0.08em !important;
}

body.home .banner-cta-wrap {
    margin-top: 12px !important;
}

body.home .banner-cta {
    padding: 9px 14px !important;
    font-size: 9.5px !important;
    border-radius: 10px !important;
}

body.home .banner-stage {
    min-height: 148px !important;
    max-width: 310px;
    margin-left: auto;
}

body.home .banner-stage::before,
body.home .banner-stage::after {
    inset: 11% 8% 9% 10% !important;
    border-radius: 18px !important;
}

body.home .banner-stage::before {
    background:
        linear-gradient(135deg, rgba(28, 114, 255, 0.16), rgba(44, 225, 255, 0.06)),
        rgba(8, 20, 34, 0.28) !important;
}

body.home .banner-stage::after {
    opacity: 0.26 !important;
}

body.home .orb-a {
    width: 78px !important;
    height: 78px !important;
}

body.home .orb-b {
    width: 52px !important;
    height: 52px !important;
}

body.home .orb-c {
    width: 38px !important;
    height: 38px !important;
}

body.home .stage-card {
    min-width: 110px !important;
    max-width: 146px;
    padding: 9px 10px !important;
    border-radius: 13px !important;
    box-shadow: 0 14px 26px rgba(0,0,0,0.16) !important;
    position: absolute;
}

body.home .stage-card strong {
    margin-top: 5px !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
}

body.home .stage-card-label {
    font-size: 7px !important;
    letter-spacing: 0.16em !important;
}

body.home .stage-card::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 68%);
}

body.home .stage-card::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 28px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.14), rgba(255,255,255,0));
}

.stage-card-meta {
    display: flex;
    gap: 5px;
    margin-top: 8px;
}

.stage-card-meta span {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 7px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(240, 248, 255, 0.9);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
}

body.home .stage-card-a {
    top: 14% !important;
    left: 9% !important;
}

body.home .stage-card-b {
    top: 34% !important;
    right: 5% !important;
}

body.home .stage-card-c {
    left: 20% !important;
    bottom: 8% !important;
}

@media (max-width: 980px) {
    body.home .banner-shell {
        grid-template-columns: 1fr !important;
    }

    body.home .banner-stage {
        min-height: 132px !important;
        max-width: 300px !important;
    }
}

@media (max-width: 700px) {
    body.home .banner {
        min-height: auto !important;
    }

    body.home .banner-content {
        min-height: auto !important;
        padding-top: 72px !important;
    }
}

/* Hero single-column fix */
body.home .banner-shell {
    display: block !important;
}

body.home .banner-copy {
    max-width: 760px !important;
}

body.home .banner-title {
    max-width: 15ch !important;
}

body.home .banner-sub {
    max-width: 640px !important;
}

/* Accent palette pass: red, yellow, violet, green */
body.home {
    background:
        radial-gradient(circle at 10% 8%, rgba(255, 86, 86, 0.12), transparent 24%),
        radial-gradient(circle at 88% 10%, rgba(255, 205, 86, 0.1), transparent 24%),
        radial-gradient(circle at 76% 74%, rgba(76, 168, 255, 0.08), transparent 22%),
        radial-gradient(circle at 42% 22%, rgba(255, 205, 86, 0.1), transparent 18%),
        linear-gradient(180deg, #07111e 0%, #091524 44%, #08111d 100%);
}

body.home .front-page::before {
    background:
        radial-gradient(circle at 14% 12%, rgba(255, 92, 92, 0.12), transparent 18%),
        radial-gradient(circle at 82% 14%, rgba(255, 205, 86, 0.12), transparent 20%),
        radial-gradient(circle at 56% 54%, rgba(76, 168, 255, 0.08), transparent 18%),
        radial-gradient(circle at 78% 78%, rgba(255, 205, 86, 0.1), transparent 16%);
}

body.home .site-nav::before {
    background: linear-gradient(90deg, rgba(0,0,0,0), rgba(255, 92, 92, 0.75), rgba(255, 205, 86, 0.8), rgba(86, 179, 255, 0.65), rgba(0,0,0,0));
}

body.home .nav-logo .dot {
    color: #ffcd56;
    text-shadow: 0 0 16px rgba(255, 205, 86, 0.44);
}

body.home .nav-links a::before {
    background: linear-gradient(90deg, #ff5c5c, #ffcd56, #66c8ff);
    box-shadow: 0 0 14px rgba(255, 205, 86, 0.24);
}

body.home .nav-links a::after {
    color: #fff0bf;
    text-shadow: 0 0 14px rgba(255, 205, 86, 0.26);
}

body.home .banner::before {
    background:
        radial-gradient(circle at 18% 16%, rgba(255, 93, 93, 0.12), transparent 20%),
        radial-gradient(circle at 76% 18%, rgba(255, 205, 86, 0.12), transparent 20%),
        radial-gradient(circle at 65% 82%, rgba(86, 179, 255, 0.1), transparent 18%),
        radial-gradient(circle at 36% 72%, rgba(255, 205, 86, 0.1), transparent 18%);
}

body.home .banner-title {
    background: linear-gradient(135deg, #fff2f2 0%, #ffcd56 24%, #ffffff 52%, #ffe2a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.home .banner-eyebrow {
    background: linear-gradient(135deg, rgba(255, 92, 92, 0.18), rgba(255, 205, 86, 0.14));
    border-color: rgba(255, 205, 86, 0.2);
    color: #ffe8a6;
}

body.home .banner-mini-item:nth-child(1),
body.home .banner-mini-item:nth-child(1)::before {
    color: #ff7878;
}

body.home .banner-mini-item:nth-child(2),
body.home .banner-mini-item:nth-child(2)::before {
    color: #ffd45f;
}

body.home .banner-mini-item:nth-child(3),
body.home .banner-mini-item:nth-child(3)::before {
    color: #ff8c8c;
}

body.home .banner-mini-item:nth-child(4),
body.home .banner-mini-item:nth-child(4)::before {
    color: #ffe07a;
}

body.home .banner-cta {
    background: linear-gradient(135deg, #ff5c5c 0%, #ffcd56 46%, #ff8f5f 100%);
    box-shadow: 0 18px 38px rgba(255, 160, 86, 0.2), 0 0 0 1px rgba(255,255,255,0.08) inset;
}

body.home .about-card::after {
    background:
        radial-gradient(circle at top right, rgba(255, 205, 86, 0.14), transparent 28%),
        radial-gradient(circle at bottom left, rgba(255, 92, 92, 0.1), transparent 26%),
        radial-gradient(circle at 30% 18%, rgba(255, 205, 86, 0.1), transparent 20%);
}

body.home .about-name em {
    color: #ffcd56;
}

body.home .about-role {
    color: #ff9a72;
}

body.home .chip {
    background: linear-gradient(135deg, rgba(84, 33, 33, 0.9), rgba(255, 92, 92, 0.18));
    border-color: rgba(255, 120, 120, 0.18);
}

body.home .chip:nth-child(4n+2) {
    background: linear-gradient(135deg, rgba(83, 67, 15, 0.92), rgba(255, 205, 86, 0.2));
    border-color: rgba(255, 205, 86, 0.2);
}

body.home .chip:nth-child(4n+3) {
    background: linear-gradient(135deg, rgba(91, 41, 24, 0.92), rgba(255, 145, 95, 0.2));
    border-color: rgba(255, 145, 95, 0.22);
}

body.home .chip:nth-child(4n) {
    background: linear-gradient(135deg, rgba(74, 59, 18, 0.92), rgba(255, 205, 86, 0.16));
    border-color: rgba(255, 205, 86, 0.2);
}

body.home .app-card.c1::after { background: radial-gradient(circle at top right, rgba(255, 92, 92, 0.18), transparent 32%); }
body.home .app-card.c2::after { background: radial-gradient(circle at top right, rgba(255, 205, 86, 0.18), transparent 32%); }
body.home .app-card.c3::after { background: radial-gradient(circle at top right, rgba(255, 145, 95, 0.16), transparent 32%); }
body.home .app-card.c4::after { background: radial-gradient(circle at top right, rgba(255, 214, 120, 0.14), transparent 32%); }

body.home .app-card.c1 .app-tag {
    background: rgba(255, 92, 92, 0.14);
    border-color: rgba(255, 122, 122, 0.2);
    color: #ffd2d2 !important;
}

body.home .app-card.c2 .app-tag {
    background: rgba(255, 205, 86, 0.14);
    border-color: rgba(255, 213, 110, 0.22);
    color: #fff0b9 !important;
}

body.home .app-card.c3 .app-tag {
    background: rgba(255, 145, 95, 0.14);
    border-color: rgba(255, 166, 123, 0.2);
    color: #ffe0cf !important;
}

body.home .app-card.c4 .app-tag {
    background: rgba(255, 214, 120, 0.14);
    border-color: rgba(255, 222, 149, 0.2);
    color: #fff1c5 !important;
}

body.home .app-card.c1 .app-link { color: #ff8f8f; }
body.home .app-card.c2 .app-link { color: #ffe07b; }
body.home .app-card.c3 .app-link { color: #ffbf97; }
body.home .app-card.c4 .app-link { color: #ffe59a; }

body.home .post-row:nth-child(4n+1)::after {
    background: radial-gradient(circle at top right, rgba(255, 92, 92, 0.14), transparent 30%);
}

body.home .post-row:nth-child(4n+2)::after {
    background: radial-gradient(circle at top right, rgba(255, 205, 86, 0.14), transparent 30%);
}

body.home .post-row:nth-child(4n+3)::after {
    background: radial-gradient(circle at top right, rgba(255, 145, 95, 0.14), transparent 30%);
}

body.home .post-row:nth-child(4n)::after {
    background: radial-gradient(circle at top right, rgba(255, 214, 120, 0.14), transparent 30%);
}

body.home .contact-inner::after {
    background:
        radial-gradient(circle at top right, rgba(255, 205, 86, 0.14), transparent 26%),
        radial-gradient(circle at bottom left, rgba(255, 92, 92, 0.12), transparent 26%),
        radial-gradient(circle at 24% 24%, rgba(255, 176, 92, 0.08), transparent 20%);
}

body.home .contact-heading em {
    background: linear-gradient(135deg, #ff5c5c 0%, #ffcd56 38%, #ff9d63 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cleanup pass: red + green only, lighter density */
body.home {
    background:
        radial-gradient(circle at 10% 8%, rgba(255, 86, 86, 0.12), transparent 24%),
        radial-gradient(circle at 88% 12%, rgba(96, 224, 139, 0.11), transparent 24%),
        radial-gradient(circle at 74% 74%, rgba(76, 168, 255, 0.07), transparent 22%),
        linear-gradient(180deg, #07111e 0%, #091524 44%, #08111d 100%);
}

body.home .front-page::before {
    background:
        radial-gradient(circle at 14% 12%, rgba(255, 92, 92, 0.12), transparent 18%),
        radial-gradient(circle at 82% 14%, rgba(96, 224, 139, 0.11), transparent 20%),
        radial-gradient(circle at 56% 54%, rgba(76, 168, 255, 0.07), transparent 18%);
}

body.home .site-nav::before {
    background: linear-gradient(90deg, rgba(0,0,0,0), rgba(255, 92, 92, 0.75), rgba(96, 224, 139, 0.75), rgba(0,0,0,0));
}

body.home .nav-logo .dot {
    color: #60e08b;
    text-shadow: 0 0 16px rgba(96, 224, 139, 0.42);
}

body.home .nav-links a::before {
    background: linear-gradient(90deg, #ff5c5c, #60e08b, #66c8ff);
    box-shadow: 0 0 14px rgba(96, 224, 139, 0.2);
}

body.home .nav-links a::after {
    color: #d8ffe4;
    text-shadow: 0 0 14px rgba(96, 224, 139, 0.22);
}

body.home .banner::before {
    background:
        radial-gradient(circle at 18% 16%, rgba(255, 93, 93, 0.12), transparent 20%),
        radial-gradient(circle at 76% 18%, rgba(96, 224, 139, 0.11), transparent 20%),
        radial-gradient(circle at 65% 82%, rgba(86, 179, 255, 0.09), transparent 18%);
}

body.home .banner-title {
    background: linear-gradient(135deg, #fff2f2 0%, #ffffff 36%, #ffd1d1 62%, #c8ffd8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.home .banner-eyebrow {
    background: linear-gradient(135deg, rgba(255, 92, 92, 0.16), rgba(96, 224, 139, 0.14));
    border-color: rgba(96, 224, 139, 0.16);
    color: #dffff1;
}

body.home .banner-mini-list {
    display: none !important;
}

body.home .banner-cta {
    background: linear-gradient(135deg, #ff5c5c 0%, #ff8f6a 46%, #60e08b 100%);
    box-shadow: 0 18px 34px rgba(96, 224, 139, 0.16), 0 0 0 1px rgba(255,255,255,0.08) inset;
}

body.home .about-card::after {
    background:
        radial-gradient(circle at top right, rgba(255, 92, 92, 0.1), transparent 26%),
        radial-gradient(circle at bottom left, rgba(96, 224, 139, 0.1), transparent 24%);
}

body.home .about-name em {
    color: #60e08b;
}

body.home .about-role {
    color: #ff8f8f;
}

body.home .chip {
    background: linear-gradient(135deg, rgba(84, 33, 33, 0.9), rgba(255, 92, 92, 0.16));
    border-color: rgba(255, 120, 120, 0.16);
}

body.home .chip:nth-child(2n) {
    background: linear-gradient(135deg, rgba(18, 73, 43, 0.9), rgba(96, 224, 139, 0.16));
    border-color: rgba(96, 224, 139, 0.18);
}

body.home .chip:nth-child(3n) {
    background: linear-gradient(135deg, rgba(20, 53, 88, 0.88), rgba(76, 168, 255, 0.14));
    border-color: rgba(76, 168, 255, 0.16);
}

body.home .app-card.c1::after { background: radial-gradient(circle at top right, rgba(255, 92, 92, 0.15), transparent 32%); }
body.home .app-card.c2::after { background: radial-gradient(circle at top right, rgba(96, 224, 139, 0.15), transparent 32%); }
body.home .app-card.c3::after { background: radial-gradient(circle at top right, rgba(255, 145, 95, 0.13), transparent 32%); }
body.home .app-card.c4::after { background: radial-gradient(circle at top right, rgba(76, 168, 255, 0.12), transparent 32%); }

body.home .app-card.c1 .app-tag {
    background: rgba(255, 92, 92, 0.14);
    border-color: rgba(255, 122, 122, 0.18);
    color: #ffd2d2 !important;
}

body.home .app-card.c2 .app-tag {
    background: rgba(96, 224, 139, 0.14);
    border-color: rgba(122, 234, 159, 0.18);
    color: #d4ffe1 !important;
}

body.home .app-card.c3 .app-tag {
    background: rgba(255, 145, 95, 0.12);
    border-color: rgba(255, 166, 123, 0.18);
    color: #ffe0cf !important;
}

body.home .app-card.c4 .app-tag {
    background: rgba(76, 168, 255, 0.12);
    border-color: rgba(112, 187, 255, 0.18);
    color: #d5ebff !important;
}

body.home .app-card.c1 .app-link { color: #ff8f8f; }
body.home .app-card.c2 .app-link { color: #8df0aa; }
body.home .app-card.c3 .app-link { color: #ffbf97; }
body.home .app-card.c4 .app-link { color: #9ed4ff; }

body.home .post-row:nth-child(4n+1)::after {
    background: radial-gradient(circle at top right, rgba(255, 92, 92, 0.12), transparent 30%);
}

body.home .post-row:nth-child(4n+2)::after {
    background: radial-gradient(circle at top right, rgba(96, 224, 139, 0.12), transparent 30%);
}

body.home .post-row:nth-child(4n+3)::after {
    background: radial-gradient(circle at top right, rgba(255, 145, 95, 0.1), transparent 30%);
}

body.home .post-row:nth-child(4n)::after {
    background: radial-gradient(circle at top right, rgba(76, 168, 255, 0.1), transparent 30%);
}

body.home .contact-inner::after {
    background:
        radial-gradient(circle at top right, rgba(255, 92, 92, 0.12), transparent 26%),
        radial-gradient(circle at bottom left, rgba(96, 224, 139, 0.12), transparent 26%);
}

/* Stack cloud */
body.home .about-side {
    padding: 4px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    align-self: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.home .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 16px !important;
    align-items: center;
    justify-content: flex-start;
    max-width: 360px;
}

body.home .chip {
    position: relative;
    animation: mkChipFloat 6s ease-in-out infinite;
}

body.home .chip:nth-child(2n) {
    animation-delay: -1.2s;
    transform: translateY(6px) translateX(18px);
}

body.home .chip:nth-child(3n) {
    animation-delay: -2.1s;
    transform: translateX(-10px) translateY(-2px);
}

body.home .chip:nth-child(4n) {
    animation-delay: -3.1s;
    transform: translateX(22px) translateY(-6px);
}

body.home .chip:nth-child(5n) {
    animation-delay: -4.2s;
    transform: translateX(-18px) translateY(8px);
}

body.home .chip:nth-child(6n) {
    transform: translateX(10px) translateY(14px);
}

body.home .chip:nth-child(7n) {
    transform: translateX(-6px) translateY(-10px);
}

body.home .chip:nth-child(8n) {
    transform: translateX(28px) translateY(4px);
}

@keyframes mkChipFloat {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -6px; }
}

/* Floating glass nav */
body.home .site-nav {
    width: min(1120px, calc(100% - 32px)) !important;
    margin: 14px auto 0 !important;
    padding: 14px 22px !important;
    border-radius: 22px !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02)),
        rgba(7, 16, 29, 0.52) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow:
        0 18px 40px rgba(0,0,0,0.24),
        inset 0 1px 0 rgba(255,255,255,0.06) !important;
    backdrop-filter: blur(22px) !important;
    -webkit-backdrop-filter: blur(22px) !important;
}

body.home .site-nav::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 92, 92, 0.08), rgba(255,255,255,0), rgba(96, 224, 139, 0.08));
    opacity: 0.9;
}

body.home .site-nav::before {
    inset: auto 14px 0 !important;
    border-radius: 999px;
}

body.home .nav-logo,
body.home .nav-links,
body.home .nav-burger {
    position: relative;
    z-index: 1;
}

body.home .nav-links {
    gap: 12px !important;
}

body.home .nav-links li {
    list-style: none;
}

body.home .nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.06);
    color: rgba(236, 247, 255, 0.86) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    transition: color .2s, opacity .2s, background .22s, border-color .22s, transform .22s, box-shadow .22s !important;
}

body.home .nav-links a::before {
    left: 10px !important;
    right: 10px !important;
    bottom: 7px !important;
    width: auto !important;
    height: 2px !important;
    transform: scaleX(.35);
    transform-origin: center;
    opacity: 0;
}

body.home .nav-links a::after {
    display: none !important;
    content: none !important;
}

body.home .nav-links a:hover,
body.home .nav-links a[aria-current="page"] {
    color: #ffffff !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
    border-color: rgba(255,255,255,0.1);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 10px 24px rgba(0,0,0,0.16);
    transform: translateY(-1px);
}

body.home .nav-links a:hover::before,
body.home .nav-links a[aria-current="page"]::before {
    opacity: 1;
    transform: scaleX(1);
}

body.home .nav-links a:hover::after,
body.home .nav-links a[aria-current="page"]::after {
    opacity: 0;
}

@media (max-width: 700px) {
    body.home .site-nav {
        width: calc(100% - 20px) !important;
        margin-top: 10px !important;
        padding: 10px 14px !important;
        border-radius: 18px !important;
    }
}

/* Devlog pages */
body.blog,
body.archive,
body.category,
body.tag,
body.author {
    background:
        radial-gradient(circle at 10% 8%, rgba(255, 86, 86, 0.12), transparent 24%),
        radial-gradient(circle at 88% 12%, rgba(96, 224, 139, 0.11), transparent 24%),
        radial-gradient(circle at 74% 74%, rgba(76, 168, 255, 0.07), transparent 22%),
        linear-gradient(180deg, #07111e 0%, #091524 44%, #08111d 100%);
}

body.blog #page-bg,
body.archive #page-bg,
body.category #page-bg,
body.tag #page-bg,
body.author #page-bg {
    opacity: 0.28;
}

body.blog .shell,
body.archive .shell,
body.category .shell,
body.tag .shell,
body.author .shell {
    background: transparent !important;
    box-shadow: none !important;
}

body.blog .site-nav,
body.archive .site-nav,
body.category .site-nav,
body.tag .site-nav,
body.author .site-nav {
    width: min(1120px, calc(100% - 32px));
    margin: 14px auto 0;
    padding: 14px 22px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02)),
        rgba(7, 16, 29, 0.52) !important;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 18px 40px rgba(0,0,0,0.24),
        inset 0 1px 0 rgba(255,255,255,0.06);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

body.blog .site-nav::before,
body.archive .site-nav::before,
body.category .site-nav::before,
body.tag .site-nav::before,
body.author .site-nav::before {
    inset: auto 14px 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0,0,0,0), rgba(255, 92, 92, 0.75), rgba(96, 224, 139, 0.75), rgba(0,0,0,0));
}

body.blog .site-nav::after,
body.archive .site-nav::after,
body.category .site-nav::after,
body.tag .site-nav::after,
body.author .site-nav::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 92, 92, 0.08), rgba(255,255,255,0), rgba(96, 224, 139, 0.08));
}

body.blog .nav-links,
body.archive .nav-links,
body.category .nav-links,
body.tag .nav-links,
body.author .nav-links,
body.blog .nav-logo,
body.archive .nav-logo,
body.category .nav-logo,
body.tag .nav-logo,
body.author .nav-logo,
body.blog .nav-burger,
body.archive .nav-burger,
body.category .nav-burger,
body.tag .nav-burger,
body.author .nav-burger {
    position: relative;
    z-index: 1;
}

body.blog .nav-links,
body.archive .nav-links,
body.category .nav-links,
body.tag .nav-links,
body.author .nav-links {
    gap: 12px;
}

body.blog .nav-links li,
body.archive .nav-links li,
body.category .nav-links li,
body.tag .nav-links li,
body.author .nav-links li {
    list-style: none;
}

body.blog .nav-links a,
body.archive .nav-links a,
body.category .nav-links a,
body.tag .nav-links a,
body.author .nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.06);
    color: rgba(236, 247, 255, 0.86) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

body.blog .nav-links a::before,
body.archive .nav-links a::before,
body.category .nav-links a::before,
body.tag .nav-links a::before,
body.author .nav-links a::before {
    left: 10px;
    right: 10px;
    bottom: 7px;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, #ff5c5c, #60e08b, #66c8ff);
    transform: scaleX(.35);
    transform-origin: center;
    opacity: 0;
}

body.blog .nav-links a::after,
body.archive .nav-links a::after,
body.category .nav-links a::after,
body.tag .nav-links a::after,
body.author .nav-links a::after {
    display: none !important;
    content: none !important;
}

body.blog .nav-links a:hover,
body.blog .nav-links a[aria-current="page"],
body.archive .nav-links a:hover,
body.archive .nav-links a[aria-current="page"],
body.category .nav-links a:hover,
body.category .nav-links a[aria-current="page"],
body.tag .nav-links a:hover,
body.tag .nav-links a[aria-current="page"],
body.author .nav-links a:hover,
body.author .nav-links a[aria-current="page"] {
    color: #ffffff !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
    border-color: rgba(255,255,255,0.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 10px 24px rgba(0,0,0,0.16);
    transform: translateY(-1px);
}

body.blog .nav-links a:hover::before,
body.blog .nav-links a[aria-current="page"]::before,
body.archive .nav-links a:hover::before,
body.archive .nav-links a[aria-current="page"]::before,
body.category .nav-links a:hover::before,
body.category .nav-links a[aria-current="page"]::before,
body.tag .nav-links a:hover::before,
body.tag .nav-links a[aria-current="page"]::before,
body.author .nav-links a:hover::before,
body.author .nav-links a[aria-current="page"]::before {
    opacity: 1;
    transform: scaleX(1);
}

.devlog-shell {
    padding: 0 var(--pad) clamp(48px, 6vw, 72px);
}

.devlog-hero {
    padding: 100px 0 clamp(24px, 3vw, 36px);
    background: transparent;
}

.devlog-kicker {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 92, 92, 0.16), rgba(96, 224, 139, 0.14));
    border: 1px solid rgba(96, 224, 139, 0.16);
    color: #dffff1;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.devlog-title {
    margin-top: 16px;
    max-width: 12ch;
    font-family: var(--serif);
    font-size: clamp(42px, 6vw, 84px);
    line-height: 1.02;
    letter-spacing: -.04em;
    background: linear-gradient(135deg, #fff2f2 0%, #ffffff 36%, #ffd1d1 62%, #c8ffd8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.devlog-intro {
    margin-top: 16px;
    max-width: 780px;
    color: #b9d0de;
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.85;
}

.devlog-cat-bar {
    margin: 0 0 clamp(28px, 3vw, 36px);
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    min-height: auto;
    gap: 10px;
}

.devlog-cat-bar .mk-cat-bar-link {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.03);
    border-bottom: 0;
    color: #a6bfd0;
}

.devlog-cat-bar .mk-cat-bar-link:hover,
.devlog-cat-bar .mk-cat-bar-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 92, 92, 0.12), rgba(96, 224, 139, 0.12));
    border-color: rgba(255,255,255,0.1);
}

.devlog-list-section {
    padding: 0;
}

.devlog-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.devlog-entry {
    position: relative;
    display: block;
    padding: clamp(24px, 3vw, 34px);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
        rgba(8, 19, 33, 0.74);
    border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    overflow: hidden;
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}

.devlog-entry::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top right, rgba(255, 92, 92, 0.12), transparent 24%),
        radial-gradient(circle at bottom left, rgba(96, 224, 139, 0.1), transparent 24%);
}

.devlog-entry:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 22px 50px rgba(0,0,0,0.22);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
        rgba(10, 24, 43, 0.82);
}

.devlog-entry-meta,
.devlog-entry-title,
.devlog-entry-excerpt,
.devlog-entry-link {
    position: relative;
    z-index: 1;
}

.devlog-entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    margin-bottom: 14px;
}

.devlog-entry-cat,
.devlog-entry-date,
.devlog-entry-read {
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.devlog-entry-cat {
    color: #ff9b9b;
}

.devlog-entry-date,
.devlog-entry-read {
    color: #8fb2c7;
}

.devlog-entry-title {
    max-width: 18ch;
    font-family: var(--serif);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.14;
    color: #eff8ff;
}

.devlog-entry-excerpt {
    margin-top: 14px;
    max-width: 960px;
    color: #a9c1d1;
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.85;
}

.devlog-entry-link {
    display: inline-flex;
    margin-top: 18px;
    color: #8df0aa;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.devlog-pagination {
    margin-top: clamp(28px, 4vw, 40px);
    text-align: center;
}

.devlog-empty {
    color: #a9c1d1;
    font-size: 16px;
}

@media (max-width: 700px) {
    body.blog .site-nav,
    body.archive .site-nav,
    body.category .site-nav,
    body.tag .site-nav,
    body.author .site-nav {
        width: calc(100% - 20px);
        margin-top: 10px;
        padding: 10px 14px;
        border-radius: 18px;
    }

    .devlog-title {
        max-width: none;
        font-size: clamp(34px, 10vw, 48px);
    }

    .devlog-hero {
        padding-top: 84px;
    }

    .devlog-entry-title {
        max-width: none;
        font-size: clamp(22px, 7vw, 30px);
    }
}

/* Merged about/hero layout */
body.home .about-card-merged {
    display: block !important;
    max-width: 100% !important;
    width: 100%;
    padding: clamp(22px, 3vw, 34px) !important;
}

.about-top {
    display: block;
}

.about-intro {
    width: 100%;
    max-width: none;
}

body.home .about-hero-title {
    margin-top: 14px;
    display: block;
    width: 100%;
    max-width: 100%;
    font-family: var(--serif);
    font-size: clamp(38px, 4.8vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    color: #f5fbff;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    text-wrap: pretty;
    white-space: normal;
}

body.home .about-hero-title.banner-title {
    max-width: 100% !important;
    width: 100% !important;
    text-wrap: unset !important;
    white-space: normal !important;
}

body.home .about-hero-title em {
    font-style: italic;
}

body.home .about-hero-title.bt-color-white {
    color: #f5fbff !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: currentColor !important;
}

body.home .about-hero-title.bt-color-gradient {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 28%, #ffd4d4 56%, #c8ffe2 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

body.home .about-hero-title.bt-color-gradient em {
    background: linear-gradient(135deg, #ff7f7f 0%, #ffb38a 38%, #77efb0 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

body.home .about-hero-title.bt-color-gold {
    color: #f0cf8e !important;
    text-shadow: 0 0 24px rgba(240, 207, 142, 0.14), 0 8px 30px rgba(0, 0, 0, 0.18);
}

body.home .about-hero-title.bt-color-gold em {
    color: #86f0c0 !important;
    -webkit-text-fill-color: #86f0c0 !important;
}

body.home .about-hero-title.bt-color-cyan {
    color: #8fe8ff !important;
    text-shadow: 0 0 24px rgba(143, 232, 255, 0.16), 0 8px 30px rgba(0, 0, 0, 0.18);
}

body.home .about-hero-title.bt-color-cyan em {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

body.home .about-hero-title.bt-color-ink {
    color: #dff1fb !important;
}

body.home .about-hero-title.bt-color-ink em {
    background: linear-gradient(135deg, #ff9c9c 0%, #7ce8ff 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

body.home .about-hero-sub {
    margin-top: 12px;
    max-width: 980px !important;
    color: #bdd2de !important;
    font-size: clamp(15px, 1.2vw, 18px) !important;
    line-height: 1.85 !important;
    padding-left: 40px !important;
}

body.home .merged-divider {
    position: relative;
    width: 100%;
    height: 32px;
    margin: 24px 0 26px !important;
    background: none !important;
    box-shadow: none !important;
    overflow: visible;
}

body.home .merged-divider--top {
    margin: 0 !important;
    padding: 0 !important;
}

body.home .o-mnie--top-divider {
    padding-top: 0 !important;
}

body.home .merged-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background:
        linear-gradient(90deg,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,0.08) 18%,
            rgba(255, 92, 92, 0.42) 38%,
            rgba(255,255,255,0.14) 50%,
            rgba(96, 224, 139, 0.42) 64%,
            rgba(255,255,255,0.08) 82%,
            rgba(255,255,255,0) 100%);
    box-shadow:
        0 0 16px rgba(255, 92, 92, 0.08),
        0 0 16px rgba(96, 224, 139, 0.08);
    opacity: 0.95;
    transform: translateY(-50%);
}

body.home .merged-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%,
            rgba(255,255,255,0.95) 0%,
            rgba(255, 92, 92, 0.7) 45%,
            rgba(96, 224, 139, 0.5) 70%,
            rgba(255,255,255,0) 100%);
    box-shadow:
        0 0 18px rgba(255, 92, 92, 0.45),
        0 0 36px rgba(96, 224, 139, 0.25),
        0 0 60px rgba(255,255,255,0.12);
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: mkCenterPulse 2.6s ease-in-out infinite;
}

/* ── shooting particles ── */
.divider-particle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
}

.divider-particle::after {
    content: "";
    position: absolute;
    top: 50%;
    height: 2px;
    transform: translateY(-50%);
    filter: blur(1px);
    pointer-events: none;
}

.divider-particle--left {
    background:
        radial-gradient(circle at center, #fff 0%, rgba(255, 92, 92, 0.9) 60%);
    box-shadow: 0 0 10px rgba(255, 92, 92, 0.6), 0 0 30px rgba(255, 92, 92, 0.2);
    animation: mkShootLeft 4.7s ease-out infinite;
}

.divider-particle--left::after {
    left: 6px;
    width: 90px;
    background: linear-gradient(90deg,
        rgba(255, 92, 92, 0.7) 0%,
        rgba(255, 92, 92, 0.2) 40%,
        rgba(255, 92, 92, 0) 100%);
}

.divider-particle--right {
    background:
        radial-gradient(circle at center, #fff 0%, rgba(96, 224, 139, 0.9) 60%);
    box-shadow: 0 0 10px rgba(96, 224, 139, 0.6), 0 0 30px rgba(96, 224, 139, 0.2);
    animation: mkShootRight 4.7s ease-out infinite;
}

.divider-particle--right::after {
    right: 6px;
    width: 90px;
    background: linear-gradient(270deg,
        rgba(96, 224, 139, 0.7) 0%,
        rgba(96, 224, 139, 0.2) 40%,
        rgba(96, 224, 139, 0) 100%);
}

@keyframes mkCenterPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.85;
        box-shadow: 0 0 18px rgba(255, 92, 92, 0.45), 0 0 36px rgba(96, 224, 139, 0.25);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.45);
        opacity: 1;
        box-shadow: 0 0 28px rgba(255, 92, 92, 0.65), 0 0 50px rgba(96, 224, 139, 0.35);
    }
}

@keyframes mkShootLeft {
    0%, 78% { opacity: 0; transform: translate(0, -50%) scale(0); }
    80% { opacity: 1; transform: translate(0, -50%) scale(1.1); }
    82% { opacity: 1; transform: translate(0, -50%) scale(1); }
    88% { opacity: 0.8; transform: translate(-120px, -50%) scale(0.8); }
    94% { opacity: 0.3; transform: translate(-320px, -50%) scale(0.4); }
    100% { opacity: 0; transform: translate(-420px, -50%) scale(0); }
}

@keyframes mkShootRight {
    0%, 78% { opacity: 0; transform: translate(0, -50%) scale(0); }
    80% { opacity: 1; transform: translate(0, -50%) scale(1.1); }
    82% { opacity: 1; transform: translate(0, -50%) scale(1); }
    88% { opacity: 0.8; transform: translate(120px, -50%) scale(0.8); }
    94% { opacity: 0.3; transform: translate(320px, -50%) scale(0.4); }
    100% { opacity: 0; transform: translate(420px, -50%) scale(0); }
}

.about-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: clamp(24px, 4vw, 46px);
    align-items: start;
}

body.home .about-copy {
    max-width: 780px;
}

body.home .about-name {
    font-size: clamp(26px, 3vw, 40px) !important;
    line-height: 1.02 !important;
    opacity: 0.9;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: nowrap;
}

/* about-name size */
body.home .an-size-sm { font-size: clamp(18px, 2vw, 26px) !important; }
body.home .an-size-md { font-size: clamp(22px, 2.5vw, 32px) !important; }
body.home .an-size-lg { font-size: clamp(26px, 3vw, 40px) !important; }
body.home .an-size-xl { font-size: clamp(32px, 3.8vw, 48px) !important; }
/* about-name weight */
body.home .an-weight-300 { font-weight: 300 !important; }
body.home .an-weight-400 { font-weight: 400 !important; }
body.home .an-weight-600 { font-weight: 600 !important; }
body.home .an-weight-700 { font-weight: 700 !important; }

body.home .about-name em {
    margin-top: 2px !important;
}

/* about-surname size/weight */
body.home .as-size-sm { font-size: clamp(18px, 2vw, 26px) !important; }
body.home .as-size-md { font-size: clamp(22px, 2.5vw, 32px) !important; }
body.home .as-size-lg { font-size: clamp(26px, 3vw, 40px) !important; }
body.home .as-size-xl { font-size: clamp(32px, 3.8vw, 48px) !important; }
body.home .as-weight-300 { font-weight: 300 !important; }
body.home .as-weight-400 { font-weight: 400 !important; }
body.home .as-weight-600 { font-weight: 600 !important; }
body.home .as-weight-700 { font-weight: 700 !important; }

@media (max-width: 700px) {
    body.home .about-name {
        gap: 8px;
    }
}

body.home .about-role {
    margin-top: 12px !important;
    margin-bottom: 16px !important;
}

body.home .about-stack-side {
    align-self: center;
    padding-top: 10px !important;
}

body.home .about-stack-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px 12px !important;
    max-width: 340px;
}

body.home .about-stack-grid .chip {
    animation: none !important;
    transform: none !important;
    transition: none !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03)),
        linear-gradient(135deg, rgba(255, 92, 92, 0.08), rgba(255,255,255,0) 36%, rgba(96, 224, 139, 0.1) 100%),
        rgba(13, 28, 46, 0.52) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #eef8ff !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.14),
        inset 0 -1px 0 rgba(255,255,255,0.03),
        0 10px 24px rgba(0,0,0,0.12),
        0 0 18px rgba(96, 224, 139, 0.08),
        0 0 24px rgba(255, 92, 92, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.home .about-stack-grid .chip:hover {
    transform: none !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04)),
        linear-gradient(135deg, rgba(255, 92, 92, 0.1), rgba(255,255,255,0) 36%, rgba(96, 224, 139, 0.12) 100%),
        rgba(13, 28, 46, 0.56) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.16),
        inset 0 -1px 0 rgba(255,255,255,0.03),
        0 10px 24px rgba(0,0,0,0.14),
        0 0 22px rgba(96, 224, 139, 0.1),
        0 0 28px rgba(255, 92, 92, 0.08) !important;
}

@media (max-width: 900px) {
    .about-bottom {
        grid-template-columns: 1fr;
    }

    body.home .about-stack-side {
        padding-top: 0 !important;
    }

    body.home .about-stack-grid {
        max-width: none;
    }
}

/* Cosmic experiment: transparent hero, global space background */
body.home {
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 92, 92, 0.14), transparent 16%),
        radial-gradient(circle at 78% 16%, rgba(96, 224, 139, 0.12), transparent 16%),
        radial-gradient(circle at 52% 10%, rgba(116, 160, 255, 0.12), transparent 18%),
        radial-gradient(circle at 66% 58%, rgba(255, 255, 255, 0.05), transparent 22%),
        radial-gradient(circle at 24% 74%, rgba(72, 119, 255, 0.1), transparent 18%),
        linear-gradient(180deg, #030712 0%, #07111e 36%, #081321 100%) !important;
}

body.home::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
    background-image:
        radial-gradient(circle at 8% 14%, rgba(255,255,255,0.95) 0 1px, transparent 1.5px),
        radial-gradient(circle at 18% 42%, rgba(255,255,255,0.7) 0 1px, transparent 1.5px),
        radial-gradient(circle at 28% 72%, rgba(255,255,255,0.9) 0 1px, transparent 1.5px),
        radial-gradient(circle at 38% 22%, rgba(255,255,255,0.75) 0 1px, transparent 1.5px),
        radial-gradient(circle at 48% 64%, rgba(255,255,255,0.92) 0 1px, transparent 1.5px),
        radial-gradient(circle at 58% 16%, rgba(255,255,255,0.78) 0 1px, transparent 1.5px),
        radial-gradient(circle at 68% 48%, rgba(255,255,255,0.9) 0 1px, transparent 1.5px),
        radial-gradient(circle at 78% 26%, rgba(255,255,255,0.7) 0 1px, transparent 1.5px),
        radial-gradient(circle at 88% 68%, rgba(255,255,255,0.92) 0 1px, transparent 1.5px),
        radial-gradient(circle at 94% 34%, rgba(255,255,255,0.8) 0 1px, transparent 1.5px);
    animation: mkStarDrift 18s linear infinite;
}

body.home::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 16% 22%, rgba(255, 92, 92, 0.08), transparent 12%),
        radial-gradient(circle at 74% 18%, rgba(96, 224, 139, 0.07), transparent 12%),
        radial-gradient(circle at 60% 72%, rgba(76, 168, 255, 0.08), transparent 14%);
    filter: blur(28px);
    animation: mkNebulaPulse 12s ease-in-out infinite;
}

body.home #page-bg {
    opacity: 0.28;
}

body.home .shell {
    background: transparent !important;
    box-shadow: none !important;
}

body.home .front-page::before {
    display: none !important;
}

body.home .banner {
    background: transparent !important;
    border-bottom-color: rgba(255,255,255,0.04) !important;
}

body.home .banner::before,
body.home .banner::after,
body.home #banner-bg,
body.home .banner-parallax {
    display: none !important;
}

body.home .banner-content {
    background: transparent !important;
}

body.home .banner-copy {
    background: transparent !important;
}

body.home .site-nav {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)),
        rgba(4, 9, 18, 0.46) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

@keyframes mkStarDrift {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-10px, 8px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

@keyframes mkNebulaPulse {
    0%, 100% { opacity: 0.72; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.04); }
}

body.home .contact-heading em {
    background: linear-gradient(135deg, #ff5c5c 0%, #ff9d63 48%, #60e08b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Apps slider override */
body.home .apps-slider {
    position: relative;
    overflow: hidden;
    padding-top: 12px;
    padding-bottom: 12px;
}

.apps-slider-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 22px;
}

.apps-slider-progress {
    position: relative;
    width: min(220px, 100%);
    max-width: 220px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.1), rgba(255,255,255,0.04));
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.apps-slider-progress-bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 25%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff5c5c, #60e08b);
    box-shadow: 0 0 14px rgba(96, 224, 139, 0.18);
    transition: transform .28s ease;
}

body.home .apps-grid[data-apps-track] {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 46%);
    grid-template-columns: none !important;
    gap: 18px !important;
    overflow-x: auto;
    overflow-y: visible;
    padding: 8px clamp(18px, 2vw, 26px) 24px;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    scroll-padding-inline: clamp(18px, 2vw, 26px);
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,0.22) 4%, #000 10%, #000 90%, rgba(0,0,0,0.22) 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,0.22) 4%, #000 10%, #000 90%, rgba(0,0,0,0.22) 96%, transparent 100%);
}

body.home .apps-grid[data-apps-track]::-webkit-scrollbar {
    display: none;
}

body.home .apps-grid[data-apps-track].is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
}

body.home .apps-grid[data-apps-track] .app-card {
    scroll-snap-align: center;
    min-height: 100%;
    will-change: transform, opacity;
    transition:
        transform .45s cubic-bezier(.22,1,.36,1),
        opacity .38s ease,
        box-shadow .38s ease;
    opacity: .74;
    filter: saturate(.88);
    transform: scale(.96);
}

body.home .apps-grid[data-apps-track] .app-card.is-active {
    opacity: 1;
    filter: saturate(1);
    z-index: 3;
    transform: scale(1);
    box-shadow:
        0 24px 54px rgba(0,0,0,0.24),
        0 0 0 1px rgba(255,255,255,0.06) inset;
}

body.home .apps-grid[data-apps-track] .app-card.is-near {
    opacity: .88;
    filter: saturate(.92);
    z-index: 2;
    transform: scale(.985);
}

body.home .apps-grid[data-apps-track] .app-card.is-far {
    opacity: .58;
    filter: saturate(.72);
    transform: scale(.94);
}

body.home .apps-grid[data-apps-track] .app-card:hover {
    transform: translateY(-8px) scale(1) !important;
}

@media (max-width: 980px) {
    body.home .apps-grid[data-apps-track] {
        grid-auto-columns: minmax(280px, 68%);
    }
}

@media (max-width: 700px) {
    .apps-slider-top {
        margin-bottom: 14px;
    }

    .apps-slider-progress {
        max-width: 140px;
    }

    body.home .apps-grid[data-apps-track] {
        grid-auto-columns: minmax(260px, 88%);
        gap: 14px !important;
        padding-inline: 14px;
        scroll-padding-inline: 14px;
    }
}

/* Hero parallax */
.banner-parallax {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.parallax-blob,
.parallax-line {
    position: absolute;
    will-change: transform;
    transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
    transition: transform 120ms linear;
}

.parallax-blob {
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.9;
}

.blob-red {
    width: 260px;
    height: 260px;
    left: -40px;
    top: 12%;
    background: radial-gradient(circle, rgba(255, 92, 92, 0.24) 0%, rgba(255, 92, 92, 0.06) 38%, rgba(255, 92, 92, 0) 72%);
}

.blob-green {
    width: 220px;
    height: 220px;
    right: 8%;
    bottom: 2%;
    background: radial-gradient(circle, rgba(96, 224, 139, 0.22) 0%, rgba(96, 224, 139, 0.05) 38%, rgba(96, 224, 139, 0) 72%);
}

.parallax-line {
    height: 1px;
    opacity: 0.7;
}

.line-a {
    width: 46%;
    left: 42%;
    top: 26%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255, 92, 92, 0.42), rgba(255,255,255,0));
    box-shadow: 0 0 18px rgba(255, 92, 92, 0.18);
    rotate: -8deg;
}

.line-b {
    width: 34%;
    left: 52%;
    top: 68%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(96, 224, 139, 0.42), rgba(255,255,255,0));
    box-shadow: 0 0 18px rgba(96, 224, 139, 0.16);
    rotate: 12deg;
}

@media (max-width: 700px) {
    .banner-parallax {
        display: none;
    }
}

/* Shared single/page styling aligned with homepage/devlog */
body.single,
body.page {
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 92, 92, 0.14), transparent 16%),
        radial-gradient(circle at 78% 16%, rgba(96, 224, 139, 0.12), transparent 16%),
        radial-gradient(circle at 52% 10%, rgba(116, 160, 255, 0.12), transparent 18%),
        radial-gradient(circle at 66% 58%, rgba(255, 255, 255, 0.05), transparent 22%),
        radial-gradient(circle at 24% 74%, rgba(72, 119, 255, 0.1), transparent 18%),
        linear-gradient(180deg, #030712 0%, #07111e 36%, #081321 100%) !important;
}

body.single #page-bg,
body.page #page-bg {
    opacity: 0.28;
}

body.single .shell,
body.page .shell {
    background: transparent !important;
    box-shadow: none !important;
}

body.single .site-nav,
body.page .site-nav {
    width: min(1180px, calc(100% - 32px));
    margin: 16px auto 0 !important;
    padding-inline: clamp(18px, 2.6vw, 28px);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)),
        rgba(4, 9, 18, 0.46) !important;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 20px 50px rgba(0,0,0,0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body.single .site-nav::before,
body.page .site-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    pointer-events: none;
    background:
        radial-gradient(circle at 14% 50%, rgba(255, 92, 92, 0.16), transparent 26%),
        radial-gradient(circle at 86% 50%, rgba(96, 224, 139, 0.16), transparent 24%);
    opacity: 0.9;
}

body.single .site-nav::after,
body.page .site-nav::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.03);
    pointer-events: none;
}

body.single .nav-links a:hover,
body.single .nav-links a[aria-current="page"],
body.page .nav-links a:hover,
body.page .nav-links a[aria-current="page"] {
    color: #ffffff;
}

body.single .nav-links a:hover::before,
body.single .nav-links a[aria-current="page"]::before,
body.page .nav-links a:hover::before,
body.page .nav-links a[aria-current="page"]::before {
    left: 0;
    width: 100%;
}

body.single::before,
body.page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
    background-image:
        radial-gradient(circle at 8% 14%, rgba(255,255,255,0.95) 0 1px, transparent 1.5px),
        radial-gradient(circle at 18% 42%, rgba(255,255,255,0.7) 0 1px, transparent 1.5px),
        radial-gradient(circle at 28% 72%, rgba(255,255,255,0.9) 0 1px, transparent 1.5px),
        radial-gradient(circle at 38% 22%, rgba(255,255,255,0.75) 0 1px, transparent 1.5px),
        radial-gradient(circle at 48% 64%, rgba(255,255,255,0.92) 0 1px, transparent 1.5px),
        radial-gradient(circle at 58% 16%, rgba(255,255,255,0.78) 0 1px, transparent 1.5px),
        radial-gradient(circle at 68% 48%, rgba(255,255,255,0.9) 0 1px, transparent 1.5px),
        radial-gradient(circle at 78% 26%, rgba(255,255,255,0.7) 0 1px, transparent 1.5px),
        radial-gradient(circle at 88% 68%, rgba(255,255,255,0.92) 0 1px, transparent 1.5px),
        radial-gradient(circle at 94% 34%, rgba(255,255,255,0.8) 0 1px, transparent 1.5px);
    animation: mkStarDrift 18s linear infinite;
}

body.single::after,
body.page::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 16% 22%, rgba(255, 92, 92, 0.08), transparent 12%),
        radial-gradient(circle at 74% 18%, rgba(96, 224, 139, 0.07), transparent 12%),
        radial-gradient(circle at 60% 72%, rgba(76, 168, 255, 0.08), transparent 14%);
    filter: blur(28px);
    animation: mkNebulaPulse 12s ease-in-out infinite;
}

.page-shell,
.single-devlog-shell {
    position: relative;
    z-index: 1;
}

.page-hero,
.single-devlog-hero {
    padding-top: 116px;
    padding-bottom: 28px;
}

.page-title,
.single-devlog-title {
    max-width: 18ch;
}

.page-content,
.single-devlog-content {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
        rgba(8, 18, 31, 0.58);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 26px 64px rgba(0,0,0,0.18);
}

.page-content::before,
.single-devlog-content::before,
.single-devlog-media::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 0% 100%, rgba(96, 224, 139, 0.09), transparent 30%),
        radial-gradient(circle at 100% 0%, rgba(255, 92, 92, 0.08), transparent 26%);
}

.page-content .post-body,
.single-devlog-content .post-body {
    position: relative;
    z-index: 1;
    max-width: 920px;
    padding: clamp(26px, 3vw, 40px);
    color: #d8e7f0;
}

.page-content .post-body > * + *,
.single-devlog-content .post-body > * + * {
    margin-top: 1.2em;
}

.page-content .post-body h2,
.page-content .post-body h3,
.page-content .post-body h4,
.single-devlog-content .post-body h2,
.single-devlog-content .post-body h3,
.single-devlog-content .post-body h4 {
    color: #f4fbff;
    line-height: 1.16;
    letter-spacing: -0.02em;
}

.page-content .post-body a,
.single-devlog-content .post-body a {
    color: #7ff0bb;
}

.page-content .post-body img,
.single-devlog-content .post-body img {
    border-radius: 18px;
}

.single-devlog-media {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    background: rgba(8, 18, 31, 0.44);
}

.single-devlog-media img {
    display: block;
    width: 100%;
    height: auto;
}

.single-devlog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.single-devlog-tags .tag {
    padding: 10px 14px;
    border-radius: 999px;
    color: #dcecff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.08);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
        rgba(13, 28, 46, 0.68);
}

.single-devlog-related {
    margin-top: 34px;
}

body.page .content-layout {
    position: relative;
    z-index: 1;
}

body.page .sidebar .widget {
    border: 1px solid rgba(255,255,255,0.08);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
        rgba(8, 18, 31, 0.58);
}

@media (max-width: 700px) {
    .page-hero,
    .single-devlog-hero {
        padding-top: 92px;
    }

    .page-content,
    .single-devlog-content,
    .single-devlog-media {
        border-radius: 22px;
    }
}

/* Unified floating nav for home-like internal pages */
body.blog .site-nav,
body.archive .site-nav,
body.category .site-nav,
body.tag .site-nav,
body.author .site-nav,
body.single .site-nav,
body.page .site-nav {
    width: min(1120px, calc(100% - 32px)) !important;
    margin: 14px auto 0 !important;
    padding: 14px 22px !important;
    border-radius: 22px !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02)),
        rgba(7, 16, 29, 0.52) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow:
        0 18px 40px rgba(0,0,0,0.24),
        inset 0 1px 0 rgba(255,255,255,0.06) !important;
    backdrop-filter: blur(22px) !important;
    -webkit-backdrop-filter: blur(22px) !important;
}

body.blog .site-nav::after,
body.archive .site-nav::after,
body.category .site-nav::after,
body.tag .site-nav::after,
body.author .site-nav::after,
body.single .site-nav::after,
body.page .site-nav::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 92, 92, 0.08), rgba(255,255,255,0), rgba(96, 224, 139, 0.08));
    opacity: 0.9;
}

body.blog .site-nav::before,
body.archive .site-nav::before,
body.category .site-nav::before,
body.tag .site-nav::before,
body.author .site-nav::before,
body.single .site-nav::before,
body.page .site-nav::before {
    inset: auto 14px 0 !important;
    border-radius: 999px !important;
}

body.blog .nav-logo,
body.archive .nav-logo,
body.category .nav-logo,
body.tag .nav-logo,
body.author .nav-logo,
body.single .nav-logo,
body.page .nav-logo,
body.blog .nav-links,
body.archive .nav-links,
body.category .nav-links,
body.tag .nav-links,
body.author .nav-links,
body.single .nav-links,
body.page .nav-links,
body.blog .nav-burger,
body.archive .nav-burger,
body.category .nav-burger,
body.tag .nav-burger,
body.author .nav-burger,
body.single .nav-burger,
body.page .nav-burger {
    position: relative;
    z-index: 1;
}

body.blog .nav-links,
body.archive .nav-links,
body.category .nav-links,
body.tag .nav-links,
body.author .nav-links,
body.single .nav-links,
body.page .nav-links {
    gap: 12px !important;
}

body.blog .nav-links li,
body.archive .nav-links li,
body.category .nav-links li,
body.tag .nav-links li,
body.author .nav-links li,
body.single .nav-links li,
body.page .nav-links li {
    list-style: none;
}

body.blog .nav-links a,
body.archive .nav-links a,
body.category .nav-links a,
body.tag .nav-links a,
body.author .nav-links a,
body.single .nav-links a,
body.page .nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.06);
    color: rgba(236, 247, 255, 0.86) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    transition: color .2s, opacity .2s, background .22s, border-color .22s, transform .22s, box-shadow .22s !important;
}

body.blog .nav-links a::before,
body.archive .nav-links a::before,
body.category .nav-links a::before,
body.tag .nav-links a::before,
body.author .nav-links a::before,
body.single .nav-links a::before,
body.page .nav-links a::before {
    left: 10px !important;
    right: 10px !important;
    bottom: 7px !important;
    width: auto !important;
    height: 2px !important;
    transform: scaleX(.35);
    transform-origin: center;
    opacity: 0;
}

body.blog .nav-links a::after,
body.archive .nav-links a::after,
body.category .nav-links a::after,
body.tag .nav-links a::after,
body.author .nav-links a::after,
body.single .nav-links a::after,
body.page .nav-links a::after {
    display: none !important;
    content: none !important;
}

body.blog .nav-links a:hover,
body.blog .nav-links a[aria-current="page"],
body.archive .nav-links a:hover,
body.archive .nav-links a[aria-current="page"],
body.category .nav-links a:hover,
body.category .nav-links a[aria-current="page"],
body.tag .nav-links a:hover,
body.tag .nav-links a[aria-current="page"],
body.author .nav-links a:hover,
body.author .nav-links a[aria-current="page"],
body.single .nav-links a:hover,
body.single .nav-links a[aria-current="page"],
body.page .nav-links a:hover,
body.page .nav-links a[aria-current="page"] {
    color: #ffffff !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
    border-color: rgba(255,255,255,0.1);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 10px 24px rgba(0,0,0,0.16);
    transform: translateY(-1px);
}

body.blog .nav-links a:hover::before,
body.blog .nav-links a[aria-current="page"]::before,
body.archive .nav-links a:hover::before,
body.archive .nav-links a[aria-current="page"]::before,
body.category .nav-links a:hover::before,
body.category .nav-links a[aria-current="page"]::before,
body.tag .nav-links a:hover::before,
body.tag .nav-links a[aria-current="page"]::before,
body.author .nav-links a:hover::before,
body.author .nav-links a[aria-current="page"]::before,
body.single .nav-links a:hover::before,
body.single .nav-links a[aria-current="page"]::before,
body.page .nav-links a:hover::before,
body.page .nav-links a[aria-current="page"]::before {
    opacity: 1;
    transform: scaleX(1);
}

@media (max-width: 700px) {
    body.blog .site-nav,
    body.archive .site-nav,
    body.category .site-nav,
    body.tag .site-nav,
    body.author .site-nav,
    body.single .site-nav,
    body.page .site-nav {
        width: calc(100% - 20px) !important;
        margin-top: 10px !important;
        padding: 10px 14px !important;
        border-radius: 18px !important;
    }
}
