@property --accent {
  syntax: '<color>';
  inherits: true;
  initial-value: #5060e8; }

@property --accent-hover {
  syntax: '<color>';
  inherits: true;
  initial-value: #3a4ad4; }

@property --link {
  syntax: '<color>';
  inherits: true;
  initial-value: #5060e8; }

@property --link-hover {
  syntax: '<color>';
  inherits: true;
  initial-value: #3a4ad4; }

@property --tag-bg {
  syntax: '<color>';
  inherits: true;
  initial-value: #e8eaff; }

@property --tag-text {
  syntax: '<color>';
  inherits: true;
  initial-value: #5060e8; }

html.theme-ready {
  transition: --accent 240ms ease, --accent-hover 240ms ease, --link 240ms ease, --link-hover 240ms ease, --tag-bg 240ms ease, --tag-text 240ms ease; }

:root {
  --bg:             #eceef2;
  --bg-card:        #f6f7fa;
  --bg-nav:         rgba(236, 238, 242, 0.93);
  --bg-dropdown:    #f2f4f8;
  --text:           #2d2f36;
  --text-muted:     #6b7280;
  --text-heading:   #111318;
  --border:         #d8dce5;
  --accent:         #5060e8;
  --accent-hover:   #3a4ad4;
  --link:           #5060e8;
  --link-hover:     #3a4ad4;
  --tag-bg:         #e2e6f7;
  --tag-text:       #5060e8;
  --hero-overlay:   rgba(0, 0, 0, 0.22);
  --shadow-sm:      0 1px 3px rgba(0,0,0,.10);
  --shadow-md:      0 4px 16px rgba(0,0,0,.10);
  --shadow-card:    0 2px 8px rgba(0,0,0,.08);
  --code-bg:        #e5e9f1;
  --code-text:      #3340aa;
  --scrollbar-thumb: #bcc2cf; }

html.dark {
  --bg:             #131418;
  --bg-card:        #1a1c22;
  --bg-nav:         rgba(19, 20, 24, 0.93);
  --bg-dropdown:    #1e2028;
  --text:           #babdc4;
  --text-muted:     #767f87;
  --text-heading:   #eaeaea;
  --border:         #2a2d38;
  --accent:         #7b8ef5;
  --accent-hover:   #9aaaf7;
  --link:           #7b8ef5;
  --link-hover:     #9aaaf7;
  --tag-bg:         #252840;
  --tag-text:       #9aaaf7;
  --hero-overlay:   rgba(0, 0, 0, 0.45);
  --shadow-sm:      0 1px 3px rgba(0,0,0,.3);
  --shadow-md:      0 4px 16px rgba(0,0,0,.4);
  --shadow-card:    0 2px 8px rgba(0,0,0,.3);
  --code-bg:        #1e2028;
  --code-text:      #a5b4fc;
  --scrollbar-thumb: #2e3040; }

*, *::before, *::after {
  box-sizing: border-box; }

body.notransition * {
  transition: none !important; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: var(--bg); }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  background: var(--bg);
  color: var(--text);
  transition: background-color 80ms ease, color 80ms ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column; }

main#main-content {
  flex: 1; }

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  line-height: 1.3;
  font-weight: 700; }

a {
  color: var(--link);
  text-decoration: none; }
  a:hover {
    color: var(--link-hover);
    text-decoration: underline; }

img {
  max-width: 100%;
  height: auto;
  display: block; }

p {
  margin: 0 0 1em; }

::-webkit-scrollbar {
  width: 6px;
  height: 6px; }

::-webkit-scrollbar-track {
  background: transparent; }

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 3px; }

.wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem; }

.btn {
  display: inline-block;
  padding: .5em 1.25em;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
  cursor: pointer;
  border: none; }

.btn-primary {
  background: var(--accent);
  color: #fff; }
  .btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
    text-decoration: none;
    box-shadow: var(--shadow-sm); }

.section-heading {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.5rem; }
  .section-heading::before {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 4px;
    height: 1.15em;
    border-radius: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-hover)); }
  .section-heading span {
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-heading);
    background: var(--tag-bg);
    color: var(--tag-text);
    padding: .25em .75em;
    border-radius: 99px; }

.tag {
  display: inline-block;
  background: var(--tag-bg);
  color: var(--tag-text);
  font-size: .75rem;
  font-weight: 600;
  padding: .2em .65em;
  border-radius: 99px;
  letter-spacing: .03em; }

code {
  font-family: "Cascadia Code", "Fira Code", Consolas, "Courier New", monospace;
  font-size: .88em;
  background: var(--code-bg);
  color: var(--code-text);
  padding: .15em .4em;
  border-radius: 3px; }

