@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-italic-var.woff2") format("woff2");
}

:root {
  /* Themes */
  --text-dm-site-title: #c8a7ff;
  --text-dm-primary: #c8a7ff;
  --text-dm-secondary: #b59fda;
  --dm-contrast: #fbff45;
  --bg-dm-primary: #1a1030;
  --bg-dm-secondary: #281848;
  --page-bg: #0b0811;
  --page-stripe: #181027;
  /* Other vars */
  --border-radius: 2rem;
  --shell-padding: 2.5rem;
  color-scheme: dark;
}

@keyframes title-sheen {
  0%,
  6% {
    background-position: 180% 50%, 0 50%;
  }

  18%,
  100% {
    background-position: -180% 50%, 0 50%;
  }
}

* {
  font-family: inherit;
  text-decoration: none;
  margin: 0;
  padding: 0;
  -webkit-user-drag: none;
  -moz-window-dragging: none;
  -webkit-tap-highlight-color: transparent;
}

* img {
  max-width: 100%;
}

html,
body {
  color: var(--text-dm-secondary);
  font-family: "Montserrat", sans-serif;
  line-height: 2rem;
}

html {
  background-color: var(--page-bg);
}

body {
  min-height: 100vh;
  padding: 1.5rem;
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden;
  background-color: var(--page-bg);
}

.page-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.page-background-stripes {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180vmax;
  height: 180vmax;
  background-color: var(--page-bg);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 36px,
    var(--page-stripe) 36px 72px
  );
  background-position: center;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
  backface-visibility: hidden;
  contain: paint;
}

@supports (height: 100lvh) {
  .page-background-stripes {
    width: max(180vw, 180lvh);
    height: max(180vw, 180lvh);
  }
}

main {
  width: 100%;
  margin: 0 auto;
  max-width: calc(650px + (var(--shell-padding) * 2));
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.page-shell {
  position: relative;
  overflow: hidden;
  padding: 3rem var(--shell-padding) 0;
  background: linear-gradient(180deg, #2a184c 0, var(--bg-dm-primary) 100%);
  border-radius: calc(var(--border-radius) + 0.5rem);
  border: 1px solid #3a255f;
  box-shadow:
    inset 0 1px 0 #4b327d,
    inset 1px 0 0 #4b327d,
    0 1.5rem 4rem #06040b,
    0 0 0 1px #120b20;
}

.page-shell-content {
  --dot-field-margin-x: clamp(0.5rem, 2vw, 1.25rem);
  --dot-field-margin-y: clamp(0.375rem, 1.2vw, 0.75rem);
  --dot-field-margin-bottom: clamp(1rem, 2.2vw, 1.75rem);
  --dot-field-footer-gap: 5rem;
  --dot-size: 1.5px;
  --dot-gap: 20px;
  --dot-opacity-base: 0.06;
  --dot-opacity-active: 0.24;
  --dot-focus-size: 94.5rem;
  --dot-focus-fade: 162rem;
  --dot-wiggle-radius: 81rem;
  --dot-focus-x: 50%;
  --dot-focus-y: 35%;
  position: relative;
  padding-bottom: var(--dot-field-footer-gap);
  margin-bottom: calc(var(--dot-field-footer-gap) * -1);
  z-index: 1;
}

.page-shell-home.is-contracted .page-shell-content {
  --dot-field-footer-gap: 2rem;
}

.page-shell-content > * {
  position: relative;
  z-index: 1;
}

.page-shell-content::before,
.page-shell-content::after {
  content: "";
}

.page-shell-content::before,
.page-shell-content::after,
.page-shell-content > .dot-field-canvas {
  position: absolute;
  top: var(--dot-field-margin-y);
  right: var(--dot-field-margin-x);
  bottom: var(--dot-field-margin-bottom);
  left: var(--dot-field-margin-x);
  border-radius: calc(var(--border-radius) - 0.75rem);
  pointer-events: none;
  z-index: 0;
}

.page-shell-content::before {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 1) 0 var(--dot-size), transparent calc(var(--dot-size) + 0.5px));
  background-size: var(--dot-gap) var(--dot-gap);
  background-position: center top;
  opacity: var(--dot-opacity-base);
}

.page-shell-content::after {
  opacity: 0;
  background: radial-gradient(
    circle at var(--dot-focus-x) var(--dot-focus-y),
    rgba(255, 255, 255, 0.08) 0,
    rgba(255, 255, 255, 0.055) calc(var(--dot-focus-size) * 0.48),
    rgba(255, 255, 255, 0.02) calc(var(--dot-focus-size) * 0.78),
    rgba(255, 255, 255, 0) var(--dot-focus-fade)
  );
  transition: opacity 220ms ease;
}

.page-shell-content.is-dot-field-enhanced::before,
.page-shell-content.is-dot-field-enhanced::after {
  opacity: 0;
}

.page-shell-content.is-dot-field-idle::after {
  opacity: 0;
}

.page-shell-content > .dot-field-canvas {
  display: block;
  right: auto;
  bottom: auto;
  width: calc(100% - (var(--dot-field-margin-x) * 2));
  height: calc(100% - var(--dot-field-margin-y) - var(--dot-field-margin-bottom));
  opacity: 1;
}

