@font-face {
  font-family: 'Manrope';
  src: url('/approved/fonts/Manrope-Medium.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('/approved/fonts/Manrope-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('/approved/fonts/Manrope-Bold.woff2') format('woff2');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Deep Neutral Warm Graphite Palette — refined, rich, never harsh #000 */
  --stone-deep: #262320;
  --stone-mid: #2a2724;
  --surface: #f2f0ec;
  --surface-soft: #f7f6f3;
  --white: #ffffff;
  --ink: #1a1816;
  --muted: #5d5953;
  --subtle: #918c84;
  --line: #e4e1db;
  --pad-x: clamp(20px, 2.25vw, 32px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--surface);
  color: var(--ink);
  font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container-wide {
  width: 100%;
  padding-inline: var(--pad-x);
}

/* ── 01.tech EXACT HEADER (SAME AS INDEX.HTML: 82px bar, 50px pill, 17px Manrope 500) ── */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--pad-x);
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 50px;
  text-decoration: none;
  padding: 0 16px 0 8px;
  border-radius: 12px;
  background: rgba(24, 22, 20, 0.88);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.brand__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  background: #ffffff;
}
.brand__etazhi { height: 16px; width: auto; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font: 600 15px/1.15 'Manrope', sans-serif; color: #ffffff; }
.brand__text small { font: 500 12px/1.15 'Manrope', sans-serif; color: rgba(255, 255, 255, 0.7); }

.pill-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 50px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(24, 22, 20, 0.9);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 24px rgba(18, 16, 14, 0.18);
}
.pill-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  font: 500 17px/19.55px 'Manrope', sans-serif;
  color: #b4afa8;
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}
.pill-nav__link:hover { color: #ffffff; background: rgba(255, 255, 255, 0.07); }
.pill-nav__link.is-active {
  background: #ffffff;
  color: var(--ink);
  font-weight: 500;
}

.topbar__right { display: inline-flex; align-items: center; gap: 8px; }
.topbar__tg {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(24, 22, 20, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease), background 0.2s ease;
}
.topbar__tg img { width: 22px; height: 22px; }
.topbar__tg:hover { transform: translateY(-1px); background: #36322e; }

.topbar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(34, 32, 29, 0.1);
  box-shadow: 0 6px 18px rgba(30, 26, 20, 0.1);
  font: 600 16px/1 'Manrope', sans-serif;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s var(--ease);
  white-space: nowrap;
}
.topbar__cta:hover { background: var(--surface); transform: translateY(-1px); }

/* ══════════════════════════════════════════════════════════════
   BLOG INDEX — SUNLIT OPEN PARK HERO + WARM STONE 01.TECH CARDS
   ══════════════════════════════════════════════════════════════ */
.articles-hero {
  position: relative;
  min-height: 490px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 134px var(--pad-x) 44px;
  background: #474036;
  color: #ffffff;
  overflow: hidden;
}
/* Park Galitskogo FULLY VISIBLE and sunlit! */
.articles-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 48%;
  opacity: 1;
  filter: brightness(1.06) saturate(1.02);
  pointer-events: none;
}
/* Gentle warm left-only scrim for crisp white typography while park glows on right */
.articles-hero__fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(30, 27, 24, 0.88) 0%, rgba(34, 31, 28, 0.56) 42%, rgba(34, 31, 28, 0.12) 72%, rgba(34, 31, 28, 0.02) 100%),
    linear-gradient(180deg, rgba(30, 27, 24, 0.22) 0%, transparent 32%, rgba(30, 27, 24, 0.34) 100%);
  pointer-events: none;
}
.articles-hero__top { position: relative; z-index: 2; }
.articles-hero h1 {
  margin: 0;
  font: 500 clamp(48px, 6.6vw, 96px)/1.0 'Manrope', sans-serif;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-shadow: 0 6px 26px rgba(24, 20, 15, 0.28);
}

/* Warm frosted glass category pills */
.cat-strip {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 52px;
}
.cat-btn {
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 253, 249, 0.34);
  background: rgba(36, 31, 26, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: rgba(255, 253, 249, 0.94);
  font: 500 15px/1 'Manrope', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cat-btn:hover { background: rgba(255, 253, 249, 0.24); border-color: rgba(255, 253, 249, 0.65); }
.cat-btn.is-active {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--ink);
  font-weight: 600;
}

