/*
Theme Name: 序迹 · Innerloop
Description: 一份简约、深色、带有轻柔动态的个人学习手记。
Version: 2.0.0
Author: 序迹
Text Domain: xuji
*/

:root {
  color-scheme: dark;
  --bg: #171817;
  --surface: #1d1f1d;
  --text: #ece9df;
  --muted: #a09f96;
  --accent: #dac7a4;
  --line: #363832;
  --serif: "Noto Serif CJK SC", "Songti SC", "STSong", "SimSun", serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 40px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.85 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
a:hover { color: var(--accent); }
button { color: inherit; }
::selection { background: var(--accent); color: var(--bg); }
.wrap { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.muted { color: var(--muted); }
.mono { font-family: inherit; }
.eyebrow { margin: 0 0 18px; font-size: 12px; color: var(--muted); letter-spacing: 3px; font-weight: 400; }
.handwritten { font-family: Georgia, serif; font-style: italic; }
.screen-reader-text { clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; position: absolute; white-space: nowrap; }
.skip-link { position: absolute; top: -80px; left: 20px; z-index: 100; padding: 10px 20px; background: var(--accent); color: var(--bg); }
.skip-link:focus { top: 10px; }

/* Navigation */
.site-header { position: relative; z-index: 10; }
.header-inner { min-height: 112px; display: flex; gap: 38px; align-items: center; }
.brand { display: flex; align-items: center; gap: 13px; white-space: nowrap; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 29px; letter-spacing: 4px; }
.brand-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-left: -9px; align-self: flex-end; margin-bottom: 18px; }
.brand-caption { margin-left: 10px; font-size: 11px; color: var(--muted); letter-spacing: 2px; }
.desktop-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; font-size: 13px; color: #b4b4a9; }
.nav-list a { position: relative; display: block; padding: 8px 0; }
.nav-list a::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.nav-list a:hover::after, .nav-list .current-menu-item > a::after { opacity: 1; transform: translateY(0); }
.nav-list .current-menu-item > a { color: var(--text); }
.motion-toggle { background: none; border: 1px solid #3c3e36; border-radius: 40px; padding: 7px 12px; display: flex; gap: 8px; align-items: center; cursor: pointer; color: var(--muted); font-size: 10px; white-space: nowrap; }
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { color: var(--text); border-color: #797b6c; }
.motion-toggle:disabled { cursor: default; }
.motion-indicator { display: block; width: 6px; height: 6px; border-radius: 50%; background: #b5bea3; animation: quiet-pulse 3s ease-in-out infinite; }
.motion-paused .motion-indicator { background: #74766b; }
.mobile-nav { display: none; }

/* Typography and free-floating sketches */
.hero { position: relative; isolation: isolate; min-height: min(820px, calc(100svh - 112px)); display: flex; flex-direction: column; overflow: hidden; }
.hero-wash { position: absolute; z-index: -2; width: 750px; height: 650px; top: -170px; left: calc(50% - 160px); border-radius: 50%; background: radial-gradient(ellipse, #b8ac8520, #88917c0b 48%, transparent 70%); animation: wash-breathe 14s ease-in-out infinite alternate; pointer-events: none; }
.hero-inner { position: relative; text-align: center; padding: 74px 0 105px; z-index: 2; }
.hero-intro { display: flex; gap: 11px; justify-content: center; align-items: center; font-size: 12px; letter-spacing: 3px; color: #b1b2a5; margin: 0 0 34px; animation: arrive 1s var(--ease) both; }
.soft-dot { display: inline-block; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(54px, 6.25vw, 88px); font-weight: 400; letter-spacing: 5px; line-height: 1.5; }
.hero-line { display: block; overflow: hidden; padding-bottom: 8px; margin-bottom: -8px; }
.hero-line > span { display: inline-block; animation: title-arrive 1.3s var(--ease) both; }
.hero-line:nth-child(2) > span { animation-delay: .15s; }
.title-accent { color: var(--accent); position: relative; }
.title-accent svg { position: absolute; width: 105%; left: -3%; bottom: -11px; height: 22px; overflow: visible; stroke: #c6b995; stroke-width: 1.1; }
.title-accent path { stroke-dasharray: 1; animation: underline-in 1.6s var(--ease) .6s both; }
.hero-description { color: var(--muted); font-size: 14px; line-height: 2.1; margin: 33px 0 27px; letter-spacing: 1px; animation: arrive 1.2s var(--ease) .3s both; }
.hero-cta { display: inline-flex; gap: 20px; align-items: center; font-size: 13px; animation: arrive 1.2s var(--ease) .45s both; }
.round-arrow { width: 41px; height: 41px; display: grid; place-items: center; border: 1px solid #5e6153; border-radius: 50%; transition: background .3s, color .3s, transform .4s var(--ease); }
.hero-cta:hover .round-arrow { background: var(--accent); color: var(--bg); transform: translateY(4px); }
.hero-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding: 12px 0 28px; color: #979b8b; font-size: 11px; letter-spacing: 1px; position: relative; z-index: 2; }
.hero-foot a { display: flex; align-items: center; gap: 15px; }
.hero-foot .handwritten { font-size: 16px; letter-spacing: 0; color: #aaa995; }
.scroll-tick { display: block; height: 30px; width: 1px; background: #3f4436; overflow: hidden; }
.scroll-tick::after { content: ""; display: block; height: 13px; width: 1px; background: var(--accent); animation: scroll-hint 2.4s ease-in-out infinite; }
.hero-art { --pointer-x: 0px; --pointer-y: 0px; position: absolute; inset: 0; transform: translate(var(--pointer-x), var(--pointer-y)); transition: transform 1.5s var(--ease); pointer-events: none; }
.floating-note { position: absolute; left: calc(50% + 330px); top: 95px; color: #b9b7a4; font-family: var(--serif); display: grid; gap: 2px; animation: note-float 7s ease-in-out infinite alternate; }
.floating-note span { font-size: 14px; letter-spacing: 4px; }
.floating-note i { font: italic 18px Georgia, serif; color: #858b79; }
.paper-piece { position: absolute; border: 1px solid #d5d5ba4a; background: linear-gradient(145deg, #c1c3a4aa, #767d60aa 60%, #4b5544); box-shadow: inset -12px -14px 25px #29312355, inset 4px 4px 12px #e6e4ca33, 0 28px 45px #00000025; }
.paper-one { left: calc(50% - 505px); top: 143px; width: 102px; height: 135px; border-radius: 58% 42% 64% 36% / 45% 30% 70% 55%; animation: leaf-float 10s ease-in-out infinite alternate; transform: rotate(-28deg); }
.paper-two { left: calc(50% + 385px); top: 320px; width: 39px; height: 55px; background: linear-gradient(145deg, #d4bf9d99, #7d705d); border-color: #cfbda344; border-radius: 38% 62% 38% 62%; animation: leaf-float 8s ease-in-out -3s infinite alternate-reverse; }
.wandering-line { position: absolute; width: 310px; height: 245px; left: calc(50% - 560px); top: 330px; stroke: #acae8b; stroke-width: 1; opacity: .55; animation: line-float 12s ease-in-out infinite alternate; }
.pencil-line { stroke-dasharray: 1; animation: pencil-travel 14s ease-in-out infinite; }
.little-flower { position: absolute; width: 60px; height: 60px; left: calc(50% + 285px); top: 452px; color: #c7b497; animation: flower-turn 45s linear infinite; }

/* Open lists replace the old cards. */
.section { padding: 88px 0; }
.interests { border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 43px; }
.section-heading h2 { font: 400 34px/1.5 var(--serif); letter-spacing: 2px; margin: 0; }
.punctuation { color: var(--accent); }
.section-aside { color: var(--muted); font-size: 12px; line-height: 1.9; margin: 0 0 4px; }
.topics { border-top: 1px solid var(--line); }
.topic { display: grid; grid-template-columns: 65px 280px 1fr 100px 32px; gap: 20px; align-items: center; padding: 39px 6px; border-bottom: 1px solid var(--line); position: relative; isolation: isolate; transition: padding .5s var(--ease), color .3s; }
.topic::before { content: ""; position: absolute; inset: 0 -15px; z-index: -1; background: #c7c6a505; opacity: 0; transition: opacity .5s; }
.topic:hover::before { opacity: 1; }
.topic:hover { padding-left: 17px; color: var(--text); }
.topic-number { font: italic 17px Georgia, serif; color: #8c927d; }
.topic-name { display: flex; align-items: baseline; gap: 21px; }
.topic-name strong { font: 400 39px Georgia, "Times New Roman", serif; letter-spacing: -1px; }
.topic-name > span { color: #bcbcb0; font-size: 12px; white-space: nowrap; }
.topic-description { color: var(--muted); font-size: 13px; line-height: 1.9; max-width: 340px; }
.topic-count { font-size: 11px; color: #949b87; text-align: right; }
.topic-arrow { font-size: 25px; color: #afb39f; transition: transform .5s var(--ease), color .3s; }
.topic:hover .topic-arrow { transform: translate(4px, -4px); color: var(--accent); }
.topic:hover .topic-name strong { color: var(--accent); }
.notes-section { padding-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 16px; font-size: 12px; color: #d1cebf; }
.text-link span { transition: transform .4s var(--ease); }
.text-link:hover span { transform: translate(3px, -3px); }
.notes-layout { display: grid; grid-template-columns: 1fr 245px; gap: 76px; }
.empty-state { min-height: 190px; padding: 33px 32px; border-radius: 3px; background: #20221e; display: flex; gap: 29px; align-items: center; }
.empty-sketch { width: 82px; flex-shrink: 0; stroke: #9fa28a; stroke-width: 1; }
.sketch-stroke { stroke-dasharray: 1; animation: underline-in 3s ease-in-out infinite alternate; }
.empty-state h3 { font: 400 21px/1.5 var(--serif); margin: 0 0 13px; }
.empty-state p { font-size: 13px; line-height: 2; color: var(--muted); margin: 0; }
.empty-icon { font: italic 30px Georgia, serif; color: #adb59a; white-space: nowrap; flex-shrink: 0; }
.note-dash { display: block; width: 25px; height: 1px; background: #81876c; margin: 3px 0 18px; }
.side-note p { font: 16px/1.9 var(--serif); color: #b5b9a7; margin: 0 0 24px; }
.side-note .text-link { color: #9fa58e; }
.post-row { display: block; padding: 27px 0; border-bottom: 1px solid var(--line); }
.post-row:first-child { padding-top: 0; }
.post-row h2, .post-row h3 { font: 400 26px/1.6 var(--serif); margin: 12px 0; color: var(--text); transition: color .3s; }
.post-row:hover h2, .post-row:hover h3 { color: var(--accent); }
.post-row p { color: var(--muted); font-size: 14px; margin: 8px 0; }
.meta { font-size: 11px; color: #9ca08e; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.chip { color: #c1c1ab; padding: 2px 0; font-size: 11px; }
.chip::before { content: "/"; color: #606850; margin-right: 12px; }
.post-row .read { font-size: 12px; color: #babda4; margin-top: 16px; }
.closing-note { display: flex; align-items: center; gap: 23px; padding: 22px 0 82px; color: #8d937d; }
.closing-note p { font: 16px var(--serif); letter-spacing: 2px; }
.closing-line { display: block; flex: 1; height: 1px; background: var(--line); }
.closing-flower { font-size: 25px; animation: flower-turn 36s linear infinite; }
.site-footer { background: #131612; }
.footer-inner { padding: 39px 0; display: flex; gap: 25px; align-items: center; justify-content: space-between; }
.footer-brand { font: 22px var(--serif); letter-spacing: 3px; }
.footer-brand span { font: 11px -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif; letter-spacing: 1px; color: #9a9f8b; margin-left: 23px; }
.footer-links { display: flex; gap: 27px; font-size: 11px; color: #9b9f8f; }

/* Archive and article reading styles */
.archive-hero { padding: 64px 0 36px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.archive-hero h1 { font: 400 48px/1.5 var(--serif); margin: 16px 0; overflow-wrap: anywhere; }
.archive-hero p { color: var(--muted); font-size: 14px; max-width: 650px; }
.archive-content { max-width: 850px; min-height: 340px; padding-bottom: 80px; }
.search-form { display: flex; gap: 12px; margin: 28px 0 10px; max-width: 550px; }
.search-field { width: 100%; min-width: 0; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid #626651; padding: 12px 0; border-radius: 0; }
.search-field::placeholder { color: #979b8b; }
.button { display: inline-flex; align-items: center; justify-content: center; background: #d1c6ac; color: #22251d; border: 1px solid #d1c6ac; padding: 10px 23px; border-radius: 30px; font-size: 13px; cursor: pointer; }
.button:hover { color: #171a14; background: #e1d5b8; }
.search-form .button { flex-shrink: 0; }
.pagination { margin-top: 35px; }
.page-numbers { padding: 6px 12px; border: 1px solid var(--line); border-radius: 50%; margin-right: 5px; }
.page-numbers.current { background: var(--accent); color: var(--bg); }
.article-wrap { width: min(760px, calc(100% - 96px)); margin-inline: auto; padding: 55px 0 90px; }
.breadcrumbs { font-size: 12px; color: var(--muted); margin-bottom: 36px; }
.article-header { border-bottom: 1px solid var(--line); padding-bottom: 35px; margin-bottom: 38px; }
.article-header h1 { font: 400 45px/1.5 var(--serif); margin: 20px 0; overflow-wrap: anywhere; }
.entry-content { font-size: 16px; line-height: 2; color: #c7c9bb; overflow-wrap: anywhere; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--text); font-family: var(--serif); font-weight: 400; line-height: 1.6; margin-top: 1.8em; }
.entry-content h2 { font-size: 29px; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.entry-content pre { background: #20231d; border: 1px solid var(--line); padding: 22px; border-radius: 4px; overflow-x: auto; font-size: 13px; line-height: 1.8; }
.entry-content code { font-family: Consolas, monospace; color: #d7cfb6; }
.entry-content :not(pre) > code { background: #2a2e23; padding: 2px 5px; border-radius: 3px; }
.entry-content blockquote { border-left: 1px solid #969e7d; margin: 30px 0; padding: 3px 25px; color: #abb299; font-family: var(--serif); }
.entry-content img { max-width: 100%; height: auto; border-radius: 3px; }
.entry-content figure { max-width: 100%; margin: 28px 0; }
.entry-content figcaption { font-size: 12px; color: var(--muted); }
.entry-content table { border-collapse: collapse; width: 100%; font-size: 14px; }
.entry-content th, .entry-content td { border: 1px solid #414737; padding: 10px; text-align: left; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 38px 0; }
.article-bottom { border-top: 1px solid var(--line); padding-top: 25px; margin-top: 48px; font-size: 13px; color: var(--muted); }
.article-bottom a { color: var(--accent); }
.post-navigation { margin-top: 30px; }
.nav-links { display: flex; justify-content: space-between; gap: 25px; font-size: 13px; }
.nav-links > div { max-width: 48%; overflow-wrap: anywhere; }

/* Content is visible until JavaScript stages off-screen sections. */
.will-reveal { opacity: 0; transform: translateY(25px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.will-reveal.is-visible { opacity: 1; transform: none; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
.motion-paused .hero-intro, .motion-paused .hero-line > span, .motion-paused .hero-description, .motion-paused .hero-cta, .motion-paused .will-reveal { animation: none; opacity: 1; transform: none; transition: none; }
.motion-paused .title-accent path { animation: none; stroke-dashoffset: 0; }
.motion-paused .hero-art { transform: none; transition: none; }
@keyframes arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes title-arrive { from { opacity: 0; transform: translateY(65%); } to { opacity: 1; transform: translateY(0); } }
@keyframes underline-in { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes quiet-pulse { 0%, 100% { opacity: .5; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }
@keyframes wash-breathe { from { transform: translate(-35px, 15px) scale(.9); opacity: .5; } to { transform: translate(45px, -20px) scale(1.2); opacity: 1; } }
@keyframes leaf-float { from { transform: translateY(0) rotate(-28deg); border-radius: 58% 42% 64% 36% / 45% 30% 70% 55%; } to { transform: translateY(-23px) rotate(-12deg); border-radius: 45% 55% 43% 57% / 58% 48% 52% 42%; } }
@keyframes note-float { from { transform: translateY(0) rotate(11deg); } to { transform: translateY(-13px) rotate(6deg); } }
@keyframes line-float { from { transform: translate(0, 0) rotate(-12deg); } to { transform: translate(12px, -13px) rotate(-5deg); } }
@keyframes pencil-travel { 0%, 100% { stroke-dashoffset: .75; opacity: .25; } 40%, 65% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes flower-turn { to { transform: rotate(360deg); } }
@keyframes scroll-hint { 0% { transform: translateY(-15px); } 70%, 100% { transform: translateY(33px); } }

@media (max-width: 1100px) {
  .brand-caption { display: none; }
  .header-inner { gap: 28px; }
  .hero { min-height: 730px; }
  .hero-inner { padding-top: 85px; }
  .hero h1 { font-size: 74px; }
  .paper-one { left: 5%; width: 70px; height: 100px; top: 140px; }
  .paper-two { left: auto; right: 8%; top: 350px; }
  .floating-note { left: auto; right: 7%; top: 30px; }
  .wandering-line { left: -65px; width: 280px; top: 360px; opacity: .35; }
  .little-flower { left: auto; right: 14%; top: 485px; width: 45px; }
  .topic { grid-template-columns: 35px 220px 1fr 32px; gap: 20px; }
  .topic-count { display: none; }
  .topic-name { gap: 15px; }
  .topic-name strong { font-size: 35px; }
  .notes-layout { grid-template-columns: 1fr 200px; gap: 40px; }
  .empty-state { padding: 27px; gap: 22px; }
  .empty-sketch { width: 65px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 44px); }
  .header-inner { min-height: 85px; gap: 18px; }
  .brand-name { font-size: 26px; }
  .brand-dot { margin-bottom: 16px; }
  .desktop-nav { display: none; }
  .motion-toggle { margin-left: auto; font-size: 9px; padding: 6px 10px; }
  .mobile-nav { display: block; }
  .mobile-nav summary { width: 28px; height: 35px; display: flex; flex-direction: column; justify-content: center; gap: 6px; cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { width: 22px; height: 1px; background: #c7c8b8; transition: transform .3s; }
  .mobile-nav[open] summary span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .mobile-nav[open] summary span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav[open] .nav-list { position: absolute; top: 85px; left: 0; right: 0; display: block; padding: 20px 30px 28px; background: #1c1f19; box-shadow: 0 25px 30px #00000035; animation: arrive .4s var(--ease); }
  .mobile-nav .nav-list a { padding: 12px 0; }
  .mobile-nav .nav-list a::after { left: auto; right: 5px; bottom: 20px; }
  .hero { min-height: min(770px, calc(100svh - 85px)); }
  .hero-inner { padding: 91px 0 85px; }
  .hero-intro { font-size: 10px; letter-spacing: 2px; margin-bottom: 30px; }
  .hero h1 { font-size: clamp(43px, 12vw, 67px); line-height: 1.6; letter-spacing: 3px; }
  .title-accent svg { bottom: -9px; height: 14px; }
  .hero-description { font-size: 12px; line-height: 2.1; margin-top: 27px; }
  .hero-cta { font-size: 12px; gap: 17px; }
  .round-arrow { width: 36px; height: 36px; }
  .hero-foot { padding-bottom: 25px; font-size: 9px; letter-spacing: .5px; }
  .hero-foot > span:first-child { display: none; }
  .hero-foot .handwritten { font-size: 13px; }
  .hero-wash { width: 500px; height: 600px; top: -80px; left: 10%; }
  .floating-note { right: 8%; top: 14px; }
  .floating-note span { font-size: 10px; letter-spacing: 2px; }
  .floating-note i { font-size: 14px; }
  .paper-one { width: 34px; height: 47px; left: 8%; top: 47px; }
  .paper-two { width: 20px; height: 28px; top: 370px; right: 7%; opacity: .7; }
  .wandering-line { width: 165px; height: 150px; left: -45px; top: 350px; opacity: .28; }
  .little-flower { width: 32px; height: 32px; right: 16%; top: 488px; }
  .section { padding: 52px 0; }
  .section-heading { margin-bottom: 29px; align-items: center; gap: 18px; }
  .eyebrow { font-size: 10px; margin-bottom: 14px; letter-spacing: 2px; }
  .section-heading h2 { font-size: 24px; letter-spacing: .5px; }
  .section-aside { display: none; }
  .topic { grid-template-columns: 25px 1fr 25px; gap: 12px; padding: 25px 0; }
  .topic-number { font-size: 14px; align-self: start; padding-top: 9px; }
  .topic-name { gap: 20px; }
  .topic-name strong { font-size: 33px; }
  .topic-name > span { font-size: 11px; }
  .topic-description { grid-column: 2; grid-row: 2; font-size: 12px; max-width: 100%; }
  .topic-arrow { grid-column: 3; grid-row: 1; font-size: 23px; }
  .topic:hover { padding-left: 0; }
  .topic::before { inset: 0 -8px; }
  .notes-section { padding-top: 15px; }
  .notes-section .section-heading { display: block; }
  .notes-section .section-heading > .text-link { margin-top: 20px; }
  .notes-layout { grid-template-columns: 1fr; gap: 36px; }
  .empty-state { padding: 26px 20px; min-height: 180px; gap: 18px; }
  .empty-sketch { width: 48px; }
  .empty-state h3 { font-size: 18px; }
  .empty-state p { font-size: 12px; }
  .empty-state p br { display: none; }
  .side-note { padding-left: 20px; border-left: 1px solid var(--line); }
  .note-dash { display: none; }
  .side-note p { font-size: 16px; }
  .side-note p br { display: none; }
  .closing-note { padding: 5px 0 50px; gap: 15px; }
  .closing-note p { font-size: 12px; letter-spacing: 1px; }
  .closing-flower { font-size: 20px; }
  .footer-inner { padding: 30px 0; flex-direction: column; align-items: flex-start; gap: 22px; }
  .footer-brand { font-size: 22px; }
  .footer-brand span { font-size: 10px; margin-left: 18px; }
  .footer-links { font-size: 10px; gap: 24px; }
  .archive-hero { padding-top: 35px; }
  .archive-hero h1 { font-size: 34px; }
  .archive-content { min-height: 320px; padding-bottom: 55px; }
  .search-form { gap: 10px; }
  .search-field { font-size: 13px; }
  .search-form .button { padding: 10px 17px; font-size: 12px; }
  .article-wrap { width: calc(100% - 44px); padding-top: 30px; padding-bottom: 60px; }
  .article-header h1 { font-size: 32px; }
  .entry-content { font-size: 15px; }
  .entry-content h2 { font-size: 25px; }
  .entry-content pre { padding: 17px; }
  .post-row h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-intro, .hero-line > span, .hero-description, .hero-cta, .will-reveal { opacity: 1; transform: none; }
  .title-accent path, .pencil-line { stroke-dashoffset: 0; }
  .hero-art { transform: none; }
}
