@charset "UTF-8";
:root {
  --paper: #faf9f6;
  --surface: #ffffff;
  --tint: #f4f2ec;
  --ink: #252523;
  --body: #363532;
  --muted: #65625c;
  --subtle: #736f67;
  --line: #e6e4de;
  --lilac: #ddd5f3;
  --lilac-soft: #f4f1fa;
  --green: #dfe9d6;
  --green-soft: #eff4ea;
  --sand: #f0e7d9;
  --sand-soft: #f7f1e7;
  --accent: #7a62a0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 36px;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(
    rgba(37, 37, 35, 0.135) 1px,
    transparent 1px
  );
  background-size: 18px 18px;
  color: var(--ink);
  overflow-x: clip;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 4px;
}

::selection {
  background: var(--lilac);
}

.wrap {
  width: min(1080px, calc(100% - 72px));
  margin-inline: auto;
}

.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1.75px solid var(--ink);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 13px;
  z-index: 40;
}
.skip:focus {
  top: 12px;
}

/* Reading progress bar (articles) */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 35;
  pointer-events: none;
}
.read-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
  box-shadow: 0 1px 0 var(--lilac);
  transition: width 0.08s linear;
}

/* Header & Navigation: Hand-Inked Notebook Tabs */
.header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.05em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  font-size: 24px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  transform: rotate(-8deg);
  background: var(--lilac);
  border: 1.75px solid var(--ink);
  border-radius: 9px 12px 8px 11px;
  box-shadow: 2.5px 2.5px 0 var(--ink);
  transition: transform 0.18s ease;
}
.brand:hover .brand-mark {
  transform: rotate(-3deg) translate(-1px, -1px);
}

.brand-dot,
.title-dot {
  color: var(--accent);
}

.desktop-nav {
  display: flex;
  gap: 4px;
  background: var(--surface);
  padding: 5px 6px;
  border: 1.75px solid var(--ink);
  border-radius: 12px 14px 13px 11px / 13px 11px 14px 12px;
  box-shadow: 3px 3px 0 rgba(37, 37, 35, 0.22);
}

.desktop-nav a {
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 15px;
  border-radius: 8px;
  border: 1.25px solid transparent;
  color: var(--body);
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}
.desktop-nav a:hover {
  background: var(--lilac);
  border-color: var(--ink);
  color: var(--ink);
}

.ico {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.2s;
}
.ico-sm {
  width: 13px;
  height: 13px;
}

.hello {
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--sand-soft);
  border: 1.75px solid var(--ink);
  border-radius: 10px 13px 11px 12px / 12px 10px 13px 11px;
  box-shadow: 2.5px 2.5px 0 var(--ink);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}
.hello:hover {
  background: var(--sand);
  transform: translate(-1.5px, -1.5px);
  box-shadow: 4px 4px 0 var(--ink);
}
.hello:hover .ico-ne {
  transform: translate(2px, -2px);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

/* Hero: Sketchbook Cover Spread */
.hero {
  padding-top: 32px;
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  align-items: center;
  gap: 48px;
  padding-bottom: 24px;
}

.hero h1 {
  font-size: clamp(62px, 7.2vw, 100px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.06em;
  margin: 0 0 24px;
}

.hero-name {
  position: relative;
  display: inline-block;
}

.hero-ink-underline {
  position: absolute;
  left: 0;
  right: 4px;
  bottom: 0.06em;
  width: 100%;
  height: 0.13em;
  color: var(--ink);
  opacity: 0.78;
  pointer-events: none;
}

.identity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.role-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.65px solid var(--ink);
  background: var(--surface);
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 17px;
  display: grid;
  place-items: center;
  transition:
    background 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}
.role-arrow:hover {
  background: var(--sand);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
}

.role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lilac);
  border: 1.75px solid var(--ink);
  border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  min-height: 46px;
  padding: 0 24px;
  min-width: 244px;
  text-align: center;
}

.hero-copy {
  font-size: 17.5px;
  line-height: 1.82;
  margin: 26px 0 28px;
  color: var(--body);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  border: 1.75px solid var(--ink);
  min-height: 48px;
  padding: 0 24px;
  border-radius: 10px 14px 11px 13px / 13px 10px 14px 11px;
  box-shadow:
    3.5px 3.5px 0 var(--lilac),
    3.5px 3.5px 0 1.6px var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}
.primary:hover {
  transform: translate(-2px, -2px);
  box-shadow:
    5px 5px 0 var(--lilac),
    5px 5px 0 1.6px var(--ink);
  background: #353330;
}
.primary:hover .ico-ne {
  transform: translate(2px, -2px);
}

.secondary-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
  transition: color 0.18s;
}
.secondary-link:hover {
  color: var(--accent);
}

/* Photo column: taped polaroid with hand-hatched diagonal ink shadow */
.hero-visual {
  position: relative;
  height: 450px;
}

.hero-photo {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 310px;
  margin: 0;
  padding: 10px 10px 14px;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 8px 11px 9px 10px / 10px 8px 11px 9px;
  transform: translate(-50%, -50%) rotate(2.6deg);
  isolation: isolate;
  transition: transform 0.28s ease;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 9px -9px -9px 9px;
  border-radius: 8px 11px 9px 10px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(37, 37, 35, 0.24) 0 1.25px,
    transparent 1.25px 5.2px
  );
  pointer-events: none;
  z-index: -1;
}
.hero-photo-tape {
  position: absolute;
  top: -11px;
  left: 50%;
  width: 68px;
  height: 19px;
  margin-left: -34px;
  background: rgba(240, 231, 217, 0.94);
  border: 1.4px solid rgba(37, 37, 35, 0.78);
  transform: rotate(-4deg);
  pointer-events: none;
  z-index: 3;
}
.hero-photo:hover {
  transform: translate(-50%, calc(-50% - 5px)) rotate(1deg);
}
.hero-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 56% 50%;
  border-radius: 3px;
  border: 1px solid rgba(37, 37, 35, 0.2);
}

.float-note,
.spark {
  position: absolute;
  z-index: 2;
}

.float-note {
  left: -8px;
  bottom: 58px;
  text-align: left;
  background: var(--sand);
  border: 1.65px solid var(--ink);
  border-radius: 5px 8px 6px 7px;
  padding: 14px 20px 26px 16px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.4px;
  transform: rotate(-9deg);
  box-shadow: 3.5px 4px 0 var(--ink);
}
.float-note .ico {
  position: absolute;
  right: 10px;
  bottom: 8px;
}

.spark {
  right: -6px;
  top: 6px;
  font-size: 68px;
  line-height: 1;
  color: var(--accent);
  text-shadow: 2px 2px 0 var(--ink);
  transform: rotate(14deg);
}

/* Sections: Continuous Sketchbook Paper Flow */
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 4px;
}

.label-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 4px 7px 5px 6px;
  box-shadow: 2.5px 2.5px 0 var(--ink);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  transform: rotate(-1.6deg);
  flex: none;
}

.label-rule {
  width: clamp(64px, 18vw, 180px);
  height: 0;
  border-top: 1.4px dashed rgba(37, 37, 35, 0.32);
}

h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.03em;
  font-weight: 650;
  line-height: 1.3;
  margin: 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 26px 0 34px;
  gap: 20px;
}

.section-heading.has-ink-note {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.section-heading-main {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.section-heading-main h2 {
  line-height: 1.12;
}

.ink-underline {
  width: 118px;
  height: 9px;
  color: var(--ink);
  opacity: 0.72;
  margin-top: -2px;
  display: block;
  overflow: visible;
  pointer-events: none;
}
.ink-underline path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-ink-aside {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.ink-arrow-right {
  width: 38px;
  height: 13px;
  color: var(--ink);
  opacity: 0.75;
  flex-shrink: 0;
  overflow: visible;
  pointer-events: none;
}
.ink-arrow-right path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 01 / ABOUT: Asymmetric editorial spread + 3-layer ink-bordered sticky deck */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 64px;
  padding-top: 26px;
  align-items: start;
}

.about-text {
  margin-top: 22px;
  max-width: 560px;
}

.about-text p {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--body);
  margin: 0 0 16px;
}

.tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--ink);
}
.tags > span {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  background: var(--surface);
  border: 1.45px solid var(--ink);
  border-radius: 5px 8px 6px 7px;
  box-shadow: 2px 2px 0 rgba(37, 37, 35, 0.22);
  font-weight: 500;
}
.tags .tag-hl {
  background: var(--lilac);
  color: var(--ink);
  font-weight: 700;
  transform: rotate(-2.5deg);
  box-shadow: 2.5px 2.5px 0 var(--ink);
}