.page-shell-home.is-contracted {
  border-bottom-right-radius: 0;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 4.5rem),
    calc(100% - 4.5rem) 100%,
    0 100%
  );
}

.page-shell-home.is-contracted::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 4.5rem;
  height: 4.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72' fill='none'%3E%3Cpath d='M72 0 L72 36 L36 72' stroke='%233a255f' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 3;
}

.page-shell-home.is-contracted::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 4.5rem;
  height: 4.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72' fill='none'%3E%3Cpath d='M0 72 Q0 0 72 0' stroke='%233a255f' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 4;
}

.blogfeed-home {
  --home-header-avatar-gap: 4rem;
}

.blogfeed-home .page-shell {
  padding-top: 3rem;
}

.blogfeed-home header {
  padding: 1rem 0 var(--home-header-avatar-gap) 0;
}

.blogfeed-home header,
.blogfeed-home #bio {
  position: relative;
  top: -1.5rem;
}

.blogfeed-home #bio {
  margin-bottom: 1.5rem;
}

main.blogfeed * {
  font-weight: 900;
}

header {
  padding: 2rem 0 4rem 0;
}

header .site-title {
  font-size: 5rem;
  font-weight: bolder;
  line-height: 0.95;
  letter-spacing: -0.12rem;
  position: relative;
  display: inline-block;
}

header:not(.article-header) .site-title-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28em;
  width: max-content;
  position: relative;
}

header:not(.article-header) .site-title-word {
  display: inline-block;
  transition: transform 0.2s ease;
  will-change: transform;
}

header:not(.article-header) .site-title {
  --title-sheen-color: var(--text-dm-secondary);
  color: var(--text-dm-secondary);
  text-shadow: -1px -1px 0 rgba(224, 209, 255, 0.55), 5px 5px 0 #120b20;
}

.blogfeed-home header {
  position: relative;
}

.header-barcode-stack {
  --header-barcode-color: #a58acb;
  position: absolute;
  top: calc(1rem + 1mm);
  right: 0;
  width: 14rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  pointer-events: none;
}

.header-barcode {
  width: 100%;
  aspect-ratio: 288 / 120;
  background-color: var(--header-barcode-color);
  -webkit-mask-image: url("../icons/barcode-mask.svg");
  mask-image: url("../icons/barcode-mask.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.header-barcode-code {
  color: var(--header-barcode-color);
  font-family: "Courier New", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-align: center;
}

header:not(.article-header) .site-title-tail {
  position: relative;
  padding-bottom: 0.14em;
}

header:not(.article-header) .site-title-tail::after {
  content: "";
  position: absolute;
  width: 50%;
  left: 0;
  bottom: -0.06em;
  height: 0.07em;
  border-radius: 999px;
  background: var(--dm-contrast);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  header:not(.article-header) .site-title-line::before {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(
        90deg,
        rgba(243, 235, 255, 0) 0%,
        rgba(243, 235, 255, 0) 40%,
        rgba(243, 235, 255, 0.94) 50%,
        rgba(243, 235, 255, 0) 60%,
        rgba(243, 235, 255, 0) 100%
      ),
      linear-gradient(var(--title-sheen-color), var(--title-sheen-color));
    background-repeat: no-repeat;
    background-size: 180% 100%, 100% 100%;
    background-position: 180% 50%, 0 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    pointer-events: none;
    animation: title-sheen 11s linear infinite;
    transition: opacity 0.18s ease;
  }

  header:not(.article-header) .site-title-line:hover::before,
  header:not(.article-header) .site-title-line:focus-within::before {
    opacity: 0;
  }
}

.article-header .site-title {
  --title-sheen-color: var(--text-dm-secondary);
  color: var(--text-dm-secondary);
  text-shadow: -1px -1px 0 rgba(224, 209, 255, 0.55), 5px 5px 0 #120b20;
}

.article-title a,
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  --title-sheen-color: var(--text-dm-secondary);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .article-title a,
  .article-content h1,
  .article-content h2,
  .article-content h3,
  .article-content h4,
  .article-content h5,
  .article-content h6 {
    background-image:
      linear-gradient(
        90deg,
        rgba(243, 235, 255, 0) 0%,
        rgba(243, 235, 255, 0) 40%,
        rgba(243, 235, 255, 0.94) 50%,
        rgba(243, 235, 255, 0) 60%,
        rgba(243, 235, 255, 0) 100%
      ),
      linear-gradient(var(--title-sheen-color), var(--title-sheen-color));
    background-repeat: no-repeat;
    background-size: 180% 100%, 100% 100%;
    background-position: 180% 50%, 0 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: title-sheen 11s linear infinite;
  }

  .article-header .site-title::before {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(
        90deg,
        rgba(243, 235, 255, 0) 0%,
        rgba(243, 235, 255, 0) 40%,
        rgba(243, 235, 255, 0.94) 50%,
        rgba(243, 235, 255, 0) 60%,
        rgba(243, 235, 255, 0) 100%
      ),
      linear-gradient(var(--title-sheen-color), var(--title-sheen-color));
    background-repeat: no-repeat;
    background-size: 180% 100%, 100% 100%;
    background-position: 180% 50%, 0 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    pointer-events: none;
    animation: title-sheen 11s linear infinite;
  }
}

