@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');
@import url('https://unpkg.com/@phosphor-icons/web@2.1.1/src/regular/style.css');

:root {
  --paper: #faf9f2;
  --ink: #1a1a1a;
  --muted: #6e6e6e;
  --subtle: #efeadd;
  --accent: #c94a3b;
  --border-w: 2.5px;
  --radius-a: 18px 4px 14px 6px / 5px 16px 4px 15px;
  --radius-b: 6px 16px 4px 14px / 14px 4px 16px 5px;
  --radius-c: 10px 22px 6px 18px / 18px 6px 22px 8px;
  --font-display: 'Shantell Sans', 'Segoe Print', 'Bradley Hand', cursive;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', Menlo, monospace;
  color-scheme: light;
}

[data-theme="dark"] {
  --paper: #121210;
  --ink: #f0efe6;
  --muted: #8c8c83;
  --subtle: #24221e;
  --accent: #e88a7e;
  color-scheme: dark;
}

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

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
}

main { flex: 1; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

button { font-family: inherit; font-size: inherit; color: inherit; background: transparent; border: 0; cursor: pointer; }

input { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
}

h1 { font-size: clamp(1.9rem, 4.8vw, 2.6rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); margin-bottom: 0.65rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
h4 { font-size: 1rem; }

p { margin-bottom: 1rem; }

code, kbd, pre, samp { font-family: var(--font-mono); font-size: 0.92em; }

code {
  background: var(--subtle);
  padding: 0.12em 0.4em;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
}

pre {
  background: var(--subtle);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-b);
  padding: 1rem 1.1rem;
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
}

pre code {
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
}

.codeblock {
  position: relative;
  margin: 1rem 0 1.25rem;
}
.codeblock pre.shiki,
.codeblock pre {
  background: var(--subtle) !important;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-b);
  padding: 1rem 1.1rem;
  overflow-x: auto;
  margin: 0;
}
.shiki,
.shiki span {
  color: var(--shiki-light);
  background-color: transparent !important;
}
[data-theme="dark"] .shiki,
[data-theme="dark"] .shiki span {
  color: var(--shiki-dark);
}
.codeblock .copy-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  width: 1.9rem;
  height: 1.9rem;
  padding: 0;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.15s, color 0.15s, border-color 0.15s;
  z-index: 1;
  line-height: 1;
}
.codeblock .copy-btn i { font-size: 0.95rem; }
.codeblock .copy-btn .copy-done { display: none; }
.codeblock .copy-btn.copied .copy-idle { display: none; }
.codeblock .copy-btn.copied .copy-done { display: inline-block; }
.codeblock:hover .copy-btn,
.codeblock .copy-btn:focus-visible { opacity: 1; }
.codeblock .copy-btn:hover { background: var(--subtle); }
.codeblock .copy-btn.copied { border-color: var(--accent); color: var(--accent); opacity: 1; }

blockquote {
  border-left: var(--border-w) solid var(--ink);
  padding: 0.3rem 1rem;
  color: var(--muted);
  font-style: italic;
  margin: 1rem 0;
}

hr {
  border: 0;
  border-top: var(--border-w) solid var(--ink);
  margin: 2rem 0;
}

.wrap { max-width: 48rem; margin: 0 auto; padding: 1.75rem 1.25rem 4rem; }
.wrap-wide { max-width: 64rem; margin: 0 auto; padding: 1.75rem 1.25rem 4rem; }

.site-nav {
  border-bottom: var(--border-w) solid var(--ink);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-nav-inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.site-nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  margin-right: auto;
}

.site-nav-links {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}

.site-nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  padding: 0.2rem 0.1rem;
  border-bottom: var(--border-w) solid transparent;
  font-size: 0.95rem;
}

.site-nav-links a[aria-current="page"] { border-bottom-color: var(--accent); }

