@charset "UTF-8";
/* Rubber Ducky — design tokens */
:root {
  --paper: oklch(0.985 0.012 95);
  --paper-warm: oklch(0.96 0.025 90);
  --paper-sun: oklch(0.93 0.06 92);
  --paper-sky: oklch(0.94 0.04 230);
  --paper-deep: oklch(0.89 0.03 90);
  --ink: oklch(0.24 0.03 260);
  --ink-soft: oklch(0.42 0.04 260);
  --ink-mute: oklch(0.6 0.03 260);
  --ink-faint: oklch(0.78 0.02 260);
  --rule: oklch(0.86 0.02 80);
  --duck: oklch(0.87 0.17 92);
  --duck-deep: oklch(0.72 0.19 75);
  --sky: oklch(0.7 0.14 230);
  --sky-deep: oklch(0.55 0.15 240);
  --poppy: oklch(0.66 0.2 28);
  --mint: oklch(0.82 0.1 155);
  --font-display: "Shrikhand", "Georgia", serif;
  --font-body: "Lora", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --serif: var(--font-body);
  --sans: "Inter", "Helvetica Neue", system-ui, sans-serif;
  --mono: var(--font-mono);
  --step--2: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --step--1: clamp(0.82rem, 0.78rem + 0.2vw, 0.9rem);
  --step-0: clamp(0.96rem, 0.92rem + 0.2vw, 1.05rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem);
  --step-3: clamp(2rem, 1.6rem + 1.5vw, 2.8rem);
  --step-4: clamp(2.8rem, 2.2rem + 2.5vw, 4.2rem);
  --step-5: clamp(3.8rem, 2.8rem + 4vw, 6rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px oklch(0.2 0.01 60 / 0.06), 0 12px 24px oklch(0.2 0.01 60 / 0.14);
  --shadow-md: 0 2px 4px oklch(0.2 0.01 60 / 0.06), 0 18px 40px oklch(0.2 0.01 60 / 0.12);
  --shadow-lg: 0 2px 4px oklch(0.2 0.01 60 / 0.06), 0 24px 48px oklch(0.2 0.01 60 / 0.14);
  --shadow-hover: 0 8px 20px oklch(0.2 0.01 60 / 0.08);
  --shadow-hover-lift: 0 18px 32px oklch(0.2 0.01 60 / 0.12);
  --motion-fast: 0.14s;
  --motion-med: 0.2s;
  --card-min-sm: 160px;
  --card-min-md: 260px;
}

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

html, body {
  overflow-x: hidden;
}

html, body {
  font-family: var(--font-body);
}

body {
  position: relative;
  color: var(--ink);
  background: radial-gradient(1200px 600px at 85% -10%, oklch(94% 0.06 92deg), transparent 60%), var(--paper);
  background-attachment: fixed;
  font-size: 18px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 0.95;
}

h3, h4 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.005em;
}

em, i {
  font-style: italic;
}

.main {
  position: relative;
}

.site-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40vh;
  z-index: -1;
  pointer-events: none;
  background: url("/assets/images/hero/home.jpg") center bottom/cover no-repeat;
  opacity: 0.18;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 100%);
  mask-image: linear-gradient(to top, #000 0%, transparent 100%);
}

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

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

.mono {
  font-family: var(--mono);
}

.smallcaps {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--step--2);
  font-weight: 600;
}

/* Rubber Ducky — shared component system
   Reusable base classes used across page partials. Page-specific variants
   stay in their own partials and layer on top. */
/* .intro — lead paragraph under a page head */
.intro {
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1.35;
  color: var(--ink-soft);
  max-width: 34ch;
  margin: 0 0 48px;
}

.intro em {
  color: var(--duck-deep);
}

.intro--wide {
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 54ch;
  margin: 20px 0 0;
}

.intro--sm {
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 44ch;
  margin: 0 0 40px;
}

