:root {
  color-scheme: light;
  --bg: #f3f5f7;
  --surface: #ffffff;
  --surface-strong: #e9edf1;
  --ink: #15171a;
  --body: #454b53;
  --muted: #646d76;
  --line: #cfd5db;
  --blue: #2463eb;
  --coral: #ef6b4a;
  --moss: #5f7c68;
  --focus: #ffb11b;
  --header: rgba(243, 245, 247, 0.94);
  --shadow: 0 18px 50px rgba(25, 30, 36, 0.12);
  --shell: 1180px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1e1e2e;
  --surface: #282838;
  --surface-strong: #343447;
  --ink: #f4f1f8;
  --body: #d0ccda;
  --muted: #a9a3b3;
  --line: #48475a;
  --blue: #89b4fa;
  --coral: #f38ba8;
  --moss: #a6e3a1;
  --focus: #f9e2af;
  --header: rgba(30, 30, 46, 0.94);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--body);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

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

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

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

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection {
  background: var(--coral);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.shell,
.shell-wide {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.shell-wide {
  width: min(calc(100% - 40px), 1360px);
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--bg);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid transparent;
  background: var(--header);
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(20, 24, 29, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 68px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-width: 0;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  line-height: 1;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 4px;
  background: var(--ink);
  color: var(--bg);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.desktop-nav a,
.mobile-nav a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--coral);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 160ms ease, transform 160ms ease;
}

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

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-tools {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 4px;
}

.icon-button,
.icon-link {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.icon-button:hover,
.icon-link:hover {
  background: var(--surface-strong);
  color: var(--blue);
}

.menu-button {
  display: none;
}

.mobile-nav {
  width: min(calc(100% - 40px), var(--shell));
  margin: 0 auto;
  padding: 10px 0 18px;
  border-top: 1px solid var(--line);
}

.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-size: 16px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-family: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero {
  padding: 52px 0 38px;
}

.hero-grid {
  display: grid;
  min-height: 520px;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 400px);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  min-width: 0;
  padding-bottom: 18px;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: 88px;
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero .eyebrow {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.hero h1 span {
  display: block;
  color: var(--muted);
  font-size: 42px;
  font-style: italic;
  line-height: 1.2;
}

.hero-tagline {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--ink);
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.4;
}

.hero-intro {
  max-width: 610px;
  margin: 16px 0 0;
  color: var(--body);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button svg,
.arrow-link svg,
.project-row svg,
.contact-row svg {
  width: 17px;
  height: 17px;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: #fff;
}

:root[data-theme="dark"] .button-primary {
  color: #111827;
}

.button-quiet {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-dark {
  background: var(--ink);
  color: var(--bg);
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

.hero-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--moss) 18%, transparent);
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 400px;
  justify-self: end;
  margin: 0;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  top: -18px;
  right: -18px;
  width: 30%;
  height: 32%;
  border-top: 8px solid var(--coral);
  border-right: 8px solid var(--coral);
  content: "";
}

.hero-visual img {
  width: 100%;
  height: 300px;
  border: 1px solid var(--line);
  border-radius: 4px;
  object-fit: cover;
  object-position: center;
  filter: none;
  box-shadow: var(--shadow);
}

.hero-visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
  color: var(--muted);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12px;
}

.signal-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.signal-track {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.signal-track i {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--coral);
}

.section {
  padding: 110px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}

.section-heading h2,
.about-band h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: 44px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
}

.text-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-underline-offset: 5px;
}

.arrow-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 28px;
}

.post-stack {
  display: grid;
  gap: 28px;
}

.post-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.post-card:hover {
  border-color: var(--muted);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.post-card[data-accent="blue"] {
  --card-accent: var(--blue);
}

.post-card[data-accent="moss"] {
  --card-accent: var(--moss);
}

.post-card[data-accent="coral"] {
  --card-accent: var(--coral);
}

.post-cover {
  display: block;
  overflow: hidden;
  background: var(--surface-strong);
}

.post-cover img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 420ms ease, filter 180ms ease;
}

.post-card:hover .post-cover img {
  transform: scale(1.025);
}

.post-card-body {
  padding: 24px;
  border-top: 4px solid var(--card-accent);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 11px;
}

.post-card h3 {
  margin: 13px 0 0;
  color: var(--ink);
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: 28px;
  line-height: 1.35;
}

.post-card h3 a:hover {
  color: var(--blue);
}

.post-card-body > p {
  margin: 12px 0 0;
  color: var(--body);
  line-height: 1.8;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-row a,
.tag-row span {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.tag-row a::before,
.tag-row span::before {
  color: var(--card-accent, var(--coral));
  content: "#";
}

.post-card--compact {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
}

.post-card--compact .post-cover img {
  height: 100%;
  min-height: 230px;
}

.post-card--compact .post-card-body {
  border-top: 0;
  border-left: 4px solid var(--card-accent);
  padding: 20px;
}

.post-card--compact h3 {
  font-size: 21px;
}

.post-card--compact .post-card-body > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
}

.section-projects {
  padding-top: 0;
}

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

.project-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto 26px;
  align-items: center;
  gap: 22px;
  min-height: 120px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background 160ms ease, padding 160ms ease;
}

