/* ============================================================
   ROOT LEVEL THOUGHTS — Proposal C: Swiss Minimalist
   The grid is the design. Restrained accent, precise type.
   ============================================================ */

:root {
  color-scheme: dark;
  /* Canonical tokens — references/tokens.md (dark-first blog) — no hex outside this block */
  --bg: #1b1d21;
  --surface: #202329;
  --card: #252931;
  --card-hover: #2a2f38;
  --border: #373d46;
  --border-hover: #48515d;
  --text-primary: #a4abb7;
  --text-secondary: #919aaa;
  --text-muted: #8893a4;
  --text-faint: #8590a1;
  --accent: #459ca7;
  --accent-soft: rgba(69,156,167,0.12);
  --accent-text: #0b1b1d;
  --success: #84b865;
  --warn: #cc9d5b;
  --error: #e67188;
  --code-bg: #202329;
  --table-stripe: #202329;
  --focus-ring: var(--accent);
  /* type + layout — three faces, one scale */
  --sans: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --content: 960px;
  --content-wide: 1200px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --duration: 0.15s;
  --ease: ease;
  /* legacy alias layer — back-compat for any external hooks */
  --rlt-bg: var(--bg);
  --rlt-surface: var(--surface);
  --rlt-card: var(--card);
  --rlt-white: var(--text-primary);
  --rlt-heading: var(--text-primary);
  --rlt-text: var(--text-secondary);
  --rlt-text-muted: var(--text-muted);
  --rlt-accent: var(--accent);
  --rlt-border: var(--border);
  --rlt-ink-inverse: var(--accent-text);
  --rlt-surface-deep: var(--surface);
  --rlt-surface-soft: var(--surface);
  --rlt-surface-inset: var(--bg);
  --rlt-danger: var(--error);
  --rlt-warning: var(--warn);
  --rlt-sans: var(--sans);
  --rlt-body: var(--body);
  --rlt-mono: var(--mono);
  --rlt-max: var(--content-wide);
}

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

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  background: var(--bg);
  color: var(--text-secondary);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--accent-text); }

a { color: inherit; text-decoration: none; transition: color var(--duration) var(--ease); }
button { font-family: inherit; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: rgba(69,156,167,0.15); }
a { touch-action: manipulation; -webkit-tap-highlight-color: rgba(69,156,167,0.15); }

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}
h1, h2, h3 { text-wrap: balance; scroll-margin-top: 4rem; }
.row-date, .count, .meta-value, .exp-date { font-variant-numeric: tabular-nums; }

/* Layout shell */
.page { min-height: 100vh; display: flex; flex-direction: column; }
.page-main { flex: 1 1 auto; width: 100%; }
.wrap { max-width: var(--content-wide); margin: 0 auto; padding: 0 3rem; }

/* Uppercase micro-label — 0.72rem respects 11.5px floor */
.label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ── Header ── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
  max-width: var(--content-wide);
  margin: 0 auto;
  width: 100%;
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  z-index: 10;
  padding: 0.5rem 0.75rem;
  color: var(--accent-text);
  background: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transform: translateY(-200%);
  transition: transform var(--duration) var(--ease);
}

.skip-link:focus-visible { transform: translateY(0); }

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.brand-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.brand-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.header-nav { display: flex; align-items: center; gap: 2rem; }

.header-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  min-width: 24px;
  padding: 0.35rem 0 0.35rem 0;
}

.header-nav a:hover { color: var(--text-primary); }

.header-nav a.active,
.header-nav a[aria-current="page"] { color: var(--text-primary); }
.header-nav a.active::after,
.header-nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
}

/* ── Footer ── */
.site-footer {
  border-top: 2px solid var(--text-primary);
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-wide);
  margin: 0 auto;
  width: 100%;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-left {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-right { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.footer-right a {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  min-width: 24px;
  padding: 0.25rem 0;
}

.footer-right a:hover { color: var(--text-primary); }

/* ── Hero (homepage) ── */
.hero {
  padding: 5rem 3rem 3rem 3rem;
  position: relative;
  max-width: var(--content-wide);
  margin: 0 auto;
}

.hero .hero-line {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--border);
}
.hero .hero-line:nth-child(1) { left: 0; }
.hero .hero-line:nth-child(2) { right: 0; }

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 760px;
  margin-bottom: 1.75rem;
}

.hero-desc {
  font-family: var(--body);
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 520px;
  font-weight: 400;
}

/* ── Post index (rows) ── */
.posts-list { padding: 0 3rem 4rem 3rem; max-width: var(--content-wide); margin: 0 auto; }

.list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--text-primary);
}

.list-header h2 {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-primary);
}

.list-header .count {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-muted);
}

.post-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 2rem;
  align-items: baseline;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s;
  will-change: transform;
}