/* Right column: 3-layer Hand-Inked Stacked Sticky Deck */
.about-aside {
  padding-top: 14px;
  display: flex;
  justify-content: flex-end;
}

.field-note-deck {
  position: relative;
  width: 100%;
  max-width: 368px;
  padding: 12px 10px 14px 6px;
  isolation: isolate;
}

.field-note-deck::before,
.field-note-deck::after {
  content: "";
  position: absolute;
  inset: 14px 10px 14px 6px;
  border: 1.75px solid var(--ink);
  border-radius: 8px 11px 9px 10px / 10px 8px 11px 9px;
  pointer-events: none;
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.3s ease;
}

.field-note-deck::before {
  z-index: 1;
  background: var(--lilac-soft);
  box-shadow: 2px 3px 0 rgba(37, 37, 35, 0.14);
  transform: rotate(4.2deg) translate(8px, 6px);
}

.field-note-deck::after {
  z-index: 0;
  background: var(--green-soft);
  box-shadow: 2px 3px 0 rgba(37, 37, 35, 0.12);
  transform: rotate(-5.4deg) translate(-7px, 9px);
}

.field-note-deck[data-tone="lilac"]::before {
  background: var(--green-soft);
  transform: rotate(4.6deg) translate(8px, 6px);
}
.field-note-deck[data-tone="lilac"]::after {
  background: var(--sand);
  transform: rotate(-5.2deg) translate(-6px, 9px);
}

.field-note-deck[data-tone="green"]::before {
  background: var(--sand);
  transform: rotate(4deg) translate(8px, 5px);
}
.field-note-deck[data-tone="green"]::after {
  background: var(--lilac-soft);
  transform: rotate(-5.6deg) translate(-7px, 9px);
}

.field-note {
  position: relative;
  z-index: 2;
  background: var(--sand);
  border: 1.85px solid var(--ink);
  border-radius: 8px 12px 9px 11px / 11px 8px 12px 9px;
  padding: 20px 22px 16px;
  box-shadow: 4px 5px 0 var(--ink);
  transform: rotate(-2.4deg);
  cursor: pointer;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.26s ease,
    box-shadow 0.26s ease;
}

.field-note[data-tone="lilac"] {
  background: var(--lilac);
}

.field-note[data-tone="green"] {
  background: var(--green);
}

.field-note:hover {
  transform: rotate(-1deg) translate(-2px, -3px);
  box-shadow: 6px 7px 0 var(--ink);
}

.field-note.is-flipping {
  animation: note-peel 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes note-peel {
  0% {
    transform: rotate(-2.4deg) translate(0, 0) scale(1);
    opacity: 1;
  }
  32% {
    transform: rotate(-8deg) translate(16px, -12px) scale(0.97);
    opacity: 0.72;
  }
  65% {
    transform: rotate(-1deg) translate(-3px, 2px) scale(1.015);
    opacity: 1;
  }
  100% {
    transform: rotate(-2.4deg) translate(0, 0) scale(1);
    opacity: 1;
  }
}

.field-note-tape {
  position: absolute;
  top: -11px;
  left: 50%;
  width: 68px;
  height: 18px;
  margin-left: -34px;
  background: rgba(255, 255, 255, 0.88);
  border: 1.35px solid rgba(37, 37, 35, 0.72);
  transform: rotate(-2.5deg);
  pointer-events: none;
}

.field-note-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1.4px dashed rgba(37, 37, 35, 0.32);
}