/* White rounded sheet: "Все публикации" + warm limestone #f3efe8 cards */
.pub-sheet {
  position: relative;
  z-index: 3;
  background: #ffffff;
  border-radius: 28px 28px 0 0;
  margin-top: -22px;
  padding: clamp(52px, 5.5vw, 76px) 0 clamp(72px, 7vw, 108px);
}
.pub-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 3.6vw, 48px);
}
.pub-title {
  margin: 0;
  font: 500 clamp(38px, 5vw, 72px)/1.0 'Manrope', sans-serif;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.pub-title span { color: var(--subtle); }

.pub-search-wrap {
  position: relative;
  width: min(100%, 340px);
}
.pub-search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  stroke: var(--subtle);
  fill: none;
  stroke-width: 2;
  pointer-events: none;
}
.pub-search {
  width: 100%;
  height: 46px;
  padding: 0 16px 0 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--ink);
  font: 500 15px/1 'Manrope', sans-serif;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.pub-search:focus { border-color: var(--stone-deep); background: #ffffff; }
.pub-search::placeholder { color: var(--subtle); }

.pub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.article-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.28s var(--ease), box-shadow 0.28s ease;
}
.article-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(36, 30, 22, 0.08); }
.article-card__media {
  position: relative;
  height: 236px;
  overflow: hidden;
  background: var(--stone-mid);
}
.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.article-card:hover .article-card__media img { transform: scale(1.035); }
.article-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.94);
  color: var(--ink);
  font: 500 13.5px/1 'Manrope', sans-serif;
}
.article-card__body {
  padding: 20px 22px 24px;
  min-height: 106px;
  display: flex;
  align-items: flex-end;
}
.article-card__body h3 {
  margin: 0;
  font: 500 18.5px/1.3 'Manrope', sans-serif;
  color: var(--ink);
}

.pub-empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--muted);
  font: 500 16px/1.5 'Manrope', sans-serif;
}

/* ══════════════════════════════════════════════════════════════
   ARTICLE PAGE — BALANCED NEUTRAL WARM SLATE HERO + PURE WHITE READING SHEET
   ══════════════════════════════════════════════════════════════ */
.post-head {
  background: linear-gradient(165deg, #2b2825 0%, #1f1d1b 100%);
  color: #ffffff;
  padding: 120px var(--pad-x) 64px;
}
.post-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
}
.post-head__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
}
.post-head__title {
  margin: 0;
  font: 500 clamp(32px, 3.9vw, 56px)/1.1 'Manrope', sans-serif;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.post-head__date {
  font: 500 15px/1.3 'Manrope', sans-serif;
  color: #c2bdb5;
}
.post-head__media {
  border-radius: 18px;
  overflow: hidden;
  background: #35322e;
  aspect-ratio: 16 / 11;
  box-shadow: 0 18px 42px rgba(24, 21, 18, 0.24);
}
.post-head__media img { width: 100%; height: 100%; object-fit: cover; }

/* White sheet with LEFT sticky TOC + balanced 930px reading column (+7% typography) */
.post-sheet {
  position: relative;
  z-index: 3;
  background: #ffffff;
  border-radius: 28px 28px 0 0;
  margin-top: -22px;
  padding: clamp(44px, 5vw, 72px) 0 clamp(68px, 7vw, 100px);
}
.post-layout {
  width: 100%;
  padding-inline: var(--pad-x);
  display: grid;
  grid-template-columns: minmax(210px, 255px) minmax(0, 930px);
  gap: clamp(32px, 5vw, 90px);
  align-items: start;
}

.post-toc { position: sticky; top: 104px; }
.post-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.post-toc a {
  display: block;
  padding: 2px 0 2px 16px;
  border-left: 2px solid var(--line);
  font: 500 15px/1.38 'Manrope', sans-serif;
  color: var(--subtle);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.post-toc a:hover { color: var(--ink); }
.post-toc a.is-active {
  color: var(--ink);
  border-left-color: var(--stone-deep);
}

.post-body p {
  margin: 0 0 23px;
  font: 500 19.4px/1.6 'Manrope', sans-serif;
  color: var(--ink);
}
.post-body h2 {
  margin: 58px 0 21px;
  font: 500 clamp(28px, 2.45vw, 35px)/1.2 'Manrope', sans-serif;
  letter-spacing: -0.015em;
  color: var(--ink);
  scroll-margin-top: 100px;
}
.post-body h2:first-child { margin-top: 0; }
.post-body h3 {
  margin: 35px 0 13px;
  font: 600 22.5px/1.3 'Manrope', sans-serif;
  color: var(--ink);
}
.post-body ul, .post-body ol { margin: 0 0 25px; padding-left: 24px; }
.post-body li { margin: 0 0 11px; font: 500 19.4px/1.58 'Manrope', sans-serif; color: var(--ink); }
.post-body strong { font-weight: 700; color: var(--ink); }
.post-body a:not(.btn-dark):not(.article-card) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(30, 28, 25, 0.3);
  text-underline-offset: 4px;
}
.post-body a:not(.btn-dark):not(.article-card):hover { text-decoration-color: var(--ink); }

.mono-note {
  margin: 28px 0 36px;
  padding: 21px 25px;
  border-radius: 14px;
  background: var(--surface-soft);
}
.mono-note p { margin: 0 !important; font: 500 17.5px/1.58 'Manrope', sans-serif !important; color: var(--muted) !important; }
.mono-note p strong { color: var(--ink); }

/* Warm limestone 9:16 vertical video card (clean modal playback, zero zoom bug) */
.mono-reel {
  margin: 36px 0 42px;
  padding: 22px;
  border-radius: 20px;
  background: var(--surface);
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}
.mono-reel__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: #141210;
  cursor: pointer;
}
.mono-reel__frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #141210;
  display: block;
}
video:fullscreen,
video:-webkit-full-screen {
  object-fit: contain !important;
  width: 100% !important;
  height: 100% !important;
  background: #000000 !important;
}
.play-mask {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(24, 20, 16, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.play-mask:hover { background: rgba(24, 20, 16, 0.06); }
.play-mask.is-hidden { opacity: 0; pointer-events: none; }
.play-dot {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.94);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(24, 20, 16, 0.18);
  transition: transform 0.2s var(--ease);
}
.play-mask:hover .play-dot { transform: scale(1.07); }
.play-dot svg { width: 20px; height: 20px; fill: currentColor; margin-left: 3px; }

.mono-reel__copy h3 { margin: 0 0 11px !important; font: 500 25px/1.22 'Manrope', sans-serif !important; }
.mono-reel__copy p { margin: 0 0 21px !important; font: 500 17px/1.55 'Manrope', sans-serif !important; color: var(--muted) !important; }

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-radius: 10px;
  border: 0;
  background: var(--stone-deep);
  color: #ffffff;
  font: 500 15.5px/1 'Manrope', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-dark:hover { background: #413c36; }

/* Clean 16:9 Rutube facade */
.mono-video { margin: 34px 0 42px; }
.mono-video__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #2c2824;
  cursor: pointer;
}
.mono-video__stage img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: opacity 0.25s ease; }
.mono-video__stage:hover img { opacity: 0.98; }
.mono-video__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mono-video__cap {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font: 500 14.5px/1.45 'Manrope', sans-serif;
  color: var(--muted);
}
.mono-video__cap a { color: var(--muted); }