.article-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

#bio {
  display: grid;
  grid-template-columns: 19rem minmax(0, 1fr);
  justify-content: initial;
  align-items: start;
  column-gap: 3.6rem;
}

#bio-avatar-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: end;
  align-self: start;
  position: relative;
  z-index: 2;
  isolation: isolate;
  transform: translateX(2mm);
}

#bio-avatar-wrapper picture {
  display: block;
}

#bio-avatar {
  display: block;
  width: 250px;
  height: auto;
  position: relative;
  z-index: 1;
  border-radius: 50%;
  border: 4px solid rgba(251, 255, 69, 0.78);
  box-shadow:
    0 0 0 8px rgba(49, 32, 85, 0.96),
    0 1.2rem 2.6rem rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

#bio-copy-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  min-width: 0;
  padding-top: 0;
  width: min(37rem, 100%);
  max-height: none;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.28s ease,
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear;
}

#bio-copy-wrapper > * {
  flex-shrink: 0;
}

#bio-text {
  width: 100%;
  justify-self: start;
  min-height: 0;
  display: block;
  margin: 0;
  transform: none;
  padding-top: 0;
  line-height: 1.5;
  text-align: left;
  font-weight: 900;
  color: var(--text-dm-secondary);
  max-height: 24rem;
  opacity: 1;
  visibility: visible;
  transition:
    max-height 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear;
}

#bio-text * {
  font-weight: 900;
}

#bio-text p {
  position: relative;
  max-width: 31rem;
  margin: 0 auto;
  padding: 1rem 1.2rem 1.05rem;
  border-radius: 0.7rem;
  background: linear-gradient(180deg, #24163f 0, #1a1030 100%);
  border: 1px solid #39255d;
  box-shadow:
    inset 0 1px 0 #4b327d,
    0 0 0 0.35rem #312055,
    0 0.9rem 1.6rem rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

#bio-text p::after {
  content: "";
  position: absolute;
  left: -0.48rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  background: #22153b;
  border-left: 1px solid #39255d;
  border-bottom: 1px solid #39255d;
  transform: translateY(-50%) rotate(45deg);
  box-shadow: -0.2rem 0.2rem 0 #312055;
}

#bio-text a {
  color: var(--dm-contrast);
  border-bottom: 3px solid var(--dm-contrast);
}

#social-links {
  margin: 0.7rem auto 0;
  display: inline-flex;
  align-self: center;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: nowrap;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.45rem;
  border-radius: 999px;
  background: rgba(8, 8, 12, 0.9);
  opacity: 1;
  visibility: visible;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0.45rem 1rem rgba(0, 0, 0, 0.15);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#social-links a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.45rem;
  height: 2.45rem;
  flex: 0 0 2.45rem;
  border-radius: 50%;
  color: var(--bg-dm-secondary);
  background-color: var(--dm-contrast);
  border: none;
  box-shadow: 0 0.55rem 1rem rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

#social-links a:hover,
#social-links a:focus-visible {
  transform: translateY(-3px);
}

#social-links a:focus-visible {
  outline: none;
}

#social-links a img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 50%;
}

.social-label {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.8rem);
  transform: translate(-50%, -0.4rem);
  opacity: 0;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background-color: var(--dm-contrast);
  color: var(--bg-dm-secondary);
  font-size: 0.7rem;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  border-left: 0.4rem solid transparent;
  border-right: 0.4rem solid transparent;
  border-bottom: 0.45rem solid var(--dm-contrast);
}

#social-links a:hover .social-label,
#social-links a:focus-visible .social-label {
  opacity: 1;
  transform: translate(-50%, 0);
}

.message-box {
  position: relative;
  width: calc(100% + 19rem + 3.6rem);
  align-self: flex-start;
  margin: 1.8rem 0 0 calc(-19rem - 3.6rem);
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1),
  visibility 0s linear;
}

.message-box-form {
  width: 100%;
}