.field-note-flip {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1.4px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 1.5px 1.5px 0 var(--ink);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.field-note-flip:hover {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(-3deg);
}

.field-note-quote {
  margin: 0;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.field-note-text {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.field-note-text.is-short {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.field-note-source {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.field-note-source-link {
  display: inline-block;
  color: inherit;
  border-bottom: 1.25px dashed rgba(37, 37, 35, 0.38);
  padding-bottom: 1px;
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.field-note-source-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.field-note-hint {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1.4px dashed rgba(37, 37, 35, 0.28);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.field-note[data-tone="lilac"] .field-note-source,
.field-note[data-tone="lilac"] .field-note-hint {
  color: #4c4944;
}

/* ========================================================================== */
/* Plan C: Full-Page Engineering Sketchbook Flow                              */
/* ========================================================================== */

.sketch-section {
  position: relative;
  z-index: 1;
  scroll-margin-top: 32px;
}

.sketch-wave-divider {
  margin: 56px auto 46px;
  color: var(--ink);
  opacity: 0.68;
  line-height: 0;
  position: relative;
  z-index: 1;
}

.sketch-wave-divider svg {
  display: block;
  width: 100%;
  height: 14px;
}

/* 02 / PROJECTS: Double-Stroked Sketchy Cards + Hatched Shadow + Mini Diagrams */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 22px;
}

.project-card {
  background: transparent;
  border: 1.75px solid transparent;
  border-radius: 10px 14px 11px 13px / 13px 10px 14px 11px;
  padding: 20px 22px 18px;
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  isolation: isolate;
  transition: transform 180ms ease;
}

/* Opaque card face + double-stroked sketch border painted above ::after shadow */
.project-card::before {
  content: "";
  position: absolute;
  inset: -1.75px;
  background: var(--surface);
  border: 1.75px solid var(--ink);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 3px var(--surface),
    inset 0 0 0 4px rgba(37, 37, 35, 0.24);
  pointer-events: none;
  z-index: 0;
}

/* Hand-hatched diagonal ink shadow */
.project-card::after {
  content: "";
  position: absolute;
  inset: 7px -7px -7px 7px;
  border-radius: 10px 14px 11px 13px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(37, 37, 35, 0.24) 0 1.25px,
    transparent 1.25px 5.2px
  );
  pointer-events: none;
  z-index: -1;
  transition: transform 180ms ease;
}

.project-card:hover {
  transform: translate(-2px, -2px);
}

.project-card:hover::after {
  transform: translate(2px, 2px);
}

.project-card > * {
  position: relative;
  z-index: 1;
}

/* Corner stationery doodles: Paperclip (top-left) & Serrated Masking Tape (top-right) */
.sketch-clip {
  position: absolute !important;
  top: -15px;
  left: 16px;
  width: 17px;
  height: 32px;
  color: var(--ink);
  pointer-events: none;
  z-index: 3 !important;
  transform: rotate(-7deg);
}

.sketch-tape {
  position: absolute !important;
  top: -8px;
  right: -12px;
  width: 54px;
  height: 18px;
  background: rgba(240, 231, 217, 0.92);
  border: 1.25px solid rgba(37, 37, 35, 0.72);
  transform: rotate(28deg);
  pointer-events: none;
  z-index: 3 !important;
  box-shadow: 0 1px 0 rgba(37, 37, 35, 0.12);
}

.project-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px;
  gap: 12px;
  align-items: start;
}

.project-head-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.project-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.project-year {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1.4px solid var(--ink);
  border-radius: 5px 7px 6px 5px;
  box-shadow: 1.5px 1.5px 0 var(--ink);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: var(--lilac);
}

.project-card[data-tone="sand"] .project-year {
  background: var(--sand);
}

.project-card[data-tone="green"] .project-year {
  background: var(--green);
}

.project-index {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.project-kpi-pill {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(37, 37, 35, 0.25);
  background: var(--paper);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.project-title {
  display: block;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

.marker-hl {
  display: inline;
  padding: 1px 4px;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background-image: linear-gradient(
    transparent 38%,
    var(--lilac) 38%,
    var(--lilac) 92%,
    transparent 92%
  );
}

.project-card[data-tone="lilac"] .marker-hl {
  background-image: linear-gradient(
    transparent 38%,
    var(--lilac) 38%,
    var(--lilac) 92%,
    transparent 92%
  );
}
.project-card[data-tone="sand"] .marker-hl {
  background-image: linear-gradient(
    transparent 38%,
    var(--sand) 38%,
    var(--sand) 92%,
    transparent 92%
  );
}
.project-card[data-tone="green"] .marker-hl {
  background-image: linear-gradient(
    transparent 38%,
    var(--green) 38%,
    var(--green) 92%,
    transparent 92%
  );
}

.project-sketch {
  width: 90px;
  height: 58px;
  color: var(--ink);
  opacity: 0.86;
  flex-shrink: 0;
  background: rgba(250, 249, 246, 0.85);
  border: 1px dashed rgba(37, 37, 35, 0.24);
  border-radius: 6px;
}

.project-desc {
  display: block;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--body);
  margin: 0;
  flex: 1;
}

.project-foot {
  margin-top: 4px;
  padding-top: 11px;
  border-top: 1px dashed rgba(37, 37, 35, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  font-size: 11.5px;
  color: var(--subtle);
  min-width: 0;
}

.project-tags > span::before {
  content: "#";
  opacity: 0.55;
  margin-right: 1px;
}

.project-open {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 160ms ease;
}
.project-card:hover .project-open {
  color: var(--ink);
}

/* Shared Authentic Manila Folder Tab (used by article page series dossiers) */
.folder-tab {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px 5px;
  background: #f5f1e6;
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  position: relative;
  z-index: 2;
  margin-left: 18px;
  margin-bottom: -2px;
}

/* ========================================================================== */
/* 03 / WRITING: Open Two-Column Ring-Binder Notebook                         */
/* ========================================================================== */

.writing-binder-wrap {
  position: relative;
  padding-top: 2px;
  isolation: isolate;
}

.binder-top-tabs {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding-left: 18px;
  margin-bottom: -2px;
  position: relative;
}

.binder-stub {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px;
  border: 1.75px solid rgba(37, 37, 35, 0.56);
  border-bottom: 0;
  border-radius: 9px 10px 0 0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--body);
  background: var(--tint);
  cursor: pointer;
  transition:
    transform 150ms ease,
    padding 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.binder-stub.is-lilac {
  background: var(--lilac-soft);
}
.binder-stub.is-sand {
  background: var(--sand-soft);
}
.binder-stub.is-green {
  background: var(--green-soft);
}

.binder-stub:not(.is-active):hover {
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.binder-stub.is-active {
  z-index: 3;
  padding: 8px 16px 8px;
  border: 2px solid var(--ink);
  border-bottom: 0;
  color: var(--ink);
  font-weight: 700;
}
.binder-stub.is-active.is-lilac {
  background: var(--lilac);
}
.binder-stub.is-active.is-sand {
  background: var(--sand);
}
.binder-stub.is-active.is-green {
  background: var(--green);
}

.binder-stub-count {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(37, 37, 35, 0.24);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.binder-stub.is-active .binder-stub-count {
  background: var(--surface);
  border-color: var(--ink);
  color: var(--ink);
}

.writing-board {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  align-items: stretch;
  position: relative;
  z-index: 2;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 14px 16px 15px 14px / 15px 14px 16px 15px;
}

/* Double-page binder hatched drop shadow */
.writing-board::after {
  content: "";
  position: absolute;
  inset: 8px -8px -8px 8px;
  border-radius: 14px 16px 15px 14px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(37, 37, 35, 0.22) 0 1.25px,
    transparent 1.25px 5.5px
  );
  pointer-events: none;
  z-index: -1;
}

/* Left Page: Stacked Hand-Inked Folder Tabs */
.writing-collections {
  background: #f8f6f0;
  padding: 22px 26px 24px 18px;
  border-right: 1.75px solid var(--ink);
  border-radius: 12px 0 0 12px;
  position: relative;
  z-index: 1;
}

.collections-kicker {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--subtle);
  margin: 0 0 14px;
  padding-left: 4px;
}

.collection-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.collection-divider {
  height: 0;
  border-top: 1px dashed rgba(37, 37, 35, 0.32);
  margin: 4px 2px;
}

.collection-btn {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px 10px;
  border: 1.45px solid rgba(37, 37, 35, 0.55);
  border-radius: 4px 10px 10px 8px;
  background: var(--surface);
  color: var(--body);
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease;
}

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

/* Little folder ear tab on top-left of each collection item */
.folder-ear {
  position: absolute;
  top: -7px;
  left: -1px;
  width: 34px;
  height: 7px;
  border: 1.45px solid rgba(37, 37, 35, 0.55);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  background: var(--tint);
  transition:
    background 150ms ease,
    border-color 150ms ease;
}

.collection-btn[data-tone="lilac"] .folder-ear {
  background: var(--lilac-soft);
}
.collection-btn[data-tone="sand"] .folder-ear {
  background: var(--sand-soft);
}
.collection-btn[data-tone="green"] .folder-ear {
  background: var(--green-soft);
}
.collection-btn[data-tone="ink"] .folder-ear {
  background: #eceae4;
}

.collection-btn:not(.is-active):hover {
  border-color: var(--ink);
  transform: translate(-1px, -1px);
  box-shadow: 2px 2px 0 rgba(37, 37, 35, 0.18);
}

.collection-btn.is-active {
  border: 1.75px solid var(--ink);
  color: var(--ink);
  transform: translate(-2px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
}

.collection-btn.is-active .folder-ear {
  border-color: var(--ink);
  border-width: 1.75px;
  border-bottom: 0;
}

.collection-btn.is-active[data-tone="lilac"],
.collection-btn.is-active[data-tone="lilac"] .folder-ear {
  background: var(--lilac);
}
.collection-btn.is-active[data-tone="sand"],
.collection-btn.is-active[data-tone="sand"] .folder-ear {
  background: var(--sand);
}
.collection-btn.is-active[data-tone="green"],
.collection-btn.is-active[data-tone="green"] .folder-ear {
  background: var(--green);
}
.collection-btn.is-active[data-tone="ink"],
.collection-btn.is-active[data-tone="ink"] .folder-ear {
  background: #e9e6de;
}

.collection-main {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.collection-name {
  line-height: 1.3;
}

.collection-count {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(37, 37, 35, 0.16);
}
.collection-btn.is-active .collection-count {
  color: var(--ink);
  border-color: rgba(37, 37, 35, 0.45);
}

/* Center Spiral Binder Rings bridging Left Folder Index & Right Notebook Page */
.binder-rings {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 244px;
  transform: translateX(-50%);
  width: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  pointer-events: none;
  z-index: 4;
  color: var(--ink);
}

.binder-ring-svg {
  width: 42px;
  height: 22px;
  display: block;
}

/* Right Page: Ruled Notebook Sheet with Vertical Margin Line & Paperclip */
.writing-stream {
  min-width: 0;
  padding: 24px 26px 24px 40px;
  position: relative;
  background: var(--surface);
  border-radius: 0 12px 12px 0;
  z-index: 1;
}

/* Notebook vertical margin line */
.writing-stream::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 26px;
  width: 1px;
  background: rgba(196, 132, 118, 0.34);
  pointer-events: none;
}

.sheet-paperclip {
  position: absolute;
  top: -12px;
  right: 20px;
  width: 19px;
  height: 36px;
  color: var(--ink);
  opacity: 0.85;
  pointer-events: none;
  z-index: 3;
}

.stream-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--ink);
}

.stream-title {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 5px;
  padding: 0 4px;
  background-image: linear-gradient(
    transparent 52%,
    var(--lilac) 52%,
    var(--lilac) 96%,
    transparent 96%
  );
}

.writing-board[data-active-tone="sand"] .stream-title {
  background-image: linear-gradient(
    transparent 52%,
    var(--sand) 52%,
    var(--sand) 96%,
    transparent 96%
  );
}
.writing-board[data-active-tone="green"] .stream-title {
  background-image: linear-gradient(
    transparent 52%,
    var(--green) 52%,
    var(--green) 96%,
    transparent 96%
  );
}
.writing-board[data-active-tone="ink"] .stream-title {
  background-image: linear-gradient(
    transparent 52%,
    #e6e3da 52%,
    #e6e3da 96%,
    transparent 96%
  );
}

.stream-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.stream-count {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 3px 9px;
  border: 1.25px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  font-variant-numeric: tabular-nums;
}

.article-ledger {
  display: flex;
  flex-direction: column;
  counter-reset: ledger-num;
}

.article-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: start;
  padding: 13px 6px 13px 4px;
  border-bottom: 1px solid rgba(37, 37, 35, 0.14);
  transition: background 140ms ease;
}
.article-row:not([hidden]) {
  counter-increment: ledger-num;
}
.article-row[hidden] {
  display: none !important;
}
.article-row:hover {
  background: rgba(244, 242, 236, 0.65);
}

.article-star {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  display: grid;
  place-items: center;
  color: var(--ink);
  flex-shrink: 0;
}
.article-star svg {
  width: 16px;
  height: 16px;
}
.article-star svg path {
  fill: transparent;
  transition: fill 150ms ease;
}
.article-row[data-tone="lilac"]:hover .article-star svg path {
  fill: var(--lilac);
}
.article-row[data-tone="sand"]:hover .article-star svg path {
  fill: var(--sand);
}
.article-row[data-tone="green"]:hover .article-star svg path {
  fill: var(--green);
}

.article-row-main {
  min-width: 0;
}

.article-row-heading {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.article-row-num::before {
  content: counter(ledger-num) ".";
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.article-row-title {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(37, 37, 35, 0.22);
  text-decoration-thickness: 1.2px;
  text-underline-offset: 3px;
  transition: text-decoration-color 150ms ease;
}

.article-row:hover .article-row-title {
  text-decoration-color: var(--ink);
}

.article-wip {
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px dashed rgba(37, 37, 35, 0.35);
  background: var(--sand-soft);
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

.article-row-sub {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-row-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 11.5px;
  color: var(--subtle);
  padding-top: 2px;
}

.article-row-tag {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid rgba(37, 37, 35, 0.2);
  background: var(--paper);
  color: var(--body);
}

.article-row-meta time {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}

/* 04 / CONTACT: Hand-Inked Desk Postcard with Masking Tape & Hatched Shadow */
.contact {
  margin-top: 0;
  padding-bottom: 76px;
}

.postcard-stage {
  position: relative;
  max-width: 840px;
  margin: 34px auto 0;
  isolation: isolate;
}

/* Ink-outlined lilac backing sheet peeking out from underneath */
.postcard-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--lilac-soft);
  border: 1.75px solid var(--ink);
  border-radius: 10px 13px 11px 12px;
  transform: rotate(2.1deg) translate(9px, 7px);
  pointer-events: none;
}

.postcard {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 236px;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 10px 14px 11px 13px / 13px 10px 14px 11px;
  transform: rotate(-0.9deg);
  isolation: isolate;
  transition: transform 0.24s ease;
}
.postcard::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 4px var(--surface),
    inset 0 0 0 5px rgba(37, 37, 35, 0.16);
  pointer-events: none;
  z-index: 0;
}
.postcard::after {
  content: "";
  position: absolute;
  inset: 9px -9px -9px 9px;
  border-radius: 10px 14px 11px 13px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(37, 37, 35, 0.22) 0 1.25px,
    transparent 1.25px 5.4px
  );
  pointer-events: none;
  z-index: -1;
}
.postcard:hover {
  transform: rotate(-0.2deg) translate(-2px, -2px);
}

.postcard-tape {
  position: absolute;
  top: -11px;
  left: 34px;
  width: 64px;
  height: 18px;
  background: rgba(240, 231, 217, 0.94);
  border: 1.35px solid rgba(37, 37, 35, 0.78);
  transform: rotate(-5deg);
  pointer-events: none;
  z-index: 3;
}

.postcard-main {
  padding: 34px 34px 32px;
  position: relative;
  z-index: 1;
}

.postcard-spark {
  position: absolute;
  left: -17px;
  bottom: -18px;
  font-size: 38px;
  line-height: 1;
  color: var(--accent);
  text-shadow: 1.5px 1.5px 0 var(--ink);
  transform: rotate(-14deg);
  pointer-events: none;
  user-select: none;
  z-index: 3;
}

.postcard-badge {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 12px;
}

.contact h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.35;
}

.contact-pill {
  display: inline-block;
  background: var(--lilac);
  border: 1.6px solid var(--ink);
  border-radius: 6px 9px 7px 8px;
  box-shadow: 2.5px 2.5px 0 var(--ink);
  padding: 0 11px;
  margin-left: 8px;
  transform: rotate(-3deg);
}

.contact p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--body);
  margin: 14px 0 24px;
  max-width: 440px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.contact-actions .primary {
  padding: 13px 22px;
}
.contact-actions .primary.is-copied {
  background: #3d5232;
}

.contact-sub-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.contact-text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  padding: 2px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--body);
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
  text-decoration-color: rgba(37, 37, 35, 0.45);
  transition: color 0.18s, text-decoration-color 0.18s;
}
.contact-text-link:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}
.contact-text-link:hover .ico-ne {
  transform: translate(2px, -2px);
}

