/* ============================================================
   joyenbenitto.com — light editorial theme
   Bell Labs · Japanese minimalism · Kaizen · research archive
   bg #F7F4ED · text #1A1A1A · accent #23395D
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=IBM+Plex+Mono:wght@400;500&family=Inter:wght@400;500;600&display=swap');

/* ── Custom properties ────────────────────────────────────── */

:root {
  --bg:              #F7F4ED;
  --bg-secondary:    #EFE9DC;
  --surface:         #FBF9F4;
  --border:          #D9D2C3;
  --text:            #1A1A1A;
  --text-secondary:  #55534E;
  --text-muted:      #7A756B;
  --accent:          #23395D;
  --accent-hover:    #162741;
  --accent-bg:       #E7EDF7;
  --code-bg:         #F1EEE6;
  --code-text:       #7A2E2E;
  --success:         #4B6354;
  --warning:         #8A6A2F;
  --nav-bg:          #F7F4ED;

  --font-serif: 'EB Garamond', 'Source Serif 4', Georgia, serif;
  --font-ui:    'Inter', 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono:  'IBM Plex Mono', 'JetBrains Mono', 'Courier New', monospace;

  --content-width: 820px;
  --reading-width: 720px;
  --nav-height:    56px;

  --radius-sm: 4px;
  --radius:    6px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.03);
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
}

/* ── Selection ────────────────────────────────────────────── */

::selection {
  background: #23395D;
  color: #F7F4ED;
}

/* ── Reset ────────────────────────────────────────────────── */

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

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Skip link ────────────────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: var(--bg);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 1.2rem;
  font-family: var(--font-mono);
  z-index: 9999;
}
.skip-link:focus { top: 0.5rem; }

/* ── Navigation ───────────────────────────────────────────── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 3.2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-brand {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.nav-brand:hover { color: var(--accent); }

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
  margin-left: auto;
}

.nav-links a {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  font-family: var(--font-ui);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active {
  color: var(--accent);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
  width: 100%;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 420px;
}

.hero-art {
  border-right: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  max-height: 520px;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(15%) contrast(108%);
  /* reset any global prose img rules */
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}

.hero-art svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-inner {
  padding: 5.6rem 5.6rem 5.6rem 4.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
  max-width: 520px;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-name {
  font-family: var(--font-serif);
  font-size: 6.4rem;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0 0 2.4rem;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-style: italic;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
  max-width: 32ch;
}

/* Legacy hero-prompt (fallback if template emits it) */
.hero-prompt {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
  letter-spacing: 0.04em;
}

/* ── Main layout ──────────────────────────────────────────── */

.page-main, .home-content { flex: 1; }

.content-wrap {
  max-width: var(--reading-width);
  margin: 0 auto;
  padding: 4.8rem 3.2rem;
}

/* ── Rule-labeled sections ────────────────────────────────── */

.rule-labeled {
  position: relative;
  border-top: 1px solid var(--border);
  padding-top: 3.2rem;
  margin-top: 6.4rem;
  max-width: var(--content-width);
  padding-left: 3.2rem;
  padding-right: 3.2rem;
  margin-left: auto;
  margin-right: auto;
}

.rule-labeled::before {
  content: attr(data-label);
  position: absolute;
  top: -1rem;
  left: 3.2rem;
  background: var(--bg);
  padding-right: 1.2rem;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Page header ──────────────────────────────────────────── */

.page-header {
  margin-bottom: 3.2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.2rem;
  color: var(--text);
}

.page-desc {
  font-size: 1.7rem;
  font-style: italic;
  color: var(--text-secondary);
  margin: 0 0 0.8rem;
  line-height: 1.6;
}

.page-date {
  display: inline-block;
  font-size: 1.2rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  letter-spacing: 0.04em;
}

.page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

/* ── Tags ─────────────────────────────────────────────────── */

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--accent);
  border: 1px solid var(--border);
  background: var(--accent-bg);
  border-radius: var(--radius-sm);
  padding: 0.1rem 0.6rem;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
  cursor: pointer;
}
.tag:hover {
  border-color: var(--accent);
  background: #dce5f2;
}

/* ── Prose content ────────────────────────────────────────── */