.message-box-shell {
  --message-box-action-size: 2.4rem;
  --message-box-action-gap: 0.35rem;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "field actions";
  align-items: start;
  column-gap: 0.35rem;
  row-gap: 0;
  width: 100%;
  min-height: 3rem;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0.3rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(112, 112, 124, 0.45);
  background: linear-gradient(180deg, rgba(247, 247, 250, 0.98) 0%, rgba(223, 225, 231, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 0.75rem 1.5rem rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.message-box-shell.is-expanded {
  border-radius: 1.45rem;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "field"
    "actions";
  row-gap: 0.35rem;
}

.message-box-field {
  grid-area: field;
  min-height: 2.4rem;
  min-width: 0;
  align-self: start;
}

.message-box-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--message-box-action-gap);
  min-height: var(--message-box-action-size);
  align-self: end;
  z-index: 2;
}

.message-box-input {
  display: block;
  width: 100%;
  min-height: 2.4rem;
  max-height: 14rem;
  box-sizing: border-box;
  margin: 0;
  padding: 0.5rem 0.8rem;
  border: none;
  background: transparent;
  color: #34274f;
  font: inherit;
  line-height: 1.4;
  resize: none;
  overflow: hidden;
}

.message-box-input::placeholder {
  color: rgba(52, 39, 79, 0.58);
}

.message-box-input:focus {
  outline: none;
}

.message-box-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  align-self: end;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.message-box-attach {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 1.35rem;
  height: 2.4rem;
  padding: 0 0.16rem;
  align-self: center;
  border: none;
  background: transparent;
  color: #171717;
  box-shadow: none;
  cursor: pointer;
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.message-box-send {
  background: var(--dm-contrast);
  color: var(--bg-dm-secondary);
  box-shadow:
    inset 0 1px 0 #fff98c,
    0 0.55rem 1rem rgba(0, 0, 0, 0.2);
}

.message-box-action-icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.message-box-send:hover,
.message-box-send:focus-visible {
  transform: translateY(-3px);
  outline: none;
}

.message-box-attach:hover,
.message-box-attach:focus-visible {
  color: #000;
  opacity: 0.72;
  transform: translateY(-1px);
  outline: none;
}

.message-box-send:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.message-box-attach:disabled {
  cursor: wait;
  opacity: 0.5;
  transform: none;
}

.message-box-shell.has-attachment .message-box-attach {
  display: none;
}

.message-box-attachment-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: none;
  border-radius: 0.82rem;
  background: rgba(70, 54, 103, 0.14);
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(70, 54, 103, 0.12),
    0 0.3rem 0.8rem rgba(0, 0, 0, 0.08);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.message-box-attachment-chip[hidden] {
  display: none;
}

.message-box-attachment-chip:hover,
.message-box-attachment-chip:focus-visible {
  background: rgba(70, 54, 103, 0.18);
  transform: translateY(-1px);
  outline: none;
}

.message-box-attachment-chip:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.message-box-attachment-preview-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-box-attachment-remove-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 8, 17, 0.56);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.message-box-attachment-chip:hover .message-box-attachment-remove-overlay,
.message-box-attachment-chip:focus-visible .message-box-attachment-remove-overlay {
  opacity: 1;
}

.message-box-attachment-remove-icon {
  width: 1rem;
  height: 1rem;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.message-box-status {
  min-height: 1.4rem;
  margin-top: 0.45rem;
  padding: 0 0.35rem;
  color: #f2f4f8;
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: left;
}

.message-box-status[hidden] {
  display: none;
}

.message-box-status.is-error {
  color: #ffe982;
}

.message-box-cooldown-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 1.6rem;
  background: linear-gradient(180deg, rgba(11, 12, 18, 0.18) 0%, rgba(11, 12, 18, 0.3) 100%);
  color: #f5f7fb;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-align: center;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  opacity: 0;
  z-index: 5;
  transition: opacity 0.28s ease;
}

.message-box-cooldown-overlay[hidden] {
  display: none;
}

.message-box-cooldown-text-mobile {
  display: none;
}

.message-box.is-locked-by-cooldown .message-box-form {
  pointer-events: none;
  user-select: none;
}

.message-box.is-locked-by-cooldown .message-box-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(10, 12, 18, 0.28);
  pointer-events: none;
  z-index: 3;
}

.message-box.is-locked-by-cooldown .message-box-field,
.message-box.is-locked-by-cooldown .message-box-actions {
  filter: blur(4px) saturate(0.82) brightness(0.7);
  opacity: 0.5;
  transform: scale(0.992);
  transition:
    filter 0.28s ease,
    opacity 0.28s ease,
    transform 0.28s ease;
}

.message-box.is-locked-by-cooldown .message-box-cooldown-overlay {
  opacity: 1;
}

.message-box[hidden] {
  display: none;
}

.section-divider {
  height: 0;
  margin: 1.45rem 0;
  border-top: 5px dashed var(--dm-contrast);
  opacity: 0.9;
  transition:
    margin 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}

