/* Source of truth: landing/zarzadcy.html. The rules below (up to the "Blog-only
   rules" marker) are copied verbatim from that page's <style> block so a post
   looks like the rest of the site — change them there first, then re-copy. */
:root {
  color-scheme: light;
  --bg: #F6F8FC;
  --bg-grad-1: rgba(74, 99, 230, 0.08);
  --bg-grad-2: rgba(56, 189, 248, 0.06);
  --panel: #FFFFFF;
  --panel-2: #F1F4FA;
  --solid: #FFFFFF;
  --line: rgba(20, 26, 43, 0.08);
  --glass-border: rgba(20, 26, 43, 0.10);
  --text: #141A2B;
  --muted: #5B6478;
  --accent: #4A63E6;
  --accent-strong: #3B52D0;
  --accent-soft: rgba(74, 99, 230, 0.10);
  --accent-fill: #E6EAFB;
  --accent-line: rgba(74, 99, 230, 0.35);
  --brass: #B8842F;
  --brass-text: #8F6420; /* brass as TEXT: #B8842F is ~3.2:1 on white, this passes 4.5:1 */
  --brass-soft: rgba(184, 132, 47, 0.12);
  --brass-line: rgba(184, 132, 47, 0.38);
  --violet: #7446D6;
  --cyan: #0B7F88;
  --danger: #C8372D;
  --ok: #16875A;
  --ok-soft: rgba(22, 135, 90, 0.10);
  --ok-line: rgba(22, 135, 90, 0.35);
  --radius: 16px;
  --radius-sm: 11px;
  --blur: blur(16px) saturate(1.3);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --shell: min(1180px, 100% - 2.5rem);
  --section-pad: clamp(5rem, 11vh, 8.5rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.shell { width: var(--shell); margin-inline: auto; }
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding: 0.75rem 0;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 0.6rem; color: inherit; text-decoration: none; }
.brand svg { width: 1.4rem; height: 1.75rem; color: var(--brass); }
.brand-name { font-family: var(--mono); font-size: 0.86rem; letter-spacing: 0.18em; text-transform: uppercase; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 0.98rem/1 var(--sans);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn--primary {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 0 0 0 rgba(74, 99, 230, 0);
}
.btn--primary:hover { background: var(--accent-strong); box-shadow: 0 8px 24px -10px rgba(74, 99, 230, 0.45); }
.contact-card { display: flex; align-items: center; gap: 1.1rem; text-align: left; }
/* The photo is declared once here and reused by every contact card on the
   page, so the base64 payload is not duplicated per placement. */
.contact-avatar {
  width: 84px;
  height: 84px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: url("/blog/avatar.jpg") center / cover no-repeat;
}
.contact-name { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.02em; }
.contact-role { margin-top: 0.15rem; color: var(--muted); font-size: 0.88rem; }
.contact-links {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.94rem;
}
.contact-links a { color: var(--accent-strong); text-decoration: none; font-weight: 600; }
.contact-links a:hover { text-decoration: underline; }
.contact-dot { color: var(--muted); }
@media (max-width: 460px) {
  .contact-card { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
  /* Stacked links have nothing to separate, so the middle dot would just dangle
     at the end of the phone line. */
  .contact-links { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
  .contact-dot { display: none; }
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3.5rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-motto { font-family: var(--mono); color: var(--brass-text); }
.footer-inner a { color: inherit; }

/* Blog-only rules. Everything above is copied from zarzadcy.html so a post
   looks like the rest of the site; change it there first. */
.nav { position: static; }
.nav-link { color: var(--muted); text-decoration: none; font-size: 0.9rem; transition: color .2s var(--ease); }
.nav-link:hover { color: var(--accent-strong); }
main.shell { max-width: 60rem; padding-top: 2.5rem; padding-bottom: 4rem; }
.eyebrow { font-family: var(--mono); font-size: .75rem; letter-spacing: .22em; color: var(--accent-strong); }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.15; letter-spacing: -0.03em; margin: .4rem 0 1.5rem; }
.post-date, .post-list time { font-family: var(--mono); font-size: .78rem; color: var(--muted); letter-spacing: .06em; }
.prose { font-size: 1.06rem; line-height: 1.75; color: var(--text); }
.prose h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.12rem; margin: 1.8rem 0 .5rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1rem; }
.prose li { margin: .3rem 0; }
.prose a { color: var(--accent-strong); }
.prose code { font-family: var(--mono); font-size: .9em; color: var(--text); background: #EEF1F8; padding: .1em .35em; border-radius: 5px; }
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.post-list a { display: block; overflow: hidden; padding: 1.4rem; border: 1px solid var(--glass-border); border-radius: var(--radius); background: var(--panel);
  box-shadow: 0 1px 2px rgba(20, 26, 43, 0.04), 0 10px 30px -18px rgba(20, 26, 43, 0.18);
  color: inherit; text-decoration: none; transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.post-list a:hover { border-color: var(--accent-line); transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(20, 26, 43, 0.05), 0 18px 40px -18px rgba(20, 26, 43, 0.26); }
.post-list h2 { font-size: 1.25rem; margin: .35rem 0 .4rem; letter-spacing: -0.02em; }
.post-list p { margin: 0; color: var(--muted); }
.post-contact { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); display: grid; gap: 1.4rem; justify-items: start; }
.post-contact-lead { margin: 0; font-size: 1.12rem; font-weight: 600; }
.back { margin-top: 2.5rem; }
.back a { color: var(--muted); text-decoration: none; }
.back a:hover { color: var(--accent-strong); }
/* Post header, then the lead image, then the body — all one column, so the
   text edges line up with the picture's. */
.post-header h1 { margin-bottom: .9rem; }
.post-lede { margin: 0 0 2rem; font-size: 1.18rem; line-height: 1.6; color: var(--muted); }
.post-hero { margin: 0 0 2.5rem; }
/* Pictures inside the text: a screenshot or a chart, with an optional caption. */
.post-figure { margin: 1.8rem 0 2rem; }
.post-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); }
.post-figure figcaption { margin-top: .6rem; font-size: .85rem; color: var(--muted); }
.post-hero img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line); animation: hero-in .6s var(--ease) both; }
@keyframes hero-in { from { opacity: 0; transform: scale(.985); } }
/* List cards: a 16:9 thumbnail on top; the photo zooms slightly inside its frame on hover. */
.post-list a img { display: block; width: calc(100% + 2.8rem); max-width: none; height: auto; aspect-ratio: 16 / 9;
  object-fit: cover; margin: -1.4rem -1.4rem 1.2rem; transition: transform .5s var(--ease); }
.post-list a:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .post-list a { transition: none; } .post-list a:hover { transform: none; }
  .post-hero img { animation: none; } .post-list a img { transition: none; } .post-list a:hover img { transform: none; }
}