/* Right Half of Postcard: Vertical Dashed Seam + Stamp + Postmark + Address Lines */
.postcard-right {
  border-left: 1.5px dashed rgba(37, 37, 35, 0.36);
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fcfaf4;
  border-radius: 0 10px 10px 0;
  position: relative;
  z-index: 1;
}

.stamp-cluster {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding-top: 2px;
  padding-right: 4px;
}

.stamp {
  position: relative;
  z-index: 1;
  width: 96px;
  padding: 6px;
  background: var(--lilac-soft);
  border: 1.6px dashed var(--ink);
  border-radius: 3px;
  transform: rotate(7deg);
  box-shadow: 2.5px 3.5px 0 rgba(37, 37, 35, 0.22);
  text-align: center;
  transition: transform 0.25s ease;
}
.postcard:hover .stamp {
  transform: rotate(3.5deg) translateY(-2px);
}

.stamp-inner {
  border: 1.2px solid rgba(37, 37, 35, 0.4);
  border-radius: 2px;
  padding: 9px 5px 7px;
  background: #fcfbfe;
}

.stamp-spark {
  font-size: 20px;
  line-height: 1;
  color: var(--accent);
}

.stamp-brand {
  margin-top: 4px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.stamp-meta {
  margin-top: 2px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.postmark-svg {
  position: absolute;
  left: 14px;
  top: 22px;
  z-index: 2;
  width: 78px;
  height: 78px;
  color: rgba(37, 37, 35, 0.52);
  transform: rotate(-16deg);
  pointer-events: none;
}

.postcard-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.postcard-lines span {
  display: block;
  padding-bottom: 5px;
  border-bottom: 1.25px dashed rgba(37, 37, 35, 0.3);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* Footer: Hand-Inked Notebook Colophon */
.footer {
  border-top: 1.5px dashed rgba(37, 37, 35, 0.36);
  padding: 28px 0 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer .brand {
  font-size: 22px;
}
.footer > span {
  font-size: 13px;
  color: var(--muted);
}
.footer > a:last-child {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding: 5px 12px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 7px 9px 8px 7px;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 0.16s ease, background 0.16s ease;
}
.footer > a:last-child:hover {
  background: var(--sand);
  transform: translate(-1px, -1px);
}
.footer-rss {
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
}
.footer-rss:hover {
  color: var(--ink);
}

/* Dialogs: Hand-Inked Engineering Dossier Sheet */
dialog {
  max-width: 640px;
  width: calc(100% - 36px);
  max-height: 85dvh;
  border: 2px solid var(--ink);
  border-radius: 12px 16px 13px 15px / 15px 12px 16px 13px;
  padding: 36px 38px 30px;
  background-color: #fcfbf8;
  background-image: radial-gradient(
    rgba(37, 37, 35, 0.1) 1px,
    transparent 1px
  );
  background-size: 18px 18px;
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
}
dialog::backdrop {
  background: rgba(37, 37, 35, 0.45);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  color: var(--ink);
  transition: transform 0.16s ease, background 0.16s ease;
}
.dialog-close:hover {
  background: var(--sand);
  transform: translate(-1px, -1px);
}

.dialog-label {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 5px 7px 6px 5px;
  border: 1.5px solid var(--ink);
  background: var(--lilac);
  box-shadow: 2px 2px 0 var(--ink);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  transform: rotate(-1.5deg);
}

dialog h2 {
  font-size: 25px;
  margin: 16px 0 18px;
}

.dialog-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--body);
}
.dialog-body h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 18px 0 8px;
}
.dialog-body p {
  margin: 0 0 12px;
}
.dialog-body ul {
  margin: 0 0 12px;
  padding-left: 1.35em;
}
.dialog-body li + li {
  margin-top: 6px;
}
.dialog-body strong {
  color: var(--ink);
  font-weight: 650;
}

.dialog-more {
  margin-top: 16px !important;
  padding-top: 14px;
  border-top: 1.4px dashed rgba(37, 37, 35, 0.32);
  font-size: 14px;
}
.dialog-more a,
.contact-email {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
  font-weight: 650;
  background-image: linear-gradient(
    transparent 55%,
    var(--lilac) 55%,
    var(--lilac) 95%,
    transparent 95%
  );
  padding: 0 3px;
}

.dialog-actions {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
}

.dialog-done {
  background: var(--ink);
  color: var(--paper);
  border: 1.6px solid var(--ink);
  border-radius: 8px 10px 9px 8px;
  box-shadow: 2.5px 2.5px 0 var(--lilac), 2.5px 2.5px 0 1.4px var(--ink);
  padding: 9px 22px;
  font-size: 13.5px;
  font-weight: 600;
  transition: transform 0.16s ease, background 0.16s ease;
}
.dialog-done:hover {
  background: #353330;
  transform: translate(-1px, -1px);
}

/* ========================================================================== */
/* Long-form Article Layout & Reading Experience (Plan C Engineering Sketchbook) */
/* ========================================================================== */

.article-layout {
  padding-top: 22px;
  padding-bottom: 88px;
}

.article-layout.has-rail {
  display: grid;
  grid-template-columns: minmax(0, 720px) 228px;
  justify-content: space-between;
  align-items: start;
  gap: 54px;
}

.article-layout:not(.has-rail) .blog-article {
  max-width: 720px;
  margin-inline: auto;
}

.blog-article {
  min-width: 0;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--body);
  isolation: isolate;
}

