/* slow.compile — site stylesheet
   Themes: paper (default), night, sand. Change colours in the blocks below. */

:root {
  --paper: #e8f0e8;
  --paper-2: #d4e4d4;
  --card: #ecf3ec;
  --ink: #1e2d1e;
  --ink-soft: #3a5a3a;
  --ink-faint: #7a9a7a;
  --line: #1e2d1e;
  --shadow: #1e2d1e;
  --accent: #5a9e3a;
  --accent-soft: #b3d49f;
  --accent-deep: #3d7a20;
  --on-accent: #1e2d1e;
  --link: #6b4c2a;
  --mark: #e2b84a;
  --code-bg: #1e2d1e;
  --code-ink: #dfeadf;

  --font-ui: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-read: "Atkinson Hyperlegible Next", "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --font-hand: "Caveat", cursive;

  --text: 17px;
  --radius: 8px;
  --sidebar: 236px;
}

html[data-theme="night"] {
  --paper: #121812;
  --paper-2: #182118;
  --card: #172017;
  --ink: #dbe8d7;
  --ink-soft: #a9c2a3;
  --ink-faint: #6d8a68;
  --line: #50704a;
  --shadow: #070b07;
  --accent: #6fbf4a;
  --accent-soft: #2a4521;
  --accent-deep: #9ad97a;
  --on-accent: #0d160b;
  --link: #e0a96c;
  --mark: #d9b24a;
  --code-bg: #0a0f0a;
  --code-ink: #d8e6d4;
}

html[data-theme="sand"] {
  --paper: #f2ece0;
  --paper-2: #e7dcc7;
  --card: #f6f1e7;
  --ink: #2b2418;
  --ink-soft: #5a4a33;
  --ink-faint: #9b8a6d;
  --line: #2b2418;
  --shadow: #2b2418;
  --accent: #c0623a;
  --accent-soft: #edc3aa;
  --accent-deep: #8f3f1d;
  --on-accent: #2b2418;
  --link: #2f5d8a;
  --mark: #d9a441;
  --code-bg: #2b2418;
  --code-ink: #f2ece0;
}

html[data-size="sm"] { --text: 15.5px; }
html[data-size="lg"] { --text: 19px; }

/* ── base ── */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}

a { color: inherit; }
img { max-width: 100%; }
::selection { background: var(--accent-soft); color: var(--ink); }

:focus-visible {
  outline: 2px dashed var(--accent-deep);
  outline-offset: 3px;
}

/* ── layout ── */

.layout {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: 100vh;
}

main {
  width: 100%;
  max-width: 1060px;
  padding: 44px clamp(20px, 5vw, 64px) 96px;
}

/* ── sidebar ── */

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  background: var(--paper-2);
  border-right: 1.5px solid var(--line);
  padding: 30px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 13px;
  height: 13px;
  background: var(--accent);
  border: 1.5px solid var(--line);
  transition: transform .35s ease;
}

.brand:hover .brand-mark { transform: rotate(45deg); }

.brand-tag {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav a {
  display: block;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.nav a:hover {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  transform: translateX(2px);
}

.nav a.active {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--line);
  box-shadow: 2px 2px 0 var(--shadow);
  transform: none;
}

.side-label {
  margin: 0 0 8px;
  padding-top: 16px;
  border-top: 1.5px dashed var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.topics a {
  display: block;
  padding: 3px 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}

.topics a:hover {
  color: var(--accent-deep);
  transform: translateX(3px);
}

.side-foot {
  margin-top: auto;
  display: flex;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.side-foot a { text-decoration: none; color: var(--ink-soft); }
.side-foot a:hover { color: var(--accent-deep); }

.side-rest {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.menu-btn { display: none; }

/* ── page header ── */

.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.display {
  margin: 10px 0 14px;
  font-size: clamp(34px, 4.6vw, 48px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
  padding-bottom: 28px;
  margin-bottom: 8px;
  border-bottom: 1.5px solid var(--line);
}

.page-head .intro {
  max-width: 560px;
  margin: 0;
  font-size: 17px;
  color: var(--ink-soft);
}

.scribble {
  margin: 0 8px 4px 0;
  max-width: 220px;
  font-family: var(--font-hand);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--link);
  transform: rotate(-3deg);
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}

/* ── section bars ── */

.section-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin: 40px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1.5px dashed var(--ink-faint);
}

.section-bar h2 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.section-bar span {
  font-size: 13px;
  color: var(--ink-faint);
}

/* ── chips & tags ── */

.chip {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.chip.muted { background: transparent; color: var(--ink-soft); border-color: var(--ink-faint); }
.chip.warn { background: var(--mark); color: var(--on-accent); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }

.tag {
  display: inline-block;
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink);
  text-decoration: none;
}

/* ── cards ── */

@property --split {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 56%;
}

.card {
  position: relative;
  display: block;
  padding: 24px 26px 22px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, --split .45s ease;
}

.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 var(--shadow);
}

.card.split {
  background: linear-gradient(112deg, var(--accent-soft) 0 var(--split), var(--card) var(--split) 100%);
}

.card.split:hover { --split: 64%; }

.card .num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
}

.card h3 {
  margin: 14px 0 8px;
  max-width: 85%;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.card p {
  max-width: 62ch;
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--ink-soft);
}

.open-link {
  display: inline-flex;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.open-link::after { content: "→"; transition: transform .18s ease; }
.card:hover .open-link::after { transform: translateX(4px); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

/* ── search ── */

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  padding: 11px 14px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow .18s ease;
}

.search:focus-within { box-shadow: 4px 4px 0 var(--shadow); }

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 15px var(--font-ui);
}

.search input::placeholder { color: var(--ink-faint); }

kbd {
  padding: 1px 7px;
  border: 1px solid var(--ink-faint);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
}

/* ── post rows ── */

.rows { margin: 0; padding: 0; list-style: none; }

.row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  padding: 15px 10px;
  border-bottom: 1px dashed var(--ink-faint);
  color: inherit;
  text-decoration: none;
  transition: background-color .15s ease, padding .15s ease;
}

