/* Show it out — our own CSS. Layout format follows the Bårlog "masonry horizontal" demo; no theme code or assets. */
.featured-label { margin-left: 12px; font-size: 11px; font-weight: 700; color: #222; }
.body h2, .body h3, .body h4 { margin-top: 1.8em; line-height: 1.25; }
.body a { text-decoration: underline; text-underline-offset: 3px; }
.body blockquote { margin: 24px 0; border-left: 3px solid currentColor; padding-left: 20px; }
.body pre { overflow-x: auto; padding: 16px; background: #f1f1f1; }
.body li { margin-block: 6px; }
.body figure { margin: 24px 0; }
.body figure img { display: block; width: 100%; height: auto; }
.related { margin-top: 36px; border-top: 1px solid #222; padding-top: 24px; }
.related > h2 { font-size: 19px; margin: 0 0 18px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related-post { display: grid; gap: 8px; align-content: start; }
.related-post img { width: 100%; height: auto; aspect-ratio: 10 / 7; object-fit: cover; border: 1px solid #222; }
.related-post strong { font-size: 15px; line-height: 1.35; }
.related-post time { font-size: 11px; }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } .related-post { grid-template-columns: 96px 1fr; column-gap: 14px; } .related-post img { grid-row: span 2; } }
:root {
  --ink: #23262d;
  --quiet: #4d535e;
  --grey: #68717d;
  --ground: #f2f4f7;
  --dot: #d9dfe7;
  --mint: #c5d9ff;
  --yellow: #f5d77e;
  --aqua: #dce8fc;
  --lime: #e5edcc;
  --accent: #2854d8;
  --well: #111111;
  --shadow: 4px 4px 0 0 var(--ink);
  --shadow-up: 6px 6px 0 0 var(--ink);
  --frame: min(1400px, calc(100% - 40px));
  /* Our own hand-drawn edge: a strip of marker swashes that hang off a 2px line. */
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='14' viewBox='0 0 320 14'%3E%3Cg fill='%23222'%3E%3Cpath d='M26 0h104c5 0 7 2 5 5-2 3-7 5-13 5H40c-8 0-15-2-15-5z'/%3E%3Cpath d='M182 0h22l-8 8c-2 2-4 2-6 0z'/%3E%3Cpath d='M246 0h46c3 0 4 2 2 4-2 3-6 4-11 4h-30c-5 0-8-2-8-4z'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--ground);
  background-image: radial-gradient(circle, var(--dot) 0.9px, transparent 1px);
  background-size: 16px 16px;
  color: var(--ink);
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 23px;
  overflow-x: hidden;
}

body.locked {
  overflow: hidden;
}

button,
input {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.frame {
  width: var(--frame);
  margin-inline: auto;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
main:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

main:focus {
  outline: none;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 25px;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, color 150ms ease;
}

.btn:hover {
  background: var(--ink);
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-up);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--yellow);
  color: var(--ink);
}

.sq-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: var(--shadow);
  color: var(--ink);
  cursor: pointer;
  flex: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.sq-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-up);
}

.sq-btn[hidden] {
  display: none;
}

.burger {
  background: var(--aqua);
}

.search-btn {
  background: var(--lime);
}

.close-btn {
  background: var(--yellow);
}

/* ---------- header ---------- */

.bar {
  position: relative;
  z-index: 20;
  background: #fff;
  border-bottom: 2px solid var(--ink);
}

.bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 4px;
  background: var(--mint);
  pointer-events: none;
}

.bar-in {
  width: min(1400px, calc(100% - 40px));
  margin-inline: auto;
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.mark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  flex: none;
}

.mark-top {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
}

.mark-sub {
  margin: 3px 0 0 18px;
  padding: 1px 6px 2px;
  background: linear-gradient(var(--mint), var(--mint)) bottom / 100% 55% no-repeat;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.mark.small .mark-top {
  font-size: 24px;
}

.nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 30px;
}

.nav[hidden] {
  display: none;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 2px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: linear-gradient(var(--mint), var(--mint)) bottom / 100% 45% no-repeat;
}

.nav a[aria-current="page"] {
  font-weight: 700;
}

.slash {
  font-weight: 700;
  font-style: italic;
  font-size: 16px;
}