.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 8px 10px 9px 8px;
  background: var(--surface);
  box-shadow: 2.5px 2.5px 0 var(--ink);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.blog-back:hover {
  background: var(--sand);
  color: var(--ink);
  transform: translate(-1.5px, -1.5px);
}

.article-header {
  position: relative;
  border-bottom: 1.5px dashed rgba(37, 37, 35, 0.36);
  padding-bottom: 30px;
  margin-bottom: 34px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 8px;
  margin: 24px 0 0;
}

.article-sticker {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 5px 7px 6px 5px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 2.5px 2.5px 0 var(--ink);
  transform: rotate(-3.5deg);
}
.article-sticker.is-green {
  background: var(--green);
  color: var(--ink);
}
.article-sticker.is-lilac {
  background: var(--lilac);
  color: var(--ink);
}
.article-sticker.is-sand {
  background: var(--sand);
  color: var(--ink);
}

.article-series-chip {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  margin-left: 0;
  border-radius: 5px 7px 6px 5px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 rgba(37, 37, 35, 0.25);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink) !important;
  text-decoration: none !important;
  transform: rotate(2.5deg);
  transition: background 0.16s, transform 0.16s, color 0.16s;
}
.article-series-chip:hover {
  background: var(--ink);
  color: var(--paper) !important;
  transform: rotate(0deg) translateY(-1px);
}

.article-meta {
  margin-left: 6px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.article-header-spark {
  position: absolute;
  right: 4px;
  bottom: -14px;
  padding: 0 6px;
  background: var(--paper);
  font-size: 24px;
  line-height: 1;
  color: var(--accent);
  text-shadow: 1px 1px 0 var(--ink);
  transform: rotate(16deg);
  pointer-events: none;
  user-select: none;
}

.blog-article h1 {
  margin: 18px 0 24px;
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.028em;
  color: var(--ink);
}

/* Warm Sand Hand-Inked Lead Card with Masking Tape & Hatched Shadow */
.article-lead-wrap {
  position: relative;
  background: var(--sand-soft);
  border: 1.75px solid var(--ink);
  border-radius: 8px 12px 9px 11px / 11px 8px 12px 9px;
  padding: 20px 24px 18px 24px;
}
.article-lead-wrap::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 26px;
  width: 60px;
  height: 17px;
  background: rgba(221, 213, 243, 0.92);
  border: 1.35px solid rgba(37, 37, 35, 0.78);
  transform: rotate(-3deg);
  pointer-events: none;
  z-index: 2;
}
.article-lead-wrap::after {
  content: "";
  position: absolute;
  inset: 6px -6px -6px 6px;
  border-radius: 8px 12px 9px 11px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(37, 37, 35, 0.2) 0 1.25px,
    transparent 1.25px 5.2px
  );
  pointer-events: none;
  z-index: -1;
}

.article-lead {
  font-size: 15.5px;
  line-height: 1.88;
  color: var(--body);
  margin: 0 !important;
}

/* H2 with Ink-Bordered Section Stamp Riding the Dashed Rule */
.blog-article h2 {
  position: relative;
  margin: 56px 0 20px;
  padding-top: 26px;
  border-top: 1.5px dashed rgba(37, 37, 35, 0.34);
  line-height: 1.38;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 0;
}

.blog-article h2 .section-num {
  position: absolute;
  top: -15px;
  left: 0;
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 5px 7px 6px 5px;
  background: var(--lilac);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  transform: rotate(-4deg);
  box-shadow: 2px 2px 0 var(--ink);
}
.blog-article h2 .section-num::before {
  content: "§ ";
  opacity: 0.78;
}

.heading-anchor {
  margin-left: 8px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 15px;
  font-weight: 500;
  color: var(--subtle);
  opacity: 0;
  transition:
    opacity 0.18s,
    color 0.18s;
}
.blog-article h2:hover .heading-anchor,
.heading-anchor:focus-visible {
  opacity: 1;
}
.heading-anchor:hover {
  color: var(--accent);
}

.blog-article h3 {
  margin: 30px 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

.blog-article p {
  margin: 0 0 16px;
}

.blog-article a:not(.blog-back):not(.article-series-chip):not(.heading-anchor):not(.article-nav-prev):not(.article-nav-next) {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-decoration-color: rgba(37, 37, 35, 0.5);
  text-underline-offset: 3px;
}
.blog-article a:not(.blog-back):not(.article-series-chip):not(.heading-anchor):not(.article-nav-prev):not(.article-nav-next):hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.blog-article strong {
  color: var(--ink);
  font-weight: 650;
}

.blog-article code {
  background: var(--surface);
  color: var(--ink);
  padding: 2px 6px;
  border: 1px solid rgba(37, 37, 35, 0.24);
  border-radius: 4px;
  font-size: 0.85em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.blog-article ul,
.blog-article ol {
  margin: 0 0 18px;
  padding-left: 1.45em;
}
.blog-article li + li {
  margin-top: 8px;
}

.blog-article hr {
  border: 0;
  border-top: 1.5px dashed rgba(37, 37, 35, 0.34);
  margin: 36px 0;
}

/* Inline TOC (shown below 1160px) — Hand-Inked Index Card */
.article-toc {
  display: none;
  position: relative;
  background: var(--surface);
  border: 1.75px solid var(--ink);
  border-radius: 9px 12px 10px 11px;
  box-shadow: 4px 4px 0 rgba(37, 37, 35, 0.2);
  padding: 24px 22px 18px;
  margin: 18px 0 34px;
}
.toc-sticker {
  position: absolute;
  top: -13px;
  left: 18px;
  padding: 3px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 5px 7px 6px 5px;
  background: var(--lilac);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  transform: rotate(-3.5deg);
  box-shadow: 2px 2px 0 var(--ink);
}
.article-toc ol {
  margin: 0;
  padding-left: 1.3em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
  font-size: 14px;
  line-height: 1.65;
}
.article-toc li + li {
  margin-top: 0;
}
.article-toc a {
  color: var(--body) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}
.article-toc a:hover {
  color: var(--ink) !important;
  text-decoration: underline !important;
}

/* Sticky Side TOC (Desktop >= 1160px) — Hand-Inked Pinned Bookmark */
.article-rail {
  position: sticky;
  top: 40px;
  padding-top: 42px;
  isolation: isolate;
}
.side-toc {
  position: relative;
  background: var(--surface);
  border: 1.75px solid var(--ink);
  border-radius: 9px 12px 10px 11px;
  padding: 22px 16px 16px;
}
.side-toc::after {
  content: "";
  position: absolute;
  inset: 5px -5px -5px 5px;
  border-radius: 9px 12px 10px 11px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(37, 37, 35, 0.2) 0 1.25px,
    transparent 1.25px 5px
  );
  pointer-events: none;
  z-index: -1;
}
.side-toc-tape {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 58px;
  height: 17px;
  margin-left: -29px;
  background: rgba(221, 213, 243, 0.92);
  border: 1.35px solid rgba(37, 37, 35, 0.78);
  transform: rotate(-3.5deg);
  pointer-events: none;
  z-index: 2;
}
.side-toc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1.4px dashed rgba(37, 37, 35, 0.3);
}
.side-toc-sticker {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.side-toc-pct {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  padding: 1px 6px;
  border: 1.2px solid var(--ink);
  border-radius: 5px;
  background: var(--sand-soft);
  font-variant-numeric: tabular-nums;
}
.side-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.side-toc a[data-toc-link] {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  padding: 3px 4px;
  transition: color 0.18s;
}
.side-toc a[data-toc-link]:hover {
  color: var(--ink);
}
.side-toc .toc-num {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
  color: var(--subtle);
  font-variant-numeric: tabular-nums;
  flex: none;
}
.side-toc .toc-label {
  transition: background-image 0.18s ease;
}
.side-toc a.is-active {
  color: var(--ink);
  font-weight: 650;
}
.side-toc a.is-active .toc-num {
  color: var(--accent);
  font-weight: 700;
}
.side-toc a.is-active .toc-label {
  background: linear-gradient(transparent 48%, rgba(221, 213, 243, 0.92) 48%);
  padding: 0 3px;
}
.side-toc-top {
  display: inline-block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1.4px dashed rgba(37, 37, 35, 0.28);
  width: 100%;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.18s;
}
.side-toc-top:hover {
  color: var(--ink);
}

/* Hand-Inked Callout, Quotes, Note Points */
.article-callout {
  position: relative;
  background: var(--lilac-soft);
  border: 1.75px solid var(--ink);
  border-radius: 9px 12px 10px 11px;
  padding: 24px 22px 18px;
  margin: 30px 0 26px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--body);
}
.article-callout::before {
  content: "NOTE · ✳︎";
  position: absolute;
  top: -13px;
  left: 16px;
  padding: 2px 10px;
  background: var(--lilac);
  border: 1.5px solid var(--ink);
  border-radius: 5px 7px 6px 5px;
  color: var(--ink);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: rotate(-3.5deg);
  box-shadow: 2px 2px 0 var(--ink);
}
.article-callout::after {
  content: "";
  position: absolute;
  inset: 6px -6px -6px 6px;
  border-radius: 9px 12px 10px 11px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(37, 37, 35, 0.18) 0 1.25px,
    transparent 1.25px 5.2px
  );
  pointer-events: none;
  z-index: -1;
}
.article-callout p:last-child {
  margin-bottom: 0;
}