.theme-toggle {
  border: var(--border-w) solid var(--ink);
  border-radius: 50%;
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  padding: 0;
}
.theme-toggle:hover { background: var(--subtle); color: var(--ink); }
.theme-toggle i { font-size: 1.05rem; line-height: 1; }
.theme-toggle .ph-sun { display: none; }
[data-theme="dark"] .theme-toggle .ph-sun { display: inline-block; }
[data-theme="dark"] .theme-toggle .ph-moon { display: none; }

.menu-check { position: absolute; opacity: 0; pointer-events: none; }
.menu-toggle {
  display: none;
  border: var(--border-w) solid var(--ink);
  padding: 0.3rem 0.5rem;
  border-radius: 8px;
  color: var(--ink);
  line-height: 0;
}
.menu-toggle i { font-size: 1.2rem; }

@media (max-width: 640px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: var(--border-w) solid var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    display: none;
    padding: 0.25rem 0;
  }
  .menu-check:checked ~ .site-nav-links { display: flex; }
  .site-nav-links a {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--subtle);
  }
  .site-nav-links a[aria-current="page"] {
    border-bottom-color: var(--subtle);
    color: var(--accent);
  }
  .site-nav-links .theme-toggle { margin: 0.5rem 1.25rem; align-self: flex-start; }
}

.ph { display: inline-block; }

.box {
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-a);
  background: var(--paper);
  padding: 1.25rem;
}
.box--b { border-radius: var(--radius-b); }
.box--c { border-radius: var(--radius-c); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.65rem;
  border: var(--border-w) solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--ink);
  background: var(--paper);
  white-space: nowrap;
  line-height: 1.4;
}
.chip:hover { background: var(--subtle); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.tag-row { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.socials {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin: 1rem 0 2rem;
}
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border: var(--border-w) solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.9rem;
}
.socials a:hover { background: var(--subtle); color: var(--ink); }

.home-hero {
  padding-top: 0.75rem;
}
.home-hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3rem);
  margin-bottom: 0.5rem;
}
.home-hero .tagline {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}
.home-bio p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.home-latest-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 2rem 0 0.75rem;
}
.home-latest-head h2 { margin: 0; }
.home-latest-head a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--muted);
}
.home-latest-head a:hover { color: var(--accent); }

.writing-grid { display: grid; gap: 0.85rem; }

.writing-tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.2rem;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-a);
  background: var(--paper);
  transition: transform 0.15s ease;
}
.writing-tile:nth-child(even) { border-radius: var(--radius-b); }
.writing-tile:nth-child(3n) { border-radius: var(--radius-c); }
.writing-tile:hover { transform: translate(-1px, -2px); color: var(--ink); }
.writing-tile h3 { font-size: 1.15rem; margin: 0; }
.writing-tile p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.writing-tile .meta {
  display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center;
  color: var(--muted); font-size: 0.82rem;
  margin-top: 0.2rem;
}
.writing-tile .meta time { font-family: var(--font-display); }

.search-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}
.search {
  flex: 1;
  padding: 0.7rem 1rem;
  background: var(--paper);
  color: var(--ink);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-b);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}
.search:focus { border-color: var(--accent); }
.search::placeholder { color: var(--muted); }

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(160px, auto);
  gap: 0.85rem;
}
.bento-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 1rem 1.1rem;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-a);
  background: var(--paper);
  overflow: hidden;
  color: inherit;
  position: relative;
  transition: transform 0.18s ease;
}
.bento-tile:nth-child(3n) { border-radius: var(--radius-b); }
.bento-tile:nth-child(3n+1) { border-radius: var(--radius-c); }
.bento-tile:hover { transform: translate(-2px, -3px); color: var(--ink); }
.bento-tile h3 { font-size: 1.1rem; margin: 0; }
.bento-tile p { color: var(--muted); font-size: 0.88rem; margin: 0; }