.prose {
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1.8;
}

.prose > * + * { margin-top: 1.6rem; }

.prose h1, .prose h2, .prose h3,
.prose h4, .prose h5, .prose h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 3.2rem 0 1.2rem;
}

.prose h1 { font-size: 3.2rem; }
.prose h2 {
  font-size: 2.4rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4em;
}
.prose h3 { font-size: 2rem; }
.prose h4 { font-size: 1.8rem; }
.prose h5, .prose h6 { font-size: 1.6rem; color: var(--text-secondary); }

.prose p { margin: 0 0 1.6rem; }

.prose a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(35, 57, 93, 0.25);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.prose a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent);
}

.prose strong { font-weight: 600; }
.prose em { font-style: italic; }

.prose ul, .prose ol {
  padding-left: 2.4rem;
  margin: 1.6rem 0;
}
.prose li { margin: 0.6rem 0; }
.prose li > ul, .prose li > ol { margin: 0.3rem 0; }

.prose blockquote {
  border-left: 2px solid var(--border);
  padding: 0.6rem 0 0.6rem 2.4rem;
  margin: 2.4rem 0;
  color: var(--text-secondary);
  font-style: italic;
}
.prose blockquote > * { margin: 0; }

/* ── Code ─────────────────────────────────────────────────── */

.prose code {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  background: var(--code-bg);
  color: var(--code-text);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.prose pre {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 2rem;
  overflow-x: auto;
  font-size: 1.4rem;
  line-height: 1.7;
  margin: 2.4rem 0;
  box-shadow: var(--shadow-xs);
}

.prose pre code {
  background: none;
  padding: 0;
  font-size: inherit;
  color: var(--text);
  border-radius: 0;
  border: none;
}

/* Pandoc syntax highlight */
.sourceCode { background: var(--code-bg) !important; }
div.sourceCode {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
div.sourceCode pre {
  margin: 0;
  padding: 1.6rem 2rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1.7;
  color: var(--text);
}

/* ── Tables ───────────────────────────────────────────────── */

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.6rem;
  margin: 2.4rem 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.prose thead {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.prose th {
  text-align: left;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 1rem 1.4rem;
}

.prose td {
  padding: 0.9rem 1.4rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text);
}

.prose tr:last-child td { border-bottom: none; }
.prose tbody tr:hover { background: var(--bg-secondary); }

/* ── HR ───────────────────────────────────────────────────── */

.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3.2rem 0;
}

/* ── Images ───────────────────────────────────────────────── */

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
  margin: 2.4rem auto;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.prose figure { margin: 2.4rem 0; text-align: center; }
.prose figcaption {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* ── Archive listing ──────────────────────────────────────── */

.listing-prose ul {
  list-style: none;
  padding: 0;
  counter-reset: archive-counter;
  margin: 0.5rem 0;
}

.listing-prose li {
  counter-increment: archive-counter;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0 1.2rem;
  align-items: start;
  transition: opacity 0.15s ease;
}
.listing-prose li:first-child { border-top: 1px solid var(--border); }
.listing-prose li:hover { opacity: 0.75; }

.listing-prose li::before {
  content: counter(archive-counter, decimal-leading-zero);
  font-size: 1.1rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  padding-top: 0.4rem;
}

.listing-prose li p { margin: 0; }

.listing-prose li a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(35,57,93,0.18);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.listing-prose li a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent);
}

.listing-prose li code {
  font-size: 1.1rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: none;
  padding: 0;
  border: none;
  letter-spacing: 0.04em;
}

.listing-prose li code:first-of-type {
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Archive index ────────────────────────────────────────── */

kbd {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: var(--radius-sm);
  padding: 0.05rem 0.45rem;
  color: var(--text-muted);
  box-shadow: var(--shadow-xs);
}

.archive-wrap { max-width: var(--reading-width); }

.archive-banner {
  margin-bottom: 3.2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-style: italic;
  line-height: 1.7;
}

.archive-banner p { margin: 0 0 0.6rem; }

.archive-hint {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-muted);
  font-style: normal;
  letter-spacing: 0.03em;
}

.archive-group { margin-bottom: 3.2rem; }