/* Decorative em for the commonplace blurb — highlighter gradient */
.intro--highlight em {
  background: linear-gradient(to top, var(--duck) 0 40%, transparent 40%);
  padding: 0 4px;
  font-style: italic;
  color: var(--ink);
}

/* .card-link — bordered row link; translateX on hover */
.card-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: all var(--motion-fast);
  text-decoration: none;
  color: inherit;
}

.card-link:hover {
  border-color: var(--ink);
  transform: translateX(4px);
  background: var(--paper-sun);
}

.card-link .arrow {
  color: var(--duck-deep);
  font-size: 1.2rem;
}

.card-link--warm:hover {
  background: var(--paper-warm);
}

.card-link--block {
  display: block;
}

.card-link--grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.card-link--lift:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  background: var(--paper);
}

/* .masthead — full-width image container (16:7) */
.masthead {
  aspect-ratio: 16/7;
  overflow: hidden;
  position: relative;
}

.masthead > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.masthead--contained {
  margin: 32px 0 0;
  border-radius: var(--radius-lg);
}

/* .label — mono uppercase tiny text */
.label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.66rem;
  color: var(--ink-mute);
  line-height: 1.3;
}

.label--ink {
  color: var(--ink);
}

.label--soft {
  color: var(--ink-soft);
}

.label--faint {
  color: var(--ink-faint);
}

/* Pill-shaped label with a solid background tone */
.label--tag {
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--paper-warm);
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}

.label--tag.sky {
  background: var(--paper-sky);
  color: var(--sky-deep);
}

.label--tag.ruby {
  background: oklch(90% 0.08 25deg);
  color: oklch(40% 0.15 25deg);
}

.label--tag.code {
  background: oklch(90% 0.06 230deg);
  color: oklch(40% 0.14 240deg);
}

.label--tag.travel {
  background: oklch(90% 0.08 155deg);
  color: oklch(40% 0.12 160deg);
}

.label--tag.essay {
  background: oklch(90% 0.08 92deg);
  color: oklch(40% 0.14 80deg);
}

/* Count-style label: full-radius pill, no uppercase */
.label--count {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper-warm);
  font-size: 0.72rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink-faint);
  font-family: var(--mono);
}

/* .pill — interactive rounded badge (filter chips, action buttons) */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--paper);
  cursor: pointer;
  transition: all var(--motion-fast);
  text-decoration: none;
}

.pill:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}

.pill.on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.pill.on.duck {
  background: var(--duck-deep);
  border-color: var(--duck-deep);
}

.pill--invert:hover {
  background: var(--ink);
  color: var(--paper);
  transform: none;
}

/* Horizontal row wrapper used alongside pills / chips */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* .card-grid — responsive auto-fill grid for card collections */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--card-min, 240px), 1fr));
  gap: 24px;
}

.card-grid--sm {
  --card-min: var(--card-min-sm);
  gap: 40px 24px;
}

.card-grid--md {
  --card-min: var(--card-min-md);
}

/* .masonry-grid — CSS-columns waterfall for photo collections */
.masonry-grid {
  columns: 3;
  column-gap: 14px;
}

@media (max-width: 900px) {
  .masonry-grid {
    columns: 2;
  }
}
@media (max-width: 600px) {
  .masonry-grid {
    columns: 1;
  }
}
/* .card-title — small serif title inside card collections */
.card-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.25;
  margin: 0 0 6px;
  font-weight: 400;
}

/* .meta-row — small, muted flex row for dates / counts / stats */
.meta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: var(--ink-mute);
}

.meta-row--spread {
  justify-content: space-between;
}

.meta-row--mono {
  font-family: var(--mono);
}

.app {
  min-height: 100vh;
}

.main {
  padding: 0;
  min-width: 0;
  margin-left: 260px;
}

@media (max-width: 900px) {
  .main {
    margin-left: 0;
  }
}
.sidebar {
  padding: 32px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  border-right: 1px dashed var(--rule);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--paper-sun);
  transition: transform 0.2s cubic-bezier(0.2, 1.6, 0.4, 1);
  cursor: pointer;
  text-decoration: none;
}

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