a.row:hover {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding-left: 16px;
}

a.row:hover .row-title { color: var(--accent-deep); }

.row-date {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-faint);
  white-space: nowrap;
}

.row-title {
  display: block;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color .15s ease;
}

.row-sum {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  color: var(--ink-soft);
}

.row.is-planned { opacity: .6; }

.empty {
  padding: 26px;
  border: 1.5px dashed var(--ink-faint);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}

/* ── filters ── */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 4px; }

.filters button {
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

.filters button:hover { transform: translateY(-1px); }
.filters button.is-on { background: var(--ink); color: var(--paper); }

/* ── bookshelf ── */

.shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.book {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  min-height: 190px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.book:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 5px 5px 0 var(--shadow); }

.book-spine {
  border-right: 1.5px solid var(--line);
  background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(0,0,0,.12) 22px 24px), var(--spine, var(--accent));
}

.book-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 14px;
}

.book-title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }

.book-author { margin: 0; font-size: 13px; color: var(--ink-soft); }

.book-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ── steps (pentest path) ── */

.path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 28px;
  padding: 26px 28px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--shadow);
}

.path h3 {
  margin: 8px 0 10px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.path p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.steps {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  bottom: 18px;
  border-left: 1.5px dashed var(--ink-faint);
}

.steps a {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ink-faint) 35%, transparent);
  color: inherit;
  text-decoration: none;
}

.steps li:last-child a { border-bottom: 0; }

.step-n {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--card);
  border: 1.5px solid var(--ink-faint);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
  transition: transform .15s ease;
}

.steps .has-notes .step-n { background: var(--accent); border-color: var(--line); color: var(--on-accent); }
.steps a:hover .step-n { transform: scale(1.08); }

.step-name { display: block; font-size: 15px; font-weight: 600; }
.step-sub { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); }

/* ── article ── */

.article, .about { max-width: 740px; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.post-meta a { text-decoration: none; }
.post-meta a:hover { color: var(--accent-deep); }

.article .display { margin: 12px 0 16px; }

.prose {
  margin-top: 28px;
  font-family: var(--font-read);
  font-size: var(--text);
  line-height: 1.72;
}

.prose > * + * { margin-top: 1.1em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }

.prose .lede {
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--mark);
  font-size: 1.06em;
  color: var(--ink-soft);
}

.prose h2 {
  margin-top: 2.1em;
  padding-bottom: 8px;
  border-bottom: 1.5px dashed var(--ink-faint);
  font-family: var(--font-ui);
  font-size: 1.55em;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.prose h3 {
  margin-top: 1.7em;
  font-family: var(--font-ui);
  font-size: 1.18em;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.prose a {
  color: var(--link);
  text-decoration-color: color-mix(in srgb, var(--link) 45%, transparent);
  text-underline-offset: 3px;
}

.prose a:hover { text-decoration-color: var(--link); }

.prose li + li { margin-top: .35em; }

.prose strong { font-weight: 700; }

.callout {
  padding: 16px 20px;
  background: var(--paper-2);
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius);
}

.callout.warn { border-left: 4px solid var(--mark); }

/* The first paragraph of a post is its intro. */
.prose > p:first-child {
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--mark);
  font-size: 1.06em;
  color: var(--ink-soft);
}

/* Markdown callouts:  !!! note "Title"  /  !!! warning "Title" */
.admonition {
  padding: 14px 20px;
  background: var(--paper-2);
  border: 1px solid var(--ink-faint);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}