.book-quote {
  position: relative;
  margin: 26px 0 28px;
  padding: 20px 24px 18px;
  background: var(--sand-soft);
  border: 1.75px solid var(--ink);
  border-radius: 9px 12px 10px 11px;
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--body);
}
.book-quote p {
  margin: 0;
  font-size: 16px;
  line-height: 1.95;
}
.book-highlight {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline dashed var(--ink);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.4px;
  background: linear-gradient(transparent 56%, rgba(221, 213, 243, 0.85) 56%);
  padding: 0 3px;
}
.book-source {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1.4px dashed rgba(37, 37, 35, 0.28);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-align: right;
}

.note-points {
  list-style: none;
  padding-left: 0 !important;
  margin: 18px 0 24px;
  display: grid;
  gap: 12px;
}
.note-points li {
  margin: 0 !important;
  padding: 13px 18px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-left: 5px solid var(--ink);
  border-radius: 6px 9px 8px 6px;
  box-shadow: 3px 3px 0 rgba(37, 37, 35, 0.16);
  font-size: 15px;
  line-height: 1.8;
  color: var(--body);
}

/* Technical Plates: Hand-Inked Blueprint Diagrams + Floating Pill Zoom */
.article-diagram {
  position: relative;
  margin: 30px 0;
  background-color: var(--surface);
  background-image: radial-gradient(rgba(37, 37, 35, 0.14) 0.9px, transparent 0.9px);
  background-size: 14px 14px;
  border: 1.85px solid var(--ink);
  border-radius: 10px 13px 11px 12px;
  padding: 20px 18px 16px;
}
.article-diagram::after {
  content: "";
  position: absolute;
  inset: 6px -6px -6px 6px;
  border-radius: 10px 13px 11px 12px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(37, 37, 35, 0.18) 0 1.25px,
    transparent 1.25px 5.2px
  );
  pointer-events: none;
  z-index: -1;
}

.diagram-zoom {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 3;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  background: var(--sand-soft);
  border: 1.4px solid var(--ink);
  border-radius: 7px;
  padding: 4px 11px;
  box-shadow: 2px 2px 0 var(--ink);
  transition:
    background 0.16s,
    color 0.16s,
    transform 0.16s;
}
.diagram-zoom:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translate(-1px, -1px);
}

.diagram-hint {
  display: none;
  margin-bottom: 8px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: var(--muted);
}

.diagram-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: 12px;
}

.diagram-scroll svg {
  display: block;
  width: 100%;
  height: auto;
}

.article-diagram figcaption {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1.4px dashed rgba(37, 37, 35, 0.3);
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  text-align: left;
}
.article-diagram figcaption .fig-num {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.article-diagram figcaption .fig-sep {
  padding: 0 6px;
  color: rgba(37, 37, 35, 0.4);
}

/* Diagram Lightbox Modal */
.diagram-dialog {
  max-width: min(1040px, calc(100% - 28px));
  width: 100%;
  padding: 20px 24px 24px;
  border-radius: 12px 15px 13px 14px;
  border: 2px solid var(--ink);
}
.diagram-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-right: 40px;
}
.diagram-dialog-caption {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}
.diagram-dialog-stage {
  background: var(--surface);
  border: 1.5px dashed rgba(37, 37, 35, 0.36);
  border-radius: 8px;
  padding: 16px;
  overflow: auto;
  max-height: 70dvh;
}
.diagram-dialog-stage svg {
  display: block;
  width: 100%;
  min-width: 640px;
  height: auto;
}

/* Code Blocks: Hand-Inked Lab Notebook Code Sheet */
.code-block {
  position: relative;
  margin: 24px 0 28px;
  border: 1.75px solid var(--ink);
  border-radius: 9px 12px 10px 11px;
  background: #f8f6f0;
  box-shadow: 4px 4px 0 rgba(37, 37, 35, 0.2);
  overflow: hidden;
}

.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: var(--sand-soft);
  border-bottom: 1.4px dashed rgba(37, 37, 35, 0.34);
}

.code-lang {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.code-copy {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface);
  border: 1.3px solid var(--ink);
  border-radius: 6px;
  padding: 2px 10px;
  box-shadow: 1.5px 1.5px 0 var(--ink);
  transition:
    background 0.16s,
    color 0.16s,
    transform 0.16s;
}
.code-copy:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translate(-1px, -1px);
}

.code-block pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-size: 13.5px;
  line-height: 1.7;
}

.code-block pre code {
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
  color: var(--ink);
}

/* Formulas (Native MathML): Hand-Inked Warm Sand Formula Card */
.formula-block {
  position: relative;
  margin: 22px 0 26px;
  padding: 28px 24px 18px;
  background: var(--sand-soft);
  border: 1.75px solid var(--ink);
  border-radius: 9px 12px 10px 11px;
  box-shadow: 4px 4px 0 rgba(37, 37, 35, 0.2);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  text-align: center;
}
.formula-block::after {
  content: "EQ.";
  position: absolute;
  top: 8px;
  right: 12px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  pointer-events: none;
}

.formula-block math {
  font-size: 16.5px;
  color: var(--ink);
  line-height: 1.8;
}

.formula-note {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

.blog-article p math,
.blog-article li math,
.blog-article td math {
  font-size: 1.02em;
  color: var(--ink);
}

/* Sketchbook Cards, Stats, Concepts, Tables */
.article-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0 26px;
}

.article-card {
  position: relative;
  background: var(--surface);
  border: 1.75px solid var(--ink);
  border-radius: 9px 12px 10px 11px;
  box-shadow: 4px 4px 0 rgba(37, 37, 35, 0.18);
  padding: 18px 20px;
}
.article-card-kicker {
  display: inline-block;
  padding: 2px 9px;
  border: 1.4px solid var(--ink);
  border-radius: 5px 7px 6px 5px;
  background: var(--lilac);
  box-shadow: 1.5px 1.5px 0 var(--ink);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 10px;
  transform: rotate(-2.5deg);
}
.article-card h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.article-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--body);
}

.article-stats,
.article-concepts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 24px;
}

.article-stat,
.article-concept {
  background: var(--surface);
  border: 1.65px solid var(--ink);
  border-radius: 8px 11px 9px 10px;
  box-shadow: 3.5px 3.5px 0 rgba(37, 37, 35, 0.18);
  padding: 16px 18px;
}
.article-stat:nth-child(2),
.article-concept:nth-child(2) {
  background: var(--lilac-soft);
}
.article-stat:nth-child(3),
.article-concept:nth-child(3) {
  background: var(--sand-soft);
}