.brand-duck {
  font-size: 1.5rem;
  line-height: 1;
  transform: translateY(-1px);
  filter: drop-shadow(0 2px 0 oklch(72% 0.19 75deg / 0.3));
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

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

.nav-group + .nav-group {
  margin-top: 10px;
}

.nav-label {
  margin-bottom: 6px;
  padding-left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-item {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.14s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
}

.nav-item:hover {
  background: var(--paper-warm);
  color: var(--ink);
}

.nav-item.active {
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
}

.sidebar-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 14px 0;
  border-top: 1px dashed var(--rule);
}

.sidebar-socials {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.soc-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: transform 0.14s;
  text-decoration: none;
}

.soc-btn:hover {
  transform: translateY(-2px);
  color: var(--ink);
}

.sidebar-have-nice-day {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-align: center;
}

.sidebar-topbar {
  display: contents;
}

.sidebar-hamburger {
  display: none;
}

/* Mobile */
@media (max-width: 900px) {
  .sidebar {
    position: sticky;
    top: 0;
    left: auto;
    width: auto;
    height: auto;
    border-right: 0;
    border-bottom: 1px dashed var(--rule);
    z-index: 100;
    gap: 0;
    padding: 0;
  }
  .sidebar-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 0;
  }
  .sidebar-topbar .brand {
    flex: 1;
  }
  .sidebar-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
  }
  .sidebar-hamburger span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
    transform-origin: center;
  }
  .sidebar-hamburger[aria-expanded=true] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .sidebar-hamburger[aria-expanded=true] span:nth-child(2) {
    opacity: 0;
  }
  .sidebar-hamburger[aria-expanded=true] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .sidebar-nav {
    display: none;
    flex-direction: column;
    gap: 24px;
    padding: 16px 24px 24px;
    border-top: 1px dashed var(--rule);
    overflow-y: auto;
    max-height: calc(100vh - 64px);
  }
  .sidebar-footer {
    display: none;
    margin-top: 0;
  }
  .sidebar.open .sidebar-nav {
    display: flex;
  }
  .sidebar.open .sidebar-footer {
    display: flex;
  }
}
.page-head {
  padding: 56px 64px 40px;
  position: relative;
}

.page-head::after {
  content: "";
  position: absolute;
  left: 64px;
  right: 64px;
  bottom: 0;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--ink) 0 6px, transparent 6px 12px);
  opacity: 0.25;
}

.page-title {
  font-family: var(--font-display);
  font-size: var(--step-5);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 400;
}

.page-title em {
  font-style: italic;
  color: var(--duck-deep);
}

.page-body {
  padding: 48px 64px 80px;
}

@media (max-width: 900px) {
  .page-head {
    padding-left: 28px;
    padding-right: 28px;
  }
  .page-head::after {
    left: 28px;
    right: 28px;
  }
  .page-body {
    padding-left: 28px;
    padding-right: 28px;
  }
}
@media (max-width: 560px) {
  .page-title {
    font-size: clamp(2.4rem, 11vw, 3.8rem);
  }
}
/* Chips / filters — see .pill in _system.scss */
.home-bio {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 72px;
  padding: 80px 64px 48px;
  align-items: start;
}

.home-bio-hello {
  font-family: var(--font-display);
  font-size: var(--step-5);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  font-weight: 400;
}

.home-bio-hello em {
  font-style: italic;
}

.home-bio-hello .wink {
  display: inline-block;
  transform: rotate(8deg);
}

.home-bio-lead {
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1.3;
  margin: 0 0 20px;
  max-width: 24ch;
}

.home-bio-hl {
  background: linear-gradient(to top, var(--duck) 0 40%, transparent 40%);
  padding: 0 4px;
  font-style: italic;
  text-decoration: none;
  color: inherit;
}

.home-bio-sub {
  font-size: var(--step-0);
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 0 0 36px;
}

