/*
 * voiyu — theme styles.
 *
 * Tokens mirror myportfolio.voiyu.com: true black ground, cool off-white type,
 * one bone highlight. Light mode mirrors the warm off-white reference. The
 * theme is stamped on <html data-theme> before first paint; no attribute means
 * dark. Everything motion-related lives in assets/js/site.js; this file only
 * sets initial states and final states.
 */

:root {
  color-scheme: dark;

  --background: #000000;
  --foreground: #eaeef4;
  --muted: #8a8f98;
  --hairline: #1c1e22;
  --lit: #d8cfc0;
  --ring: #d8cfc0;

  /* Curtain: charcoal with a bone counter in both modes. */
  --curtain: #1e1d1b;
  --curtain-foreground: #d8cfc0;

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 80rem;
  --gutter: clamp(1.5rem, 4vw, 2.5rem);
  --measure: 68ch;
  --header-h: 4rem;
}

:root[data-theme="light"] {
  color-scheme: light;

  --background: #e7e2dc;
  --foreground: #141311;
  --muted: #5f5b53;
  --hairline: #cfc9c0;
  --lit: #3a342c;
  --ring: #3a342c;
}

/* Base ---------------------------------------------------------------- */

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

html {
  background: var(--background);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 300ms ease, color 300ms ease;
}

img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.1; }
p, figure { margin: 0; }
ul, ol { margin: 0; }

::selection { background: var(--lit); color: var(--background); }
:focus-visible { outline: 1px solid var(--ring); outline-offset: 4px; }

.screen-reader-text, .sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 1rem; left: 1rem; z-index: 200;
  width: auto; height: auto; margin: 0; padding: .75rem 1rem; clip: auto;
  background: var(--foreground); color: var(--background);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
}

/* Lenis base styles. */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Primitives ---------------------------------------------------------- */

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.hairline { border: 0; border-top: 1px solid var(--hairline); margin: 0; }

.mono, .section__label, .section__more, .pagination a, .pagination span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.section__label { letter-spacing: .28em; }
.section__more:hover { color: var(--foreground); }

.display { font-weight: 300; letter-spacing: -0.02em; line-height: 1; }

/* Reveal: hidden only when JS runs, and never under reduced motion. */
html.js:not(.reduce) [data-reveal] { opacity: 0; transform: translateY(24px); will-change: opacity, transform; }
html.reduce [data-reveal] { opacity: 1 !important; transform: none !important; }

/* Curtain / preloader ------------------------------------------------- */

.preloader {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--curtain); color: var(--curtain-foreground);
  pointer-events: none;
}
html:not(.js) .preloader, html.reduce .preloader { display: none; }
.preloader__counter {
  font-family: var(--font-mono); font-weight: 300;
  font-size: clamp(6rem, 18vw, 16rem); line-height: 1; letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}

/* Header -------------------------------------------------------------- */

.site-header { position: fixed; inset-inline: 0; top: 0; z-index: 50; pointer-events: none; }
.site-header__scrim {
  position: absolute; inset-inline: 0; top: 0; height: 7rem;
  background: linear-gradient(to bottom, var(--background) 0%, color-mix(in oklab, var(--background) 80%, transparent) 50%, transparent 100%);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background 300ms ease;
}
.site-header__bar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: var(--header-h); padding-inline: var(--gutter);
}
.site-header__brand, .site-header__menu a, .site-header__contact, .theme-toggle {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  padding-block: .75rem; pointer-events: auto; transition: color 150ms ease;
}
.site-header__brand { color: var(--foreground); white-space: nowrap; }
.site-header__right { display: flex; align-items: center; gap: 1.5rem; }
.site-header__menu { display: none; list-style: none; padding: 0; gap: 2rem; align-items: center; }
.site-header__menu a, .site-header__contact, .theme-toggle { color: var(--muted); }
.site-header__menu a:hover, .site-header__contact:hover, .theme-toggle:hover { color: var(--foreground); }
.theme-toggle { display: inline-flex; align-items: center; gap: .5rem; }
.theme-toggle__glyph { width: 12px; height: 12px; }
@media (min-width: 640px) {
  .site-header__menu { display: flex; }
  .site-header__contact { display: none; }
}

/* Hero ---------------------------------------------------------------- */