.article-stat strong {
  display: block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.concept-kicker {
  display: inline-block;
  padding: 2px 8px;
  border: 1.3px solid var(--ink);
  border-radius: 5px;
  background: var(--surface);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 8px;
}

.article-concept strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.article-stat span,
.article-concept span:not(.concept-kicker) {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.table-scroll-block {
  margin: 24px 0 28px;
}

.table-hint {
  display: none;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}

.article-table-wrap {
  margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1.75px solid var(--ink);
  border-radius: 9px 11px 10px 10px;
  box-shadow: 4px 4px 0 rgba(37, 37, 35, 0.18);
  background: var(--surface);
}
.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
  min-width: 540px;
}
.article-table th,
.article-table td {
  padding: 12px 14px;
  vertical-align: top;
  border-bottom: 1px dashed rgba(37, 37, 35, 0.22);
}
.article-table thead th {
  background: var(--sand-soft);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
  border-bottom: 1.5px solid var(--ink);
}
.article-table tbody tr:last-child td,
.article-table tbody tr:last-child th {
  border-bottom: 0;
}
.article-table tbody th {
  font-weight: 650;
  color: var(--ink);
  white-space: nowrap;
}
.article-table td {
  color: var(--body);
}

.article-footnote {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1.4px dashed rgba(37, 37, 35, 0.3);
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

/* Series Navigation: Hand-Inked Manila Folder with Hatched Shadow */
.article-series {
  position: relative;
  margin-top: 56px;
  isolation: isolate;
}
.article-series-sheet {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 10px 14px 11px 13px;
  overflow: visible;
}
.article-series-sheet::after {
  content: "";
  position: absolute;
  inset: 7px -7px -7px 7px;
  border-radius: 10px 14px 11px 13px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(37, 37, 35, 0.22) 0 1.25px,
    transparent 1.25px 5.2px
  );
  pointer-events: none;
  z-index: -1;
}
.article-series-head {
  padding: 18px 22px 15px;
  background-color: var(--sand-soft);
  background-image: radial-gradient(rgba(37, 37, 35, 0.14) 0.9px, transparent 0.9px);
  background-size: 14px 14px;
  border-bottom: 1.5px dashed rgba(37, 37, 35, 0.34);
  border-radius: 8px 12px 0 0;
}
.article-series-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin: 0;
}
.article-series ol {
  list-style: none;
  margin: 0;
  padding: 10px 14px 12px;
  display: grid;
  gap: 4px;
}
.article-series li + li {
  margin-top: 0;
}
.article-series a,
.article-series .is-current {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none !important;
}
.article-series a {
  color: var(--body) !important;
  transition:
    background 0.16s,
    color 0.16s;
}
.article-series a:hover {
  background: var(--tint);
  color: var(--ink) !important;
}
.article-series .is-current {
  background: var(--lilac-soft);
  border: 1.4px solid var(--ink);
  color: var(--ink);
  font-weight: 650;
}
.article-series .series-num {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  flex: none;
}
.article-series .series-badge {
  margin-left: auto;
  padding: 2px 8px;
  border: 1.3px solid var(--ink);
  border-radius: 5px;
  background: var(--lilac);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink);
  transform: rotate(3deg);
  flex: none;
}

.article-footer {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1.5px dashed rgba(37, 37, 35, 0.34);
  display: grid;
  gap: 18px;
}

.article-footer-back a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink) !important;
  text-decoration: underline !important;
  text-decoration-style: dashed !important;
  text-underline-offset: 3px;
}
.article-footer-back a:hover {
  color: var(--accent) !important;
}

.article-footer-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Hand-Inked Prev/Next Notebook Cards */
.article-nav-prev,
.article-nav-next {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 20px;
  border-radius: 9px 12px 10px 11px;
  border: 1.75px solid var(--ink);
  background: var(--surface);
  box-shadow: 3.5px 3.5px 0 rgba(37, 37, 35, 0.22);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}
.article-nav-next {
  text-align: right;
}
.article-nav-prev:hover,
.article-nav-next:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--sand-soft);
}
.nav-dir {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}
.nav-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
}

/* 404 Page: Pinned Sketchbook Notice Card */
.not-found {
  padding: 64px 0 96px;
  max-width: 680px;
  isolation: isolate;
}
.not-found-card {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 12px 16px 13px 15px / 15px 12px 16px 13px;
  padding: 40px 38px 36px;
}
.not-found-card::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(37, 37, 35, 0.18);
  border-radius: 8px 12px 9px 11px;
  pointer-events: none;
}
.not-found-card::after {
  content: "";
  position: absolute;
  inset: 8px -8px -8px 8px;
  border-radius: 12px 16px 13px 15px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(37, 37, 35, 0.22) 0 1.25px,
    transparent 1.25px 5.2px
  );
  pointer-events: none;
  z-index: -1;
}
.not-found-tape {
  position: absolute;
  top: -11px;
  left: 36px;
  width: 64px;
  height: 18px;
  background: rgba(240, 231, 217, 0.94);
  border: 1.35px solid rgba(37, 37, 35, 0.78);
  transform: rotate(-4deg);
  pointer-events: none;
  z-index: 2;
}
.not-found-code {
  display: inline-block;
  padding: 3px 11px;
  border: 1.5px solid var(--ink);
  border-radius: 5px 7px 6px 5px;
  background: var(--lilac);
  box-shadow: 2px 2px 0 var(--ink);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin: 0 0 18px;
  transform: rotate(-2deg);
}
.not-found h1 {
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.not-found-copy {
  font-size: 16px;
  line-height: 1.85;
  color: var(--body);
  margin: 0 0 28px;
}
.not-found-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Scroll buddy: calf popping out from behind hand-drawn grass */
.buddy {
  position: fixed;
  right: 20px;
  bottom: 0;
  width: 124px;
  height: 147px;
  z-index: 15;
  pointer-events: none;
  clip-path: inset(-40px -40px 0 -40px);
  transform: translateY(100%);
  transition: transform 0.28s ease;
}
.buddy.is-visible {
  transform: none;
}
.buddy-calf {
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: auto;
  z-index: 1;
  transform: translateY(102%);
  transition: transform 0.22s cubic-bezier(0.5, 0, 0.75, 0);
}
.buddy.calf-up .buddy-calf {
  transform: none;
  transition: transform 0.54s cubic-bezier(0.26, 1.18, 0.44, 1);
}
.buddy-grass {
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: auto;
  z-index: 2;
  transform-origin: 42% 96%;
}
.buddy-spark {
  position: absolute;
  right: 4px;
  top: 4px;
  z-index: 3;
  font-size: 22px;
  line-height: 1;
  color: #b4a2d0;
  opacity: 0;
}
.buddy.pop .buddy-grass {
  animation: grass-rustle 0.5s ease;
}
.buddy.pop .buddy-spark {
  animation: buddy-spark 0.8s 0.25s ease-out both;
}

@keyframes grass-rustle {
  0% {
    transform: rotate(0) scale(1);
  }
  28% {
    transform: rotate(-3.5deg) scale(1.03, 1.05);
  }
  58% {
    transform: rotate(2.2deg) scale(1.01, 0.98);
  }
  82% {
    transform: rotate(-1deg) scale(1);
  }
  100% {
    transform: rotate(0) scale(1);
  }
}

@keyframes buddy-spark {
  0% {
    opacity: 0;
    transform: scale(0) rotate(0);
  }
  35% {
    opacity: 1;
    transform: scale(1.12) rotate(18deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.7) rotate(54deg);
  }
}

/* ========================================================================== */
/* Responsive Breakpoints                                                     */
/* ========================================================================== */

@media (max-width: 1159px) {
  .article-layout.has-rail {
    display: block;
  }
  .article-layout.has-rail .blog-article {
    max-width: 720px;
    margin-inline: auto;
  }
  .article-rail {
    display: none;
  }
  .article-toc {
    display: block;
  }
}

@media (min-width: 1440px) {
  .hero {
    padding-top: 56px;
  }
  .hero-main {
    grid-template-columns: minmax(0, 1fr) 440px;
  }
  .hero-visual {
    height: 510px;
  }
  .hero-photo {
    width: 335px;
  }
}

@media (max-width: 1024px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero-main {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
  }
  .hero-visual {
    height: 400px;
  }
  .hero-photo {
    width: 255px;
  }
  .float-note {
    font-size: 13px;
    padding: 12px 18px 23px 14px;
  }
  .spark {
    font-size: 56px;
  }
  .about-grid {
    gap: 38px;
  }
  .writing-board {
    grid-template-columns: 214px minmax(0, 1fr);
  }
  .writing-collections {
    padding: 20px 22px 22px 16px;
  }
  .binder-rings {
    left: 214px;
  }
  .writing-stream {
    padding: 22px 22px 22px 34px;
  }
  .writing-stream::before {
    left: 22px;
  }
}

@media (max-width: 860px) {
  .project-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .writing-board {
    grid-template-columns: 1fr;
  }
  .writing-collections {
    border-right: 0;
    border-bottom: 1.75px solid var(--ink);
    border-radius: 12px 12px 0 0;
    padding: 18px 14px 24px;
  }
  .collections-kicker {
    padding-left: 2px;
    margin-bottom: 12px;
  }
  .collection-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 8px;
  }
  .collection-divider {
    display: none;
  }
  /* Flip the 4 spiral binder rings into a horizontal seam on mobile */
  .binder-rings {
    position: static;
    transform: none;
    width: 100%;
    height: 36px;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    margin: -18px 0;
    padding: 0 18px;
    z-index: 4;
  }
  .binder-ring-svg {
    width: 34px;
    height: 18px;
    transform: rotate(90deg);
  }
  .collection-btn {
    width: auto;
    padding: 8px 11px;
    font-size: 13px;
  }
  .folder-ear {
    width: 24px;
    height: 6px;
    top: -6px;
  }
  .writing-stream {
    border-radius: 0 0 12px 12px;
    padding: 26px 18px 20px 28px;
  }
  .writing-stream::before {
    left: 16px;
  }
  .sheet-paperclip {
    display: none;
  }
}