.home-bio-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-bio-link {
  padding: 14px 18px;
  font-family: var(--serif);
  font-size: 1.1rem;
}

.home-bio-link .arrow {
  font-family: var(--sans);
}

.home-portrait {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
  transform: rotate(2deg);
  transition: transform 0.3s;
}

.home-portrait:hover {
  transform: rotate(0deg);
}

.home-portrait-wrap {
  background: var(--paper);
  padding: 14px 14px 48px;
  box-shadow: var(--shadow-md);
}

.home-portrait-wrap img {
  width: 100%;
  display: block;
}

.home-portrait-cap {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.home-portrait-tape {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 90px;
  height: 22px;
  background: oklch(93% 0.08 92deg / 0.7);
  border: 1px dashed oklch(72% 0.1 80deg / 0.5);
}

@media (max-width: 900px) {
  .home-bio {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 28px 32px;
  }
}
.writing-toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 32px;
  padding: 12px 16px;
  background: var(--paper-warm);
  border-radius: var(--radius);
  flex-wrap: wrap;
}

.writing-year {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: start;
}

.writing-year-posts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.writing-post {
  padding: 18px 20px;
}

.writing-post.starred {
  background: linear-gradient(to right, oklch(96% 0.06 92deg) 0%, var(--paper) 40%);
  border-color: var(--duck);
}

.writing-post-title {
  font-size: 1.3rem;
}

.writing-post-star {
  color: var(--duck-deep);
  margin-right: 8px;
}

.writing-post-read {
  padding: 8px 12px;
  color: var(--ink-mute);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .writing-year {
    grid-template-columns: 80px 1fr;
  }
}
.book {
  text-decoration: none;
  color: inherit;
  display: block;
}

.book--linked {
  cursor: pointer;
}

.book-cover {
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.2, 1.6, 0.4, 1);
  position: relative;
  aspect-ratio: 2/3;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book--linked:hover .book-cover {
  transform: translateY(-6px) rotate(-1.5deg);
}

.book-notes-badge {
  position: absolute;
  top: 18px;
  right: -28px;
  width: 100px;
  background: var(--duck);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: center;
  padding: 4px 0;
  transform: rotate(45deg);
  box-shadow: 0 2px 6px oklch(20% 0.01 60deg / 0.25);
}

.book-author {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
  font-style: italic;
}

.book-foot {
  font-size: 0.72rem;
}

.book-rating {
  color: var(--duck-deep);
}

.book-year {
  font-family: var(--mono);
}

.playing-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.playing-group {
  margin-bottom: 56px;
}

.playing-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px dashed var(--rule);
}

.playing-group-label {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-style: italic;
  color: var(--duck-deep);
}

.game {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule);
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.game:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: var(--shadow-hover-lift);
  border-color: var(--ink);
}

@keyframes sparkle-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 transparent, 0 0 14px 3px oklch(75% 0.19 55deg / 0.5), 0 0 28px 6px oklch(87% 0.17 92deg / 0.25);
    border-color: oklch(78% 0.2 60deg);
  }
  33% {
    box-shadow: 0 0 0 2px oklch(85% 0.18 75deg / 0.6), 0 0 22px 8px oklch(75% 0.19 55deg / 0.55), 0 0 40px 12px oklch(87% 0.17 92deg / 0.3);
    border-color: oklch(88% 0.2 78deg);
  }
  66% {
    box-shadow: 0 0 0 1px oklch(72% 0.22 45deg / 0.5), 0 0 18px 5px oklch(80% 0.2 65deg / 0.5), 0 0 34px 10px oklch(75% 0.19 55deg / 0.28);
    border-color: oklch(72% 0.22 48deg);
  }
}
.game--fav {
  border-width: 2px;
  border-color: oklch(78% 0.2 60deg);
  animation: sparkle-pulse 2.4s ease-in-out infinite;
}