pre {
  background: var(--code-bg);
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto; }
  pre code {
    background: none;
    padding: 0;
    color: inherit; }

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

blockquote {
  border-left: 4px solid var(--border);
  padding-left: 1rem;
  color: var(--text-muted);
  margin: 1.5rem 0;
  font-style: italic; }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem; }
  table th, table td {
    padding: .5rem .75rem;
    border: 1px solid var(--border);
    text-align: left; }
  table th {
    background: var(--bg-card);
    font-weight: 600; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg-nav);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: background-color 80ms ease, border-color 80ms ease; }

.site-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  gap: .25rem; }

.site-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -.01em;
  margin-right: auto;
  white-space: nowrap; }
  .site-title:hover {
    text-decoration: none;
    color: var(--accent-hover); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: .1rem; }

.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--accent);
  padding: .4em .75em;
  border-radius: 6px;
  transition: background-color 100ms ease, color 100ms ease;
  background: none;
  border: none;
  cursor: pointer;
  line-height: inherit;
  white-space: nowrap; }
  .nav-link:hover, .nav-link:focus-visible {
    background: var(--tag-bg);
    color: var(--accent-hover);
    text-decoration: none; }
  .nav-link.is-active {
    color: var(--accent-hover);
    font-weight: 700; }

.nav-dropdown {
  position: relative; }
  .nav-dropdown .nav-dropdown-btn {
    display: flex;
    align-items: center;
    gap: .3em; }
  .nav-dropdown .caret {
    transition: transform 150ms ease;
    flex-shrink: 0; }
  .nav-dropdown .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    background: var(--bg-dropdown);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: var(--shadow-md);
    list-style: none;
    padding: .65rem 0 .3rem;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms; }
  .nav-dropdown .nav-dropdown-item {
    display: block;
    padding: .5rem 1rem;
    font-size: .875rem;
    color: var(--accent);
    white-space: nowrap; }
    .nav-dropdown .nav-dropdown-item:hover {
      background: var(--tag-bg);
      color: var(--accent-hover);
      text-decoration: none; }
  .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0); }
  .nav-dropdown:hover .caret, .nav-dropdown:focus-within .caret {
    transform: rotate(180deg); }

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--accent);
  margin-left: .25rem;
  padding: 0;
  transition: background-color 100ms ease, color 100ms ease;
  flex-shrink: 0; }
  .theme-toggle:hover, .theme-toggle:focus-visible {
    background: var(--tag-bg);
    color: var(--accent-hover); }
  .theme-toggle .icon-sun {
    display: none; }
  .theme-toggle .icon-moon {
    display: block; }

html.dark .theme-toggle .icon-sun {
  display: block; }

html.dark .theme-toggle .icon-moon {
  display: none; }

.nav-toggle {
  display: none; }

.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  margin-left: .25rem; }
  .nav-toggle-label span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--accent);
    border-radius: 1px;
    transition: transform 200ms ease, opacity 200ms ease; }

@media (max-width: 700px) {
  .nav-toggle-label {
    display: flex; }
  .nav-menu {
    display: none;
    position: fixed;
    inset: 56px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0;
    overflow-y: auto;
    z-index: 199; }
  .nav-toggle:checked ~ .nav-menu {
    display: flex; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg); }
  .nav-link {
    font-size: 1rem;
    padding: .7em .75em;
    border-radius: 0;
    border-bottom: 1px solid var(--border); }
  .nav-dropdown .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    background: none;
    padding-left: 1rem; }
  .nav-dropdown .nav-dropdown-item {
    font-size: .95rem;
    border-bottom: 1px solid var(--border); }
  .theme-toggle {
    margin-left: auto; } }

.hero {
  position: relative;
  width: 100%;
  height: clamp(320px, 55vh, 620px);
  overflow: visible;
  background: transparent; }

.hero--page {
  height: clamp(220px, 38vh, 340px); }

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 600ms ease;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 90%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 90%); }
  .hero-bg.is-visible {
    opacity: 1; }

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150%;
  background: var(--hero-overlay);
  z-index: 1;
  pointer-events: none;
  transition: background-color 80ms ease;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 90%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 90%); }

.section-empty {
  color: var(--text-muted);
  font-size: .9rem;
  margin: 0 0 1.5rem; }

.post-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem; }

.post-row {
  display: flex;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 220ms ease, box-shadow 220ms ease;
  position: relative;
  text-decoration: none; }
  .post-row:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none; }

.post-row-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit; }
  .post-row-link:focus-visible {
    outline: 2px solid var(--accent-hover);
    outline-offset: -2px; }

.post-row--right {
  flex-direction: row-reverse; }

.post-row-img-wrap {
  width: 40%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  z-index: 1; }

