/* ==========================================================================
   AMNE CORDA — a personal journal
   Monochrome · sans-serif · left rail · editorial whitespace
   ========================================================================== */

:root {
  --paper: #ffffff;
  --paper-2: #f7f7f7;
  --paper-3: #ededed;
  --ink: #0a0a0a;
  --ink-2: #232323;
  --ink-soft: #4a4a4a;
  --muted: #8a8a8a;
  --line: rgba(10, 10, 10, 0.16);
  --line-soft: rgba(10, 10, 10, 0.08);

  --accent: #0a0a0a;
  --accent-deep: #000000;
  --accent-soft: #6f6f6f;

  --display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --reading: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  --base-size: 16px;
  --reading-size: 16.5px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(22px, 4vw, 56px);
  --max: 1060px;
  --nav-h: 64px;
  --sidebar: 264px;
}

/* --- Reset ---------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--base-size);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

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

button,
input {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

:focus-visible {
  outline: 1.5px solid var(--ink);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* --- Layout --------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 400;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.skip-link:focus {
  top: 12px;
}

main,
.site-footer {
  margin-left: var(--sidebar);
}

/* --- Left rail ------------------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 60;
  width: var(--sidebar);
  height: 100vh;
  overflow-y: auto;
  background: var(--paper);
  border-right: 1px solid var(--line);
}

.site-header .nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 34px 30px 26px;
}

.brand {
  display: inline-block;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 3px;
  border-radius: 50%;
  background: var(--ink);
  vertical-align: 2px;
  transition: transform 0.5s var(--ease);
}

.brand:hover .brand-dot {
  transform: scale(1.7);
}

.nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 56px 0 0;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 7px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-links a[aria-current="page"] {
  font-weight: 600;
}

.nav-links a[aria-current="page"]::before {
  content: "";
  width: 14px;
  height: 1px;
  margin-right: 9px;
  background: var(--ink);
}

.nav-links a::after {
  display: none;
}

.nav-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.nav-clock {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.nav-mail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  transition: color 0.25s ease;
}

.nav-mail:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.arrow {
  display: inline-block;
  font-style: normal;
  transition: transform 0.4s var(--ease);
}

a:hover .arrow {
  transform: translate(3px, -3px);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 7px;
  right: 7px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.35s var(--ease);
}

.nav-toggle span:first-child {
  top: 13px;
}

.nav-toggle span:last-child {
  bottom: 13px;
}

/* --- Mobile menu ---------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: 22px var(--gutter) 36px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-102%);
  visibility: hidden;
  transition: transform 0.65s var(--ease), visibility 0s linear 0.65s;
}

.mobile-menu.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.65s var(--ease), visibility 0s;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.mobile-menu .brand {
  color: var(--paper);
  font-size: 17px;
}

.menu-close {
  position: relative;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-close span {
  position: absolute;
  left: 7px;
  right: 7px;
  top: 17px;
  height: 1px;
  background: var(--paper);
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: clamp(40px, 9vh, 86px);
}

.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: clamp(1.7rem, 6.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--paper);
  transition: color 0.25s ease, padding-left 0.4s var(--ease);
}

.mobile-nav a:hover {
  padding-left: 8px;
  color: #a8a8a8;
}

.mobile-nav a span {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: #8a8a8a;
}

.mobile-menu-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.mobile-menu-foot a {
  color: var(--paper);
}

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

.hero {
  padding-top: clamp(52px, 8vh, 100px);
  padding-bottom: clamp(48px, 7vw, 88px);
}

.hero-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 13px;
  margin-bottom: clamp(38px, 6vw, 70px);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 18px;
  height: 1px;
  background: var(--ink);
}

.issue {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}

.hero-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

.hero-line > span {
  display: inline-block;
  animation: rise 1s var(--ease) both;
}

.hero-line:nth-child(2) > span {
  animation-delay: 0.1s;
}

.hero-line--2 {
  padding-left: clamp(0px, 6vw, 86px);
}

.hero-title em {
  font-style: normal;
  color: var(--paper);
  background: var(--ink);
  padding: 0.02em 0.07em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 560px) auto;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-top: clamp(40px, 6vw, 76px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hero-intro {
  max-width: 48ch;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  text-align: right;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  animation: pulse 3.2s ease-in-out infinite;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-scroll i {
  position: relative;
  display: block;
  width: 38px;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.hero-scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-100%);
  animation: slide 2.4s var(--ease) infinite;
}

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

.section {
  padding-block: clamp(48px, 7vw, 88px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  padding-top: 15px;
  border-top: 1px solid var(--ink);
}

.section-index {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.section-en {
  padding-bottom: 4px;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.section-link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section-note {
  max-width: 40ch;
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* --- Post list ------------------------------------------------------------ */

