:root { color-scheme: light; --ink: #202122; --muted: #797b80; --line: #e9e9eb; --accent: #6650e8; font-family: 'Golos Text', sans-serif; color: var(--ink); background: #fff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; }
::selection { background: #e7e1ff; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.page { max-width: 1200px; margin: auto; padding: 0 64px; }
header { display: flex; align-items: center; justify-content: space-between; padding: 34px 0; }
.wordmark { font-size: 36px; font-weight: 800; letter-spacing: -3px; }
.brand-dot, .accent, .name-dot { color: var(--accent); }
nav { display: flex; gap: 32px; font-size: 14px; }
nav a { transition: color .2s; }
nav a:hover, .back-top:hover { color: var(--accent); }
nav a span { margin-left: 5px; }
.icon-arrow { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -.12em; }
.round-link .icon-arrow { width: 28px; height: 28px; }
.round-link { flex-shrink: 0; }
.details p { white-space: nowrap; }
.intro { padding: 48px 0 48px; }
.eyebrow, .meta-label, .soon { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .07em; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #606268; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px #f2efff; }
h1 { font-size: clamp(64px, 9vw, 108px); line-height: 1.02; font-weight: 500; letter-spacing: -.065em; margin: 32px 0 36px; }
h1 > span:first-child { color: #838489; }
.intro-bottom { display: flex; justify-content: space-between; align-items: end; }
.lead { font-size: 20px; line-height: 1.65; letter-spacing: -.025em; margin: 0; }
.lead > span { color: var(--muted); }
.round-link { width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 27px; transition: background .25s, color .25s, transform .25s; }
.round-link:hover { background: var(--ink); color: white; transform: translateY(4px); }
.details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; gap: 24px; }
.meta-label { color: var(--muted); }
.details > div + div { border-left: 1px solid var(--line); padding-left: 32px; }
.details p { font-size: 22px; letter-spacing: -.035em; margin: 17px 0 0; }
.details p > span { color: var(--muted); font-size: 18px; margin-left: 8px; }
.details p > .tech-mark { color: var(--accent); }
.details p > .small-note { font-size: 12px; letter-spacing: 0; }
.blog { padding: 80px 0 94px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
h2 { font-size: 30px; letter-spacing: -.045em; font-weight: 500; margin: 0; }
.empty-blog { margin-top: 32px; padding: 32px; display: flex; align-items: center; gap: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fcfcfd; transition: border-color .3s, transform .3s; }
.empty-blog:hover { border-color: #d9d1ff; transform: translateY(-3px); }
.empty-symbol { font-family: 'IBM Plex Mono', monospace; font-size: 25px; color: var(--accent); }
h3 { font-size: 17px; font-weight: 500; margin: 0 0 9px; }
.empty-blog p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
.soon { margin-left: auto; color: var(--muted); font-size: 10px; border: 1px solid var(--line); padding: 6px 9px; border-radius: 4px; }
footer { display: flex; justify-content: space-between; gap: 20px; align-items: center; border-top: 1px solid var(--line); padding: 27px 0; color: var(--muted); font-size: 12px; }
.footer-projects { display: flex; gap: 20px; }
.footer-projects a:hover { color: var(--accent); }
footer > a:first-child { color: var(--ink); font-family: 'IBM Plex Mono', monospace; }
.skip-link { position: fixed; top: 10px; left: 10px; padding: 12px; background: white; z-index: 10; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.reveal { animation: arrive .8s both cubic-bezier(.22, 1, .36, 1); }
.eyebrow { animation-delay: .08s; }
h1 { animation-delay: .16s; }
.intro-bottom { animation-delay: .24s; }
.details { animation-delay: .32s; }
.blog { animation-delay: .4s; }
@keyframes arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 700px) {
  .page { padding: 0 24px; }
  header { padding: 22px 0; }
  nav { gap: 22px; }
  .intro { padding: 40px 0 40px; }
  h1 { font-size: clamp(60px, 14vw, 96px); }
  .lead { font-size: 18px; }
  .round-link { width: 52px; height: 52px; }
  .details { gap: 14px; }
  .details > div + div { padding-left: 14px; }
  .meta-label { font-size: 9px; letter-spacing: 0; }
  .details p { font-size: 18px; }
  .details p > span { margin-left: 2px; }
  .details p > .small-note { display: block; margin: 4px 0 0; }
  .blog { padding: 52px 0 60px; }
  h2 { font-size: 25px; }
  .section-heading { align-items: start; }
  .section-heading > span { white-space: nowrap; margin-top: 8px; }
  .empty-blog { padding: 24px 20px; gap: 16px; flex-wrap: wrap; }
  .empty-blog > div { flex: 1; min-width: 160px; }
  .soon { display: none; }
  footer { display: grid; grid-template-columns: 1fr auto; gap: 20px 16px; font-size: 12px; padding: 24px 0 max(28px, env(safe-area-inset-bottom)); }
  .footer-projects { justify-self: end; align-items: center; gap: 12px; white-space: nowrap; }
  footer .back-top { grid-column: 1 / -1; justify-self: center; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
  .footer-projects a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.post-preview { display: block; margin-top: 32px; padding: 32px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .25s, transform .25s; }
.post-preview:hover { border-color: #c7bcff; transform: translateY(-3px); }
.post-preview h3 { font-size: clamp(22px, 3vw, 30px); line-height: 1.3; letter-spacing: -.035em; margin: 20px 0 16px; }
.post-preview p { max-width: 760px; font-size: 16px; line-height: 1.75; color: #606268; margin: 0; }
.read-more { display: inline-block; margin-top: 24px; font-size: 14px; color: var(--accent); }
.read-more > span { display: inline-block; margin-left: 8px; transition: transform .25s; }
.post-preview:hover .read-more > span { transform: translate(3px, -3px); }
.article-main { max-width: 760px; margin: 0 auto; padding: 64px 0 80px; }
.article-back:hover { color: var(--accent); }
.article-heading h1 { font-size: clamp(34px, 5.5vw, 60px); line-height: 1.12; letter-spacing: -.045em; margin: 30px 0 24px; overflow-wrap: break-word; }
.article-author { color: var(--muted); font-size: 14px; padding-bottom: 32px; border-bottom: 1px solid var(--line); margin: 0; }
.article-body { font-size: 18px; line-height: 1.85; overflow-wrap: break-word; }
.article-body h2 { font-size: clamp(24px, 3.5vw, 30px); line-height: 1.3; margin: 48px 0 20px; letter-spacing: -.03em; }
.article-body p { margin: 0 0 22px; }
.article-body ol { padding-left: 26px; }
.article-body li { padding-left: 6px; margin-bottom: 22px; }
.article-body li::marker { color: var(--accent); }
.article-body strong { font-weight: 600; }
.article-end { display: inline-block; margin-top: 36px; color: var(--accent); font-size: 14px; }
@media (max-width: 700px) {
  .post-preview { padding: 24px 20px; }
  .post-preview p { font-size: 15px; }
  .article-main { padding: 40px 0 56px; }
  .article-body { font-size: 17px; line-height: 1.8; }
}

.article-body pre { overflow-x: auto; padding: 22px 24px; background: #f7f6fc; border: 1px solid var(--line); border-radius: 10px; line-height: 1.7; margin: 24px 0 28px; }
.article-body code { font-family: 'IBM Plex Mono', monospace; font-size: .83em; }
.article-body :not(pre) > code { background: #f3f1fa; padding: .12em .3em; border-radius: 4px; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-figure { width: 100%; max-width: 760px; margin: 40px auto; padding: 0; }
.article-figure > a { display: block; width: 100%; }
.article-figure img { display: block; width: 100%; max-width: 100%; height: auto; margin-inline: auto; }
.article-figure figcaption { margin-top: 12px; color: #606268; font-size: 13px; line-height: 1.6; }
.article-note { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); color: #606268; font-size: 14px; }
@media (max-width: 700px) { .article-body pre { padding: 16px; font-size: 14px; } }

@media (max-width: 550px) {
  .details { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; }
  .details > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; min-width: 0; }
  .details > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .details p { display: flex; align-items: baseline; gap: 8px; margin: 0; font-size: 18px; }
  .details p > span, .details p > .small-note { display: inline; margin: 0; }
  .details .meta-label { font-size: 9px; }
  .blog { padding: 40px 0 48px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-heading > .meta-label { order: -1; margin: 0; font-size: 10px; letter-spacing: .06em; }
  .section-heading h2 { font-size: 24px; line-height: 1.25; letter-spacing: -.035em; text-wrap: balance; }
  .post-preview { margin-top: 24px; padding: 22px 20px; }
  .post-preview > .meta-label { display: block; font-size: 10px; line-height: 1.7; }
  .post-preview h3 { font-size: 22px; line-height: 1.3; margin: 14px 0 12px; overflow-wrap: break-word; }
  .post-preview p { line-height: 1.7; }
  .read-more { margin-top: 20px; }
  .intro h1 { font-size: clamp(48px, 14vw, 77px); }
  .intro-bottom { gap: 16px; }
}