.search-btn {
  margin-left: auto;
}

.nav:not([hidden]) + .search-btn {
  margin-left: 0;
}

.bar.is-gate .bar-in {
  justify-content: center;
}

.searchbar {
  position: absolute;
  right: max(20px, calc((100% - 1400px) / 2));
  top: calc(100% + 18px);
  display: flex;
  gap: 10px;
  width: min(440px, calc(100% - 40px));
  padding: 14px;
  background: var(--lime);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}

.searchbar[hidden] {
  display: none;
}

input[type="search"],
.gate input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 14px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 0;
  font-size: 15px;
}

/* ---------- drawer ---------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(34, 34, 34, 0.45);
}

.overlay[hidden],
.drawer[hidden] {
  display: none;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 41;
  width: min(360px, 88vw);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  overflow-y: auto;
  background: #fff;
  border-right: 2px solid var(--ink);
  box-shadow: var(--shadow);
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-nav {
  display: grid;
  gap: 10px;
}

.drawer-nav a {
  display: block;
  padding: 10px 15px;
  border: 1px solid var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.drawer-nav a[aria-current="page"],
.drawer-nav a:hover {
  background: var(--mint);
  font-weight: 700;
}

.find-form {
  display: flex;
  gap: 10px;
}

.find-form .btn {
  padding-inline: 16px;
}

.sign-out {
  align-self: flex-start;
}

/* ---------- page frame ---------- */

main {
  flex: 1 0 auto;
  padding-bottom: 70px;
}

.spread {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 30px;
  align-items: start;
  margin-top: 46px;
}

.band + .spread {
  margin-top: 50px;
}

/* ---------- title band ---------- */

.band {
  background: #fff;
  border-bottom: 5px solid var(--ink);
  padding: 34px 0 30px;
  text-align: center;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 8px;
  color: var(--grey);
  font-size: 13px;
  line-height: 20px;
}

.crumbs a {
  color: var(--grey);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.band-title {
  margin: 8px auto 0;
  max-width: 30ch;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}

/* ---------- post card ---------- */

.row-card {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0 0 40px;
  padding: 30px;
  background: var(--tone, #e0fada);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.row-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-up);
}

.row-photo,
.row-copy {
  flex: 1 1 50%;
  min-width: 0;
}

.row-photo {
  display: block;
}

.row-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  background: var(--well);
}

.row-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.kicker {
  margin: 0;
  line-height: 34px;
}

.kicker a {
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  background: linear-gradient(var(--mint), var(--mint)) bottom / 100% 45% no-repeat;
}

.row-title {
  margin-top: 4px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.row-title a {
  text-decoration: none;
}

.row-title a:hover {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.row-meta {
  margin: 8px 0 0;
  color: var(--quiet);
  font-size: 13px;
  line-height: 20px;
}

.row-meta a {
  color: var(--ink);
  font-weight: 600;
}

.dot {
  margin: 0 7px;
}

.excerpt {
  margin: 10px 0 16px;
  font-size: 15px;
  line-height: 23px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

.read {
  margin-top: 4px;
}

.card-note {
  padding: 30px;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}

.card-note > p {
  margin: 0 0 16px;
  font-size: 16px;
}

.card-note > p:last-child {
  margin-bottom: 0;
}

/* ---------- pager ---------- */

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.pg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 46px;
  height: 46px;
  padding: 0 12px;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  font-weight: 600;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

a.pg:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-up);
  background: var(--yellow);
}

.pg.is-on {
  background: var(--ink);
  color: #fff;
}

.pg.is-off {
  opacity: 0.35;
  box-shadow: none;
}

.ico {
  flex: none;
  vertical-align: -3px;
}

/* ---------- sidebar ---------- */

.side {
  display: grid;
  gap: 40px;
}

.widget {
  margin: 0;
}

.widget-title {
  margin: 0 0 20px;
  padding: 10px;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
  text-align: center;
}

.about-card {
  padding: 30px 30px 34px;
  background: #fff;
  border: 3px solid var(--ink);
  text-align: center;
}

.monogram {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #fff 0 18%, transparent 19%),
    conic-gradient(var(--mint) 0 25%, var(--yellow) 0 50%, #f8e5ff 0 75%, var(--aqua) 0);
}

.monogram span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 50%;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.about-name {
  font-size: 26px;
  font-weight: 700;
}

.about-card p {
  margin: 10px auto 22px;
  max-width: 34ch;
  color: var(--quiet);
  font-size: 14px;
  line-height: 21px;
}

.cat-list,
.more-list,
.chips,
.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cat-list {
  display: grid;
  gap: 10px;
}

.cat-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--ink);
  color: var(--quiet);
  font-weight: 500;
  text-decoration: none;
}

.cat-row:hover,
.cat-row[aria-current="page"] {
  background: #fff;
  color: var(--ink);
}

.cat-row[aria-current="page"] {
  font-weight: 700;
}

.cat-row.is-empty {
  color: #646d79;
  border-color: #a7afbb;
}

.dark {
  padding: 24px;
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 0 #a9bbdf;
}

.dark .widget-title {
  color: var(--ink);
  box-shadow: 4px 4px 0 0 var(--mint);
}

.more-list {
  display: grid;
  gap: 16px;
}

.side a.more {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.more img,
.thumb-blank {
  display: block;
  width: 84px;
  height: 60px;
  object-fit: cover;
  background: #444;
  border: 2px solid #fff;
}

.more-text {
  display: grid;
  gap: 2px;
}

.more-text strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.more:hover strong {
  text-decoration: underline;
}

.more-date {
  color: #bdbdbd;
  font-size: 13px;
  line-height: 18px;
}

.view-all {
  display: inline-block;
  margin-top: 20px;
  color: #c5d9ff;
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-block;
  padding: 5px 12px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  line-height: 22px;
  text-decoration: none;
}

.chip:hover,
.chip[aria-current="page"] {
  background: var(--mint);
  color: var(--ink);
  outline: 1px solid var(--ink);
}

/* ---------- single post ---------- */

.single {
  padding: 30px;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}

.clip {
  margin: 0;
}

.clip video,
.clip img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--well);
  border: 2px solid var(--ink);
}