.game--fav:hover {
  box-shadow: var(--shadow-hover-lift), 0 0 0 2px oklch(85% 0.2 72deg / 0.7), 0 0 28px 10px oklch(78% 0.2 60deg / 0.5);
  border-color: oklch(88% 0.2 75deg);
  animation: none;
}

.game-cover {
  position: relative;
}

.game-cover img {
  width: 100%;
  display: block;
}

.game-fav {
  position: absolute;
  top: 10px;
  right: 12px;
  background: var(--duck);
  color: var(--ink);
  font-size: 0.8rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 6px oklch(20% 0.01 60deg / 0.3);
}

.game-meta {
  padding: 14px 16px;
}

.game-foot {
  font-size: 0.74rem;
}

.game-hours {
  color: var(--sky-deep);
  font-weight: 500;
}

.photo-series {
  break-inside: avoid;
  overflow: hidden;
  transition: transform 0.2s;
  display: block;
  text-decoration: none;
  position: relative;
  margin-bottom: 14px;
}

.photo-series:hover {
  transform: scale(1.015);
}

.photo-series img {
  width: 100%;
  display: block;
}

.photo-series-placeholder {
  width: 100%;
  aspect-ratio: 3/2;
  background: var(--paper-deep);
}

.photo-series-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, oklch(15% 0.02 60deg / 0.85), transparent);
  color: var(--paper);
}

.photo-series-meta {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: oklch(95% 0.03 80deg / 0.95);
  color: var(--ink);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.photo-series-title {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.photo-series.big .photo-series-title {
  font-size: 2.6rem;
}

/* Dance gallery */
.dance-grid {
  margin-top: 32px;
}

.dance-photo {
  margin: 0 0 14px;
  break-inside: avoid;
  overflow: hidden;
}

.dance-photo img {
  width: 100%;
  display: block;
}

.photoblog-set {
  margin-bottom: 56px;
}

/* Runs of single-image notes flow into a shared flex stream */
.photoblog-singles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.photoblog-set-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.photoblog-set-label {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--ink);
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.photoblog-set-label::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--duck);
  border-radius: 50%;
  transform: translateY(-2px);
  flex-shrink: 0;
}

.photoblog-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.photoblog-frame {
  margin: 0;
  flex: none;
}

.photoblog-frame a {
  display: block;
}

.photoblog-frame img {
  height: 280px;
  width: auto;
  display: block;
}

@media (max-width: 560px) {
  .photoblog-frame {
    flex: 1 1 100%;
  }
  .photoblog-frame img {
    width: 100%;
    height: auto;
  }
}
.commonplace-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cp-title {
  line-height: 1.3;
}

.cp-meta {
  gap: 14px;
  font-size: 0.78rem;
}

.cp-source {
  font-style: italic;
}

.cp-read {
  font-family: var(--mono);
  color: var(--ink-faint);
  font-size: 0.7rem;
}

/* Post head (not shared page-head) */
.post-head {
  padding: 56px 64px 0;
  position: relative;
}

.post-crumbs {
  margin-bottom: 24px;
}

.post-crumbs .cur {
  color: var(--duck-deep);
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin: 0 0 36px;
  font-weight: 400;
  max-width: 20ch;
}

.post-title em {
  font-style: italic;
  color: var(--duck-deep);
}

.post-byline {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}

.post-byline-pill {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 0.85rem;
}

.post-byline-label {
  margin-bottom: 4px;
}

