:root {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: #393a33; background: #faf7f0; font-synthesis: none;
  --paper: #faf7f0; --ink: #393a33; --muted: #706e63; --line: #dfdace; --accent: #ad4c38;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid #98604b; outline-offset: 6px; border-radius: 3px; }
.shell { max-width: 1200px; margin: auto; padding: 0 48px; }
.nav { min-height: 104px; display: flex; align-items: center; gap: 25px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 7px; font: bold 39px/1 Georgia, serif; letter-spacing: -2.5px; }
.wordmark > span { color: var(--accent); font-size: 24px; align-self: start; margin-top: 2px; }
.nav-note { font-size: 11px; color: var(--muted); padding-top: 6px; }
.nav nav { display: flex; gap: 28px; margin-left: auto; font-size: 13px; }
.hero { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 40px; padding: 90px 0 85px; }
.eyebrow { font: 10px/1.5 monospace; letter-spacing: 2px; color: var(--muted); margin: 0 0 24px; }
h1 { font-size: clamp(36px, 4.2vw, 54px); font-weight: 650; line-height: 1.4; letter-spacing: -2.8px; margin: 0 0 24px; word-break: keep-all; }
h1 > span { color: var(--accent); position: relative; white-space: nowrap; }
h1 > span:after { content: ""; position: absolute; left: 0; right: -2px; bottom: -5px; height: 9px; border-top: 2px solid #cf8266; border-radius: 50%; transform: rotate(-2deg); }
.hero-description { font-size: 15px; line-height: 1.95; color: var(--muted); margin: 0; word-break: keep-all; }
.text-link { display: inline-flex; gap: 28px; align-items: center; font-size: 13px; font-weight: 600; margin-top: 28px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.text-link span { font-size: 23px; }
.margin-note { color: #787467; font-size: 11px; margin-top: 19px; }
.desk { height: 370px; position: relative; display: grid; place-items: center; }
.back-paper { position: absolute; width: 270px; height: 309px; background: #e6e9de; transform: rotate(-8deg); border: 1px solid #d7ddce; }
.notebook { width: 279px; height: 323px; padding: 27px 24px; background: #fffdf7; border: 1px solid #dfd9cc; transform: rotate(5deg); position: relative; box-shadow: 2px 7px 13px #493d2510; }
.tape { position: absolute; width: 95px; height: 28px; background: #e3ce9ea6; left: 88px; top: -14px; transform: rotate(-8deg); }
.notebook-label { font: 9px monospace; letter-spacing: 2px; color: var(--muted); margin: 0; }
.doodle { width: 205px; margin: 11px auto 0; }
.doodle svg { width: 100%; stroke: #746650; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.notebook-title { font-size: 20px; line-height: 1.55; letter-spacing: -.7px; margin: 0 0 17px; }
.notebook-rule { border-top: 1px dashed #cec6b8; }
.notebook-signature { font: italic 17px Georgia, serif; color: #696957; }
.notebook-signature span { color: var(--accent); }
.desk-sticker { position: absolute; bottom: 7px; right: -3px; width: 105px; height: 105px; background: #ebc9b7; border: 5px solid var(--paper); border-radius: 50%; display: grid; align-content: center; text-align: center; font: 17px/1.3 Georgia, serif; transform: rotate(-13deg); }
.desk-caption { position: absolute; bottom: -26px; font-size: 11px; color: var(--muted); transform: rotate(-3deg); }
.projects { border-top: 1px solid var(--line); padding-top: 39px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 11px; }
h2 { font-size: 28px; font-weight: 600; line-height: 1.5; letter-spacing: -1.2px; margin: 0; word-break: keep-all; }
.count { display: inline-block; vertical-align: top; margin: 3px 0 0 10px; font: 11px monospace; color: var(--accent); letter-spacing: 0; }
.section-heading > p { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 0 0 4px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.rose { --wash: #f1ded9; --drawing: #985448; }
.butter { --wash: #eee6cd; --drawing: #816b37; }
.peach { --wash: #f1e2d3; --drawing: #8a6450; }
.lavender { --wash: #e8e4ee; --drawing: #766287; }
.blue { --wash: #dee7ed; --drawing: #536f82; }
.sage { --wash: #e1e7d9; --drawing: #617348; }
.project-card { border: 1px solid #ddd7c9; border-radius: 5px; overflow: hidden; display: flex; flex-direction: column; background: #fffdf8; }
.project-cover { height: 191px; background: var(--wash); position: relative; display: grid; place-items: center; color: var(--drawing); }
.project-number { position: absolute; top: 19px; left: 22px; font: 9px monospace; letter-spacing: 1.5px; }
.project-cover > svg { width: 140px; height: 132px; margin-top: -9px; fill: none; stroke: var(--drawing); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-5deg); }
.project-card:nth-child(even) .project-cover > svg { transform: rotate(5deg); }
.project-cover .accent { fill: var(--wash); stroke-width: 2.8; }
.cover-note { position: absolute; bottom: 17px; font-size: 11px; transform: rotate(-2deg); }
.project-body { padding: 25px 28px 24px; flex: 1; display: flex; flex-direction: column; }
.project-meta { display: flex; gap: 10px; justify-content: space-between; align-items: center; color: var(--muted); font: 9px monospace; letter-spacing: .5px; }
.status { font: 10px/1.5 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif; letter-spacing: 0; color: #665c48; }
.status:before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--drawing); margin-right: 6px; vertical-align: middle; }
h3 { font-size: 24px; font-weight: 600; letter-spacing: -.7px; line-height: 1.5; margin: 13px 0 10px; }
.project-description { margin: 0 0 25px; font-size: 13px; line-height: 1.9; color: var(--muted); word-break: keep-all; }
.project-bottom { margin-top: auto; padding-top: 15px; border-top: 1px dashed var(--line); }
.project-link { display: flex; justify-content: space-between; align-items: center; min-height: 28px; font-size: 12px; font-weight: 600; }
.project-link span[aria-hidden] { font-size: 21px; }
.project-note { margin: 10px 0 0; font-size: 10px; line-height: 1.75; color: var(--muted); word-break: keep-all; }
.work-in-progress { margin: 0; min-height: 28px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.shelf-note { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 36px 0 0; font-size: 12px; color: var(--muted); }
.shelf-note span { font-size: 23px; color: var(--accent); }
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 75px; border-top: 1px solid var(--line); margin-top: 62px; padding: 61px 0 65px; }
.about .eyebrow { margin-bottom: 20px; }
.about h2 { font-size: 32px; line-height: 1.6; }
.hand-note { font-size: 14px; color: var(--accent); margin: 19px 0 0; transform: rotate(-3deg); }
.about-copy > p { font-size: 14px; line-height: 2; color: var(--muted); margin: 0 0 16px; word-break: keep-all; }
.about-copy > p:first-child { color: var(--ink); font-size: 16px; }
.creators { display: grid; grid-template-columns: 1fr; gap: 17px; margin-top: 29px; padding-top: 23px; border-top: 1px dashed var(--line); }
.creator { display: flex; align-items: center; gap: 10px; }
.avatar { background: var(--wash); color: var(--drawing); width: 38px; height: 38px; flex-shrink: 0; border-radius: 46% 54% 48% 52%; display: grid; place-items: center; font: italic 14px Georgia, serif; }
.creator strong { font-size: 12px; font-weight: 600; }
.creator small { display: block; font-size: 9px; color: var(--muted); margin-top: 6px; line-height: 1.6; }
footer { display: flex; justify-content: space-between; gap: 25px; padding: 29px 0 35px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.8; }
footer .wordmark { font-size: 30px; color: var(--ink); }
footer .wordmark > span { font-size: 19px; }
footer p { margin: 9px 0 0; }
.footer-right { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.footer-right > a { color: var(--ink); font-size: 11px; margin-bottom: 4px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; top: 10px; left: 10px; background: white; padding: 15px; z-index: 10; }
.legal { max-width: 740px; margin: 65px auto 85px; }
.legal h1 { font-size: 35px; letter-spacing: -1.5px; }
.legal h2 { font-size: 21px; margin-top: 35px; }
.legal p, .legal li { font-size: 14px; line-height: 1.9; color: var(--muted); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .updated { font-size: 12px; }
.legal ul { padding-left: 20px; }
@media (max-width: 950px) {
  .shell { padding: 0 30px; }
  .nav-note { display: none; }
  .hero { gap: 20px; }
  h1 { font-size: 43px; }
  .notebook { width: 247px; padding: 25px 19px; }
  .back-paper { width: 242px; }
  .desk-sticker { right: -10px; }
  .about { gap: 36px; }
}
@media (max-width: 650px) {
  .shell { padding: 0 23px; }
  .nav { min-height: 83px; gap: 15px; }
  .wordmark { font-size: 35px; }
  .nav nav { gap: 20px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; padding: 49px 0 62px; gap: 24px; }
  .eyebrow { font-size: 9px; margin-bottom: 21px; }
  h1 { font-size: clamp(33px, 8.6vw, 48px); letter-spacing: -1.9px; line-height: 1.45; }
  .hero-description { font-size: 14px; }
  .desktop-break { display: none; }
  .desk { height: 344px; width: 100%; max-width: 350px; margin: 18px auto 0; }
  .notebook { height: 307px; }
  .back-paper { height: 292px; }
  .notebook-title { font-size: 19px; }
  .desk-sticker { width: 93px; height: 93px; right: 0; bottom: 0; font-size: 15px; }
  .desk-caption { font-size: 10px; bottom: -22px; }
  .projects { padding-top: 32px; }
  .section-heading { display: block; margin-bottom: 25px; }
  h2 { font-size: 25px; }
  .section-heading > p { margin-top: 13px; font-size: 12px; }
  .section-heading > p br { display: none; }
  .project-grid { grid-template-columns: 1fr; gap: 24px; }
  .project-cover { height: 185px; }
  .project-body { padding: 24px; }
  h3 { font-size: 23px; }
  .about { grid-template-columns: 1fr; gap: 28px; margin-top: 43px; padding: 39px 0 43px; }
  .about h2 { font-size: 28px; }
  .about-copy > p { font-size: 13px; }
  .about-copy > p:first-child { font-size: 15px; }
  .creator { gap: 8px; }
  .creator strong { font-size: 11px; }
  .avatar { width: 33px; height: 33px; }
  footer { flex-direction: column; gap: 23px; }
  .footer-right { text-align: left; }
  .legal { margin: 42px 0 65px; }
  .legal h1 { font-size: 28px; }
}
@media (max-width: 360px) { .count { margin-left: 5px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Both languages are ordinary links, so switching also works without JavaScript. */
.nav nav.language-switch { margin-left: 0; gap: 8px; align-items: center; font-size: 11px; white-space: nowrap; }
.language-switch > span { color: #aaa497; }
.language-switch a { padding: 7px 0; color: var(--muted); }
.language-switch a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
html:lang(en) h1 { font-size: 49px; letter-spacing: -1.8px; line-height: 1.3; }
html:lang(en) h1 > span { white-space: normal; }
html:lang(en) .notebook-title { font-size: 18px; letter-spacing: -.4px; }
html:lang(en) .notebook-signature { font-size: 13px; }
html:lang(en) .about h2 { font-size: 29px; letter-spacing: -.7px; }
html:lang(en) .legal h1 { font-size: 35px; }
@media (max-width: 950px) {
  html:lang(en) h1 { font-size: 41px; }
  html:lang(en) .hero-description { font-size: 14px; }
  html:lang(en) .desktop-break { display: none; }
  html:lang(en) .notebook-title { font-size: 17px; }
  html:lang(en) .notebook-signature { font-size: 12px; }
}
@media (max-width: 650px) {
  .nav { display: grid; grid-template-columns: 1fr auto; gap: 14px 12px; padding: 20px 0 17px; }
  .nav .wordmark { grid-column: 1; grid-row: 1; }
  .nav nav:not(.language-switch) { grid-column: 1 / -1; grid-row: 2; margin-left: 0; }
  .nav nav.language-switch { grid-column: 2; grid-row: 1; }
  html:lang(en) h1 { font-size: clamp(32px, 8.5vw, 44px); }
  html:lang(en) .about h2 { font-size: 27px; }
  html:lang(en) .legal h1 { font-size: 28px; }
}
