:root { --bg: #f7f6f4; --text: #171717; --muted: #706c67; --line: #dedbd7; --accent: #a45e37; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  line-height: 1.62;
  transition: background .2s ease, color .2s ease;
}
.profile-shell { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 58px; }
.profile-header { position: relative; padding-bottom: 76px; }
.profile-header h1 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 6vw, 3.45rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.05;
}
.intro { max-width: 680px; margin: 0; color: var(--muted); }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: center; gap: 12px; min-height: 49px;
  color: var(--muted); cursor: pointer; list-style: none; text-transform: uppercase;
  font-size: 14px; font-weight: 700; letter-spacing: .08em;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before { content: ">"; color: var(--muted); width: 9px; }
.accordion details[open] summary::before { content: "⌄"; color: var(--accent); }
.accordion summary:hover { color: var(--text); }
.section-copy { padding: 0 0 19px 21px; color: var(--text); }
.section-copy p { margin: 0 0 14px; }
.section-copy p:last-child { margin-bottom: 0; }
.text-link { color: var(--accent); }
.item-list { display: grid; gap: 18px; margin-top: 20px; }
.item { display: grid; gap: 3px; padding-bottom: 16px; border-bottom: 1px solid var(--line); text-decoration: none; }
.item:last-child { padding-bottom: 0; border-bottom: 0; }
.item-title { color: var(--text); font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; }
.item-description { color: var(--muted); font-size: 13px; line-height: 1.55; }
.item-action { color: var(--accent); font-size: 13px; margin-top: 4px; }
.signal-rule { margin: 37px 0 30px; width: 240px; height: 42px; color: var(--accent); }
.signal-rule svg { display: block; width: 100%; height: 100%; overflow: visible; }
.signal-baseline { fill: none; stroke: var(--line); stroke-width: 1; }
.signal-path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.signal-rule.signal-play .signal-path { stroke-dasharray: 330; stroke-dashoffset: 330; animation: draw-signal 1.5s cubic-bezier(.22, .61, .36, 1) forwards; }
@keyframes draw-signal { to { stroke-dashoffset: 0; } }
.profile-footer { display: flex; flex-wrap: wrap; gap: 25px; color: var(--muted); }
.profile-footer a { text-decoration: none; }
.site-page > h1,
.site-page .blog-post-title,
.site-page .post-title {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 6vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.05;
}
.collection-intro { max-width: 720px; margin: 0 0 48px; color: var(--muted); line-height: 1.75; }
.collection-entry { display: grid; gap: 8px; padding: 0 0 30px; margin: 0 0 30px; border-bottom: 1px solid var(--line); }
.collection-title { display: block; color: var(--text); font-family: Georgia, "Times New Roman", serif; font-size: 1.28rem; line-height: 1.35; text-decoration: none; }
.collection-meta { display: block; color: var(--muted); font-size: 13px; }
.collection-description { max-width: 720px; margin: 5px 0 7px; color: var(--text); line-height: 1.75; }
.collection-action { display: block; color: var(--accent); font-size: 13px; text-decoration: none; margin-top: 3px; }
.blog-post-header, .post-header { margin-bottom: 34px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.blog-post-meta, .blog-post-description { color: var(--muted); }
.blog-post-content, .post-content { line-height: 1.72; }
.blog-post-content h2, .post-content h2 { font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 400; margin-top: 2rem; }
.blog-post-content h3, .post-content h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; font-weight: 400; margin-top: 1.5rem; }
.blog-post-footer { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); }
.blog-post-footer a { color: var(--accent); text-decoration: none; }
@media (max-width: 560px) { .site-page > h1, .site-page .blog-post-title, .site-page .post-title { font-size: 2.25rem; } }
@media (max-width: 560px) {
  .profile-shell { width: min(100% - 30px, 820px); padding-top: 42px; }
  .profile-header { padding-bottom: 46px; }
  .intro { font-size: 14px; }
  .profile-footer { gap: 16px; font-size: 13px; }
  .signal-rule { width: 205px; }
}