.post-list {
  list-style: none;
  margin: clamp(24px, 3.5vw, 38px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.post-item {
  border-bottom: 1px solid var(--line);
}

.post-item > a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  gap: clamp(16px, 2.6vw, 34px);
  align-items: start;
  padding: clamp(24px, 3vw, 32px) 0;
}

.post-no {
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  transition: color 0.25s ease;
}

.post-item:hover .post-no {
  color: var(--ink);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 12px;
  margin-bottom: 10px;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-meta .cat {
  color: var(--ink);
}

.post-meta .sep {
  width: 12px;
  height: 1px;
  background: var(--line);
}

.post-title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.025em;
  color: var(--ink);
  transition: color 0.25s ease;
}

.post-item:hover .post-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.post-excerpt {
  max-width: 62ch;
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.post-arrow {
  justify-self: end;
  padding-top: 2px;
  font-size: 15px;
  color: var(--muted);
  transition: transform 0.4s var(--ease), color 0.25s ease;
}

.post-item:hover .post-arrow {
  transform: translate(4px, -4px);
  color: var(--ink);
}

/* --- Statement ------------------------------------------------------------ */

.statement {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 9vw, 120px);
  background: var(--ink);
  color: var(--paper);
}

.statement::before {
  content: "NOTE";
  position: absolute;
  right: -0.04em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: clamp(10rem, 27vw, 26rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
}

.statement-inner {
  position: relative;
  z-index: 1;
  max-width: none;
}

.statement-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(24px, 3.5vw, 40px);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.statement-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
}

.statement-quote {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.04em;
}

.statement-quote em {
  font-style: normal;
  color: #9a9a9a;
  text-decoration: underline;
  text-decoration-thickness: 0.045em;
  text-underline-offset: 0.14em;
}

.statement-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 28px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.statement-by {
  margin: 0;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.statement-en {
  font-family: var(--mono);
  font-size: 9.5px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* --- About teaser --------------------------------------------------------- */

.about-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
}

.about-copy h2 {
  max-width: 16ch;
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.about-copy p {
  max-width: 46ch;
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.text-link:hover {
  color: var(--muted);
  border-color: var(--muted);
}

.facts {
  margin: 0;
  padding: 0;
}

.fact {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 20px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.fact:last-child {
  border-bottom: 1px solid var(--line);
}

.fact dt {
  padding-top: 2px;
  font-size: 8.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
}

/* --- Subscribe ------------------------------------------------------------ */

.subscribe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: end;
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--ink);
}

.subscribe h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.subscribe-copy p {
  max-width: 42ch;
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.subscribe-form {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--ink);
}

.subscribe-form input {
  flex: 1;
  min-width: 0;
  padding: 8px 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: var(--ink);
  outline: none;
}

.subscribe-form input::placeholder {
  color: var(--muted);
}

.subscribe-form button {
  flex: none;
  padding: 8px 0;
  border: 0;
  background: transparent;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.25s ease;
}

.subscribe-form button:hover {
  color: var(--muted);
}

.form-note {
  min-height: 1.55em;
  margin: 10px 0 0;
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

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

.site-footer {
  overflow: hidden;
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 36px;
  padding-bottom: clamp(40px, 5vw, 68px);
}

.footer-label {
  margin: 0 0 12px;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.footer-nav a {
  font-size: 12px;
  color: var(--ink-soft);
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-col--note p {
  max-width: 42ch;
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.footer-mark {
  margin: 0;
  padding: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 15.5vw, 12.5rem);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.06em;
  color: var(--ink);
  user-select: none;
  white-space: normal;
}

.footer-mark .mark-dot {
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px 24px;
  margin-top: clamp(26px, 4vw, 44px);
  padding: 15px 0 22px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.footer-bottom .back-top:hover {
  color: var(--ink);
}

/* --- Inner page header ---------------------------------------------------- */

.page-head {
  padding-top: clamp(46px, 7vw, 88px);
  padding-bottom: clamp(32px, 4.5vw, 56px);
  border-bottom: 1px solid var(--ink);
}

.page-title {
  margin: 20px 0 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 6.4vw, 4.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-top: clamp(24px, 3.5vw, 40px);
}

.page-intro p {
  max-width: 54ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-count {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* --- Archive -------------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.filter {
  padding: 7px 13px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.filter:hover {
  color: var(--ink);
}

.filter.is-active {
  border-color: var(--ink);
  color: var(--ink);
}

.archive-group {
  padding-top: 4px;
}

.year-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 30px 0 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.year-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.archive-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 120px 82px 22px;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: padding-left 0.4s var(--ease), background-color 0.25s ease;
}

.archive-row:hover {
  padding-left: 8px;
  background: var(--paper-2);
}

.archive-no {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.archive-title {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.archive-row:hover .archive-title {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.archive-cat {
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

.archive-date {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.archive-arrow {
  justify-self: end;
  font-size: 13px;
  color: var(--muted);
  transition: transform 0.4s var(--ease), color 0.25s ease;
}

.archive-row:hover .archive-arrow {
  transform: translate(3px, -3px);
  color: var(--ink);
}

.archive-empty {
  padding: 56px 0;
  font-size: 14px;
  color: var(--muted);
}

/* --- About page ----------------------------------------------------------- */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 100px);
  padding-block: clamp(42px, 5.5vw, 72px);
}

.about-aside {
  position: sticky;
  top: 30px;
  align-self: start;
}

.portrait {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.portrait-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 9px;
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-aside-block {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.about-aside-block p {
  margin: 7px 0 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.about-main h2 {
  margin: 2.1em 0 0.65em;
  font-family: var(--sans);
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.about-main h2:first-child {
  margin-top: 0;
}

.about-main p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-2);
}

.about-main > p + p {
  margin-top: 1.3em;
}

.about-main blockquote {
  margin: 2em 0;
  padding-left: 22px;
  border-left: 2px solid var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.about-main blockquote p {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.timeline {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.timeline-year {
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
}

.timeline-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.now-list {
  display: grid;
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.now-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.now-item dt {
  padding-top: 2px;
  font-size: 8.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.now-item dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-2);
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}

.contact-mail {
  font-family: var(--sans);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.contact-mail:hover {
  color: var(--muted);
  border-color: var(--muted);
}

.copy-btn {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.copy-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* --- Article -------------------------------------------------------------- */

.progress {
  position: fixed;
  top: 0;
  left: var(--sidebar);
  z-index: 200;
  width: calc(100% - var(--sidebar));
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.article-head {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(32px, 4.5vw, 52px);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(26px, 4vw, 40px);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.breadcrumb a {
  transition: color 0.25s ease;
}

.breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb .slash {
  opacity: 0.5;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 14px;
  margin-bottom: 17px;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-meta .cat {
  color: var(--ink);
}

.article-meta .sep {
  width: 12px;
  height: 1px;
  background: var(--line);
}

.article-title {
  max-width: 900px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.7vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.article-deck {
  max-width: 60ch;
  margin: clamp(18px, 2.6vw, 28px) 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: clamp(24px, 3.5vw, 36px);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.byline-line {
  width: 26px;
  height: 1px;
  background: var(--line);
}

.article-body {
  display: grid;
  grid-template-columns: minmax(0, 680px) 200px;
  justify-content: center;
  gap: clamp(38px, 6vw, 92px);
  padding-block: clamp(40px, 5.5vw, 68px);
}

.article-body--single {
  grid-template-columns: minmax(0, 680px);
}

/* --- Prose ---------------------------------------------------------------- */

.prose {
  counter-reset: section;
  font-family: var(--reading);
  font-size: var(--reading-size);
  line-height: 1.9;
  color: var(--ink-2);
  letter-spacing: 0.005em;
}

.prose > *:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0;
}

.prose > p + p {
  margin-top: 1.35em;
}

.prose > p.lead::first-letter {
  float: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.prose h2 {
  position: relative;
  margin: 2.4em 0 0.8em;
  padding-top: 0.85em;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.025em;
  color: var(--ink);
  counter-increment: section;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.prose h2::before {
  content: "0" counter(section) " /";
  display: block;
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.prose h3 {
  margin: 1.9em 0 0.55em;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.prose blockquote {
  margin: 2.1em 0;
  padding: 2px 0 2px 24px;
  border-left: 2px solid var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.prose blockquote p {
  margin: 0;
}

.prose blockquote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 8.5px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose ul,
.prose ol {
  margin: 1.4em 0;
  padding-left: 1.2em;
}

.prose li {
  margin: 0.5em 0;
  padding-left: 0.15em;
}

.prose li::marker {
  color: var(--muted);
}

.prose strong {
  font-weight: 600;
  color: var(--ink);
}

.prose em {
  font-style: italic;
}

.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

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

.prose code {
  padding: 0.12em 0.36em;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 0.84em;
  color: var(--ink-2);
}

.prose pre {
  position: relative;
  margin: 2em 0;
  padding: 22px 24px;
  overflow-x: auto;
  background: var(--ink);
  color: #f2f2f2;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.85;
  tab-size: 2;
}

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

.prose pre .c {
  color: #8f8f8f;
}

.prose pre .k {
  color: #ffffff;
  font-weight: 500;
}

.prose pre .s {
  color: #bdbdbd;
}

.prose hr {
  width: 48px;
  margin: 2.8em auto;
  border: 0;
  border-top: 1px solid var(--line);
}

.prose figure {
  margin: 2.2em 0;
}

.prose figure img {
  display: block;
  width: 100%;
  border: 1px solid var(--line-soft);
  filter: grayscale(1);
}

.prose figcaption {
  margin-top: 10px;
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--muted);
}

.prose .end-mark {
  margin-top: 2.4em;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--muted);
}

/* --- TOC ------------------------------------------------------------------ */

.toc {
  position: sticky;
  top: 28px;
  align-self: start;
}

.toc-label {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: block;
  padding-left: 11px;
  border-left: 1px solid transparent;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.toc a:hover,
.toc a.is-active {
  color: var(--ink);
  border-left-color: var(--ink);
}

.toc-back {
  display: inline-block;
  margin-top: 22px;
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}

.toc-back:hover {
  color: var(--ink);
}

/* --- Article end / next --------------------------------------------------- */

.article-end {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 2.8em;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.next-post {
  display: block;
  padding-block: clamp(40px, 5.5vw, 68px);
  border-top: 1px solid var(--ink);
  transition: background-color 0.3s ease;
}

.next-post:hover {
  background: var(--paper-2);
}

.next-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.next-label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ink);
}

.next-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: var(--ink);
  transition: color 0.25s ease;
}

.next-arrow {
  flex: none;
  font-size: 21px;
  color: var(--muted);
  transition: transform 0.4s var(--ease), color 0.25s ease;
}

.next-post:hover .next-arrow {
  transform: translate(4px, -4px);
  color: var(--ink);
}

/* --- Profile homepage ----------------------------------------------------- */

.hero-role {
  margin: 26px 0 0;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.button:hover {
  background: transparent;
  color: var(--ink);
}

.button--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button--ghost:hover {
  border-color: var(--ink);
}

.profile-section {
  border-top: 1px solid var(--line);
}

.profile-grid {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  padding-block: clamp(30px, 4vw, 44px);
}

.profile-grid h2 {
  margin: 0;
  padding-top: 3px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-copy p,
.profile-grid > div > p {
  max-width: 64ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}

.profile-copy p + p,
.profile-grid > div > p + p {
  margin-top: 1em;
}

.profile-grid .text-link {
  margin-top: 22px;
}

.mini-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
}

.mini-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.mini-list a {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.mini-list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mini-meta {
  flex: none;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.now-lines p {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
}

.now-lines p:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.now-lines span {
  padding-top: 2px;
  font-size: 8.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-note {
  max-width: 56ch;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.link-row a {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.link-row a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

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

.project-list {
  border-top: 1px solid var(--ink);
}

.project-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(24px, 3.4vw, 34px) 0;
  border-bottom: 1px solid var(--line);
}

.project-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.project-title {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.project-year {
  flex: none;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
  white-space: nowrap;
}

.project-desc {
  max-width: 58ch;
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  align-self: end;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-tags li {
  padding: 4px 8px;
  border: 1px solid var(--line);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Reveal & motion ------------------------------------------------------ */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.24em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.08);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(10, 10, 10, 0.02);
  }
}

@keyframes slide {
  0% {
    transform: translateX(-100%);
  }
  45%,
  100% {
    transform: translateX(100%);
  }
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 1120px) {
  .article-body {
    grid-template-columns: minmax(0, 680px);
  }

  .toc {
    display: none;
  }
}

@media (max-width: 960px) {
  :root {
    --sidebar: 232px;
  }

  .site-header .nav {
    padding-inline: 24px;
  }

  .hero-foot {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
  }

  .hero-side {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
  }

  .about-teaser,
  .subscribe {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-copy h2 {
    max-width: 20ch;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col--note {
    grid-column: 1 / -1;
  }

  .about-layout {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 44px;
  }
}

@media (max-width: 880px) {
  :root {
    --sidebar: 0px;
  }

  .site-header {
    position: sticky;
    inset: auto;
    top: 0;
    left: auto;
    width: 100%;
    height: auto;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .site-header .nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    padding: 0 var(--gutter);
  }

  .brand {
    font-size: 15px;
    line-height: 1.08;
  }

  .nav-links,
  .nav-clock,
  .nav-mail {
    display: none;
  }

  .nav-right {
    flex-direction: row;
    align-items: center;
    gap: 0;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .nav-toggle {
    display: block;
  }

  main,
  .site-footer {
    margin-left: 0;
  }

  .progress {
    left: 0;
    width: 100%;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-title {
    font-size: clamp(2.15rem, 7.8vw, 3.4rem);
  }

  .hero-line--2 {
    padding-left: 0.55em;
  }

  .post-item > a {
    grid-template-columns: 32px minmax(0, 1fr) 20px;
    gap: 14px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-aside {
    position: static;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
  }

  .about-aside-block {
    margin-top: 0;
  }

  .article-body {
    padding-block: 36px 52px;
  }

  .prose {
    font-size: 16px;
  }
}

@media (max-width: 680px) {
  .eyebrow {
    font-size: 8.5px;
    letter-spacing: 0.12em;
  }

  .issue {
    display: none;
  }

  .hero-top {
    justify-content: flex-start;
    margin-bottom: 34px;
  }

  .hero-title {
    font-size: clamp(1.95rem, 9.3vw, 3.1rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
  }

  .hero-line--2 {
    padding-left: 0.5em;
  }

  .hero-intro {
    font-size: 14px;
  }

  .hero-side {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero-status {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .post-item > a {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 12px;
    padding: 22px 0;
  }

  .post-arrow {
    display: none;
  }

  .post-title {
    font-size: 1.18rem;
    line-height: 1.42;
  }

  .post-excerpt {
    font-size: 12.5px;
    line-height: 1.72;
  }

  .section-head {
    gap: 6px 12px;
  }

  .section-link {
    width: 100%;
    margin-left: 0;
    padding-top: 3px;
  }

  .statement-quote {
    font-size: clamp(1.85rem, 7.6vw, 2.6rem);
  }

  .statement-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .statement-en {
    font-size: 8.5px;
  }

  .fact {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 14px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-mark {
    font-size: 24vw;
  }

  .page-title {
    font-size: clamp(1.95rem, 8.8vw, 2.7rem);
  }

  .page-intro {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .archive-row {
    grid-template-columns: 28px minmax(0, 1fr) 22px;
    gap: 11px;
    padding: 15px 0;
  }

  .archive-cat,
  .archive-date {
    display: none;
  }

  .archive-title {
    font-size: 1.02rem;
    line-height: 1.45;
  }

  .filters {
    gap: 2px;
    padding: 16px 0;
  }

  .filter {
    padding: 6px 9px;
  }

  .about-aside {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 20px;
  }

  .about-main h2 {
    font-size: 1.35rem;
  }

  .about-main p {
    font-size: 15px;
  }

  .article-title {
    font-size: clamp(1.6rem, 7.2vw, 2.05rem);
    line-height: 1.18;
  }

  .article-deck {
    font-size: 14px;
  }

  .article-body {
    padding-block: 30px 44px;
  }

  .prose {
    font-size: 15.5px;
    line-height: 1.88;
  }

  .prose pre {
    margin-inline: calc(var(--gutter) * -0.35);
    padding: 18px;
    font-size: 11.5px;
  }

  .next-title {
    font-size: 1.55rem;
  }

  .contact-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: clamp(1.85rem, 9.6vw, 2.4rem);
  }

  .hero-line--2 {
    padding-left: 0.4em;
  }

  .post-meta {
    gap: 5px 8px;
    letter-spacing: 0.1em;
  }

  .post-meta .sep {
    width: 8px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-mark {
    font-size: 25vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-scroll i::after {
    transform: none;
    opacity: 0.4;
  }
}

@media print {
  .site-header,
  .site-footer,
  .toc,
  .progress,
  .next-post {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  main {
    margin-left: 0;
  }

  .article-body {
    display: block;
  }

  .prose {
    font-size: 11pt;
  }
}

@media (max-width: 680px) {
  .hero-role {
    margin-top: 20px;
    font-size: 9.5px;
    letter-spacing: 0.12em;
  }

  .hero-side {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 26px;
  }

  .profile-grid h2 {
    padding-top: 0;
  }

  .mini-list li {
    flex-direction: column;
    gap: 5px;
  }

  .mini-meta {
    white-space: normal;
  }

  .now-lines p {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .project-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-head {
    flex-direction: column;
    gap: 4px;
  }

  .project-tags {
    justify-content: flex-start;
  }
}