.caption {
  margin-top: 10px;
  color: var(--quiet);
  font-size: 14px;
}

.caption a {
  color: var(--ink);
  font-weight: 600;
}

.single-title {
  margin-top: 26px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 16px 0 0;
  color: var(--quiet);
  font-size: 14px;
}

.single-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.single-meta a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(var(--mint), var(--mint)) bottom / 100% 40% no-repeat;
}

.dashed {
  margin: 22px 0;
  border: 0;
  border-top: 1px dashed var(--ink);
}

.body p {
  max-width: 70ch;
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 27px;
}

.body p:last-child {
  margin-bottom: 0;
}

.sibs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.sib {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.sib:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-up);
}

.sib.is-off {
  visibility: hidden;
}

.sib-next {
  text-align: right;
}

.sib-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sib-next .sib-label {
  justify-content: flex-end;
}

.sib strong {
  font-size: 17px;
  line-height: 1.3;
}

.about-copy .body p {
  font-size: 17px;
}

/* ---------- 404 ---------- */

.lost {
  padding: 60px 0 40px;
  text-align: center;
}

.lost-code {
  margin: 0;
  font-size: 140px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.lost-title {
  margin-top: 16px;
  font-size: 32px;
  line-height: 1.2;
}

.lost-text {
  margin: 12px 0 32px;
  font-size: 15px;
}

/* ---------- gate ---------- */

.gate-wrap {
  display: grid;
  place-items: center;
  padding: 80px 0 40px;
}

.gate-card {
  width: min(460px, 100%);
  padding: 36px 34px;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}

.gate-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0;
}

.gate-lede {
  margin: 8px 0 22px;
  color: var(--quiet);
}

.gate {
  display: grid;
  gap: 16px;
}

.gate label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
}

.gate .btn {
  justify-self: start;
  margin-top: 6px;
}

.gate-error {
  margin: 20px 0 0;
  padding: 10px 14px;
  background: #ffecdb;
  border: 2px solid var(--ink);
  font-weight: 500;
}

/* ---------- footer ---------- */

.foot {
  position: relative;
  margin-top: 30px;
  background: #fff;
  border-top: 2px solid var(--ink);
}