/* Portrait 3:4 photo galleries */
.mono-gallery { margin: 32px 0 40px; display: grid; gap: 15px; }
.mono-gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mono-gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mono-photo { margin: 0; cursor: zoom-in; }
.mono-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; transition: opacity 0.2s ease; }
.mono-photo:hover img { opacity: 0.92; }
.mono-photo figcaption { margin-top: 9px; font: 500 14.5px/1.42 'Manrope', sans-serif; color: var(--muted); }

.mono-fig { margin: 30px 0 38px; }
.mono-fig img { width: 100%; border-radius: 16px; border: 1px solid var(--line); cursor: zoom-in; }
.mono-fig--map img { max-height: 470px; object-fit: cover; }
.mono-fig figcaption { margin-top: 10px; font: 500 14.5px/1.45 'Manrope', sans-serif; color: var(--muted); }

.mono-stats { margin: 26px 0 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mono-stat { padding: 19px 21px; border-radius: 14px; background: var(--surface); }
.mono-stat strong { display: block; font: 600 25px/1.15 'Manrope', sans-serif; color: var(--ink); }
.mono-stat span { display: block; margin-top: 6px; font: 500 14.5px/1.38 'Manrope', sans-serif; color: var(--muted); }

.table-wrap { margin: 28px 0 40px; overflow-x: auto; }
.mono-table { width: 100%; border-collapse: collapse; font: 500 16.5px/1.52 'Manrope', sans-serif; }
.mono-table th {
  text-align: left;
  padding: 13px 16px 13px 0;
  font: 600 14px/1.3 'Manrope', sans-serif;
  color: var(--muted);
  border-bottom: 1.5px solid var(--stone-deep);
}
.mono-table td { padding: 15px 16px 15px 0; border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: top; }

.mono-pros {
  margin: 26px 0 40px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}
.mono-pros h3 { margin: 0 0 13px !important; font: 600 18.5px/1.25 'Manrope', sans-serif !important; }
.mono-pros ul { margin: 0 !important; padding-left: 20px !important; }
.mono-pros li { font-size: 17px !important; line-height: 1.55 !important; margin-bottom: 9px !important; color: var(--muted) !important; }

.mono-quotes { margin: 26px 0 38px; display: flex; flex-direction: column; gap: 19px; }
.mono-quote { margin: 0; padding: 2px 0 2px 20px; border-left: 2px solid var(--line); }
.mono-quote p { margin: 0 0 6px !important; font-size: 18.5px !important; line-height: 1.55 !important; }
.mono-quote cite { font: 500 14.5px/1.3 'Manrope', sans-serif; color: var(--muted); font-style: normal; }

.mono-faq { margin: 22px 0 12px; border-top: 1px solid var(--line); }
.mono-faq details { border-bottom: 1px solid var(--line); }
.mono-faq summary {
  padding: 19px 0;
  font: 500 19.4px/1.35 'Manrope', sans-serif;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.mono-faq summary::-webkit-details-marker { display: none; }
.mono-faq summary::after { content: "+"; font: 400 23px/1 'Manrope', sans-serif; color: var(--muted); flex: none; }
.mono-faq details[open] summary::after { content: "−"; color: var(--ink); }
.mono-faq details p { margin: 0 0 19px !important; font-size: 17.5px !important; line-height: 1.6 !important; color: var(--muted) !important; }

.float-cta {
  position: fixed;
  left: var(--pad-x);
  bottom: 26px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  height: 54px;
  padding: 0 20px 0 24px;
  border-radius: 12px;
  background: var(--stone-deep);
  color: #ffffff;
  font: 500 15.5px/1 'Manrope', sans-serif;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(36, 30, 22, 0.22);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: transform 0.25s var(--ease), opacity 0.25s ease, background 0.2s ease;
}
.float-cta.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-cta:hover { background: #413c36; transform: translateY(-2px); }
.float-cta svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.float-top {
  position: fixed;
  right: var(--pad-x);
  bottom: 26px;
  z-index: 40;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s var(--ease);
}
.float-top:hover { background: #e3dfd8; transform: translateY(-2px); }
.float-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.other-sec {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 56px 0 76px;
}
.other-sec h2 {
  margin: 0 0 32px;
  font: 500 clamp(32px, 3.8vw, 52px)/1.05 'Manrope', sans-serif;
  letter-spacing: -0.025em;
}
.other-sec h2 span { color: var(--subtle); }

/* Warm taupe footer (not harsh black!) */
.black-footer {
  background: #1f1d1b;
  color: #ffffff;
  padding: 36px 0 40px;
}
.footer-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.black-footer .brand {
  background: rgba(255, 252, 246, 0.08);
  border-color: rgba(255, 252, 246, 0.14);
  box-shadow: none;
  color: #fff;
}
.black-footer .brand__badge { background: #ffffff; }
.black-footer .brand__text strong { color: #ffffff; }
.black-footer .brand__text small { color: rgba(255, 252, 246, 0.65); }
.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font: 500 14px/1 'Manrope', sans-serif;
  color: rgba(255, 252, 246, 0.68);
}
.footer-links a { text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: #ffffff; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(28, 25, 22, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: min(92vw, 1080px); max-height: 80vh; border-radius: 12px; object-fit: contain; }
.lightbox__cap { margin-top: 14px; color: rgba(255, 253, 249, 0.85); font: 500 14.5px/1.45 'Manrope', sans-serif; text-align: center; max-width: 680px; }
.lightbox__close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 249, 0.24);
  background: rgba(24, 22, 20, 0.6);
  color: #fff;
  font: 400 24px/1 'Manrope', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.16); }

/* Vertical 9:16 video modal — strict aspect ratio, zero zoom/stretch */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(18, 16, 14, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal[hidden] { display: none; }
.video-modal__stage {
  height: min(84vh, 760px);
  aspect-ratio: 9 / 16;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 96px);
  border-radius: 18px;
  overflow: hidden;
  background: #0e0d0c;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.video-modal__player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0e0d0c;
  display: block;
}
.video-modal__title {
  margin: 14px 0 0;
  color: rgba(255, 253, 249, 0.86);
  font: 500 15.5px/1.4 'Manrope', sans-serif;
  text-align: center;
}

@media (max-width: 1080px) {
  .pill-nav { display: none; }
  .topbar__tg { display: none; }
  .pub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-head__grid, .post-layout { grid-template-columns: 1fr; }
  .post-toc { position: static; margin-bottom: 24px; }
  .float-cta { display: none; }
  .mono-reel { grid-template-columns: 1fr; }
  .mono-reel__frame { max-width: 250px; }
}
@media (max-width: 620px) {
  .pub-grid, .mono-gallery--3, .mono-gallery--2, .mono-stats, .mono-pros { grid-template-columns: 1fr; }
}