.hero { position: relative; height: 100svh; overflow: hidden; background: var(--background); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner {
  position: relative; display: flex; height: 100%; flex-direction: column;
  align-items: center; justify-content: center; padding-inline: var(--gutter); text-align: center;
}
.hero__name {
  font-weight: 300; font-size: clamp(2.5rem, 9vw, 9rem); line-height: .95;
  text-transform: uppercase; white-space: nowrap; letter-spacing: .04em; color: var(--foreground);
}
.hero__name span { display: block; }
.hero__role {
  margin-top: 2rem; max-width: 44ch;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted);
}
.hero__cue {
  position: absolute; inset-inline: 0; bottom: 2rem; text-align: center;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}

/* Sections ------------------------------------------------------------ */

.section { padding-block: clamp(6rem, 12vw, 10rem); }
.section__head { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section__title { font-weight: 300; font-size: clamp(2rem, 5vw, 4.5rem); letter-spacing: -0.02em; line-height: 1.02; max-width: 18ch; }
.section__more-wrap { margin-top: 2rem; }

/* Writing rows -------------------------------------------------------- */

.post-rows { list-style: none; padding: 0; border-top: 1px solid var(--hairline); }
.post-row { border-bottom: 1px solid var(--hairline); }
.post-row__link { display: grid; grid-template-columns: 3rem 1fr; gap: .75rem 1.5rem; padding-block: 1.75rem; align-items: baseline; }
.post-row__index { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; color: var(--muted); }
.post-row__title { font-weight: 300; font-size: clamp(1.5rem, 3.2vw, 2.75rem); letter-spacing: -0.02em; line-height: 1.08; transition: color 150ms ease; }
.post-row__meta { grid-column: 2; font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.post-row__meta span + span::before { content: " · "; }
.post-row__excerpt {
  grid-column: 2; max-width: var(--measure);
  color: var(--muted); font-size: .95rem; line-height: 1.55; font-weight: 300;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 350ms ease, opacity 300ms ease;
}
.post-row__link:hover .post-row__excerpt, .post-row__link:focus-visible .post-row__excerpt { max-height: 8rem; opacity: 1; }
.post-row__link:hover .post-row__title { color: var(--lit); }
@media (min-width: 900px) {
  .post-row__link { grid-template-columns: 4rem 1fr 14rem; }
  .post-row__meta { grid-column: 3; grid-row: 1; text-align: right; }
}

.pagination { margin-top: 3rem; display: flex; gap: 1.5rem; }
.pagination .nav-links { display: flex; gap: 1.5rem; }
.pagination a:hover { color: var(--foreground); }

/* Projects ------------------------------------------------------------ */

.projects { overflow: hidden; }
.projects__track { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 1024px) {
  .projects__track { flex-direction: row; gap: 2.5rem; width: max-content; will-change: transform; }
  .projects__track .project-card { width: min(44vw, 40rem); flex: none; }
}

.project-card { display: block; }
.project-card__inner { transform-style: preserve-3d; will-change: transform; }
.project-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--hairline); border-radius: 2px; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.22, 1, .36, 1); }
.project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__body { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding-top: 1rem; }
.project-card__title { font-weight: 300; font-size: clamp(1.25rem, 2vw, 1.75rem); letter-spacing: -0.01em; transition: color 150ms ease; }
.project-card:hover .project-card__title { color: var(--lit); }
.project-card__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.project-grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }

/* About strip --------------------------------------------------------- */

.about { border-top: 1px solid var(--hairline); }
.about__grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1fr 2fr; } }
.about .section__title { margin-top: 1.25rem; }
.prose { max-width: var(--measure); font-size: clamp(1.05rem, 1.4vw, 1.35rem); line-height: 1.6; font-weight: 300; }
.prose > * + * { margin-top: 1.25em; }
.prose a { color: var(--lit); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }

/* Footer -------------------------------------------------------------- */

.site-footer { border-top: 1px solid var(--hairline); padding-block: clamp(3rem, 6vw, 5rem); }
.site-footer__grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; align-items: end; } }
.site-footer__title { margin-top: 1.25rem; font-weight: 300; font-size: clamp(1.75rem, 3.5vw, 3rem); letter-spacing: -0.02em; line-height: 1.05; }
.site-footer__links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.site-footer__links a, .site-footer__email {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); transition: color 150ms ease;
}
.site-footer__links a:hover, .site-footer__email:hover { color: var(--foreground); }
.site-footer__email { display: inline-block; margin-top: 1.25rem; color: var(--foreground); }
.site-footer__meta {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: space-between; align-items: center;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}

