:root { --paper: #fff; --ink: #202322; --muted: #68716e; --line: #e6eae8; --green: #176b51; --wash: #f0f7f3; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; font-size: 15px; line-height: 1.75; letter-spacing: 0; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; }
::selection { background: #d7eddf; color: #133d2c; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 20; padding: 10px 16px; background: var(--ink); color: white; }
.skip-link:focus { top: 10px; }
.site-shell { display: grid; grid-template-columns: 218px minmax(0, 780px); gap: 76px; max-width: 1186px; padding: 0 48px; margin: 0 auto; }
.sidebar { position: sticky; top: 0; align-self: start; height: 100dvh; max-height: 960px; min-height: 580px; padding: 61px 28px 40px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.profile { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--wash); }
.profile strong { display: block; font-size: 19px; font-weight: 700; line-height: 1.4; }
.profile-handle { display: block; color: var(--muted); margin-top: 4px; font-size: 12px; }
.sidebar-description { color: var(--muted); font-size: 13px; margin: 24px 0 29px; }
.page-nav { display: grid; gap: 5px; }
.page-nav a { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 14px; }
.page-nav a:hover, .social-links a:hover { color: var(--green); }
.nav-index { color: #909a95; font-family: monospace; font-size: 11px; }
.sidebar-bottom { margin-top: auto; padding-top: 40px; }
.small-label, .section-note, .project-category { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 10px; font-weight: 500; }
.small-label { color: var(--muted); }
.social-links { margin-top: 14px; display: grid; gap: 7px; }
.social-links a { width: fit-content; font-size: 12px; }
.social-links span { margin-left: 7px; color: var(--muted); }
.location { display: block; color: var(--muted); font-size: 11px; margin-top: 27px; }
main { min-width: 0; }
.intro { padding: 57px 0 42px; }
.intro-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.edition { font-size: 11px; color: var(--muted); }
h1 { margin: 24px 0 16px; font-size: 56px; line-height: 1.15; font-weight: 750; }
.title-dot { color: var(--green); }
.intro-heading { font-size: 25px; line-height: 1.55; margin: 0 0 16px; font-weight: 600; word-break: keep-all; overflow-wrap: anywhere; }
.intro-description { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.9; word-break: keep-all; overflow-wrap: anywhere; }
.intro-topics { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 25px; font-size: 10px; color: var(--muted); }
.intro-topics span { display: inline-flex; align-items: center; gap: 7px; }
.intro-topics span::before { content: ""; width: 4px; height: 4px; background: var(--green); }
.intro-topics span:nth-child(2)::before { background: #bf7542; }
.intro-topics span:nth-child(3)::before { background: #657bab; }
.section { border-top: 1px solid var(--line); padding: 26px 0 40px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 23px; }
h2 { font-size: 18px; margin: 0; font-weight: 700; }
.section-note { color: var(--muted); text-align: right; }
.project { display: block; }
.featured { padding: 23px 26px 20px; background: var(--wash); border: 1px solid #dbe8df; border-radius: 6px; transition: border-color .15s, background .15s; }
.featured:hover { border-color: #92b3a0; background: #eaf3ed; }
.project-meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.project-category { color: var(--muted); }
.featured .project-category { color: var(--green); }
.featured-label { color: var(--green); font-size: 11px; }
.project-title { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 14px; }
h3 { font-size: 19px; line-height: 1.5; margin: 0; font-weight: 650; word-break: keep-all; overflow-wrap: anywhere; }
.featured h3 { font-size: 24px; }
.project-arrow { color: var(--green); font-size: 23px; flex: 0 0 24px; text-align: center; transition: transform .15s; }
.project:hover .project-arrow { transform: translate(2px, -2px); }
.project p { font-size: 13px; color: var(--muted); margin: 11px 0 0; word-break: keep-all; overflow-wrap: anywhere; }
.project-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #dbe8df; padding-top: 15px; margin-top: 22px; font-size: 10px; color: var(--muted); }
.project-link { color: var(--green); font-size: 11px; }
.project-row { display: grid; grid-template-columns: 25px minmax(0, 1fr) 24px; gap: 15px; padding: 25px 4px; border-bottom: 1px solid var(--line); align-items: center; }
.project-row:last-child { border-bottom: 0; padding-bottom: 0; }
.row-number { font-family: monospace; color: #919a96; font-size: 11px; align-self: start; padding-top: 4px; }
.row-content h3 { margin-top: 5px; }
.project-row p { margin-top: 5px; }
.project-row:hover h3 { color: var(--green); }
.writing-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; padding: 7px 0 26px; }
.writing-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font-family: monospace; font-size: 11px; color: var(--muted); }
.report-label { color: #946025; }
.writing-content h3 { font-size: 19px; }
.writing-content h3 span { font-size: 18px; margin-left: 8px; color: var(--muted); }
.writing-content p { color: var(--muted); font-size: 13px; margin: 7px 0 0; word-break: keep-all; overflow-wrap: anywhere; }
.writing-row:hover h3 { color: var(--green); }
.threads-line { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding-top: 19px; font-size: 13px; }
.threads-description { margin-left: 16px; font-size: 12px; color: var(--muted); }
.threads-line:hover { color: var(--green); }
.about-lead { font-size: 22px; line-height: 1.65; font-weight: 550; margin: 0 0 17px; word-break: keep-all; overflow-wrap: anywhere; }
.about-description { max-width: 590px; font-size: 14px; color: var(--muted); word-break: keep-all; overflow-wrap: anywhere; }
.interests { margin-top: 25px; font-size: 12px; }
.interests div { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; margin-top: 8px; }
.interests dt { color: var(--ink); }
.interests dd { margin: 0; color: var(--muted); }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 18px; border-top: 1px solid var(--line); padding: 24px 0 35px; color: var(--muted); font-size: 11px; }
footer nav { display: flex; gap: 16px; }
footer a:hover { color: var(--green); }
@media (min-width: 1600px) { .site-shell { gap: 90px; } }
@media (max-width: 1024px) {
  .site-shell { grid-template-columns: 180px minmax(0, 1fr); gap: 40px; padding: 0 32px; }
  .sidebar { padding-right: 22px; }
  .edition { display: none; }
}
@media (max-width: 740px) {
  html { scroll-padding-top: 20px; }
  .site-shell { display: block; padding: 0 24px; max-width: 640px; }
  .sidebar { position: static; height: auto; min-height: 0; padding: 22px 0 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .profile { flex-direction: row; gap: 12px; align-items: center; }
  .avatar { width: 42px; height: 42px; }
  .profile strong { font-size: 15px; }
  .profile-handle { font-size: 10px; margin-top: 1px; }
  .sidebar-description, .sidebar-bottom { display: none; }
  .page-nav { display: flex; gap: 28px; margin-top: 17px; }
  .page-nav a { font-size: 12px; padding: 8px 0 14px; }
  .nav-index { display: none; }
  .intro { padding: 27px 0 29px; }
  h1 { font-size: 44px; margin: 16px 0; }
  .intro-heading { font-size: 23px; }
  .intro-description { font-size: 13px; }
  .desktop-break { display: none; }
  .intro-topics { gap: 7px 12px; margin-top: 20px; font-size: 9px; }
  .section { padding: 23px 0 30px; }
  .section-heading { margin-bottom: 20px; }
  .section-note { font-size: 9px; }
  .featured { padding: 19px 18px 17px; }
  .featured h3 { font-size: 21px; }
  .project-category { font-size: 9px; }
  .featured-label { font-size: 10px; }
  .project-row { gap: 9px; grid-template-columns: 22px minmax(0, 1fr) 23px; }
  .writing-row { grid-template-columns: 1fr; gap: 10px; }
  .writing-meta { flex-direction: row; gap: 15px; }
  .threads-description { display: block; margin-left: 0; margin-top: 3px; }
  .about-lead { font-size: 20px; }
  .interests div { grid-template-columns: 32px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