.bento-tile .status {
  font-family: var(--font-display);
  font-size: 0.75rem;
  padding: 0.1rem 0.55rem;
  border: var(--border-w) solid var(--ink);
  border-radius: 999px;
  align-self: flex-start;
  white-space: nowrap;
}
.bento-tile .status.done { background: var(--ink); color: var(--paper); }

.bento-tile .bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: grayscale(100%) contrast(1.1);
  z-index: 0;
}
.bento-tile > *:not(.bg-img) { position: relative; z-index: 1; }

@media (max-width: 767px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-tile {
    grid-column: span 2 !important;
    grid-row: auto !important;
  }
}
@media (max-width: 519px) {
  .bento { grid-template-columns: 1fr; }
  .bento-tile {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
}

.shelf-section { margin-bottom: 3rem; }
.shelf-section-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.shelf-section-head h2 { margin: 0; }
.shelf-section-head i { font-size: 1.5rem; }

.book-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.book-panel { margin-top: 0.25rem; }

.shelf-year-group {
  margin-bottom: 0.25rem;
}
.shelf-year-group[open] { margin-bottom: 0.5rem; }

.shelf-year {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0.75rem 0 0.5rem;
  padding: 0.3rem 0 0.3rem 0.5rem;
  border-left: var(--border-w) solid var(--ink);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
}
.shelf-year::-webkit-details-marker { display: none; }
.shelf-year::before {
  content: '';
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-right: var(--border-w) solid var(--ink);
  border-bottom: var(--border-w) solid var(--ink);
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
  flex-shrink: 0;
}
.shelf-year-group[open] > .shelf-year::before {
  transform: rotate(45deg);
}

.book-row {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-a);
  margin-bottom: 0.75rem;
  background: var(--paper);
}
.book-row:nth-child(even) { border-radius: var(--radius-b); }
.book-row .cover {
  width: 110px;
  height: 160px;
  flex-shrink: 0;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-b);
  object-fit: cover;
  background: var(--subtle);
}
.book-row .cover-text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.book-row .info { flex: 1; min-width: 0; }
.book-row h4 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 0.1rem; }
.book-row .author { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.5rem; }
.book-status {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.08rem 0.5rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  white-space: nowrap;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}
.book-status.finished { background: var(--ink); color: var(--paper); }
.book-status.in-progress { background: transparent; border-style: dashed; }
.book-row .summary { font-size: 0.95rem; line-height: 1.55; }
.book-row .summary.clamped {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.expand-btn {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.88rem;
  padding: 0.4rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.book-quote {
  margin: 0.6rem 0 0;
  padding: 0.5rem 0.75rem;
  border-left: var(--border-w) solid var(--ink);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.book-quote i { font-style: normal; font-size: 0.85rem; margin-right: 0.15rem; }

.podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}
.podcast-card {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-b);
  background: var(--paper);
}
.podcast-card:nth-child(3n) { border-radius: var(--radius-c); }
.podcast-card .cover {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border: var(--border-w) solid var(--ink);
  border-radius: 14px;
  object-fit: cover;
  background: var(--subtle);
}
.podcast-card .info { flex: 1; min-width: 0; }
.podcast-card h4 { font-family: var(--font-display); font-size: 1rem; margin: 0; }
.podcast-card p { font-size: 0.85rem; color: var(--muted); margin: 0.2rem 0 0.4rem; }

.coffee-group { margin-bottom: 1.5rem; }
.coffee-group h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 1rem 0 0.5rem;
  padding-left: 0.5rem;
  border-left: var(--border-w) solid var(--ink);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.coffee-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-c);
  margin-bottom: 0.75rem;
  background: var(--paper);
}
.coffee-card:nth-child(even) { border-radius: var(--radius-a); }
.coffee-card .info { flex: 1; min-width: 0; }
.coffee-card h4 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 0.15rem; }
.coffee-card .place { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.4rem; font-family: var(--font-display); }