.home-reveal-control {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.page-shell-home.is-contracted footer {
  margin-top: 2rem;
}

.page-shell-home.is-revealed .home-reveal-control,
.home-reveal-control[hidden] {
  display: none;
}

.page-shell-home.is-revealing .home-reveal-control {
  opacity: 0;
  transform: translateY(-0.9rem) scale(0.94);
  pointer-events: none;
}

.page-shell-home.is-revealed .section-divider {
  margin: 2.4rem 0;
}

.page-shell-home.is-revealing .section-divider {
  margin: 2.4rem 0;
}

.home-reveal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border: none;
  border-radius: 50%;
  background: var(--dm-contrast);
  color: var(--bg-dm-secondary);
  box-shadow:
    inset 0 1px 0 #fff98c,
    0 0.55rem 1rem rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.home-reveal-button:hover,
.home-reveal-button:focus-visible {
  transform: translateY(-3px);
  outline: none;
}

.home-reveal-content {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.home-reveal-content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-reveal-content[hidden] {
  display: none;
}

.tag-filter {
  margin: 0 0 2.5rem;
  width: 100%;
}

.tag-filter-shell {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: min(100%, 52rem);
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0.3rem 0.4rem;
  border-radius: 999px;
  background: rgba(8, 8, 12, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0.45rem 1rem rgba(0, 0, 0, 0.15);
}

.tag-filter-track {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.25rem 0;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(251, 255, 69, 0.7) transparent;
}

.tag-filter-track::-webkit-scrollbar {
  height: 0;
}

.tag-filter-track::-webkit-scrollbar-thumb {
  background: rgba(251, 255, 69, 0.7);
  border-radius: 999px;
}

.tag-filter-track::-webkit-scrollbar-track {
  background: transparent;
}

.tag-filter-button,
.tag-filter-clear {
  border: none;
  border-radius: var(--border-radius);
  background: var(--dm-contrast);
  color: var(--bg-dm-secondary);
  font: inherit;
  font-size: 0.78rem;
  line-height: 1.75rem;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.tag-filter-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.32rem 0.8rem;
}

.tag-filter-button:hover,
.tag-filter-button:focus-visible,
.tag-filter-clear:hover,
.tag-filter-clear:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.tag-filter.has-selection .tag-filter-button:not(.is-active) {
  opacity: 0.45;
}

.tag-filter-button.is-active {
  background: var(--dm-contrast);
  color: var(--bg-dm-secondary);
  box-shadow: none;
}

.tag-filter-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  font-size: 1.05rem;
  flex: 0 0 auto;
  transform: none;
}

.tag-filter-clear[hidden] {
  display: none;
}

.tag-filter-clear:hover,
.tag-filter-clear:focus-visible {
  transform: translateY(-2px);
}

.tag-filter-empty {
  margin: -0.5rem 0 3rem;
  padding: 1rem 1.2rem;
  border: 1px solid #4b327d;
  border-radius: 1rem;
  background: rgba(18, 11, 32, 0.7);
  color: var(--dm-contrast);
}

#articles {
  display: grid;
  grid-template-columns: none;
  grid-template-rows: 1fr;
  row-gap: 3rem;
  margin-bottom: 3rem;
}

.article {
  background-color: var(--bg-dm-secondary);
  padding: 2rem 2.5rem;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.article.has-thumbnail {
  padding: 0;
  background: transparent;
}

.article.has-thumbnail .article-top {
  width: 100%;
  display: flex;
  justify-content: center;
}

.article-thumbnail {
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow:
    inset 0 -96px 110px -10px rgba(0, 0, 0, 0.92),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(75, 50, 125, 0.9),
    0 1rem 2.1rem rgba(0, 0, 0, 0.22);
  width: 100%;
  min-height: 240px;
  height: auto;
  margin: -2rem -2.5rem;
  inset: 0;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  margin-bottom: 0.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.4rem;
  overflow: hidden;
  padding: 1.35rem 1.5rem 1.2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.article .article-title * {
  color: inherit;
  font-size: 2rem;
  line-height: 1.12;
}

.article .article-thumbnail .article-title {
  max-width: min(28rem, calc(100% - 1rem));
  margin: auto 0 0;
}

.article.has-thumbnail .article-thumbnail {
  aspect-ratio: 16 / 9;
  min-height: 0;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--border-radius);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 1.2rem;
  padding: 1.05rem 1.25rem 1.05rem;
}

.article.has-thumbnail .article-thumbnail .article-title {
  max-width: min(25rem, calc(100% - 0.5rem));
  align-self: end;
  margin: 0;
  padding-top: 0.35rem;
  transition: transform 0.2s ease;
  will-change: transform;
}

.article.has-thumbnail .article-thumbnail .article-title a {
  --title-sheen-color: var(--dm-contrast);
  color: var(--dm-contrast);
  -webkit-text-fill-color: var(--dm-contrast);
  background-image: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  animation: none;
}

.article.has-thumbnail .article-thumbnail .article-title * {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--dm-contrast);
  text-shadow:
    0 0 3px rgba(18, 11, 32, 0.9),
    0 0.45rem 1.5rem rgba(0, 0, 0, 0.45),
    0.15rem 0.15rem 0 var(--bg-dm-primary);
  line-height: 1;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .article.has-thumbnail .article-thumbnail .article-title a {
    color: var(--dm-contrast);
    -webkit-text-fill-color: var(--dm-contrast);
    background-image: none;
    background-clip: border-box;
    -webkit-background-clip: border-box;
    animation: none;
  }
}

.article-bottom {
  margin-top: 1.5rem;
}

.article.has-thumbnail .article-thumbnail .article-bottom {
  margin-top: 0;
  align-self: stretch;
}

.article-thumbnail-meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  width: 100%;
}

