/*
Theme Name: DuCrap
Description: A warm notebook for learning, code and life.
Version: 1.1.0
Text Domain: ducrap
*/
/* DuCrap — warm editorial design inspired by the supplied Cursor reference. */
:root {
  --paper: #fbf7ef; --paper-light: #fffcf7; --surface: #ede4d6; --surface-soft: #f3ecdf;
  --ink: #453b32; --muted: #756857; --accent: #bb704e; --accent-ink: #995138;
  --line: rgba(103,80,53,.13); --line-strong: rgba(103,80,53,.25);
  --error: #ac2448; --success: #426a4f; --radius: 14px;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --serif: 'Iowan Old Style', 'Palatino Linotype', 'Noto Serif CJK SC', 'Songti SC', 'STSong', 'SimSun', Georgia, serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: #ecd5b6; color: var(--ink); }
a { color: inherit; text-decoration: none; transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
a:hover { color: var(--accent-ink); }
button, input, textarea, select { font: inherit; }
button, input[type='submit'] { cursor: pointer; }
button { color: inherit; }
img { max-width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-weight: 500; text-wrap: balance; }
p { margin-bottom: 1em; }
.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }
.button .icon, .text-link .icon, .post-meta .icon, .lock-badge .icon, .file-link .icon { width: 16px; height: 16px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding-right: 4px; border-radius: 12px 12px 12px 4px; background: #f0dfca; color: var(--accent-ink); font: 600 26px/1 var(--mono); letter-spacing: -5px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { font-size: 23px; font-weight: 650; letter-spacing: -.8px; line-height: 1; }
.desktop-nav { display: flex; align-items: center; gap: 26px; }
.desktop-nav a { font-size: 14px; font-weight: 500; padding-block: 13px; }
.desktop-nav a[aria-current]:not([aria-current='false']) { color: var(--accent-ink); }
.desktop-nav .button { padding: 10px 16px; }
.mobile-menu { display: none; position: relative; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 11px 19px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.3; text-align: center; }
.button:hover { color: var(--accent-ink); background: var(--surface); }
.button-dark { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--paper-light); }
.button-dark:hover { color: var(--paper-light); background: #80442f; border-color: #80442f; }
.header-vault { background: #efe5d6; border-color: transparent; color: var(--ink); }
.header-vault:hover { background: #e7d9c5; border-color: transparent; color: var(--ink); }
.button-small { min-height: 38px; padding: 9px 15px; }
.button-ghost { background: transparent; border-color: var(--line-strong); }
.hero { display: grid; grid-template-columns: 1.45fr 1fr; align-items: center; gap: 60px; padding-block: 46px 50px; }
.hero-copy { min-width: 0; }
.eyebrow, .section-label, .page-kicker { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 400 12px/1.5 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.eyebrow { margin-bottom: 14px; font-family: var(--sans); font-size: 14px; letter-spacing: .07em; text-transform: none; }
.eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.hero-title { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(52px, 4.6vw, 64px); font-weight: 400; line-height: 1.25; letter-spacing: .015em; }
.hero-title em, .hero-title > span { color: var(--accent-ink); font-style: normal; }
.hero-description { max-width: 550px; margin-bottom: 23px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.code-card { min-width: 0; overflow: hidden; border: 1px solid #3d3b32; border-radius: var(--radius); background: #292820; color: #e6e5da; box-shadow: 0 14px 34px rgba(38,37,30,.08); }
.code-bar { display: flex; align-items: center; gap: 20px; min-height: 43px; padding: 11px 17px; border-bottom: 1px solid rgba(242,241,237,.1); background: #313027; }
.code-dots { display: flex; gap: 5px; }
.code-dots i { width: 7px; height: 7px; border-radius: 50%; background: #777369; }
.code-dots i:first-child { background: #b88b74; }
.code-dots i:nth-child(2) { background: #b6a270; }
.code-dots i:nth-child(3) { background: #899d80; }
.code-file { color: #c4c2b7; font: 12px/1.5 var(--mono); }
.code-body { padding: 20px 20px 22px 0; overflow-x: auto; font: 13px/1.95 var(--mono); }
.code-line { display: flex; min-width: max-content; white-space: pre; }
.line-number { display: inline-block; width: 43px; flex: 0 0 43px; padding-right: 16px; color: #99968a; text-align: right; user-select: none; }
.code-key { color: #c0a8dd; }
.code-value { color: #a8c99f; }
.code-comment { color: #aaa697; }
.section { padding-block: 34px 40px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 21px; }
.section-heading h2 { margin-bottom: 0; font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: 1.4; letter-spacing: .02em; }
.section-heading .section-label { font-family: var(--sans); letter-spacing: .07em; }
.section-heading .section-label { margin-bottom: 9px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; white-space: nowrap; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.topic-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 11px; }
.topic-pills a, .pill { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-light); font-size: 14px; line-height: 1.3; }
.topic-pills a:hover, .pill:hover { background: var(--surface-soft); }
.topic-pills .is-active, .pill.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.post-list { border-bottom: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: 112px 1fr 28px; align-items: start; gap: 22px; padding: 25px 12px; margin-inline: -12px; border-top: 1px solid var(--line); transition: background-color .2s ease; }
.post-row:hover { background: #f5edde; border-radius: 12px; }
.post-row:first-child { border-top: 0; }
.post-date { color: var(--muted); padding-top: 4px; font: 12px/1.7 var(--mono); }
.post-copy { min-width: 0; }
.post-copy h3 { margin: 0 0 6px; font-size: 21px; font-weight: 400; line-height: 1.5; }
.post-excerpt { max-width: 850px; margin-bottom: 9px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.post-category { color: var(--accent-ink); }
.post-arrow { display: flex; justify-content: end; padding-top: 6px; color: var(--muted); transition: transform .15s ease; }
.post-row:hover .post-arrow { color: var(--accent-ink); transform: translateX(3px); }
.vault-teaser { padding-block: 31px 36px; }
.vault-intro { max-width: 680px; margin-bottom: 24px; color: var(--muted); font-size: 16px; }
.vault-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vault-card { position: relative; min-width: 0; padding: 23px 24px; border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; background: #f5e9dc; transition: transform .2s ease, box-shadow .2s ease; }
.vault-card:nth-child(2) { background: #eef0e4; }
.vault-card:nth-child(3) { background: #f2e8e2; }
a.vault-card:hover { border-color: var(--line-strong); color: var(--ink); transform: translateY(-3px); box-shadow: 0 7px 20px rgba(103,80,53,.07); }
.vault-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.vault-number { color: var(--muted); font: 12px/1.5 var(--mono); }
.vault-card h3 { margin-bottom: 9px; font-size: 21px; font-weight: 400; line-height: 1.4; }
.vault-card p { margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.vault-card > .text-link { margin-top: 20px; }
.code-bar > .code-comment { margin-left: auto; font: 12px var(--mono); }
.page-header + .topic-pills { margin-top: 28px; }
.pagination { margin-bottom: 40px; }
.lock-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; line-height: 1.3; }
.about-strip { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-block: 6px 40px; padding: 28px 30px; border-left: 3px solid #8a9a72; border-radius: 3px 14px 14px 3px; background: #edf0e5; }
.about-strip-copy h2, .about-strip-copy h3 { margin-bottom: 6px; font-size: 20px; font-weight: 400; }
.about-strip-copy p { margin: 0; color: var(--muted); font-size: 16px; }
.about-strip-copy .section-label { margin-bottom: 10px; font: 12px/1.5 var(--sans); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 29px 33px; }
.footer-brand { font-size: 17px; font-weight: 600; letter-spacing: -.4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; }
.footer-note { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.footer-brand span { color: var(--accent); }
.page-header { padding-block: 47px 32px; border-bottom: 1px solid var(--line); }
.page-kicker { margin-bottom: 13px; }
.page-title { margin-bottom: 15px; font-size: clamp(34px, 4vw, 48px); font-weight: 400; line-height: 1.22; letter-spacing: -.025em; }
.page-description { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: 17px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 26px; color: var(--muted); font-size: 14px; }
.reading-layout { max-width: 800px; margin-inline: auto; padding-block: 32px 60px; }
.article-header { padding-bottom: 27px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.article-title { margin-block: 10px 20px; font-size: clamp(30px, 3.7vw, 44px); font-weight: 400; line-height: 1.35; letter-spacing: -.015em; overflow-wrap: anywhere; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 12px; }
.article-content { font-size: 17px; line-height: 1.95; overflow-wrap: anywhere; }
.article-content > :first-child { margin-top: 0; }
.article-content p, .article-content ul, .article-content ol { margin-bottom: 1.35em; }
.article-content h2 { margin-block: 1.8em .7em; font-size: 28px; line-height: 1.4; }
.article-content h3 { margin-block: 1.7em .6em; font-size: 23px; line-height: 1.45; }
.article-content h4 { margin-block: 1.5em .5em; font-size: 19px; }
.article-content a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; }
.article-content a:hover { color: var(--error); }
.article-content ul, .article-content ol { padding-left: 1.6em; }
.article-content li + li { margin-top: .35em; }
.article-content blockquote, .article-content .wp-block-quote { margin: 1.7em 0; padding: 14px 24px; border-left: 2px solid var(--accent); background: var(--surface-soft); font-family: var(--serif); font-size: 19px; line-height: 1.85; }
.article-content blockquote p:last-child { margin-bottom: 0; }
.article-content pre { max-width: 100%; overflow-x: auto; margin-block: 25px; padding: 22px; border-radius: var(--radius); background: #413a32; color: #f3e9dc; font: 14px/1.8 var(--mono); }
.article-content code { padding: 2px 5px; border-radius: 3px; background: var(--surface); font: .88em/1.6 var(--mono); }
.article-content pre code { padding: 0; background: transparent; font: inherit; color: inherit; }
.article-content figure { margin: 28px 0; }
.article-content img { display: block; height: auto; border-radius: var(--radius); }
.article-content figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; text-align: center; line-height: 1.7; }
.article-content .wp-block-table { max-width: 100%; overflow-x: auto; }
.article-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.article-content th, .article-content td { padding: 12px 15px; border: 1px solid var(--line-strong); text-align: left; }
.article-content th { background: var(--surface); font-weight: 500; }
.article-content hr { margin-block: 36px; border: 0; border-top: 1px solid var(--line); }
.article-content .aligncenter { margin-inline: auto; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 25px; color: var(--muted); font-size: 14px; }
.empty-state { padding: 52px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; color: var(--muted); }
.empty-title { margin-bottom: 8px; color: var(--ink); font-size: 22px; font-weight: 400; }
.empty-state p:last-child { margin-bottom: 0; }
.vault-shell { padding-block: 36px 64px; }
.vault-login { width: min(100%, 500px); margin: 12px auto 25px; padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper-light); box-shadow: 0 9px 30px rgba(103,80,53,.045); }
.vault-login h2 { margin-bottom: 12px; font-size: 27px; font-weight: 400; }
.vault-login > p { color: var(--muted); font-size: 16px; }
.vault-login-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 22px; border: 1px solid var(--line-strong); border-radius: 50%; }
.vault-form { margin-top: 24px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; margin-bottom: 8px; font-size: 14px; }
.form-field input, .search-form input[type='search'] { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--paper-light); color: var(--ink); font-size: 16px; }
.form-field input:focus { border-color: var(--accent-ink); }
.vault-form > .button { width: 100%; }
.form-message { padding: 11px 14px; border-left: 2px solid var(--line-strong); background: var(--paper); font-size: 14px; }
.form-message.error { color: var(--error); border-color: var(--error); }
.form-message.success { color: var(--success); border-color: var(--success); }
.form-help { margin-top: 15px; margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.vault-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.vault-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.vault-tabs a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.vault-tabs a[aria-current='page'], .vault-tabs .is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.record-list { display: grid; gap: 18px; }
.record-card { padding: 25px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-light); }
.record-type { display: inline-block; margin-bottom: 10px; color: var(--accent-ink); font-size: 12px; }
.record-title { margin-bottom: 10px; font-size: 23px; line-height: 1.45; font-weight: 400; }
.record-summary { max-width: 900px; color: var(--muted); font-size: 16px; }
.record-files { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.file-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-soft); font-size: 14px; overflow-wrap: anywhere; }
.notice { margin-bottom: 25px; padding: 15px 18px; border-left: 2px solid var(--accent); background: var(--surface-soft); color: var(--muted); font-size: 14px; }
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 30px; }
.page-numbers { display: inline-flex; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; padding: 7px 12px; border: 1px solid var(--line); border-radius: 5px; font-size: 14px; }
.page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.search-form { display: flex; align-items: stretch; gap: 9px; margin-block: 20px; }
.search-form label { flex: 1; }
.search-form input[type='submit'] { padding: 10px 18px; border: 0; border-radius: 6px; background: var(--ink); color: var(--paper); font-size: 14px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.screen-reader-text:focus { z-index: 1000; top: 10px; left: 10px; width: auto; height: auto; padding: 12px 18px; clip: auto; background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 4px; }

/* A small, quiet still life: CSS shapes keep the page light and self-contained. */
.desk-corner { width: 100%; max-width: 410px; justify-self: center; padding: 0 12px 9px; }
.desk-scene { position: relative; height: 175px; margin-inline: 5px; }
.window-frame { position: absolute; top: 0; left: 41%; width: 126px; height: 144px; overflow: hidden; border: 6px solid #e2d3bc; border-radius: 65px 65px 3px 3px; background: #eef0df; box-shadow: 7px 5px 0 #f3eadc; }
.window-frame::before, .window-frame::after { content: ''; position: absolute; z-index: 2; background: #e2d3bc; }
.window-frame::before { width: 5px; height: 100%; left: calc(50% - 2px); }
.window-frame::after { width: 100%; height: 5px; top: 60%; }
.window-sun { position: absolute; width: 35px; height: 35px; top: 21px; right: 13px; border-radius: 50%; background: #ead1a0; }
.window-hill { position: absolute; width: 150px; height: 80px; left: -31px; bottom: -45px; border-radius: 50%; background: #ccd6b6; transform: rotate(-14deg); }
.desk-shelf { position: absolute; bottom: 14px; left: 3%; width: 94%; height: 4px; border-radius: 3px; background: #d3bea0; }
.desk-books { position: absolute; bottom: 18px; left: 8%; width: 100px; height: 45px; }
.desk-book { position: absolute; left: 0; width: 102px; height: 18px; border-radius: 3px 7px 7px 3px; border-right: 5px solid #ddc5a5; }
.book-bottom { bottom: 0; background: #a9b38d; box-shadow: inset 0 -4px 0 #929f77; }
.book-top { bottom: 20px; left: 4px; width: 91px; height: 21px; background: #d4b392; color: #654f3a; font: 12px/21px var(--mono); text-align: center; transform: rotate(-5deg); }
.desk-mug { position: absolute; width: 38px; height: 35px; bottom: 18px; left: 49%; border-radius: 4px 4px 12px 12px; background: #b97859; box-shadow: inset 5px 0 0 rgba(255,255,255,.13); }
.desk-mug::after { content: ''; position: absolute; top: 6px; right: -12px; width: 16px; height: 20px; border: 4px solid #b97859; border-left: 0; border-radius: 0 12px 12px 0; }
.mug-steam { position: absolute; top: -28px; left: 15px; width: 8px; height: 21px; border-left: 2px solid #c7b9a5; border-radius: 50%; transform: rotate(12deg); }
.desk-plant { position: absolute; width: 56px; height: 101px; bottom: 18px; right: 6%; }
.plant-pot { position: absolute; bottom: 0; left: 15px; width: 36px; height: 32px; background: #d4b294; clip-path: polygon(0 0,100% 0,87% 100%,13% 100%); border-top: 4px solid #c29b7b; border-radius: 3px; }
.plant-stem { position: absolute; width: 2px; height: 61px; background: #89966e; bottom: 26px; left: 32px; transform: rotate(2deg); }
.plant-leaf { position: absolute; width: 21px; height: 35px; border-radius: 90% 0 90% 0; background: #a2b185; }
.leaf-one { left: 32px; top: 0; transform: rotate(12deg); }
.leaf-two { left: 12px; top: 21px; transform: rotate(-79deg); background: #899e78; }
.leaf-three { left: 33px; top: 38px; width: 18px; height: 29px; transform: rotate(23deg); }
.desk-note { position: relative; width: calc(100% - 18px); margin: 6px auto 0; padding: 22px 27px 18px; border: 1px solid #e9ddca; border-radius: 3px 3px 16px 3px; background: #fffaf0; box-shadow: 0 9px 25px rgba(112,83,45,.065); transform: rotate(-1.5deg); }
.desk-note::before { content: ''; position: absolute; width: 68px; height: 21px; top: -10px; left: calc(50% - 34px); transform: rotate(3deg); background: rgba(189,199,161,.52); border-inline: 1px dashed rgba(126,142,100,.18); }
.note-kicker { margin: 0 0 10px; color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.note-message { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.75; letter-spacing: .02em; }
.note-signature { display: block; margin-top: 12px; color: var(--accent-ink); font: italic 16px/1.5 Georgia, serif; text-align: right; }
.note-signature span { margin-left: 7px; font-style: normal; color: #86956f; }
@media (max-width: 1000px) {
  .container { width: calc(100% - 48px); }
  .hero { gap: 30px; grid-template-columns: 1.25fr 1fr; }
  .hero-title { font-size: 50px; }
  .desktop-nav { gap: 18px; }
  .code-body { font-size: 12px; }
  .vault-card { padding: 20px; }
}
@media (max-width: 760px) {
  .desk-corner { padding-inline: 0; }
  .desk-note { padding-inline: 20px; }
  .note-message { font-size: 19px; }
  .window-frame { left: 34%; }
  .desktop-nav { gap: 13px; }
  .desktop-nav a { font-size: 14px; }
  .hero { grid-template-columns: 1fr 1fr; gap: 23px; padding-block: 36px; }
  .hero-title { font-size: 43px; }
  .hero-description { font-size: 16px; }
  .code-body { padding-block: 15px; }
  .line-number { width: 31px; flex-basis: 31px; padding-right: 10px; }
  .vault-grid { gap: 10px; }
  .vault-card { padding: 17px; }
  .post-row { grid-template-columns: 92px 1fr 20px; gap: 16px; }
}
@media (min-width: 601px) and (max-width: 940px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .mobile-menu summary { cursor: pointer; padding: 8px; font-size: 14px; }
  .mobile-links { position: absolute; z-index: 30; right: 0; width: 206px; display: grid; padding: 12px; border: 1px solid var(--line); background: var(--paper-light); }
  .mobile-links a { padding: 10px; }
}
@media (max-width: 600px) {
  .desk-corner { max-width: 365px; }
  .desk-scene { height: 150px; }
  .window-frame { width: 108px; height: 123px; left: 41%; }
  .desk-note { padding: 20px 24px 16px; }
  .note-message { font-size: 21px; }
  .header-vault { display: none; }
  html { scroll-padding-top: 20px; }
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 64px; gap: 16px; }
  .brand-name { font-size: 22px; }
  .brand-mark { width: 27px; height: 28px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-links { position: absolute; z-index: 30; top: calc(100% + 12px); right: 0; width: 206px; display: flex; flex-direction: column; padding: 8px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper-light); box-shadow: 0 14px 32px rgba(38,37,30,.13); }
  .mobile-links a { min-height: 44px; padding: 10px 12px; border-radius: 5px; font-size: 14px; }
  .mobile-links a:hover { background: var(--surface); }
  .mobile-links .button { margin-top: 5px; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding-block: 29px 31px; }
  .eyebrow { margin-bottom: 12px; }
  .hero-title { margin-bottom: 14px; font-size: clamp(39px, 10.5vw, 48px); line-height: 1.25; letter-spacing: .01em; }
  .hero-description { margin-bottom: 20px; line-height: 1.75; }
  .hero-actions { gap: 9px; }
  .code-card { width: 100%; }
  .code-bar { min-height: 35px; padding: 8px 13px; }
  .code-body { padding-block: 12px; font-size: 12px; line-height: 1.8; }
  .line-number { width: 35px; flex-basis: 35px; padding-right: 11px; }
  .section { padding-block: 26px 29px; }
  .section-heading { align-items: center; gap: 14px; margin-bottom: 18px; }
  .section-heading h2 { font-size: 24px; }
  .topic-pills { gap: 7px; }
  .topic-pills a, .pill { min-height: 38px; padding-inline: 12px; }
  .post-row { grid-template-columns: minmax(0,1fr) 22px; gap: 6px 13px; padding-block: 19px; }
  .post-date { grid-column: 1; padding-top: 0; }
  .post-copy { grid-column: 1; grid-row: 2; }
  .post-copy h3 { font-size: 20px; }
  .post-arrow { grid-column: 2; grid-row: 2; }
  .post-excerpt { line-height: 1.75; }
  .vault-grid { grid-template-columns: 1fr; gap: 12px; }
  .vault-card { padding: 22px; }
  .vault-card-top { margin-bottom: 14px; }
  .about-strip { align-items: flex-start; flex-direction: column; gap: 17px; margin-block: 3px 28px; padding: 23px 22px; }
  .footer-inner { justify-content: flex-start; gap: 19px 25px; padding-block: 25px; }
  .footer-links { margin-left: auto; gap: 16px; }
  .footer-note { flex-basis: 100%; }
  .page-header { padding-block: 31px 26px; }
  .page-title { font-size: 34px; }
  .page-description { font-size: 16px; }
  .breadcrumbs { padding-top: 22px; }
  .reading-layout { padding-block: 25px 42px; }
  .article-header { margin-bottom: 25px; padding-bottom: 23px; }
  .article-title { font-size: 30px; }
  .article-content { font-size: 16px; line-height: 1.95; }
  .article-content h2 { font-size: 25px; }
  .article-content h3 { font-size: 21px; }
  .article-content blockquote, .article-content .wp-block-quote { padding: 14px 18px; font-size: 18px; }
  .article-content pre { padding: 17px; font-size: 13px; }
  .vault-shell { padding-block: 25px 40px; }
  .vault-login { margin-top: 0; padding: 25px 22px; }
  .vault-toolbar { align-items: flex-start; flex-direction: column; gap: 16px; }
  .record-card { padding: 21px; }
  .record-title { font-size: 21px; }
  .search-form { gap: 7px; }
  .search-form input[type='submit'] { padding-inline: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