.coffee-gallery-trigger {
  position: relative;
  padding: 0;
  flex-shrink: 0;
  width: 140px;
  height: 120px;
  border: var(--border-w) solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  background: var(--subtle);
  cursor: pointer;
  transition: transform 0.15s;
}
.coffee-gallery-trigger:hover { transform: translate(-1px, -2px); }
.coffee-gallery-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.coffee-gallery-trigger .gallery-count {
  position: absolute;
  bottom: 0.3rem;
  left: 0.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  line-height: 1.2;
}

.coffee-address {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  margin: 0 0 0.5rem;
  border: 1.5px dashed var(--ink);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
  max-width: 100%;
}
.coffee-address:hover { background: var(--subtle); color: var(--accent); border-color: var(--accent); }
.coffee-address span { white-space: normal; }

@media (max-width: 520px) {
  .book-row, .coffee-card { flex-direction: column; }
  .book-row .cover { width: 100%; height: auto; max-height: 240px; aspect-ratio: 2/3; }
  .coffee-gallery-trigger { width: 100%; height: 180px; }
}

dialog.modal {
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-c);
  background: var(--paper);
  color: var(--ink);
  padding: 0;
  max-width: min(94vw, 920px);
  width: 100%;
  max-height: 94vh;
  overflow: hidden;
  position: fixed;
  inset: 0;
  margin: auto;
}
dialog.modal::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}
.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: 50%;
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--ink);
  cursor: pointer;
}
.modal-close:hover { background: var(--subtle); }
.modal-close i { font-size: 1rem; }

.modal-map-frame {
  width: 100%;
  height: min(70vh, 560px);
  border: 0;
  display: block;
}

.modal-gallery { background: var(--paper); }
.modal-gallery-img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  background: var(--subtle);
}
.modal-prev,
.modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  z-index: 2;
}
.modal-prev:hover, .modal-next:hover { background: var(--subtle); }
.modal-prev { left: 0.6rem; }
.modal-next { right: 0.6rem; }
.modal-gallery-counter {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.82rem;
  padding: 0.2rem 0.7rem;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: 999px;
  pointer-events: none;
}

.prose {
  font-size: 1.03rem;
  line-height: 1.75;
}
.prose h2 { margin: 2.25rem 0 0.75rem; }
.prose h3 { margin: 1.75rem 0 0.5rem; }
.prose a {
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transition: border-color 0.15s, color 0.15s;
}
.prose a:hover { border-bottom-color: var(--accent); color: var(--accent); }
.prose img {
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-a);
  margin: 1.25rem auto;
}
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: 1rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.3rem; }

.breadcrumb {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumb a:hover { color: var(--accent); }

.post-head {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: var(--border-w) solid var(--ink);
}
.post-head h1 { margin-bottom: 0.5rem; }
.post-head .meta {
  color: var(--muted);
  font-size: 0.9rem;
  font-family: var(--font-display);
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.watch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.watch-card {
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-a);
  overflow: hidden;
  background: var(--paper);
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
}
.watch-card:nth-child(even) { border-radius: var(--radius-b); }
.watch-card:nth-child(3n) { border-radius: var(--radius-c); }
.watch-card:hover { transform: translate(-1px, -2px); color: var(--ink); }
.watch-card .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--subtle);
  border-bottom: var(--border-w) solid var(--ink);
}
.watch-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.watch-card .thumb .dur {
  position: absolute;
  bottom: 0.45rem;
  right: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.12rem 0.4rem;
  border: var(--border-w) solid var(--ink);
  border-radius: 6px;
}
.watch-card .body { padding: 0.75rem 1rem; flex: 1; display: flex; flex-direction: column; gap: 0.3rem; }
.watch-card h3 { font-size: 1rem; margin: 0; }
.watch-card .meta { color: var(--muted); font-size: 0.8rem; font-family: var(--font-display); }

.muted { color: var(--muted); }
.hidden { display: none !important; }

.site-footer {
  border-top: var(--border-w) solid var(--ink);
  padding: 1.25rem;
  text-align: center;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.82rem;
  margin-top: 3rem;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