/* Article body */
.post-article {
  padding: 64px 64px 96px;
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.65;
  color: var(--ink);
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.post-article p {
  margin-bottom: 1.3em;
}

.post-article a {
  color: var(--sky-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-article a:hover {
  color: var(--sky);
}

.text-center {
  text-align: center;
}

/* Dropcap */
.post-dropcap::first-letter {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.9;
  float: left;
  margin: 6px 14px 0 0;
  color: var(--duck-deep);
  font-style: italic;
}

/* Headings */
.post-article h2 {
  font-family: var(--serif);
  font-size: 2rem;
  margin: 3rem 0 1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--duck-deep);
}

.post-article h2::before {
  content: "§";
  display: inline-block;
  margin-right: 10px;
  color: var(--sky-deep);
  font-style: normal;
}

.post-article h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
}

/* Lists */
.post-article ul,
.post-article ol {
  margin-bottom: 1.6em;
  line-height: 1.6;
  padding-left: 1.4em;
}

/* Images + figures — full article width, escaping the text max-width */
.post-article figure {
  /* Pull out to article edges, past the max-width text column */
  width: 100%;
  max-width: none;
  margin: 2rem auto;
  overflow: hidden;
}

.post-article figure img {
  width: 100%;
  display: block;
}

.post-article figcaption {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin: 10px 4px 0;
  text-align: center;
}

/* Images escape the text column via self-centering trick */
.post-article > p img.image-overflow {
  margin-left: 50%;
  transform: translateX(-50%);
  max-height: 90vh;
  margin-top: 1em;
  max-width: 150%;
  display: block;
}

@media (min-width: 992px) {
  .post-article > p img.image-overflow {
    max-width: 200%;
  }
}
.post-article .image-caption {
  display: block;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink);
  margin-top: 10px;
}

.post-end {
  margin: 3rem 0 1rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--duck-deep);
  font-size: 1.4rem;
}

/* Blockquote (for commonplace) */
.post-article blockquote {
  border-left: 4px solid var(--duck);
  padding: 16px 20px;
  background: var(--paper-warm);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1.3em;
  font-style: italic;
}

.post-article blockquote p {
  margin: 0;
  max-width: none;
}

/* Post navigation */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 64px 64px;
  border-top: 1px dashed var(--rule);
}

.post-nav-link {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-nav-link:hover {
  color: var(--ink);
}

@media (max-width: 900px) {
  .post-head {
    padding: 32px 28px 0;
  }
  .post-article {
    padding: 32px 28px 64px;
  }
  .post-nav {
    padding: 24px 28px 48px;
    flex-direction: column;
  }
}
.microblog-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.microblog-entry {
  padding: 28px 0;
  border-bottom: 1px dashed var(--rule);
}

.microblog-entry:last-child {
  border-bottom: none;
}

.microblog-date {
  margin-bottom: 10px;
}

.microblog-body {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink);
  text-decoration: none;
  display: block;
}

.microblog-title {
  margin-bottom: 4px;
  color: var(--ink);
  text-decoration: none;
}

.microblog-title:hover {
  color: var(--duck-deep);
}

/* Photobook */
.photobook-body {
  text-align: center;
}

.photobook-links {
  margin-bottom: 40px;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 2;
}

.photobook-links a {
  color: var(--duck-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.photobook-cover {
  max-height: 520px;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Projects */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
}

.project-link {
  font-family: var(--serif);
  font-size: 1.15rem;
}

/* 404 */
.error-page {
  padding: 80px 64px;
}

.error-404 {
  font-family: var(--serif);
  font-size: clamp(6rem, 20vw, 14rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 400;
  color: var(--duck-deep);
  font-style: italic;
  margin-bottom: 24px;
}

.error-msg {
  font-family: var(--serif);
  font-size: var(--step-2);
  color: var(--ink-soft);
  max-width: 28ch;
  line-height: 1.4;
  margin-bottom: 32px;
}

.error-back {
  gap: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--ink);
  padding: 10px 20px;
}

/* Kitchen sink helpers */
.ks-section {
  margin-bottom: 80px;
  padding-bottom: 40px;
  border-bottom: 1px dashed var(--rule);
}

.ks-heading {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ks-heading::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--duck);
}

.ks-swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.ks-swatch {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  display: flex;
  align-items: flex-end;
  padding: 6px;
}

.ks-swatch-label {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  text-transform: uppercase;
  line-height: 1;
}

.ks-type-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ks-type-sample {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.ks-type-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--ink-mute);
  width: 80px;
  flex-shrink: 0;
}