.post-row-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: var(--border);
  display: block;
  -webkit-clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
  transition: transform 300ms ease; }
  .post-row:hover .post-row-img {
    transform: scale(1.05); }
  .post-row-img.post-row-img--empty {
    background-image: linear-gradient(135deg, var(--tag-bg) 0%, var(--bg-card) 100%); }

.post-row--right .post-row-img {
  -webkit-clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%); }

.post-row-body {
  flex: 1;
  padding: 1.1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  overflow: hidden;
  justify-content: center;
  position: relative;
  z-index: 1; }

.post-row-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: var(--text-muted);
  flex-wrap: wrap; }

.post-row-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-heading); }

.post-row-summary {
  font-size: .875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden; }

.post-row--full {
  height: 260px; }
  .post-row--full .post-row-img-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    overflow: hidden; }
  .post-row--full .post-row-img {
    -webkit-clip-path: none;
    clip-path: none;
    width: 100%;
    height: 100%; }
  .post-row--full .post-row-body {
    position: relative;
    z-index: 2;
    align-self: flex-end;
    width: 100%;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
    padding: 1.75rem 1.5rem 1.1rem;
    gap: .35rem; }
  .post-row--full .post-row-title {
    font-size: 1.6rem;
    white-space: normal;
    color: #fff; }
  .post-row--full .post-row-meta,
  .post-row--full time {
    color: rgba(255, 255, 255, 0.75); }
  .post-row--full .post-row-summary {
    color: rgba(255, 255, 255, 0.7); }

.post-row--deep {
  height: 260px; }
  .post-row--deep .post-row-img-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    overflow: hidden; }
  .post-row--deep .post-row-img {
    -webkit-clip-path: none;
    clip-path: none;
    width: 100%;
    height: 100%; }
  .post-row--deep .post-row-body {
    position: relative;
    z-index: 2;
    align-self: flex-end;
    width: 100%;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.68) 55%, rgba(0, 0, 0, 0.15) 100%);
    padding: 1.75rem 1.5rem 1.1rem;
    gap: .35rem; }
  .post-row--deep .post-row-title {
    font-size: 1.6rem;
    white-space: normal;
    color: #fff; }
  .post-row--deep .post-row-meta,
  .post-row--deep time {
    color: rgba(255, 255, 255, 0.8); }
  .post-row--deep .post-row-summary {
    color: rgba(255, 255, 255, 0.88); }

.post-row--text {
  height: auto;
  min-height: 132px; }
  .post-row--text .post-row-body {
    width: 100%;
    padding: 1.15rem 1.4rem;
    gap: .35rem; }
  .post-row--text .post-row-title {
    white-space: normal; }
  .post-row--text .post-row-summary {
    -webkit-line-clamp: 4; }

.post-card-ext {
  font-size: .9em;
  opacity: .7; }

.see-all {
  text-align: center;
  font-size: .9rem;
  margin-top: .5rem; }
  .see-all a {
    color: var(--accent);
    font-weight: 500; }
    .see-all a:hover {
      text-decoration: underline; }

.home-layout {
  display: flex;
  align-items: flex-start;
  max-width: 1200px;
  margin: -9rem auto 0;
  padding: 1.5rem;
  gap: 1.5rem;
  position: relative;
  z-index: 1; }

.home-sidebar {
  width: 210px;
  flex-shrink: 0;
  position: sticky;
  top: calc(56px + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1rem; }

.home-content {
  flex: 1;
  min-width: 0;
  max-width: none;
  padding: 0; }

.github-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  padding: 1.5rem 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  color: var(--text);
  text-align: center; }

.github-avatar-link {
  display: inline-block;
  line-height: 0; }

.github-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid var(--border);
  display: block; }

.github-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  width: 100%; }

.github-identity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  color: var(--text-heading);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .01em; }
  .github-identity:hover {
    color: var(--accent);
    text-decoration: none; }

.github-name {
  color: inherit; }

.github-logo {
  flex-shrink: 0;
  fill: currentColor; }

.github-metric {
  margin: 0;
  font-size: .84rem;
  color: var(--text-muted);
  display: grid;
  grid-template-columns: 2.6rem auto;
  align-items: center;
  column-gap: .4rem;
  width: 100%;
  max-width: 9.5rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  font-variant-numeric: tabular-nums; }

.github-metric-value {
  display: inline-block;
  padding: .08rem .42rem;
  border-radius: 999px;
  background: var(--tag-bg);
  color: var(--accent);
  font-weight: 700;
  justify-self: end;
  min-width: 2.3rem;
  text-align: center;
  font-variant-numeric: tabular-nums; }

