@font-face {
  font-family: "Satoshi Variable";
  src: url("./assets/Satoshi-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard Variable";
  src: url("./assets/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("./assets/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("./assets/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #000;
  --text: #ededed;
  --muted: #929292;
  --border: #333;
  --accent: #f9ee3a;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family:
    "Satoshi Variable",
    "Pretendard Variable",
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
a.text-link { display: inline-block; max-width: 100%; color: #3291ff; font-weight: 400; text-decoration: none; vertical-align: baseline; cursor: pointer; overflow-wrap: anywhere; }
a.text-link .text-link-icon { display: inline-block; width: 1em; height: 1em; margin: .1em .1em .2em; vertical-align: middle; color: #9cadc0; }
a.text-link:hover { color: #3291ff; text-decoration: none; }
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
button:disabled {
  cursor: default;
}
::selection {
  color: #000;
  background: var(--accent);
}
.site-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 16px 16px 0;
}
.site-entry {
  position: fixed;
  inset: 0;
  z-index: 100;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #000205;
}
:root[data-entry-route="content"] .site-entry { display: none; }
:root[data-entry-route="splash"] { overflow: hidden; }
:root[data-entry-route="splash"]:not([data-entry-state="leaving"]) .site-shell { visibility: hidden; }
.site-entry-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}
.site-entry::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: clamp(48px, 12svh, 112px);
  background: linear-gradient(transparent, #000);
  pointer-events: none;
}
body.entry-in-view :is(.editor-toolbar, .editor-toast) { visibility: hidden; pointer-events: none; }
.site-header {
  position: sticky;
  top: max(12px, env(safe-area-inset-top));
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  height: 50px;
  padding: 0 18px;
  background: #000e;
  border: 1px solid var(--border);
  border-radius: 8px;
  backdrop-filter: blur(16px);
  transform-origin: center top;
  transition: transform 240ms var(--ease), opacity 180ms ease;
}
.site-header.is-collapsed {
  transform: translate3d(0, calc(-100% - 80px), 0) scaleY(.9);
  opacity: 0;
  pointer-events: none;
}
.site-header:has(:focus-visible) {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.site-header nav {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 12px;
}
.site-header nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  color: #747474;
  font-size: 15px;
  font-weight: 450;
  transition: color 160ms ease;
}
.site-header nav a:hover,
.site-header nav a[aria-current] {
  color: #eee;
}
main {
  padding: 0 4px;
}
.hero {
  padding-top: 36px;
}
.hero h1 {
  display: inline;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 0;
  overflow-wrap: normal;
}
.hero p {
  font-size: 18px;
  line-height: 1.62;
  letter-spacing: -0.25px;
  color: var(--muted);
  font-weight: 350;
  margin: 0 0 18px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.hero p:last-of-type {
  margin-bottom: 0;
}
.hero-identity { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.hero-identity-copy { flex: 1; min-width: 0; }
.hero-avatar-slot { flex: 0 0 64px; width: 64px; }
.hero-avatar-slot:empty { display: none; }
.hero-avatar { margin: 0; }
.hero-avatar .photo-button { width: 64px; height: 64px; border-radius: 20%; }
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: inherit; transform: scale(1.55); transform-origin: 50% 24%; }
.hero-name-line { line-height: 1.3; }
.hero-badge-slot { display: inline-flex; margin-left: 5px; vertical-align: -2px; }
.hero-badge-slot:empty { display: none; }
.verified-badge { display: block; width: 18px; height: 18px; flex-shrink: 0; }
.verified-badge img { display: block; width: 100%; height: 100%; }
.hero-name-line .verified-badge { width: 21px; height: 21px; }
.hero-handle-line { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.hero-handle { color: #929292; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.hero-handle-line .hero-badge-slot { margin: 0; }
.hero-handle-line .verified-badge { width: 16px; height: 16px; }
.hero-socials { display: flex; align-items: center; gap: 12px; margin: -10px 0 28px; }
.hero-social-button { display: block; flex: 0 0 48px; width: 48px; height: 48px; padding: 0; overflow: hidden; border: 0; border-radius: 13px; background: transparent; box-shadow: 0 5px 15px #0005; transition: transform 220ms var(--ease), box-shadow 220ms ease; }
.hero-social-button img { display: block; width: 100%; height: 100%; }
.hero-social-button:disabled { opacity: 1; }
.hero-social-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 20px #0008; }
.hero-social-button:active:not(:disabled) { transform: scale(.96); }
.hero-social-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .hero-social-button { transition: none; } }
[data-edit-path] { white-space: pre-line; }
.skill-page {
  padding-top: 48px;
}
.skill-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 450;
  margin-bottom: 36px;
}
.skill-updated {
  color: var(--muted);
}
.skill-intro h1 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 450;
  letter-spacing: -1.1px;
  max-width: 14ch;
  margin: 0 0 24px;
}
.skill-intro h1:focus {
  outline: none;
}
.skill-lead,
.skill-summary,
.skill-entry-lead,
.skill-entry-detail {
  word-break: keep-all;
  overflow-wrap: anywhere;
  letter-spacing: -0.25px;
  font-weight: 400;
}
.skill-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 24px;
}
.skill-summary {
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}
.skill-summary + .skill-summary {
  margin-top: 20px;
}
.skill-list {
  padding-top: 56px;
}
.skill-list h2 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 450;
  letter-spacing: -0.6px;
  margin: 0 0 20px;
}
.skill-entry {
  border-top: 1px solid #242424;
  padding: 24px 0 36px;
}
.skill-entry h3 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -0.6px;
  margin: 0 0 16px;
}
.skill-entry-meta {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.skill-entry-meta p {
  margin: 0;
}
.skill-entry-lead {
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
}
.skill-entry-detail {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 16px 0 0;
}
.photo-button {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: none;
  cursor: default;
  max-width: 100%;
  border-radius: 3px;
}
.photo-button img {
  display: block;
  width: 100%;
  height: auto;
}
.photo-button.has-photo-crop { border: 1px solid #171717; }
.hero-avatar .photo-button.has-photo-crop,
.verified-badge.has-photo-crop { border: 0; }
.work-list {
  padding-top: 12px;
}
.work-section {
  padding-top: 78px;
  scroll-margin-top: 100px;
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.section-heading h2 { min-width: 0; }
.section-title { display: inline-flex; align-items: baseline; gap: 12px; min-width: 0; max-width: 100%; }
.section-icon-slot { display: inline-flex; align-self: center; flex: 0 0 32px; width: 32px; height: 32px; }
.section-icon-slot.is-empty { display: none; }
body.editor-enabled .section-icon-slot.is-empty { display: inline-flex; }
.section-icon { margin: 0; width: 32px; height: 32px; }
.section-icon .photo-button { width: 32px; height: 32px; border-radius: 8px; }
.section-icon img { width: 100%; height: 100%; object-fit: cover; }
.section-icon .photo-button.has-photo-crop { border: 0; }
.section-icon-add { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px dashed #444; border-radius: 8px; background: #111; color: #929292; font: inherit; font-size: 21px; cursor: pointer; }
.section-icon-add:hover, .section-icon-add:focus-visible { color: #ededed; border-color: #f9ee3a; outline: none; }
.section-heading .project-meta {
  flex: 0 1 auto;
  max-width: 100%;
  margin: 0;
  text-align: left;
}
.project-symbol {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  font-size: 17px;
  line-height: 1;
  border-radius: 7px;
  color: #e7e7e7;
  background: #151515;
  border: 1px solid #242424;
  font-weight: 650;
  letter-spacing: -1px;
}
.work-section h2 {
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.7px;
  margin: 0;
  overflow-wrap: anywhere;
}
.project-meta {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 350;
  color: #69697f;
  margin: 0 0 24px;
  word-break: keep-all;
}
.project-text p,
.project-text li {
  font-size: 17px;
  line-height: 1.8;
  font-weight: 350;
  letter-spacing: -0.18px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.project-text p {
  margin: 0 0 20px;
}
.project-text ul {
  padding-left: 25px;
  margin: 20px 0 0;
}
.project-text li {
  padding-left: 5px;
  margin: 0 0 17px;
}
.project-text li::marker {
  font-size: 15px;
  color: #eee;
}
.project-images {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}
.project-images figure {
  margin: 0;
}
.project-images .photo-button {
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 8px;
}
.project-images img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 1px solid #171717;
  border-radius: inherit;
}
.project-images .photo-original {
  width: 100%;
  max-width: 100%;
  justify-self: center;
}
.project-images .photo-original .photo-button {
  aspect-ratio: auto;
}
.project-images .photo-original img {
  position: static;
  height: auto;
  object-fit: contain;
}
.chapters {
  padding-top: 85px;
  scroll-margin-top: 90px;
}
.work-brands-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(18px, 5vw, 56px);
  row-gap: clamp(20px, 4vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
  background: #000;
}
.work-brand-item.is-reveal-pending { opacity: 0; transform: translate3d(0,22px,0); }
.work-brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 80px;
  aspect-ratio: 1.8;
  padding: 10px 4px;
  background: #000;
  color: #fff;
  cursor: default;
}
.work-brand-logo img {
  display: block;
  width: 100%;
  height: clamp(48px, 8vw, 82px);
  object-fit: contain;
}
.work-brand-logo[data-shape="emblem"] img { max-width: 84%; }
.work-brand-logo[data-brand="red-bear"] img {
  height: clamp(60px, 9vw, 86px);
  max-width: 100%;
}
.eyebrow {
  font-family: "Geist Mono", monospace;
  color: #6c6c6c;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 13px;
}
.chapters h2 {
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.7px;
  font-weight: 650;
  margin: 0 0 27px;
}
.chapter-list {
  display: grid;
  gap: 10px;
}
.chapter-button {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 72px;
  background: #090909;
  border: 1px solid #282828;
  border-radius: 8px;
  padding: 16px;
  text-align: left;
  transition:
    border-color 160ms,
    background 160ms,
    transform 180ms var(--ease);
}
.chapter-number {
  font-family: "Geist Mono", monospace;
  color: #6f6f6f;
  font-size: 11px;
}
.chapter-copy {
  display: grid;
  gap: 5px;
  flex: 1;
  min-width: 0;
}
.chapter-copy strong {
  font-weight: 500;
  font-size: 16px;
}
.chapter-copy small {
  font-size: 12px;
  line-height: 1.4;
  color: #686868;
}
.chapter-arrow {
  color: #8b8b8b;
  transition: transform 240ms var(--ease);
}
.chapter-button:hover {
  border-color: #686868;
  background: #101010;
}
.chapter-button:hover .chapter-arrow {
  transform: translateX(3px);
}
.chapter-button:active {
  transform: scale(0.985);
}
.closing {
  font-size: 18px;
  line-height: 1.65;
  font-weight: 350;
  letter-spacing: -0.25px;
  color: var(--muted);
  margin: 80px 0 0;
  word-break: keep-all;
}
.site-footer {
  margin: 74px 4px 0;
  border-top: 1px solid #202020;
  padding: 18px 0 max(25px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #636363;
  font-size: 11px;
}
.site-footer a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.loading {
  padding-top: 64px;
  color: var(--muted);
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--accent);
  color: #000;
  padding: 10px 14px;
}
.skip-link:focus {
  top: 12px;
}
dialog {
  color: var(--text);
  padding: 0;
  border: 0;
}
dialog::backdrop {
  background: #000c;
  backdrop-filter: blur(5px);
}
.story-dialog {
  font-family: Geist, "Pretendard Variable", sans-serif;
  background: #111213;
  width: min(100%, 500px);
  height: 100dvh;
  max-width: 100%;
  max-height: 100dvh;
  margin: auto;
  overflow: hidden;
}
.story-shell {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.story-header {
  display: flex;
  align-items: center;
  padding: 10px 20px 9px;
  height: 58px;
  flex-shrink: 0;
  gap: 12px;
}
.story-brand {
  font-weight: 850;
  font-style: italic;
  font-size: 25px;
  letter-spacing: -2.5px;
  line-height: 1;
}
.story-count {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  color: #8e8e8e;
  margin-left: auto;
}
.icon-button {
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  font-size: 17px;
  color: #969696;
}
.story-close {
  margin-right: -10px;
}
.story-progress {
  height: 2px;
  margin: 0 22px;
  background: #333;
  overflow: hidden;
  flex-shrink: 0;
}
.story-progress > div {
  height: 100%;
  background: var(--accent);
  transition: width 360ms var(--ease);
}
.story-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 30px 24px 26px;
}
.story-page h2 {
  font-size: 28px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: -0.28px;
  margin: 0;
}
.story-page .eyebrow {
  color: var(--accent);
  line-height: 1.5;
  margin: 0 0 10px;
}
.story-page .project-text p,
.story-page .project-text li {
  font-size: 16px;
  line-height: 1.65;
}
.story-page .project-meta {
  font-size: 13px;
}
.story-page .project-images {
  margin-top: 24px;
}
.story-footer {
  display: flex;
  gap: 10px;
  padding: 14px 22px calc(14px + env(safe-area-inset-bottom));
  flex-shrink: 0;
}
.story-footer button {
  height: 48px;
  border-radius: 8px;
  padding: 0 20px;
  font-size: 16px;
  background: #1e1e1e;
  border: 1px solid #333;
  transition:
    transform 180ms var(--ease),
    filter 160ms;
}
.story-footer button:active {
  transform: scale(0.975);
}
.story-footer .story-next {
  flex: 1;
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 500;
}
.photo-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  background: #050505;
  overflow: hidden;
  margin: 0;
}
.photo-dialog img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 60px 14px 28px;
}
.photo-close {
  position: absolute;
  z-index: 2;
  right: max(14px, env(safe-area-inset-right));
  top: max(10px, env(safe-area-inset-top));
  color: #eee;
  background: #171717;
  border-radius: 50%;
}
@media (min-width: 480px) and (max-width: 699px) {
  .hero-identity {
    --hero-avatar-size: clamp(72px, calc(20vw - 24px), 88px);
    gap: clamp(16px, calc(5vw - 8px), 20px);
  }
  .hero h1 { font-size: clamp(30px, calc(7.5vw - 6px), 36px); }
  .hero-avatar-slot { flex-basis: var(--hero-avatar-size); width: var(--hero-avatar-size); }
  .hero-avatar .photo-button { width: var(--hero-avatar-size); height: var(--hero-avatar-size); }
  .hero-handle { font-size: clamp(15px, calc(2.5vw + 3px), 17px); }
  .hero-name-line .verified-badge {
    width: clamp(24px, calc(3.75vw + 6px), 27px);
    height: clamp(24px, calc(3.75vw + 6px), 27px);
  }
}
@media (min-width: 700px) {
  .skill-page {
    padding-top: 72px;
  }
  .skill-intro h1 {
    font-size: 40px;
    line-height: 1.2;
  }
  .skill-list {
    padding-top: 64px;
  }
  .site-shell {
    padding: 24px 28px 0;
  }
  .site-header {
    top: 20px;
    height: 54px;
    padding: 0 22px;
  }
  .site-header nav a {
    font-size: 16px;
  }
  main {
    padding: 0 12px;
  }
  .hero {
    padding-top: 56px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero p {
    font-size: 18px;
    line-height: 1.65;
  }
  .hero-identity { gap: 20px; }
  .hero-avatar-slot { flex-basis: 88px; width: 88px; }
  .hero-avatar .photo-button { width: 88px; height: 88px; }
  .hero-handle { font-size: 17px; }
  .hero-name-line .verified-badge { width: 27px; height: 27px; }
  .work-section {
    padding-top: 96px;
  }
  .project-text p,
  .project-text li {
    font-size: 17.6px;
    line-height: 1.65;
  }
  .project-meta {
    font-size: 17px;
  }
  .project-images {
    max-width: 100%;
  }
  .chapters {
    padding-top: 100px;
  }
  .site-footer {
    margin-left: 12px;
    margin-right: 12px;
  }
  .story-dialog {
    height: min(880px, calc(100dvh - 40px));
    border: 1px solid #303030;
    border-radius: 12px;
  }
}
@media (max-width: 359px) {
  .site-shell {
    padding-left: 12px;
    padding-right: 12px;
  }
  .site-header {
    padding: 0 12px;
    gap: 10px;
  }
  .site-header nav a {
    font-size: 13px;
  }
  .hero {
    padding-top: 32px;
  }
  .hero h1 {
    font-size: 18px;
  }
  .hero-identity { gap: 12px; }
  .hero-avatar-slot { flex-basis: 52px; width: 52px; }
  .hero-avatar .photo-button { width: 52px; height: 52px; }
  .hero-name-line .verified-badge { width: 18px; height: 18px; }
  .hero-handle { font-size: 13px; }
  .hero p {
    font-size: 17px;
  }
  .hero p:nth-of-type(2) .text-link:not(:first-of-type) {
    font-size: .97em;
  }
  .work-section h2 {
    font-size: 26px;
  }
  .project-text p,
  .project-text li {
    font-size: 16px;
  }
}
/* Satoshi measurements from the approved English reference. Korean review
   sections keep their existing typography until their copy is translated. */
.hero:lang(en) h1 { font-weight: 700; }
.hero:lang(en) p { font-weight: 300; line-height: 1.65; letter-spacing: normal; }
.work-section:lang(en), .story-page:lang(en) { font-family: "Satoshi Variable", "Pretendard Variable", sans-serif; }
.work-section:lang(en) h2, .story-page:lang(en) h2 { font-size: 28px; line-height: 1.65; font-weight: 700; letter-spacing: normal; color: #fff; }
:is(.work-section, .story-page):lang(en) .project-meta { font-size: 17.6px; line-height: 1.65; font-weight: 400; letter-spacing: normal; color: #595c7c; }
:is(.work-section, .story-page):lang(en) .project-text :is(p, li) { font-size: 17.6px; line-height: 1.65; font-weight: 300; letter-spacing: normal; color: rgb(255 255 255 / 90%); word-break: normal; }

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .chapter-button:active,
  .story-footer button:active {
    transform: none;
  }
}