.article-meta-tags {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.article-date {
  grid-column: 1 / -1;
  grid-row: 1;
  color: var(--dm-contrast);
}

.article-categories {
  margin-top: 0;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.article-category {
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.4rem 0.8rem;
  border-radius: var(--border-radius);
  color: var(--bg-dm-secondary);
  background-color: var(--dm-contrast);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.82rem;
  line-height: 1.1;
  transition: transform 0.2s ease;
  will-change: transform;
}

.article.has-thumbnail .article-categories {
  min-width: 0;
  gap: 0.45rem;
}

.article.has-thumbnail .article-category {
  min-height: 2rem;
  padding: 0 0.78rem;
  font-size: 0.78rem;
  line-height: 1;
}

.article-category:focus-visible {
  outline: none;
}

.article-programs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.article-program {
  display: inline-flex;
  align-items: center;
}

.article-program-icon-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 2.35rem;
  border-radius: 50%;
  background: var(--dm-contrast);
  box-shadow:
    inset 0 1px 0 #fff98c,
    0 0.55rem 1rem rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.article-program-icon-shell picture {
  display: inline-flex;
}

.article-program-icon {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
}

.article-programs-compact {
  justify-content: flex-start;
}

.article-programs-compact .article-program {
  border-radius: 50%;
}

.article.has-thumbnail .article-programs-compact {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.article.has-thumbnail .article-programs-compact .article-program-icon-shell {
  width: 2rem;
  height: 2rem;
  flex-basis: 2rem;
  box-shadow:
    inset 0 1px 0 #fff98c,
    0 0.4rem 0.8rem rgba(0, 0, 0, 0.16);
}

.article.has-thumbnail .article-programs-compact .article-program-icon {
  width: 1rem;
  height: 1rem;
}

.article.is-filtered-out {
  display: none;
}

.header-arrow-link,
.footer-arrow-button,
.lightbox-close-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border: none;
  border-radius: 50%;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.footer-arrow-button,
.lightbox-close-button {
  width: 3.2rem;
  height: 3.2rem;
  font-size: 1.55rem;
}

.arrow-icon {
  width: 1.1rem;
  height: 1.1rem;
  overflow: visible;
  stroke: currentColor;
  stroke-width: 3.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.arrow-icon-left {
  transform: rotate(-90deg);
}

.header-arrow-link {
  flex: 0 0 auto;
  background: var(--dm-contrast);
  color: var(--bg-dm-secondary);
  box-shadow: 0 0.55rem 1rem rgba(0, 0, 0, 0.2);
}

.header-arrow-link,
.footer-arrow-button {
  width: 3.2rem;
  height: 3.2rem;
  font-size: 1.55rem;
}

.footer-arrow-button {
  position: fixed;
  right: 3rem;
  bottom: 3rem;
  z-index: 4;
  background: var(--dm-contrast);
  color: var(--bg-dm-secondary);
  box-shadow:
    inset 0 1px 0 #fff98c,
    0 0.55rem 1rem rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.75rem);
}

.footer-arrow-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header-arrow-link:hover,
.header-arrow-link:focus-visible,
.footer-arrow-button.is-visible:hover,
.footer-arrow-button.is-visible:focus-visible,
.lightbox-close-button:hover,
.lightbox-close-button:focus-visible {
  transform: translateY(-3px);
  outline: none;
}

.site-title:focus-visible {
  outline: none;
}

.site-title:focus-visible .site-title-word,
.message-box:not(.is-submitting):not(.is-locked-by-cooldown) .message-box-shell:focus-within,
.article.has-thumbnail .article-thumbnail:focus-visible,
.article-category:focus-visible,
.article-programs-compact .article-program:focus-within .article-program-icon-shell {
  transform: translateY(-3px);
}

.article.has-thumbnail .article-thumbnail .article-title:focus-within {
  transform: translateY(-3px);
}

@media (hover: hover) and (pointer: fine) {
  header:not(.article-header) .site-title-word:hover,
  #bio-avatar-wrapper:hover #bio-avatar,
  #bio-text p:hover,
  .message-box:not(.is-submitting):not(.is-locked-by-cooldown) .message-box-shell:hover,
  .article.has-thumbnail .article-thumbnail:hover,
  .article.has-thumbnail .article-thumbnail .article-title:hover,
  .article-category:hover,
  .article-programs-compact .article-program:hover .article-program-icon-shell {
    transform: translateY(-3px);
  }
}

#bio-text p:focus-within {
  transform: translateY(-3px);
}


footer {
  background: var(--dm-contrast);
  margin: 5rem calc(var(--shell-padding) * -1) 0;
  padding: 2rem var(--shell-padding) 2.5rem;
  border-radius: 0 0 calc(var(--border-radius) + 0.5rem)
    calc(var(--border-radius) + 0.5rem);
  font-size: 1.2rem;
  color: var(--bg-dm-secondary);
}

footer p {
  max-width: min(52rem, calc(100% - 4.5rem));
  margin: 0;
}

footer p + p {
  margin-top: 0.6rem;
}

.footer-meta {
  font-weight: 600;
}

.footer-license {
  font-size: 0.55em;
  line-height: 1.5;
}

@media screen and (max-width: 750px) {
  :root {
    --shell-padding: 1.5rem;
  }

  .tag-filter {
    padding-right: 0;
  }

  .tag-filter-clear {
    width: 2.35rem;
    height: 2.35rem;
  }

  footer {
    font-size: 1.2rem !important;
    padding-top: 1rem;
    padding-bottom: 1.25rem;
  }

  footer p {
    font-size: inherit;
    max-width: calc(100% - 3.6rem);
  }

  .footer-meta {
    font-size: 1em;
  }

  .footer-license {
    font-size: 0.55em;
  }
}

@media screen and (max-width: 650px) {
  .blogfeed-home {
    --home-header-avatar-gap: 2.75rem;
  }

  .blogfeed-home {
    min-height: calc(100vh - 3rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 1.5rem;
  }

  .blogfeed-home header,
  .blogfeed-home #bio {
    top: 0;
  }

  .blogfeed-home header {
    padding: 0.9rem 0 2.75rem;
  }

  .blogfeed-home #bio {
    margin-bottom: 0.6rem;
  }

  a.site-title {
    font-size: 3.5rem !important;
  }

  .header-barcode-stack {
    display: none;
  }

  .site-title.article-page {
    font-size: 1.6rem !important;
  }

  .article-header {
    gap: 0.75rem;
  }

  #bio {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    row-gap: 1.4rem;
  }

  #bio-avatar-wrapper {
    justify-self: center;
    justify-content: center;
    width: min(100%, 20rem);
    transform: none;
  }

  #bio-avatar {
    width: min(250px, 68vw);
    display: block;
    margin: 0 auto;
  }

  #bio-copy-wrapper {
    align-items: center;
    gap: 0.55rem;
    width: min(100%, 34rem);
  }

  #bio-text {
    width: min(100%, 34rem);
    min-height: 0;
    justify-self: center;
    transform: none;
    text-align: center;
  }

  #bio-text p {
    max-width: 100%;
    margin-top: 0.8rem;
  }

  #bio-text p::after {
    display: block;
    left: 50%;
    top: 0;
    border-top: 1px solid #39255d;
    border-left: 1px solid #39255d;
    border-bottom: none;
    transform: translate(-50%, -50%) rotate(45deg);
    box-shadow: -0.2rem -0.2rem 0 #312055;
  }

  #social-links {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    order: 3;
  }

  .message-box {
    width: 100%;
    align-self: stretch;
    margin: 0;
    order: 2;
  }

  #bio-text {
    order: 1;
  }

  .message-box-shell {
    --message-box-action-gap: 0.3rem;
    column-gap: 0.3rem;
    min-height: 2.9rem;
    padding: 0.28rem 0.34rem;
    border-radius: 999px;
  }

  .message-box-shell.is-expanded {
    border-radius: 1.3rem;
    row-gap: 0.28rem;
  }

  .message-box-input {
    min-height: 2.32rem;
    padding: 0.46rem 0.7rem;
    font-size: 0.92rem;
    line-height: 1.2;
  }

  .message-box-input::placeholder {
    font-size: 0.92rem;
  }

  .message-box-shell:not(.is-expanded) .message-box-input {
    padding-top: 0.61rem;
    padding-bottom: 0.61rem;
  }

  .message-box-cooldown-text-desktop {
    display: none;
  }

  .message-box-cooldown-text-mobile {
    display: inline;
  }

  .message-box-actions {
    gap: 0.42rem;
  }

  .message-box-send {
    width: 2.3rem;
    height: 2.3rem;
  }

  .message-box-attach {
    min-width: 1.45rem;
    padding: 0 0.08rem;
  }

  .message-box-attachment-chip {
    width: 2.1rem;
    height: 2.1rem;
  }

  .message-box-attachment-remove-overlay {
    opacity: 1;
  }

  .blogfeed-home .page-shell-home.is-contracted {
    padding-bottom: 0;
    margin-bottom: 1.5rem;
    clip-path: polygon(
      0 0,
      100% 0,
      100% calc(100% - 4.5rem),
      calc(100% - 4.5rem) 100%,
      2.5rem 100%,
      2.07rem calc(100% - 0.035rem),
      1.65rem calc(100% - 0.145rem),
      1.25rem calc(100% - 0.335rem),
      0.89rem calc(100% - 0.59rem),
      0.59rem calc(100% - 0.89rem),
      0.335rem calc(100% - 1.25rem),
      0.145rem calc(100% - 1.65rem),
      0.035rem calc(100% - 2.07rem),
      0 calc(100% - 2.5rem)
    );
  }

  .blogfeed-home .page-shell-home.is-contracted footer {
    margin-top: 1.2rem;
  }

  .blogfeed-home .page-shell-home.is-contracted .section-divider {
    display: none;
  }

  .blogfeed-home .page-shell-home.is-contracted .home-reveal-control {
    margin: 1.2rem 0 1rem;
  }

  .blogfeed-home .page-shell-home.is-contracted #bio {
    justify-items: center;
    row-gap: 0.7rem;
  }

  .blogfeed-home .page-shell-home.is-contracted #bio-avatar-wrapper,
  .blogfeed-home .page-shell-home.is-contracted #bio-copy-wrapper {
    justify-self: center;
  }

  .blogfeed-home .page-shell-home.is-contracted #bio-avatar-wrapper {
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }

  .blogfeed-home .page-shell-home.is-contracted #bio-avatar {
    display: block;
    margin: 0 auto;
  }

  .blogfeed-home .page-shell-home.is-contracted #bio-copy-wrapper {
    align-items: center;
    min-height: clamp(5rem, 13vh, 7.25rem);
    justify-content: center;
  }

  .blogfeed-home .page-shell-home.is-revealing .section-divider {
    margin: 2rem 0 2.7rem;
  }

  .blogfeed-home .home-reveal-button {
    width: 3rem;
    height: 3rem;
  }

  .blogfeed-home .page-shell-home:not(.is-copy-ready) #bio-copy-wrapper {
    justify-self: center;
    align-items: center;
    justify-content: center;
  }

  .blogfeed-home .page-shell-home:not(.is-copy-ready) #social-links,
  .blogfeed-home .page-shell-home.is-copy-ready #social-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .blogfeed-home .page-shell-home:not(.is-copy-ready) #bio-text {
    max-height: 0;
    opacity: 0;
    transform: translateY(0.9rem);
    visibility: hidden;
    overflow: hidden;
    pointer-events: none;
  }

  .blogfeed-home .page-shell-home.is-copy-ready #bio-text {
    max-height: 24rem;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .blogfeed-home .page-shell-home:not(.is-copy-ready) .message-box {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    transform: translateY(0.9rem);
    visibility: hidden;
    overflow: hidden;
    pointer-events: none;
  }

  .blogfeed-home .page-shell-home.is-copy-ready .message-box {
    max-height: 22rem;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .header-arrow-link,
  .footer-arrow-button,
  .lightbox-close-button {
    width: 3rem;
    height: 3rem;
    font-size: 1.4rem;
  }

  .footer-arrow-button {
    right: 1.35rem;
    bottom: 1.35rem;
  }

  .tag-filter {
    margin-bottom: 3rem;
  }

  .tag-filter-shell {
    width: 100%;
    gap: 0.3rem;
    padding: 0.22rem 0.3rem;
  }

  .tag-filter-track {
    gap: 0.3rem;
    padding: 0.18rem 0;
  }

  .tag-filter-button {
    padding: 0.24rem 0.7rem;
    font-size: 0.72rem;
  }

  .tag-filter-clear {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 1rem;
  }

  .article {
    padding: 1.75rem 1.8rem;
  }

  .article.has-thumbnail {
    padding: 0;
  }

  .article-thumbnail {
    min-height: 14rem;
    margin: -1.75rem -1.8rem;
    gap: 1.8rem;
    padding: 1rem 1.1rem 1rem;
  }

  .article .article-thumbnail .article-title {
    max-width: calc(100% - 0.4rem);
  }

  .blogfeed-home .article.has-thumbnail .article-thumbnail {
    aspect-ratio: 3 / 2;
    width: 100%;
    margin: 0 auto;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 1rem;
    padding: 1rem 1.05rem 1rem;
  }

  .blogfeed:not(.blogfeed-home) .article-thumbnail {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .article.has-thumbnail .article-thumbnail .article-title * {
    font-size: 1.65rem;
  }

  .article.has-thumbnail .article-category {
    min-height: 1.8rem;
    padding: 0 0.65rem;
    font-size: 0.72rem;
  }

  .article-program-icon-shell {
    width: 2.05rem;
    height: 2.05rem;
    flex-basis: 2.05rem;
  }

  .article-program-icon {
    width: 1.05rem;
    height: 1.05rem;
  }

  .article.has-thumbnail .article-programs-compact .article-program-icon-shell {
    width: 1.8rem;
    height: 1.8rem;
    flex-basis: 1.8rem;
  }

  .article.has-thumbnail .article-programs-compact .article-program-icon {
    width: 0.9rem;
    height: 0.9rem;
  }

  .page-shell-content {
    --dot-field-margin-x: 0.4rem;
    --dot-field-margin-y: 0.3rem;
    --dot-field-margin-bottom: 0.85rem;
    --dot-field-footer-gap: 5rem;
    --dot-gap: 18px;
    --dot-focus-size: 94.5rem;
    --dot-focus-fade: 162rem;
    --dot-wiggle-radius: 81rem;
  }

  .page-shell-home.is-contracted .page-shell-content {
    --dot-field-footer-gap: 1.2rem;
  }
}

hr {
  border-top: 5px dashed var(--dm-contrast) !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  margin-bottom: 1.75rem !important;
}

#category-modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10;
}