.project-row:hover {
  padding-inline: 16px;
  background: var(--surface);
}

.project-index {
  color: var(--coral);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12px;
}

.project-row strong {
  display: block;
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: 25px;
}

.project-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.project-status {
  color: var(--muted);
  font-size: 13px;
}

.about-band {
  background: var(--ink);
  color: var(--bg);
}

.about-band-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 40px;
}

.about-band .eyebrow {
  color: var(--coral);
}

.about-band h2 {
  color: var(--bg);
  font-size: 54px;
}

.about-band p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0 28px;
  color: color-mix(in srgb, var(--bg) 72%, transparent);
}

.about-band .button-dark {
  border-color: color-mix(in srgb, var(--bg) 40%, transparent);
  background: var(--bg);
  color: var(--ink);
}

.page-header {
  padding: 92px 0 68px;
  border-bottom: 1px solid var(--line);
}

.page-header h1,
.about-hero h1,
.search-page h1,
.not-found h1 {
  max-width: 900px;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: 76px;
  font-weight: 500;
  line-height: 1;
}

.page-header > p:last-child {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: 18px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding: 48px 0 110px;
}

.archive-grid .post-cover img {
  height: 320px;
}

.tag-index {
  display: grid;
  gap: 72px;
  padding: 58px 0 110px;
}

.tag-index section {
  scroll-margin-top: 100px;
}

.tag-index-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--ink);
}

.tag-index h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: 34px;
}

.tag-index-heading span {
  color: var(--coral);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
}

.tag-index section > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 22px;
  align-items: center;
  gap: 20px;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.tag-index section > a:hover {
  color: var(--blue);
}

.tag-index time {
  color: var(--muted);
  font-size: 13px;
}

.project-page-list {
  padding-bottom: 110px;
}

.project-page-list article {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 48px;
  gap: 30px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.project-title-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.project-title-line h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: 34px;
}

.project-title-line span {
  color: var(--moss);
  font-size: 13px;
}

.project-page-list article p {
  max-width: 760px;
  margin: 10px 0 0;
}

.about-hero {
  padding: 100px 0 70px;
}

.about-hero h1 {
  font-size: 92px;
}

.about-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 720px);
  justify-content: space-between;
  gap: 80px;
  padding: 0 0 120px;
}

.about-layout aside {
  height: fit-content;
  padding-top: 26px;
  border-top: 3px solid var(--coral);
  color: var(--muted);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12px;
}

.about-layout aside p {
  margin: 0 0 8px;
}

.about-layout aside span {
  display: block;
  margin-top: 26px;
  color: var(--moss);
}

.prose {
  min-width: 0;
  color: var(--body);
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: 18px;
  line-height: 2;
}

.prose .lead {
  margin-top: 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.7;
}

.prose h2 {
  margin: 58px 0 18px;
  color: var(--ink);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 28px;
  line-height: 1.45;
}

.prose p {
  margin: 0 0 24px;
}

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

.contact-list {
  border-top: 1px solid var(--line);
}

.contact-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.contact-row strong {
  overflow-wrap: anywhere;
  color: var(--ink);
}

.search-page {
  min-height: 680px;
  padding: 92px 0 110px;
}

.search-page h1 {
  font-size: 68px;
}

.search-field {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  max-width: 820px;
  margin-top: 42px;
  padding: 8px 0;
  border-bottom: 3px solid var(--ink);
  color: var(--muted);
}

.search-field input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: 28px;
}

.search-hint {
  color: var(--muted);
  font-size: 13px;
}

.search-results {
  max-width: 820px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.search-result {
  display: block;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.search-result:hover h2 {
  color: var(--blue);
}

.search-result h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: 26px;
}

.search-result p {
  margin: 6px 0 0;
}

.search-result small {
  color: var(--muted);
}

.article-header {
  max-width: 960px;
  padding: 86px 0 52px;
}

.breadcrumb {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--blue);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12px;
}

.article-header h1 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: 68px;
  font-weight: 550;
  line-height: 1.18;
}

.article-deck {
  max-width: 800px;
  margin: 24px 0 0;
  color: var(--body);
  font-size: 20px;
  line-height: 1.8;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  color: var(--muted);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12px;
}

.article-image {
  margin-bottom: 76px;
}

.article-image img {
  width: 100%;
  max-height: 720px;
  border-radius: 4px;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 740px);
  justify-content: center;
  gap: 76px;
  padding-bottom: 110px;
}

.article-aside {
  display: flex;
  height: fit-content;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 3px solid var(--coral);
  font-size: 13px;
}

.article-aside > span {
  color: var(--muted);
}