@media (max-width: 768px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .header {
    height: 78px;
    gap: 10px;
  }
  .brand {
    font-size: 22px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 19px;
  }
  .desktop-nav {
    display: none;
  }
  .hello {
    margin-left: auto;
    font-size: 13px;
    padding: 7px 13px;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
    background: var(--surface);
    border: 1.65px solid var(--ink);
    border-radius: 8px 10px 9px 8px;
    box-shadow: 2.5px 2.5px 0 var(--ink);
    width: 38px;
    height: 38px;
    font-size: 18px;
    color: var(--ink);
    transition: transform 0.15s ease, background 0.15s ease;
  }
  .menu-toggle:hover,
  .menu-toggle[aria-expanded="true"] {
    background: var(--lilac-soft);
    transform: translate(-1px, -1px);
  }
  .mobile-nav:not([hidden]) {
    display: flex;
    flex-direction: column;
    margin: 4px 18px 12px;
    padding: 8px 14px;
    background: var(--surface);
    border: 1.75px solid var(--ink);
    border-radius: 10px 13px 11px 12px;
    box-shadow: 4px 4px 0 var(--ink);
    gap: 0;
  }
  .mobile-nav a {
    padding: 11px 8px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1.25px dashed rgba(37, 37, 35, 0.25);
  }
  .mobile-nav a:last-child {
    border-bottom: 0;
  }
  .hero {
    padding-top: 24px;
  }
  .hero-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 24px;
  }
  .hero h1 {
    font-size: 82px;
    margin-bottom: 18px;
  }
  .hero-copy {
    font-size: 16px;
    margin: 20px 0 24px;
  }
  .hero-visual {
    height: 300px;
  }
  .hero-photo {
    width: 280px;
  }
  .hero-photo::after {
    inset: 6px -6px -6px 6px;
  }
  .hero-photo img {
    aspect-ratio: 4 / 3;
  }
  .float-note {
    left: 0;
    bottom: 36px;
  }
  .spark {
    right: 0;
    top: 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 24px;
  }
  .about-text {
    margin-top: 22px;
    padding-left: 0;
  }
  .about-aside {
    padding-top: 4px;
    justify-content: flex-start;
  }
  .field-note-deck {
    max-width: 100%;
    padding: 10px 8px 12px 4px;
  }
  .field-note-deck::before {
    transform: rotate(2.4deg) translate(4px, 4px);
  }
  .field-note-deck::after {
    transform: rotate(-2.8deg) translate(-3px, 6px);
  }
  .field-note {
    transform: rotate(-1.2deg);
  }
  /* Full-site Plan C mobile spacing & compact hatched shadows (zero x-overflow) */
  .sketch-wave-divider {
    margin: 34px auto 26px;
  }
  .project-card::after,
  .writing-board::after,
  .postcard::after,
  .article-lead-wrap::after,
  .article-callout::after,
  .article-diagram::after,
  .article-series-sheet::after,
  .not-found-card::after {
    inset: 5px -5px -5px 5px;
  }
  .sketch-tape {
    right: -4px;
    width: 44px;
    height: 15px;
  }
  .project-head-grid {
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 8px;
  }
  .project-sketch {
    width: 76px;
    height: 50px;
  }
  .binder-top-tabs {
    padding-left: 8px;
    gap: 4px;
  }
  .binder-stub {
    padding: 6px 9px 6px;
    font-size: 12px;
    white-space: nowrap;
  }
  .binder-stub.is-active {
    padding: 7px 10px 7px;
  }
  .binder-stub-count {
    display: none;
  }
  /* Writing notebook rows mobile */
  .article-row {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 4px 8px;
    padding: 12px 2px;
  }
  .article-row-meta {
    grid-column: 2;
    padding-top: 2px;
  }
  .article-row-sub {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* Contact Postcard mobile */
  .contact {
    margin-top: 24px;
    padding-bottom: 48px;
  }
  .postcard-stage {
    margin-top: 24px;
  }
  .postcard-stage::before {
    display: none;
  }
  .postcard {
    grid-template-columns: 1fr;
    transform: rotate(0deg);
  }
  .postcard:hover {
    transform: none;
  }
  .postcard-tape {
    left: 24px;
    width: 56px;
    height: 16px;
  }
  .postcard-main {
    padding: 26px 20px 22px;
  }
  .postcard-spark {
    left: 10px;
    bottom: -15px;
    font-size: 26px;
  }
  .postcard-right {
    border-left: 0;
    border-top: 1.5px dashed rgba(37, 37, 35, 0.36);
    padding: 18px 20px 22px;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    border-radius: 0 0 10px 10px;
  }
  .stamp-cluster {
    order: 2;
    flex: none;
    padding: 0;
  }
  .stamp {
    width: 72px;
    padding: 5px;
    transform: rotate(5deg);
  }
  .stamp-inner {
    padding: 6px 4px 5px;
  }
  .stamp-spark {
    font-size: 16px;
  }
  .stamp-brand {
    margin-top: 3px;
    font-size: 11px;
  }
  .stamp-meta {
    font-size: 8px;
  }
  .postmark-svg {
    display: none;
  }
  .postcard-lines {
    order: 1;
    flex: 1;
    margin-top: 0;
    gap: 7px;
  }
  .footer {
    flex-wrap: wrap;
    padding-bottom: 108px;
  }
  .footer > span {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .project-card {
    padding: 18px 16px 15px;
  }
  .stream-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .folder-tab {
    margin-left: 12px;
    padding: 5px 12px 4px;
    font-size: 10.5px;
  }
  .contact-actions {
    align-items: stretch;
  }
  .contact-actions .primary {
    width: 100%;
    justify-content: center;
  }
  .blog-article {
    font-size: 15.5px;
  }
  .article-meta {
    margin-left: 0;
    width: 100%;
  }
  .article-lead-wrap {
    padding: 18px 18px 16px;
  }
  .article-header-spark {
    right: 2px;
    font-size: 18px;
  }
  .article-toc {
    padding: 22px 16px 16px;
  }
  .article-toc ol,
  .article-grid,
  .article-stats,
  .article-concepts,
  .article-footer-pager {
    grid-template-columns: 1fr;
  }
  .article-series-head {
    padding: 16px 16px 14px;
  }
  .article-series ol {
    padding: 8px 8px 10px;
  }
  .article-nav-next {
    text-align: left;
  }
  .article-diagram {
    padding: 16px 12px 14px;
  }
  .diagram-zoom {
    top: 8px;
    right: 8px;
    padding: 3px 10px;
    font-size: 10.5px;
  }
  .diagram-hint {
    display: inline-block;
  }
  .table-hint {
    display: block;
  }
  .diagram-scroll svg {
    min-width: 640px;
  }
  .not-found {
    padding: 40px 0 72px;
  }
  .not-found-card {
    padding: 30px 20px 26px;
  }
  dialog {
    padding: 28px 22px 24px;
    box-shadow: 5px 5px 0 var(--ink);
  }
  dialog h2 {
    font-size: 22px;
  }
  .buddy {
    right: 8px;
    width: 78px;
    height: 92px;
  }
  .buddy-spark {
    font-size: 16px;
  }
}

@media (max-width: 540px) {
  .hero h1 {
    font-size: clamp(54px, 16.5vw, 80px);
    margin: 0 0 18px;
  }
  .role {
    font-size: 13px;
    min-width: 196px;
    min-height: 40px;
    padding: 0 16px;
  }
  .role-arrow {
    width: 33px;
    height: 33px;
  }
  .hero-copy {
    line-height: 1.9;
    margin: 20px 0 24px;
  }
  .hero-actions {
    gap: 16px;
  }
  .hero-visual {
    height: 245px;
  }
  .hero-photo {
    width: 224px;
    padding: 7px;
  }
  .float-note {
    font-size: 12px;
    bottom: 24px;
    padding: 10px 16px 22px 12px;
  }
  .float-note .ico {
    width: 11px;
    height: 11px;
    right: 7px;
    bottom: 6px;
  }
  .spark {
    font-size: 44px;
  }
}

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