.archive-group-title {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 1.2rem;
}

.archive-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-group ul li {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
}
.archive-group ul li:first-child { border-top: 1px solid var(--border); }

.archive-item-header {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.4rem;
}

.archive-item-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(35,57,93,0.18);
  transition: color 0.15s ease, border-color 0.15s ease;
  flex: 1;
}
.archive-item-title:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent);
}

.archive-badge {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  padding: 0.1rem 0.45rem;
  flex-shrink: 0;
}
.archive-badge.pdf {
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid rgba(35,57,93,0.2);
}
.archive-badge.html-badge {
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}

.archive-item-desc,
.archive-group ul li > p {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 0.6rem;
}

.archive-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* ── Tags index ───────────────────────────────────────────── */

.tags-wrap { max-width: var(--reading-width); }

.tags-banner {
  margin-bottom: 3.2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
}
.tags-banner p { margin: 0 0 0.6rem; }

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.35rem 0.9rem;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.tag-chip:hover {
  border-color: var(--accent);
  background: var(--accent-bg);
}

.tag-chip-name {
  font-family: var(--font-mono);
  color: var(--accent);
  letter-spacing: 0.02em;
}
.tag-chip-sm .tag-chip-name { font-size: 1.2rem; }
.tag-chip-md .tag-chip-name { font-size: 1.35rem; }
.tag-chip-lg .tag-chip-name { font-size: 1.5rem; font-weight: 500; }

.tag-chip-count {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 0.4rem;
  line-height: 1.6;
}

/* ── Tag page listing (no counter) ───────────────────────── */

.tag-listing ul { counter-reset: none; }
.tag-listing li { grid-template-columns: 1fr; }
.tag-listing li::before { display: none; }

/* ── Footer ───────────────────────────────────────────────── */

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 1.4rem 3.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-muted);
  gap: 1rem;
}

.footer-feeds { display: flex; gap: 2rem; }
.footer-feeds a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.footer-feeds a:hover {
  color: var(--accent);
  border-bottom-color: rgba(35,57,93,0.3);
}

/* ── Blog index ───────────────────────────────────────────── */

.blog-index-wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 4.8rem 3.2rem;
}

.blog-index-header {
  max-width: var(--reading-width);
  padding: 0;
  margin-bottom: 3.2rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.6rem;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.blog-card:hover {
  border-color: rgba(35,57,93,0.3);
  box-shadow: var(--shadow-sm);
}

.blog-card p { margin: 0; }

.blog-card-date {
  font-size: 1.2rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--accent);
  text-decoration: none;
  border-bottom: none;
  display: block;
}
.blog-card-title:hover { color: var(--accent-hover); }

.blog-card-desc {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  font-style: italic;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

/* ── Blog post ────────────────────────────────────────────── */

.post-header {
  margin-bottom: 3.2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--border);
}

.post-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 1.6rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.post-date {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.post-author {
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.post-desc {
  font-size: 1.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 1.2rem 0 1.2rem;
  font-style: italic;
  font-family: var(--font-serif);
}

.post-tags { margin-top: 1.2rem; }

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .hero-art {
    border-right: none;
    border-bottom: 1px solid var(--border);
    height: 280px;
    max-height: 280px;
  }
  .hero-inner {
    padding: 3.2rem 2.4rem;
    max-width: 100%;
  }
  .hero-name { font-size: 5.2rem; }
  .nav-container, .footer-inner { padding-left: 2.4rem; padding-right: 2.4rem; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0.8rem 1rem;
    gap: 0;
    box-shadow: var(--shadow-sm);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 0.6rem; width: 100%; }

  .hero-inner { padding: 2.4rem 1.6rem; }
  .hero-name { font-size: 4rem; }

  .content-wrap { padding: 3.2rem 1.6rem; }
  .page-title { font-size: 3.2rem; }
  .post-title { font-size: 3rem; }

  .blog-index-wrap { padding: 2.4rem 1.6rem; }
  .blog-grid { grid-template-columns: 1fr; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }

  .rule-labeled { padding-left: 1.6rem; padding-right: 1.6rem; }
  .rule-labeled::before { left: 1.6rem; }
}