.article-aside a {
  width: fit-content;
  color: var(--ink);
  font-weight: 700;
}

.article-aside a::before {
  color: var(--coral);
  content: "#";
}

.article-aside small {
  margin-top: 20px;
  color: var(--muted);
}

.related-posts {
  padding: 82px 0 100px;
  background: var(--surface-strong);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.not-found {
  min-height: 720px;
  padding: 110px 0;
}

.not-found h1 {
  font-size: 88px;
}

.not-found > p:not(.eyebrow) {
  margin: 26px 0;
  font-size: 18px;
}

.site-footer {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-grid p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  margin-left: auto;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

@media (max-width: 980px) {
  .hero-grid {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 36px;
  }

  .hero h1 {
    font-size: 70px;
  }

  .hero-tagline {
    font-size: 25px;
  }

  .hero-visual img {
    height: 260px;
  }

  .post-layout {
    grid-template-columns: 1fr;
  }

  .post-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-card--compact {
    display: block;
  }

  .post-card--compact .post-cover img {
    height: 220px;
    min-height: 0;
  }

  .post-card--compact .post-card-body {
    border-top: 4px solid var(--card-accent);
    border-left: 0;
  }

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

@media (max-width: 760px) {
  .shell,
  .shell-wide {
    width: min(calc(100% - 32px), var(--shell));
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 62px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .hero {
    padding: 34px 0 28px;
  }

  .hero-grid {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero .eyebrow {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: 60px;
  }

  .hero h1 span {
    font-size: 29px;
  }

  .hero-tagline {
    margin-top: 20px;
    font-size: 22px;
  }

  .hero-intro {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.8;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-status {
    margin-top: 17px;
  }

  .hero-visual::before {
    top: -10px;
    right: 0;
    border-top-width: 8px;
    border-right-width: 8px;
  }

  .hero-visual {
    width: min(100%, 360px);
    align-self: center;
  }

  .hero-visual img {
    height: 225px;
  }

  .signal-track {
    justify-content: flex-start;
    overflow: hidden;
  }

  .signal-track span:nth-of-type(n + 3),
  .signal-track i:nth-of-type(n + 3) {
    display: none;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    align-items: start;
    margin-bottom: 28px;
  }

  .section-heading h2,
  .about-band h2 {
    font-size: 36px;
  }

  .post-stack,
  .archive-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .post-cover img,
  .archive-grid .post-cover img {
    height: 230px;
  }

  .post-card h3 {
    font-size: 24px;
  }

  .project-row {
    grid-template-columns: 38px minmax(0, 1fr) 22px;
    gap: 14px;
    padding: 22px 0;
  }

  .project-status {
    display: none;
  }

  .project-row strong {
    font-size: 21px;
  }

  .project-row small {
    line-height: 1.6;
  }

  .about-band-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .page-header {
    padding: 64px 0 46px;
  }

  .page-header h1,
  .search-page h1 {
    font-size: 56px;
  }

  .archive-grid {
    padding: 34px 0 78px;
  }

  .tag-index {
    padding: 38px 0 78px;
  }

  .tag-index section > a {
    grid-template-columns: minmax(0, 1fr) 20px;
  }

  .tag-index time {
    display: none;
  }

  .project-page-list article {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 16px;
  }

  .project-page-list article > .icon-button {
    display: none;
  }

  .project-title-line {
    align-items: start;
  }

  .project-title-line h2 {
    font-size: 26px;
  }

  .about-hero {
    padding: 70px 0 52px;
  }

  .about-hero h1 {
    font-size: 58px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-bottom: 84px;
  }

  .about-layout aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .about-layout aside span {
    grid-column: 1 / -1;
  }

  .prose {
    font-size: 17px;
  }

  .prose .lead {
    font-size: 22px;
  }

  .search-page {
    min-height: 620px;
    padding: 68px 0 80px;
  }

  .search-field input {
    font-size: 20px;
  }

  .article-header {
    padding: 62px 0 38px;
  }

  .article-header h1 {
    font-size: 45px;
  }

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

  .article-image {
    width: 100%;
    margin-bottom: 50px;
  }

  .article-image img {
    height: 300px;
    border-radius: 0;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-bottom: 80px;
  }

  .article-aside {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    align-items: center;
  }

  .article-aside small {
    grid-column: 1 / -1;
    margin-top: 8px;
  }

  .not-found {
    min-height: 620px;
    padding: 84px 0;
  }

  .not-found h1 {
    font-size: 58px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-meta {
    text-align: left;
  }

  .footer-meta p {
    margin-left: 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 52px;
  }

  .hero-actions .button {
    flex: 1 1 auto;
  }

  .section-heading {
    display: block;
  }

  .section-heading .arrow-link {
    margin-top: 18px;
  }

  .page-header h1,
  .search-page h1,
  .about-hero h1,
  .not-found h1 {
    font-size: 48px;
  }

  .article-header h1 {
    font-size: 40px;
  }
}

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

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