.foot[hidden] {
  display: none;
}

.foot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 5px;
  background: var(--mint);
  transform: scaleY(-1);
  pointer-events: none;
}

.foot-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 40px;
  padding: 60px 0 40px;
}

.foot-cols p {
  max-width: 38ch;
  margin: 16px 0 0;
  color: var(--quiet);
}

.foot-title {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 700;
}

.foot-links {
  display: grid;
  gap: 8px;
}

.foot-links a {
  color: var(--quiet);
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.foot .find-form {
  margin-bottom: 14px;
}

.foot-base {
  padding: 18px 0 24px;
  border-top: 1px solid var(--ink);
  color: var(--quiet);
  font-size: 13px;
}

/* ---------- back to top ---------- */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: var(--yellow);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.to-top:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-up);
}

.to-top[hidden] {
  display: none;
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .nav {
    gap: 6px 18px;
  }
}

@media (max-width: 960px) {
  .spread {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .nav,
  .nav:not([hidden]) {
    display: none;
  }

  .bar-in {
    min-height: 76px;
    justify-content: space-between;
  }

  .burger {
    order: 3;
  }

  .search-btn,
  .search-btn:not([hidden]) {
    display: none;
  }

  .mark-top {
    font-size: 26px;
  }

  .mark-sub {
    font-size: 12px;
  }

  .foot-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .bar-in {
    min-height: 72px;
  }

  .spread {
    margin-top: 44px;
  }

  .band {
    padding: 26px 0 22px;
  }

  .band-title {
    font-size: 26px;
  }

  .row-card {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 22px;
  }

  .row-title {
    font-size: 23px;
  }

  .single {
    padding: 18px;
  }

  .single-title {
    margin-top: 20px;
    font-size: 30px;
  }

  .sibs {
    grid-template-columns: 1fr;
  }

  .sib.is-off {
    display: none;
  }

  .foot-cols {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 46px;
  }

  .gate-wrap {
    padding-top: 50px;
  }

  .gate-card {
    padding: 28px 22px;
  }

  .find-form.inline {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .btn:hover,
  .sq-btn:hover,
  .row-card:hover,
  .sib:hover,
  a.pg:hover,
  .to-top:hover {
    transform: none;
    box-shadow: var(--shadow);
  }

}

/* Magazine navigation and discovery */
.ico { flex: none; vertical-align: middle; }
.saved-link { position: relative; text-decoration: none; background: #fff; }
#saved-count { position: absolute; right: -7px; top: -9px; min-width: 19px; height: 19px; padding: 0 3px; display: grid; place-items: center; background: var(--accent); color: #fff; border-radius: 50%; font-size: 10px; font-weight: 800; line-height: 1; }
#saved-count[hidden] { display: none; }
.nav { gap: 6px 22px; }
.nav-group { position: relative; }
.nav-group summary { display: flex; align-items: center; gap: 6px; padding: 8px 0; cursor: pointer; font-size: 14px; font-weight: 600; list-style: none; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group[open] summary, .nav-group summary:hover { color: var(--accent); }
.nav-group summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.nav-menu { position: absolute; top: calc(100% + 10px); left: -18px; width: 220px; padding: 8px; background: #fff; border: 2px solid var(--ink); box-shadow: var(--shadow); }
.nav-menu a { display: block; padding: 11px 12px; overflow-wrap: anywhere; }
.nav-menu a:last-child { border-top: 1px solid #d8dde5; margin-top: 4px; }
.feed-toolbar { min-height: 42px; margin-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.feed-title { font-size: 24px; line-height: 1.25; font-weight: 800; }
.result-count { margin: 0; color: var(--quiet); font-weight: 600; }
.sort-control { display: flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--ink); padding: 0 10px; min-height: 38px; }
.sort-control select { appearance: auto; max-width: 155px; min-height: 36px; border: 0; background: transparent; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; color: var(--ink); }
.card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; width: 100%; }
.tool-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; }
.tool-btn:hover, .tool-btn:focus-visible { background: #fff; color: var(--accent); }
.tool-btn.is-saved { background: var(--ink); color: #fff; }
.tool-btn.is-saved svg { fill: currentColor; }
.brand-tile { width: 148px; height: 148px; padding: 15px; position: relative; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; background: var(--ink); color: #fff; border: 2px solid var(--ink); box-shadow: 7px 7px 0 var(--mint); text-align: left; }
.brand-tile > .ico { position: absolute; right: 7px; top: 8px; color: var(--yellow); }
.brand-tile > span { font-size: 32px; font-weight: 800; line-height: 1.05; }
.brand-tile b { font-size: 25px; color: #c5d9ff; }
.about-name { font-size: 23px; }
.about-card { border-width: 2px; }
.widget-title { font-size: 20px; box-shadow: 3px 3px 0 var(--ink); }
.topics { display: flex; flex-wrap: wrap; gap: 9px; }
.topic { display: inline-flex; align-items: center; gap: 9px; min-height: 35px; padding: 5px 11px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.topic span { font-size: 10px; color: var(--quiet); }
.topic span:empty { display: none; }
.topic:hover, .topic.is-current { background: var(--ink); color: #fff; }
.topic:hover span, .topic.is-current span { color: #fff; }
.subtle-link { display: inline-flex; gap: 7px; align-items: center; margin-top: 17px; font-size: 12px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.article-tools { display: flex; gap: 10px; margin-top: 20px; }
.article-tags { margin-top: 25px; }
.directory { border-top: 2px solid var(--ink); }
.directory-row { display: grid; grid-template-columns: 54px minmax(0, 1fr) 24px; gap: 20px; align-items: center; padding: 25px 12px; border-bottom: 1px solid #a3adba; text-decoration: none; }
.directory-row:hover { background: #e1e9fa; }
.directory-icon { display: grid; place-items: center; width: 50px; height: 50px; background: #fff; border: 1px solid var(--ink); }
.directory-row h2 { font-size: 21px; }
.directory-row p { margin: 5px 0; font-size: 14px; }
.directory-count { font-size: 12px; color: var(--quiet); }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 32px 0 8px; }
.pg { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--ink); background: #fff; text-decoration: none; font-weight: 700; font-size: 13px; }
.pg-step { padding: 0 12px; }
.pg.is-on, a.pg:hover { background: var(--ink); color: #fff; }
.pg.is-off { opacity: 0.45; }
.pg-gap { padding-inline: 4px; }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links:empty { display: none; }
.reader-status { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 45; max-width: calc(100% - 48px); padding: 12px 20px; border: 1px solid #fff; box-shadow: 3px 3px 0 var(--mint); color: #fff; background: var(--ink); font-size: 13px; text-align: center; }
.reader-status:empty { display: none; }
@media (max-width: 1100px) { .nav { gap: 6px 13px; } .bar-in { gap: 16px; } }
@media (max-width: 960px) {
  .bar-in { gap: 13px; }
  .bar-in > .mark { margin-right: auto; }
  .search-btn:not([hidden]) { display: inline-grid; order: 1; margin: 0; }
  .saved-link { order: 2; }
  .burger { order: 3; }
  .side { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
  .side .widget { margin-bottom: 0; }
  .about-card { grid-row: span 2; }
}
@media (max-width: 680px) {
  :root { --frame: calc(100% - 32px); }
  .bar-in { width: var(--frame); gap: 10px; }
  .bar-in .sq-btn { width: 38px; height: 38px; }
  .mark-top { font-size: 25px; }
  .mark-sub { margin-left: 12px; }
  .spread { margin-top: 30px; }
  .feed-toolbar { gap: 10px; }
  .feed-title { font-size: 20px; }
  .sort-control { padding-inline: 7px; gap: 4px; }
  .sort-control select { max-width: 140px; }
  .row-card { padding: 19px; }
  .row-photo img { aspect-ratio: 10 / 7; }
  .kicker a { font-size: 15px; }
  .side { display: block; }
  .side .widget { margin-bottom: 32px; }
  .directory-row { grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 15px; padding-inline: 4px; }
  .directory-icon { width: 38px; height: 38px; }
  .directory-row h2 { font-size: 18px; }
  .reader-status { bottom: 14px; }
}
@media (pointer: coarse) { .tool-btn, .bar-in .sq-btn, .topic { min-width: 44px; min-height: 44px; } }