.post-row:hover { transform: translateX(0.5rem); }
.post-row:hover .row-title { color: var(--accent); }

.row-date {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.row-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

.row-subtitle {
  display: block;
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.row-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  white-space: nowrap;
  text-align: right;
}

.list-cta {
  margin-top: 1.25rem;
  display: flex;
  justify-content: flex-end;
}
.list-cta a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}
.list-cta a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ── Article (dual-column reading view) ── */
.article {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  padding: 4rem 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.article-sidebar {
  position: sticky;
  top: 4rem;
  align-self: start;
}

.sidebar-back {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2rem;
}
.sidebar-back:hover { color: var(--accent); }

.sidebar-meta { border-top: 2px solid var(--text-primary); padding-top: 1rem; }

.meta-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.meta-value {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.meta-value.accent {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.76rem;
}

.article-main { max-width: 64ch; }

.article-main .article-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.article-lead {
  font-family: var(--body);
  font-size: 1.08rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

/* Prose */
.article-content h1, .article-content h2, .article-content h3 {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.article-content h1 { margin: 2.5rem 0 1rem 0; font-size: 1.6rem; }
.article-content h2 { margin: 2.75rem 0 0.85rem 0; font-size: 1.35rem; letter-spacing: -0.015em; }
.article-content h3 { margin: 2rem 0 0.65rem 0; font-size: 1.12rem; letter-spacing: -0.01em; }

.article-content p {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.35rem;
  font-weight: 400;
}

.article-content a {
  color: var(--accent);
  border-bottom: 1px solid rgba(69, 156, 167, 0.35);
}
.article-content a:hover { border-bottom-color: var(--accent); }

.article-content strong { color: var(--text-primary); font-weight: 600; }
.article-content em { font-style: italic; }

.article-content ul, .article-content ol {
  margin: 0 0 1.5rem 1.25rem;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
}
.article-content li { margin-bottom: 0.5rem; }
.article-content li::marker { color: var(--text-muted); }

.article-content code {
  font-family: var(--mono);
  font-size: 0.82rem;
  background: var(--surface);
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  color: var(--accent);
}

.article-content pre {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 1.5rem 0;
  overflow-x: auto;
  transition: border-left-color 0.15s;
}
.article-content pre:hover { border-left-color: var(--text-primary); }
.article-content pre code {
  background: none;
  padding: 0;
  color: var(--text-secondary);
  font-size: inherit;
}

.article-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: var(--body);
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.article-content img { max-width: 100%; height: auto; margin: 2rem 0; }
.article-content hr { border: none; border-top: 1px solid var(--border); margin: 3rem 0; }

/* ── Signature block (post) ── */
.post-signature { margin-top: 3rem; }

.sig-block {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  position: relative;
}

.sig-block::before {
  content: 'VERIFIED';
  position: absolute;
  top: -0.55rem;
  left: 1rem;
  background: var(--bg);
  padding: 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.sig-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.sig-text a { color: var(--accent); border-bottom: 1px solid var(--accent); }

.sig-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; }

/* Buttons (used by signature + verify pages) */
.button {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  background: none;
  border: 1px solid var(--border);
  padding: 0.55rem 1rem;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.button:hover { color: var(--text-primary); border-color: var(--text-primary); }
.button.primary { color: var(--accent-text); background: var(--accent); border-color: var(--accent); }
.button.primary:hover { background: var(--text-primary); border-color: var(--text-primary); color: var(--bg); }
.button:disabled { opacity: 0.4; cursor: not-allowed; }

#verification-status { font-size: 0.82rem; }
.status-verified { color: var(--accent); }
.status-failed { color: var(--error); }
.status-pending { color: var(--text-muted); }

.signature-details { margin-top: 1.25rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.signature-details summary {
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  list-style-position: outside;
}
.signature-details summary:hover { color: var(--text-primary); }
.signature-details[open] summary { margin-bottom: 0.4rem; }
.signature-details code {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  word-break: break-all;
  color: var(--accent);
  line-height: 1.6;
}
.signature-details p { font-size: 0.82rem; color: var(--text-muted); }
.signature-details a { color: var(--accent); border-bottom: 1px solid var(--accent); }

/* ── About page ── */
.about { padding: 5rem 3rem 4rem 3rem; max-width: var(--content-wide); margin: 0 auto; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-name {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 0.4rem;
}

.about-role {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.about-bio {
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
  font-weight: 400;
}

.about-links { display: flex; flex-direction: column; gap: 0.5rem; }

.about-links a {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  transition: color 0.15s, transform 0.15s;
  will-change: transform;
}
.about-links a:hover { color: var(--accent); transform: translateX(0.5rem); }
.about-links a .arrow { font-size: 0.7rem; opacity: 0; transition: opacity 0.15s; }
.about-links a:hover .arrow { opacity: 1; }

.about-right {
  border-left: 1px solid var(--border);
  padding-left: 4rem;
}

.exp-section-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--text-primary);
}

.exp-item { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }

.exp-date {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.exp-title { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.15rem; }
.exp-company { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.5rem; }

.exp-desc {
  font-family: var(--body);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.exp-desc ul, ul.exp-desc { margin: 0.5rem 0 0 1.1rem; list-style: disc outside; font-family: var(--body); }
.exp-desc li, ul.exp-desc li { margin-bottom: 0.35rem; line-height: 1.55; }
.exp-desc li::marker, ul.exp-desc li::marker { color: var(--text-muted); }

.about-blocks { margin-top: 3rem; }
.about-blocks .exp-section-title { margin-top: 0; }

.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
.skill-cell .meta-label { margin-bottom: 0.3rem; }
.skill-cell .skill-val { font-size: 0.85rem; color: var(--text-primary); }

/* ── Verify page ── */
.verify-container { max-width: 760px; margin: 0 auto; padding: 4rem 3rem; }

.verify-container h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.verify-container .verify-lead {
  font-family: var(--body);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.instructions {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 1em 1.5em;
  margin: 1.5em 0;
  font-size: 0.9rem;
}
.instructions h4 {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.5em;
}
.instructions p { font-family: var(--body); color: var(--text-secondary); line-height: 1.6; }
.instructions ul { margin: 0.5em 0 0 1.1rem; font-family: var(--body); }
.instructions code {
  font-family: var(--mono);
  font-size: 0.78rem;
  background: var(--surface);
  padding: 0.1rem 0.4rem;
  color: var(--accent);
}

.verify-form {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
  margin: 2rem 0;
}
.verify-form label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5em;
}
.verify-form textarea,
.verify-form input[type="text"] {
  width: 100%;
  padding: 1em;
  margin-bottom: 1.5em;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-family: var(--mono);
  font-size: 0.85rem;
  resize: vertical;
}
.verify-form textarea:focus,
.verify-form input[type="text"]:focus { border-color: var(--accent); }

.tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 1.5em; gap: 0.5rem; }
.tab {
  padding: 0.75em 1.5em;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tab:hover { color: var(--text-primary); }
.tab.active { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.file-upload { margin-bottom: 1.5em; }
.file-upload input[type="file"] { display: none; }
.file-name { color: var(--text-muted); font-style: italic; margin-left: 0.75em; font-size: 0.85rem; }

.button-group { display: flex; gap: 0.75em; flex-wrap: wrap; }

.verify-result {
  padding: 1.25em;
  margin-top: 1.5em;
  text-align: center;
  font-size: 1rem;
  border: 1px solid;
}
.verify-result.success { background: rgba(39, 153, 167, 0.12); border-color: var(--accent); color: var(--accent); }
.verify-result.failure { background: rgba(231, 76, 60, 0.12); border-color: var(--error); color: var(--error); }
.verify-result.pending { background: rgba(241, 196, 15, 0.1); border-color: var(--warn); color: var(--warn); }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .post-row:hover { transform: none; }
  .about-links a:hover { transform: none; }
}

/* ── Utilities ── */
.prose h2, .prose h3 { scroll-margin-top: 4rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .article { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 2rem; }
  .article-sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1rem; }
  .sidebar-back { grid-column: 1 / -1; margin-bottom: 0.5rem; }
  .sidebar-meta { grid-column: 1 / -1; border-top: 2px solid var(--text-primary); border-left: none; padding: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
  .sidebar-meta > div { flex: 1 1 8rem; min-width: 0; }
  .sidebar-meta .meta-value { margin-bottom: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-right { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 2.5rem; }
}

@media (max-width: 768px) {
  .wrap, .site-header, .site-footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero { padding: 4rem 1.5rem 3rem; }
  .hero h1 { font-size: 2.4rem; }
  .hero .hero-line { display: none; }
  .posts-list { padding: 0 1.5rem 3rem; }
  .site-footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  .verify-container { padding: 3rem 1.5rem; }
}

@media (max-width: 620px) {
  .post-row { grid-template-columns: 1fr; gap: 0.35rem; padding: 1.25rem 0; }
  .row-tag { text-align: left; order: -1; }
  .row-date { order: 2; }
  .row-title { order: 3; }
  .post-row:hover { transform: translateX(0.25rem); }
  .header-nav { gap: 1.1rem; }
  .site-header { flex-wrap: wrap; gap: 1rem; }
  .about { padding: 3.5rem 1.5rem; }
  .about-name { font-size: 2.1rem; }
  .skills-grid { grid-template-columns: 1fr; }
  .verify-form textarea,
  .verify-form input[type="text"] { font-size: 1rem; }
}