#category-modal {
  position: fixed;
  top: 0;
  right: 1.5rem;
  bottom: 0;
  left: 1.5rem;
  z-index: 100;
  max-width: 850px;
  max-height: 60vh;
  margin: auto;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--bg-dm-secondary);
  display: none;
  visibility: hidden;
  line-height: 140%;
}

#category-modal-content {
  display: relative;
  max-height: calc(100% - 5rem);
  overflow: auto;
}

#category-modal-title {
  margin-bottom: 1rem;
  padding: 1rem;
  font-size: 2rem;
}

#category-modal-bg.open,
#category-modal.open {
  display: block;
  visibility: visible;
}

.modal-article,
.modal-article-date {
  display: block;
  color: var(--text-dm-secondary);
}

.modal-article {
  margin-bottom: 0.5rem;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease-in-out;
}

.modal-article:hover {
  background: var(--bg-dm-primary);
}

.modal-article-date {
  font-size: 0.8rem;
}

@media screen and (max-width: 750px) {
  :root {
    --shell-padding: 1.5rem;
  }
}

@media screen and (max-width: 650px) {
  a.site-title {
    font-size: 3.5rem !important;
  }

  .site-title.article-page {
    font-size: 1.6rem !important;
  }

  footer {
    font-size: 1.2rem !important;
  }

  footer p {
    font-size: inherit;
  }

  .footer-meta {
    font-size: 1em;
  }

  .footer-license {
    font-size: 0.55em;
  }
}