/* Book notes (detailed) */
.book-notes-quote {
  border-left: 4px solid var(--duck);
  padding: 16px 20px;
  background: var(--paper-warm);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 8px;
}

.book-notes-note {
  background: var(--paper-sky);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.book-notes-page {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-faint);
  text-align: right;
  margin-bottom: 32px;
}

.book-notes-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Code blocks */
pre, code {
  font-family: var(--mono);
  font-size: 0.88rem;
}

pre {
  background: var(--ink);
  color: var(--paper);
  padding: 20px 24px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 1.5rem 0;
}

code {
  background: var(--paper-warm);
  color: var(--duck-deep);
  padding: 2px 6px;
  border-radius: 4px;
}

pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* pre.highlight breaks out of the article padding */
.post-article pre.highlight {
  margin-left: -64px;
  margin-right: -64px;
  border-radius: 0;
}

@media (max-width: 900px) {
  .post-article pre.highlight {
    margin-left: -28px;
    margin-right: -28px;
  }
}
/* Syntax highlighting — dark theme (Pygments/Rouge token classes) */
.highlight .c, .highlight .c1, .highlight .cm, .highlight .cs {
  color: oklch(62% 0.05 240deg);
  font-style: italic;
} /* comments */
.highlight .k, .highlight .kd, .highlight .kn, .highlight .kr {
  color: oklch(75% 0.14 230deg);
} /* keywords */
.highlight .kc, .highlight .kt {
  color: oklch(75% 0.14 230deg);
  font-style: italic;
} /* keyword constants/types */
.highlight .s, .highlight .s1, .highlight .s2, .highlight .sb, .highlight .sc {
  color: oklch(82% 0.12 92deg);
} /* strings — duck yellow */
.highlight .si, .highlight .sx {
  color: oklch(78% 0.15 80deg);
} /* string interpolation */
.highlight .se {
  color: oklch(78% 0.15 80deg);
  font-weight: bold;
} /* string escape */
.highlight .n, .highlight .nx {
  color: oklch(93% 0.015 95deg);
} /* names */
.highlight .na {
  color: oklch(78% 0.12 155deg);
} /* attribute names — mint */
.highlight .nb {
  color: oklch(75% 0.14 230deg);
} /* builtins */
.highlight .nc {
  color: oklch(82% 0.12 92deg);
  font-weight: bold;
} /* class names */
.highlight .nd {
  color: oklch(78% 0.12 155deg);
} /* decorators */
.highlight .nf, .highlight .fm {
  color: oklch(78% 0.12 155deg);
} /* function names — mint */
.highlight .ni {
  color: oklch(93% 0.015 95deg);
  font-weight: bold;
} /* entity names */
.highlight .nn {
  color: oklch(82% 0.12 92deg);
} /* namespaces */
.highlight .nt {
  color: oklch(75% 0.14 230deg);
} /* tag names */
.highlight .nv, .highlight .vi, .highlight .vc {
  color: oklch(93% 0.015 95deg);
} /* variables */
.highlight .o, .highlight .ow {
  color: oklch(75% 0.14 230deg);
} /* operators */
.highlight .p {
  color: oklch(72% 0.03 260deg);
} /* punctuation */
.highlight .mi, .highlight .il {
  color: oklch(82% 0.14 28deg);
} /* integers — poppy */
.highlight .mf, .highlight .mh, .highlight .mb, .highlight .mo {
  color: oklch(82% 0.14 28deg);
} /* other number literals */
.highlight .l, .highlight .ld {
  color: oklch(82% 0.12 92deg);
} /* literals */
.highlight .cp {
  color: oklch(78% 0.12 155deg);
} /* preprocessor */
.highlight .err {
  color: oklch(66% 0.2 28deg);
} /* errors — poppy */
.highlight .w {
  color: transparent;
} /* whitespace tokens */

/*# sourceMappingURL=main.css.map */