/* Page heads (archives, pages, 404) ----------------------------------- */

.page-head { padding-top: calc(var(--header-h) + clamp(4rem, 10vw, 8rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-head__title { margin-top: 1.25rem; font-weight: 300; font-size: clamp(2.5rem, 7vw, 6.5rem); letter-spacing: -0.03em; line-height: .98; }
.page-head__lede { margin-top: 1.5rem; max-width: var(--measure); color: var(--muted); font-size: 1.1rem; font-weight: 300; }
.page-body { padding-bottom: clamp(6rem, 10vw, 8rem); }

.year-group { display: grid; gap: 1rem; padding-block: 2.5rem; border-top: 1px solid var(--hairline); }
.year-group__year { font-family: var(--font-mono); font-size: 11px; letter-spacing: .28em; color: var(--muted); }
.year-group .post-rows { border-top: 0; }
@media (min-width: 900px) { .year-group { grid-template-columns: 10rem 1fr; } }

/* Single entries ------------------------------------------------------ */

.progress {
  position: fixed; top: 0; left: 0; z-index: 60; width: 100%; height: 1px;
  background: var(--lit); transform: scaleX(0); transform-origin: left; pointer-events: none;
}
.entry { padding-bottom: clamp(6rem, 10vw, 8rem); }
.entry-head { padding-top: calc(var(--header-h) + clamp(4rem, 10vw, 8rem)); padding-bottom: clamp(2rem, 5vw, 4rem); }
.entry-kicker {
  display: flex; flex-wrap: wrap; gap: .5rem 0; margin-bottom: 1.5rem;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.entry-kicker span + span::before { content: " · "; white-space: pre; }
.entry-kicker a:hover { color: var(--foreground); }
.entry-title { font-weight: 300; font-size: clamp(2.25rem, 6vw, 5.5rem); letter-spacing: -0.03em; line-height: 1; max-width: 16ch; }
.entry-hero { margin-bottom: clamp(3rem, 6vw, 5rem); overflow: hidden; aspect-ratio: 16 / 9; background: var(--hairline); }
.entry-hero img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
html.reduce .entry-hero img { transform: none; }

.entry-meta-list {
  display: grid; gap: 1rem 2rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  margin: 0 auto clamp(2rem, 5vw, 4rem); padding: 1.5rem 0 0; max-width: var(--measure);
  border-top: 1px solid var(--hairline);
}
.entry-meta-list dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.entry-meta-list dd { margin: .35rem 0 0; font-weight: 300; }
.entry-meta-list dd a { color: var(--lit); }

.entry-content {
  max-width: var(--measure); margin-inline: auto;
  font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.7; font-weight: 300;
}
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2 { margin-top: 2.2em; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1.15; }
.entry-content h3 { margin-top: 2em; font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 400; letter-spacing: -0.01em; }
.entry-content a { color: var(--lit); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.entry-content strong { font-weight: 500; }
.entry-content ul, .entry-content ol { padding-left: 1.25em; }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote { margin: 2em 0; padding-left: 1.5rem; border-left: 1px solid var(--lit); font-size: 1.1em; }
.entry-content blockquote p { font-weight: 300; }
.entry-content pre {
  overflow-x: auto; padding: 1.25rem 1.5rem; border: 1px solid var(--hairline); border-radius: 2px;
  background: color-mix(in oklab, var(--foreground) 6%, var(--background));
  font-family: var(--font-mono); font-size: .875rem; line-height: 1.6;
}
.entry-content code { font-family: var(--font-mono); font-size: .9em; }
.entry-content :not(pre) > code { padding: .1em .35em; border-radius: 2px; background: color-mix(in oklab, var(--foreground) 8%, var(--background)); }
.entry-content figure { margin-block: 2.5em; }
.entry-content figcaption { margin-top: .75rem; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.entry-content hr { border: 0; border-top: 1px solid var(--hairline); margin-block: 3em; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95em; }
.entry-content th, .entry-content td { text-align: left; padding: .75em 0; border-bottom: 1px solid var(--hairline); }
.entry-content .alignwide { width: min(100vw - 2 * var(--gutter), var(--container)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .wp-block-embed iframe, .entry-content video { width: 100%; }
.entry-content .wp-block-image img { width: 100%; }

.entry-next { display: flex; flex-direction: column; gap: .75rem; margin-top: clamp(4rem, 8vw, 6rem); padding-top: 2rem; border-top: 1px solid var(--hairline); }
.entry-next__title { font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.5rem); letter-spacing: -0.02em; transition: color 150ms ease; }
.entry-next:hover .entry-next__title { color: var(--lit); }

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

.notfound { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }

/* Reduced motion ------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body, .site-header__scrim, .project-card__media img, .post-row__excerpt, .post-row__title, .project-card__title, .entry-next__title { transition: none; }
  .entry-hero img { transform: none; }
}

/* Blog: cards, tag filter, layout toggle --------------------------------- */

.post-card[hidden], [data-blog-empty][hidden], [data-view-toggle][hidden] { display: none; }

.post-grid { display: grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card { min-width: 0; }
.post-card__link {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border: 1px solid var(--hairline); border-radius: 4px;
  background: color-mix(in oklab, var(--foreground) 4%, var(--background));
  transition: border-color 200ms ease, transform 400ms cubic-bezier(.22, 1, .36, 1);
}
.post-card__link:hover, .post-card__link:focus-visible { border-color: var(--muted); transform: translateY(-3px); }

.post-card__media { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--hairline); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.22, 1, .36, 1); }
.post-card__link:hover .post-card__media img { transform: scale(1.04); }
.post-card__media--empty {
  background:
    radial-gradient(circle at 30% 30%, color-mix(in oklab, var(--lit) 22%, transparent), transparent 55%),
    var(--hairline);
}

.post-card__body { display: flex; flex: 1; flex-direction: column; gap: .75rem; padding: 1.25rem 1.25rem 1.5rem; }
.post-card__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.post-card__tags span {
  padding: .25rem .6rem; border: 1px solid var(--hairline); border-radius: 999px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.post-card__title { font-weight: 300; font-size: clamp(1.25rem, 2vw, 1.65rem); letter-spacing: -0.02em; line-height: 1.15; transition: color 150ms ease; }
.post-card__link:hover .post-card__title { color: var(--lit); }
.post-card__excerpt {
  color: var(--muted); font-size: .95rem; line-height: 1.55; font-weight: 300;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card__meta {
  margin-top: auto; padding-top: .5rem;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.post-card__meta span + span::before { content: " · "; white-space: pre; }

.blog-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
  margin-bottom: 2.5rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--hairline);
}
.blog-toolbar__right { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.blog-count { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.blog-empty { padding-block: 3rem; }

.tag-filter { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem;
  border: 1px solid var(--hairline); border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.tag-chip:hover { color: var(--foreground); border-color: var(--muted); }
.tag-chip[aria-current="true"] { background: var(--foreground); border-color: var(--foreground); color: var(--background); }
.tag-chip__count { opacity: .6; }

.view-toggle { display: inline-flex; border: 1px solid var(--hairline); border-radius: 999px; padding: 3px; }
.view-toggle button {
  padding: .4rem .9rem; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: color 150ms ease, background-color 150ms ease;
}
.view-toggle button:hover { color: var(--foreground); }
.view-toggle button[aria-pressed="true"] { background: var(--foreground); color: var(--background); }

/* Large: one block per row, image beside the text. */
[data-view="large"] .post-grid { grid-template-columns: 1fr; gap: 2.25rem; }
[data-view="large"] .post-card__title { font-size: clamp(1.75rem, 3.4vw, 3rem); }
[data-view="large"] .post-card__excerpt { font-size: 1.05rem; -webkit-line-clamp: 5; line-clamp: 5; }
@media (min-width: 800px) {
  [data-view="large"] .post-card__link { flex-direction: row; }
  [data-view="large"] .post-card__media { flex: 0 0 56%; aspect-ratio: auto; min-height: 24rem; }
  [data-view="large"] .post-card__body { justify-content: center; gap: 1.1rem; padding: 2.5rem; }
  [data-view="large"] .post-card__meta { margin-top: 1rem; }
}

.entry-tags { display: flex; flex-wrap: wrap; gap: .5rem; max-width: var(--measure); margin: 3rem auto 0; }

@media (prefers-reduced-motion: reduce) {
  .post-card__link, .post-card__media img, .post-card__title, .tag-chip, .view-toggle button { transition: none; }
  .post-card__link:hover { transform: none; }
}