.admonition.warning, .admonition.danger, .admonition.caution { border-left-color: var(--mark); }
.admonition > * + * { margin-top: .6em; }
.admonition > :last-child { margin-bottom: 0; }

.admonition .admonition-title {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 700;
}

/* Code colours (Pygments). Code blocks are dark in every theme. */
.hl .c, .hl .c1, .hl .cm, .hl .ch, .hl .cs, .hl .cp { color: #8fae89; font-style: italic; }
.hl .k, .hl .kd, .hl .kn, .hl .kr, .hl .kp, .hl .kc, .hl .ow { color: #e7c66b; }
.hl .kt, .hl .nc, .hl .nn, .hl .nt { color: #f0a36b; }
.hl .s, .hl .s1, .hl .s2, .hl .sb, .hl .sc, .hl .sh, .hl .si, .hl .sx, .hl .se, .hl .dl { color: #b8dc9a; }
.hl .m, .hl .mi, .hl .mf, .hl .mh, .hl .mo, .hl .il { color: #f0a36b; }
.hl .nf, .hl .fm, .hl .nb, .hl .bp, .hl .nd { color: #8fcfe6; }
.hl .nl, .hl .na, .hl .nv, .hl .vi { color: #d8b4f0; }
.hl .err { color: inherit; background: none; }

.prose code {
  padding: 1px 5px;
  background: var(--paper-2);
  border: 1px solid color-mix(in srgb, var(--ink-faint) 50%, transparent);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: .86em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.prose pre {
  overflow-x: auto;
  padding: 16px 18px;
  background: var(--code-bg);
  color: var(--code-ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--accent);
  font-size: .84em;
  line-height: 1.6;
}

.prose pre code { padding: 0; background: none; border: 0; color: inherit; font-size: 1em; }

.prose .c { color: #8fae89; }

.table-wrap { overflow-x: auto; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  border: 1.5px solid var(--line);
  font-size: .9em;
  line-height: 1.5;
}

.prose th {
  padding: 10px 12px;
  background: var(--paper-2);
  border-bottom: 1.5px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
}

.prose td {
  padding: 10px 12px;
  border-top: 1px solid color-mix(in srgb, var(--ink-faint) 55%, transparent);
  vertical-align: top;
}

.prose blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 2px 0 2px 20px;
  border-left: 3px solid var(--accent);
  font-style: italic;
  color: var(--ink-soft);
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1.5px solid var(--line);
}

.post-nav .card { padding: 16px 18px; }
.post-nav .card h3 { margin: 6px 0 0; max-width: none; font-size: 16px; }
.post-nav .next { text-align: right; }

/* ── reading progress ── */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  height: 3px;
  width: 100%;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ── settings ── */

.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.22);
  transition: transform .3s ease;
}

.fab:hover { transform: rotate(60deg); }

.settings {
  position: fixed;
  right: 22px;
  bottom: 82px;
  z-index: 50;
  width: 250px;
  padding: 16px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  box-shadow: 5px 5px 0 var(--shadow);
  transform-origin: 100% 100%;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.settings[hidden] { display: block; visibility: hidden; opacity: 0; transform: scale(.94) translateY(6px); pointer-events: none; }

.settings h4 {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.settings h4 + .seg { margin-bottom: 14px; }

.seg { display: flex; gap: 6px; }

.seg button {
  flex: 1;
  padding: 7px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
}

.seg button.is-on { background: var(--accent); color: var(--on-accent); box-shadow: 2px 2px 0 var(--shadow); }

.settings .hint { margin: 2px 0 0; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-faint); }

/* ── entrance motion ── */

main > * { animation: rise .5s ease both; }
main > *:nth-child(2) { animation-delay: .05s; }
main > *:nth-child(3) { animation-delay: .1s; }
main > *:nth-child(4) { animation-delay: .15s; }
main > *:nth-child(n+5) { animation-delay: .2s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ── small screens ── */

@media (max-width: 860px) {
  .layout { display: block; }

  .sidebar {
    position: sticky;
    z-index: 40;
    height: auto;
    padding: 14px 18px;
    border-right: 0;
    border-bottom: 1.5px solid var(--line);
    gap: 0;
  }

  .side-top { display: flex; justify-content: space-between; align-items: center; }
  .brand-tag { display: none; }

  .menu-btn {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: transparent;
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .side-rest { display: none; padding-top: 16px; }
  .sidebar.is-open .side-rest { display: flex; flex-direction: column; gap: 18px; }
  .side-foot { margin-top: 0; }

  main { padding-top: 30px; }
  .page-head { grid-template-columns: 1fr; gap: 18px; }
  .scribble { max-width: none; }
  .path { grid-template-columns: 1fr; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .row .chip { justify-self: start; }
  .post-nav { grid-template-columns: 1fr; }
}