@media (max-width: 760px) {
  .home-layout {
    flex-direction: column; }
  .home-sidebar {
    width: 100%;
    position: static; } }

.page-shell {
  position: relative;
  z-index: 1;
  margin-top: clamp(-7rem, -10vw, -4.5rem);
  padding: 0 1.5rem 2rem; }

.page-shell--home {
  margin-top: clamp(-8rem, -11vw, -5rem); }

.page-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-md); }

.page-panel--narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem; }

.page-panel--wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem; }

.back-home {
  margin: 0 0 1rem; }

.back-home-link {
  display: inline-block;
  color: var(--accent);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none; }
  .back-home-link:hover, .back-home-link:focus-visible {
    color: var(--accent-hover);
    text-decoration: none; }

.back-home-arrow {
  display: inline-block;
  font-size: 1.15em;
  line-height: 1;
  margin-right: .18rem;
  vertical-align: -0.02em; }

.post-single {
  padding: 2.5rem 0 3rem;
  max-width: 720px;
  margin: 0 auto; }

.page-panel .post-single {
  padding-top: 1rem;
  padding-bottom: 1.5rem; }

.post-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border); }

.post-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 0 0 .6rem;
  line-height: 1.2; }

.post-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .85rem;
  color: var(--text-muted);
  flex-wrap: wrap; }

.post-tags {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap; }

.post-cover {
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden; }
  .post-cover img {
    width: 100%;
    height: auto; }

.list-section {
  padding: .5rem 0 1rem; }

.section-desc {
  margin: 0 0 1.5rem;
  color: var(--text-muted); }

.post-content h2 {
  font-size: 1.45rem;
  margin-top: 2.5rem; }

.post-content h3 {
  font-size: 1.2rem;
  margin-top: 2rem; }

.post-content h4 {
  font-size: 1rem;
  margin-top: 1.5rem; }

.post-content h2, .post-content h3, .post-content h4 {
  margin-bottom: .5rem; }

.post-content img {
  border-radius: 6px; }

.post-content a {
  text-decoration: underline; }

.post-content ul, .post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1em; }
  .post-content ul li, .post-content ol li {
    margin-bottom: .25em; }

.post-content figure.wide,
.post-content img.wide {
  width: calc(100% + 4.5rem);
  margin-left: -2.25rem;
  margin-right: -2.25rem;
  max-width: none; }
  .post-content figure.wide img,
  .post-content img.wide img {
    width: 100%; }

.post-content .game-embed {
  position: relative;
  width: 100%;
  margin: 1.5rem 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border); }
  .post-content .game-embed iframe {
    display: block;
    width: 100%;
    border: none; }

.cv-accent-source {
  position: fixed;
  top: -96px;
  left: -96px;
  width: 64px;
  height: 64px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden; }

.cv-accent-image {
  width: 64px;
  height: 64px;
  object-fit: cover; }

.wrapper--cv {
  max-width: 1000px; }

.cv-page {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  padding: 2.5rem 0 3rem;
  align-items: start; }
  @media (max-width: 640px) {
    .cv-page {
      grid-template-columns: 1fr;
      gap: 1.5rem; } }
.cv-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: sticky;
  top: calc($header-height + 1.5rem); }
  @media (max-width: 640px) {
    .cv-sidebar {
      position: static;
      flex-direction: row;
      align-items: flex-start;
      flex-wrap: wrap; } }
.cv-headshot {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
  flex-shrink: 0; }
  .cv-headshot img {
    width: 100%;
    height: 100%;
    object-fit: cover; }
  @media (max-width: 640px) {
    .cv-headshot {
      width: 90px;
      height: 90px; } }
.cv-name {
  font-size: 1.2rem;
  margin: 0;
  text-align: center; }
  @media (max-width: 640px) {
    .cv-name {
      text-align: left; } }
.cv-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none; }
  .cv-download:hover, .cv-download:focus-visible {
    color: var(--accent-hover);
    text-decoration: none; }

.cv-entry + .cv-entry {
  margin-top: 1.15rem; }

.cv-entry-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 1rem;
  row-gap: .2rem; }

.cv-entry-title {
  flex: 1 1 28rem;
  min-width: 0;
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.35; }

.cv-entry-date {
  flex: 0 1 auto;
  margin-left: auto;
  max-width: 100%;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.35;
  white-space: nowrap; }

.cv-entry-body {
  margin-top: .45rem; }
  .cv-entry-body > :last-child {
    margin-bottom: 0; }

.cv-body .post-content h2 {
  margin-top: 2rem; }

@media (max-width: 720px) {
  .cv-body .cv-entry-date {
    width: 100%;
    margin-left: 0;
    white-space: normal; } }

.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: .8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: auto; }
