
/* ================================================================ blog listing
   Design: Blog.dc.html (Claude Design canvas). */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bp {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(130,160,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130,160,255,.10) 1px, transparent 1px),
    linear-gradient(rgba(130,160,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130,160,255,.04) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}

.crumb {
  min-height: 44px; background: #0D1A3A; border-bottom: 1px solid #22346A;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--pad); font-family: "IBM Plex Mono", monospace; font-size: 12px; color: #7C89AD;
}
.crumb nav { display: flex; gap: 10px; }
.crumb a { color: #A9B4CF; }
.crumb a:hover { color: #fff; }
.crumb__here { color: #fff; }

.blog-hero { display: flex; gap: 64px; padding: 72px var(--pad) 80px; }
.blog-hero__text { width: 420px; flex-shrink: 0; display: flex; flex-direction: column; gap: 22px; }
.blog-hero__eyebrow { margin: 0; font-family: "IBM Plex Mono", monospace; font-size: 13px; letter-spacing: 0.12em; color: #FF8A57; }
.blog-hero h1 { margin: 0; font-family: Archivo, sans-serif; font-weight: 800; font-size: 52px; line-height: 1.05; letter-spacing: -0.015em; color: #fff; }
.blog-hero__intro { margin: 0; font-size: 17px; line-height: 1.6; color: #C3CCE2; }
.blog-hero__facts { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-family: "IBM Plex Mono", monospace; font-size: 12px; color: #A9B4CF; }
.blog-hero__facts a { color: #A9B4CF; text-decoration: underline; text-underline-offset: 3px; }
.blog-hero__facts a:hover { color: #fff; }
.blog-hero__quote { flex: 1 1 0; margin: 0; align-self: flex-start; border-left: 2px solid #FF6A2B; padding: 4px 0 0 36px; display: flex; flex-direction: column; gap: 22px; }
.blog-hero__quote blockquote { margin: 0; font-family: Archivo, sans-serif; font-weight: 700; font-size: 38px; line-height: 1.22; color: #fff; }
.blog-hero__quote figcaption { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.06em; color: #7C89AD; }
.blog-hero__blue { color: #6E93FF; }
.blog-hero__orange { color: #FF8A57; }

.blog-filter {
  position: sticky; top: 0; z-index: 20;
  min-height: 96px; background: #fff; border-bottom: 1px solid #D5DCEA; box-shadow: 0 1px 0 #EEF1F7;
  padding: 16px var(--pad); display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.blog-filter label { margin: 0; }
.blog-filter__search { position: relative; width: 300px; flex-shrink: 0; }
.blog-filter__search svg { position: absolute; left: 14px; top: 15px; }
.blog-filter__search input { width: 100%; max-width: none; height: 46px; border: 1px solid #C9D1E3; border-radius: 4px; padding: 0 12px 0 40px; font-size: 14px; }
.blog-filter__cats { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 0; }
.chip {
  font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: 0.05em; white-space: nowrap;
  color: var(--navy); background: #fff; border: 1px solid #C9D1E3; border-radius: 3px; padding: 11px 11px;
}
.chip span { opacity: .6; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.blog-filter__sort { display: flex; align-items: center; gap: 8px; flex-shrink: 0; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.06em; color: #6A7490; }
.blog-filter__sort select { width: auto; height: 44px; padding: 0 10px; font-size: 14px; border-color: #C9D1E3; border-radius: 4px; }

.blog-posts { padding: 56px var(--pad) 72px; display: flex; flex-direction: column; gap: 24px; }
.blog-posts__note { margin: 0; font-size: 14px; color: #4A5570; }
.blog-posts__note a, .blog-empty a { color: var(--blue); font-weight: 600; }
.blog-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.blog-empty { margin: 0; padding: 48px 0; color: #4A5570; }

/* card */
.bcard { background: #fff; border: 1px solid #D5DCEA; border-radius: 6px; display: flex; flex-direction: column; color: #0E1526; min-height: 440px; }
.bcard__cover {
  position: relative; display: block; height: 190px; border-radius: 6px 6px 0 0; overflow: hidden;
  background: linear-gradient(180deg, #22386B 0%, #0B1736 100%);
}
.bcard__cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bcard:hover .bcard__cover img { transform: scale(1.03); }
.bcard__nophoto { position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 9px); }
.bcard__flag { position: absolute; left: 18px; top: 16px; font-family: "IBM Plex Mono", monospace; font-size: 11px; color: #fff; background: #FF6A2B; padding: 4px 9px; border-radius: 3px; }
.bcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.bcard__meta { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: #6A7490; }
.bcard__cat { color: var(--blue); }
.bcard__title { margin: 0; font-family: Archivo, sans-serif; font-weight: 700; font-size: 19px; line-height: 1.3; letter-spacing: 0; }
.bcard__title a { color: var(--navy); }
.bcard__title a:hover { color: var(--blue); }
.bcard__ex { margin: 0; font-size: 14px; line-height: 1.55; color: #4A5570; }
.bcard__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bcard__actions { position: relative; display: flex; align-items: center; gap: 12px; }
.bcard__read { font-weight: 600; font-size: 14px; color: var(--blue); }
.bcard__badges { display: flex; gap: 8px; flex-shrink: 0; }

.bcard--lead { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 380px; }
.bcard--lead .bcard__cover { height: auto; min-height: 380px; border-radius: 6px 0 0 6px; }
.bcard--lead .bcard__body { padding: 36px 40px; gap: 16px; justify-content: center; }
.bcard--lead .bcard__meta { font-size: 12px; }
.bcard--lead .bcard__title { font-size: 32px; line-height: 1.18; }
.bcard--lead .bcard__ex { font-size: 16px; line-height: 1.6; }
.bcard--lead .bcard__foot { margin-top: 0; padding-top: 6px; }
.bcard--lead .bcard__read { font-size: 15px; }

/* round badges: author photo + discipline animation */
.bbadge {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #D5DCEA; display: flex; align-items: center; justify-content: center;
}
.bcard--lead .bbadge { width: 52px; height: 52px; }
.bbadge--author { background: #DCE2EE; align-items: flex-end; }
.bbadge--author img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* No focal point set: zoom into the head. Team portraits share one framing
   (eyes about a third from the top), so a fixed zoom lands on the face. */
.bbadge--author .bbadge__img--portrait { object-position: 50% 0; transform: scale(1.9); transform-origin: 50% 24%; }
.bbadge--author svg { width: 62%; height: 62%; }
.bbadge--team, .bbadge--ai { background: var(--navy); align-items: center; }
.bbadge--team svg { width: 56%; height: 56%; }
.bbadge__ai { font-family: "IBM Plex Mono", monospace; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: #6E93FF; }
.bcard--lead .bbadge__ai { font-size: 15px; }
.bbadge--disc { background: var(--navy); }
.bbadge--disc svg { display: block; width: 62%; height: 62%; overflow: visible; }

/* share */
.share-btn {
  display: flex; align-items: center; gap: 7px; border: 1px solid #C9D1E3; background: #fff; color: var(--navy);
  border-radius: 3px; padding: 7px 11px; font-family: "IBM Plex Mono", monospace; font-size: 11.5px; font-weight: 400; letter-spacing: 0.06em;
}
.share-btn:hover, .share-btn.is-on { background: #EEF2FF; color: var(--navy); }
.share-pop {
  position: absolute; left: 0; bottom: 44px; z-index: 30; width: 280px; background: #fff;
  border: 1px solid var(--navy); border-radius: 6px; box-shadow: 0 16px 36px rgba(10,22,51,.22); overflow: hidden;
}
.share-pop[hidden] { display: none; }
.share-pop__head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--navy); font-family: "IBM Plex Mono", monospace; font-size: 11px; color: #A9B4CF; }
.share-pop__close { border: 0; background: transparent; color: #fff; font-size: 16px; line-height: 1; padding: 2px 4px; }
.share-pop__close:hover { background: transparent; color: #FF8A57; }
.share-pop__body { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.share-pop__row { display: flex; gap: 6px; }
.share-pop__url { flex-grow: 1; min-width: 0; border: 1px solid #E3E8F2; background: #F4F6FA; border-radius: 3px; padding: 8px; font-family: "IBM Plex Mono", monospace; font-size: 11px; color: #4A5570; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.share-pop__copy { background: var(--navy); color: #fff; border-radius: 3px; padding: 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.share-pop__copy.is-done { background: #2E7D45; }
.share-pop__nets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; font-size: 12px; font-weight: 600; }
.share-pop__nets a { text-align: center; border: 1px solid #C9D1E3; color: var(--navy); border-radius: 3px; padding: 8px 0; }
.share-pop__nets a:hover { border-color: var(--navy); }
.share-pop__nets .share-pop__li { color: #0A66C2; }

/* newsletter */
.blog-news { position: relative; border-radius: 6px; padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; color: #fff; min-height: 440px; }
.blog-news__eyebrow { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.1em; color: #FF8A57; }
.blog-news__h { font-family: Archivo, sans-serif; font-weight: 700; font-size: 24px; line-height: 1.25; }
.blog-news__p { font-size: 14px; line-height: 1.55; color: #C3CCE2; }
.blog-news__field { margin: auto 0 0; display: flex; flex-direction: column; gap: 6px; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.06em; color: #A9B4CF; }
.blog-news__field input { max-width: none; height: 44px; border: 0; border-radius: 4px; padding: 0 12px; font-size: 14px; }
.blog-news__consent { margin: 0; display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.5; color: #A9B4CF; }
.blog-news__consent input { margin-top: 3px; }
.blog-news button { height: 46px; padding: 0; border-radius: 4px; background: #fff; color: var(--navy); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.blog-news button:hover { background: #EEF2FF; }
.blog-news__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.blog-news__msg { margin: auto 0 0; padding: 12px 14px; border-radius: 4px; background: rgba(255,106,43,.14); color: #FFB58F; font-size: 14px; line-height: 1.5; }
.blog-news__msg.is-ok { background: rgba(61,209,122,.14); color: #7FE3A6; }
.blog-news__msg + .blog-news__field { margin-top: 0; }

/* pagination */
.blog-pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 8px; }
.blog-pager__info { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: #6A7490; }
.blog-pager__links { display: flex; gap: 6px; font-family: "IBM Plex Mono", monospace; font-size: 13px; }
.blog-pager__links a, .blog-pager__links span {
  min-width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0 14px;
  background: #fff; border: 1px solid #C9D1E3; color: var(--navy); border-radius: 3px;
}
.blog-pager__links a:hover { border-color: var(--navy); }
.blog-pager__links .is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.blog-pager__links .blog-pager__gap { border: 0; background: transparent; min-width: 20px; padding: 0; }

/* reading paths */
.blog-paths__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rpath { border: 1px solid #D5DCEA; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.rpath__head { display: flex; justify-content: space-between; padding: 14px 20px; background: var(--navy); font-family: "IBM Plex Mono", monospace; font-size: 12px; color: #A9B4CF; }
.rpath__n { color: #FF8A57; }
.rpath__intro { padding: 20px 20px 8px; display: flex; flex-direction: column; gap: 6px; }
.rpath__t { font-family: Archivo, sans-serif; font-weight: 700; font-size: 20px; color: var(--navy); }
.rpath__q { font-size: 14px; line-height: 1.5; color: #4A5570; }
.rpath__list { list-style: none; margin: 0; padding: 8px 20px 18px; }
.rpath__list a { display: grid; grid-template-columns: 30px 1fr; padding: 10px 0; border-top: 1px solid #E3E8F2; font-size: 14px; line-height: 1.45; color: var(--navy); }
.rpath__list a:hover { color: var(--blue); }
.rpath__i { font-family: "IBM Plex Mono", monospace; color: #FF6A2B; }

@media (max-width: 1240px) {
  .blog-hero { flex-direction: column; gap: 40px; }
  .blog-hero__text { width: auto; max-width: 640px; }
  .blog-grid3, .blog-paths__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .blog-filter { position: static; }
  .blog-filter__search { width: 100%; }
  .blog-filter__cats { flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .bcard--lead { display: flex; }
  .bcard--lead .bcard__cover { min-height: 0; height: 220px; border-radius: 6px 6px 0 0; }
  .bcard--lead .bcard__body { padding: 22px; }
  .bcard--lead .bcard__title { font-size: 24px; }
  .blog-grid3, .blog-paths__grid { grid-template-columns: 1fr; }
  .blog-hero h1 { font-size: 40px; }
  .blog-hero__quote blockquote { font-size: 26px; }
  .crumb > span { display: none; }
}

/* ================================================================ article page
   Design: BlogPost.dc.html. The article is a white sheet on the light drafting grid. */
.crumb--progress { position: relative; }
.crumb__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: #FF6A2B; transform: scaleX(0); transform-origin: left; }

.post { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; padding: 56px var(--pad) 88px; }
.post__rail { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 22px; }
.post-lbl { display: block; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.08em; color: #6A7490; }
.post-toc { border-top: 2px solid var(--navy); }
.post-toc .post-lbl { padding: 12px 0; color: var(--navy); }
.post-toc__list { list-style: none; margin: 0; padding: 0; }
.post-toc__list a { display: grid; grid-template-columns: 26px 1fr; padding: 8px 0 8px 10px; border-left: 2px solid #D5DCEA; font-size: 13.5px; line-height: 1.4; color: #4A5570; }
.post-toc__list a:hover { color: var(--navy); }
.post-toc__list a.is-on { border-left-color: #FF6A2B; color: var(--navy); font-weight: 600; }
.post-toc__n { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: #9AA6C4; padding-top: 1px; }
.post-rail__box { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid #D5DCEA; padding-top: 16px; }
.post-share { display: flex; flex-wrap: wrap; gap: 6px; font-family: "IBM Plex Mono", monospace; font-size: 12px; }
.post-share a, .post-share button { background: #fff; border: 1px solid #C9D1E3; color: var(--navy); padding: 8px 10px; border-radius: 3px; font-family: inherit; font-size: inherit; font-weight: 400; letter-spacing: 0; line-height: 1.2; }
.post-share a:hover, .post-share button:hover { border-color: var(--navy); background: #fff; color: var(--navy); }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.sheet { background: #fff; border: 1px solid #D5DCEA; border-radius: 8px; box-shadow: 0 1px 0 #fff inset, 0 24px 48px -32px rgba(10,22,51,.28); overflow: hidden; }
.sheet__head { padding: 52px 64px 32px; display: flex; flex-direction: column; gap: 20px; }
.sheet__meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-family: "IBM Plex Mono", monospace; font-size: 12px; color: #6A7490; }
.sheet__cat { color: #fff; background: var(--blue); padding: 4px 9px; border-radius: 3px; }
.sheet__cat:hover { color: #fff; background: var(--navy); }
.sheet h1 { margin: 0; font-family: Archivo, sans-serif; font-weight: 800; font-size: 46px; line-height: 1.08; letter-spacing: -0.015em; color: var(--navy); }
.sheet__lead { margin: 0; font-size: 19px; line-height: 1.6; color: #4A5570; max-width: 760px; }
.sheet__cover { position: relative; margin: 0; border-top: 1px solid #E3E8F2; border-bottom: 1px solid #E3E8F2; }
.sheet__cover > img { display: block; width: 100%; height: auto; aspect-ratio: 900 / 470; object-fit: cover; }
.sheet__badges { position: absolute; right: 20px; bottom: 16px; display: flex; gap: 8px; }
.bbadge--big { width: 52px; height: 52px; }

.sheet__body { padding: 44px 64px 8px; }
.post-body > * { max-width: 720px; }
.post-body .section, .post-body .prose { padding: 0; }
.post-body { font-size: 17px; line-height: 1.75; color: #1D2740; }
.post-body p { margin: 0 0 20px; }
.post-body h2 { margin: 44px 0 16px; font-family: Archivo, sans-serif; font-weight: 700; font-size: 30px; line-height: 1.2; letter-spacing: -0.01em; color: var(--navy); scroll-margin-top: 24px; }
.post-body h3 { margin: 32px 0 12px; font-family: Archivo, sans-serif; font-weight: 700; font-size: 21px; line-height: 1.3; letter-spacing: 0; color: var(--navy); }
.post-body h4 { margin: 24px 0 10px; font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: 0; }
.post-body > :first-child h2:first-child, .post-body > h2:first-child { margin-top: 0; }
.post-body ul, .post-body ol { margin: 0 0 20px; padding-left: 22px; }
.post-body li { margin-bottom: 6px; }
.post-body li::marker { color: var(--blue); }
.post-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.post-body strong, .post-body b { color: var(--navy); }
.post-body blockquote { margin: 0 0 20px; border-left: 3px solid #FF6A2B; background: #FFF6F1; padding: 14px 18px; color: var(--navy); }
.post-body img { display: block; max-width: 100%; height: auto; border: 1px solid #E3E8F2; border-radius: 4px; margin: 8px 0 20px; }
.post-body table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
.post-body th, .post-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #E3E8F2; }
.post-body th { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.04em; color: var(--navy); background: #F4F6FA; }
.post-body code { font-family: "IBM Plex Mono", monospace; font-size: 0.9em; background: #F4F6FA; padding: 1px 5px; border-radius: 3px; }

.sheet__foot { padding: 24px 64px 52px; display: flex; flex-direction: column; gap: 24px; }
.sheet__foot > * { max-width: 720px; }
.post-cta { border-radius: 6px; padding: 24px 26px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.post-cta span { font-family: Archivo, sans-serif; font-weight: 700; font-size: 20px; line-height: 1.3; color: #fff; }
.post-cta a { flex-shrink: 0; background: #fff; color: var(--navy); font-weight: 600; font-size: 15px; padding: 14px 20px; border-radius: 4px; }
.post-cta a:hover { background: #EEF2FF; color: var(--navy); }
.post-author { display: flex; gap: 16px; align-items: center; border-top: 1px solid #E3E8F2; padding-top: 22px; }
.post-author > div { display: flex; flex-direction: column; gap: 3px; }
.post-author__name { font-weight: 600; font-size: 15px; color: var(--navy); }
.post-author__bio { font-size: 14px; line-height: 1.5; color: #6A7490; }

.post-related { padding: 80px var(--pad) 96px; border-top: 1px solid #E3E8F2; }
.post-related .sec-head h2 { font-size: 34px; }

@media (max-width: 1100px) {
  .post { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .post__rail { position: static; order: 2; }
  .post-toc { display: none; }
  .sheet__head, .sheet__body, .sheet__foot { padding-left: 32px; padding-right: 32px; }
  .sheet h1 { font-size: 36px; }
}
@media (max-width: 640px) {
  .post { padding-left: 0; padding-right: 0; padding-top: 0; }
  .post__rail { padding: 0 20px; }
  .sheet { border-radius: 0; border-left: 0; border-right: 0; }
  .sheet__head, .sheet__body, .sheet__foot { padding-left: 20px; padding-right: 20px; }
  .sheet__head { padding-top: 32px; }
  .sheet h1 { font-size: 30px; }
  .post-body { font-size: 16px; }
  .post-cta { flex-direction: column; align-items: flex-start; }
}
